Is there a fear of release?

A post full of opinions.

I have been working with Aurelia v1 since early beta version. I have also been playing with Aurelia 2 and I think it is amazing. I have so far not come across any obstacle that would force me to use v1 instead of v2.

I have been looking at the issues that now are part of upcoming alfa/beta and v2 release. From what I can see there are no major blocking issues. I think the team has made an awesome job so far with both v1 and v2. My point is that I think Aurelia would benefit from a release to v2 with a possible list of “known issues”. Then plan for a 2.0.x release every two months with what ever is complete at that time. My fear is that the polishing of functions and features most developers will never encounter drags out to forever.

My question is really; Would there be any harm in releasing v2 now?

13 Likes

Same here. Have been using v1 since early betas and have an client app developed built on it and running since then. I’m only waiting for the first beta release (as company policy discourages using pre-beta versions) to migrate

4 Likes

As a maintainer of a large plugin, Aurelia-Slickgrid that is, there is no clear path or any info whatsoever on how to migrate a plugin from Au1 to Au2. Perhaps that is just missing documentation on how to do it, but I still think that piece is totally missing and I’m not sure it would be a good idea to go without proper migration docs. Basically, starting from scratch is not always possible and without proper migration docs in place, not just plugins but everything really, it would be too early to release Au2 without any clear path. I’ve put thousand of hours to build Aurelia-Slickgrid over the years and if I have to redo the plugin from scratch and/or if I have to put an extra few hundred hours to make it work… well let’s just say, I’m just not gonna do it. Angular has really good migration website and scripts that you can execute which does a lot of the work for you, but I never liked their crazy cycle of releasing 2 major breaking versions a year.

Also another thing that is missing in my own opinion, is that it doesn’t currently work with Vite (which is quickly surpassing WebPack in terms of usage). Will it require drastic (aka breaking) change in the core for it to work? If so, then it would be better to do it before an official release. Having used Vite with Vue for work, it’s really hard to go back to anything else (Vite uses ESBuild which is amazingly fast)

2 Likes

Maybe another reason for being in alpha it that the API may still change somewhere?

True, alphas might have API changes. But as the first comment states, it does not look that way. And some of us have been using Aurelia v1 since early days and are really eager to have at least beta out.

3 Likes

I also used Aurelia v1 since early betas, but with v2, so far I had bumpy experience, every time I’ve tried it.

Also, as far as I understood, router implementation had to be swapped with temporary solution and final incarnation of router still to be integrated?

From my point of view, it’s too early. Areas where v2 lacks for me:

  • Stability of different of options during scaffolding (Percel, Dumber, Webpack, optimal Typescript configuration in tsconfig.json, etc…)
  • Possibility to custimize build/bundling process. (e.g. I used to custimize v1 to render scss to separate physical file, with working source-maps)

I guess, I miss aurelia-cli and build steps as independent Typescript files.

1 Like

While I have not been following the development, I have noticed several open RFCs / proposals (e.g. this and this).
While more features and shortcuts would no doubt be useful, I fear wanting to release a fully featured v2.0 hurts the already slow pace of the project. I think it would be better to focus on producing a stable v2.0 with feature parity with v1 and leave non-essential functionalities for v2.Xs.

9 Likes

Tbh, I think the community is waiting for a reply by any of the Aurelia developers. #hint

3 Likes

Well there’s a difference between a

crazy cycle of releasing 2 major breaking versions a year.

and a release “cycle” of not releasing a major in over 2 years…

(I can recall a post on this blog 2 years ago: “we hope for a nice christmas gift”, referring to (beta) release of Aurelia2 in December 2020)

2 Likes

Hello!

Some great questions. We indeed had some trouble defining the “last pieces” before going into beta.
Right now, as we have decided, that it will be: Getting the router docs to a satisfying level. @dwaynecharrington and @jwx are getting close to finishing line for the router doc.
Unfortunately, we cannot give a timeline, even for such a simple looking task.

@ghiscoding

…I’ve put thousand of hours to build Aurelia-Slickgrid over the years and if I have to redo the plugin from scratch and/or if I have to put an extra few hundred hours to make it work…

Personally, it won’t be painful upgrading, though I can help porting if help is needed.

…doesn’t currently work with Vite (which is quickly surpassing WebPack in terms of usage)…

Convention has some issues with the way Vite works, afair, because Vite is built with assumptions that aren’t easily overcome. We’ll look at this again. For now, you can always do

import template from './my-el.html';

@customElement({ template })

and it’ll work fine.


Apologies for the very late response!

13 Likes

I certainly would like help on the matters, I’d be more than happy to receive a PR directly on the Aurelia-Slickgrid repo and/or get some kind of migration guide to follow. I couldn’t find much so far.

I would also happily help anyone with community plugins porting over. I’ve ported a few to v2 myself.

2 Likes

PR would definitely be welcome to support Au2 :wink:

I love Aureliav2, am using it. Great job to developers, but please allow an environment of intense criticisms so that you can release an amazing new Au2!

I’m sure some of you already thought of these bullet points, I’m just giving you a handy list:

  • At FIRST, I did not like the router system and docs–but the last time I visited today, I feel like it is way way wayyyy better than a few months ago…
  • Documentation is lacking a lot of examples. More sample livedemo apps needed – but loooving the current StackBlitz apps I’m seeing pop up in documents…
  • Lacking in project folder structure discussion
  • Lacking in production environment discussion (all it says right now is “just run build” and assumes devs are webpack experts which you know I’ve read their docs too but a lot of beginner devs do not like dealing with webpack issues, hence why I say a skeleton beginner projects are needed)
  • You guys are expert-developers, put yourself in the shoes of a beginner, remember back to that time you were a beginner developer, this is KEY to writing good documentation that leads to word-of-mouth
  • DO NOT RELEASE EARLY – perfect it for beginners, intermediates, people who want to port their apps to production environments, and plugin-devs. Leave expert-level features or advanced features that consume a lot of your time to future releases.
  • Build a Plugin repo/list somewhere on the main website… Somewhere where people can find all the plugins, kinda like the Python Flask website that helped people find Flask plugins, which made Flask become popular. Good plugins/plugin-writers should get mentions/credits/listing/ranking…

I feel like the team is doing great work and making huge progress. I’ll be sure to help advertise when it’s out and develop plugins. Yes don’t make perfect the enemy of the good, but it’s hard to say when something is perfect enough for a good release. Improvements are still needed.

14 Likes

Hi guys,

Sorry if I’m repeating myself (post above), but I just gave a latest shot to npx makes aurelia now, after reading (relatively) recent comments. (This time I used dev version, because of previous issues with latest)

Trying to scaffold starting project using parcel, scss, ts, shortly (npx makes aurelia new-project-name -s dev,parcel,typescript,sass) ends up with error, immediately on the start:

I do believe that this kind of issues have to be solved before Aurelia v2 goes live. Similar issues were present in aurelia-cli for certain combinations and for sure they contributed to poor adoption of v1.

Scaffolded projects should work fully, before the final release. For example:

  • TypeScript works, use of explicit routing via TypeScript decorators work (as described in docs).
  • Source maps work (scss, TypeScript,…)
  • Debugging of project works.
  • Hot Reloading should: or fully work or not work at all for certain scaffolds, instead of refreshing only parts of the page, while other parts are not updated.
  • Possibility to debug framework code from user’s project would be very nice.

UPDATE
Added an issue: 'parcel' is not recognized as an internal or external command · Issue #1573 · aurelia/aurelia · GitHub to the scaffolding-templates repository - GitHub - aurelia/new: The Aurelia 2 scaffolding repo used by our tools to setup new projects.

1 Like

I still wish to have some help, that you proposed a while ago, on migrating Aurelia-Slickgrid to Aurelia 2, especially now that jQuery/jQueryUI got removed from the list of dependencies (it’s using native browser code now), so it would be great to provide it to Aurelia 2 and I could not find any plugin migration guide to help. The last time I tried was over a year ago and that wasn’t going well on migrating it. Thank you

@ghiscoding Have you tried the plugin skeleton which is available with npx makes aurelia?
You can have a look at Aurelia 2 MDC which is a plugin monorepository with a demo app

No but the problem is that Aurelia-Slickgrid is a very large project and I don’t want to start a plugin from scratch, I also don’t want to have to compare code from another plugin. I want to have clear steps to migrate a plugin to Aurelia 2, but I couldn’t find any guide that could help with this. @dwaynecharrington already offered in the past to help, it would be great if I could redeem this proposed help to migrate. :slight_smile:

Aurelia-Slickgrid has over 100 stars and I’m sure it could benefit the community if I could have help to migrate it to Aurelia 2.

3 Likes

@ghiscoding I’m interested in getting the aurelia-slickgrid upgraded, so I’ve forked and added an AU2 branch

The demo app compiles, there are, most likely, things that don’t work, but the simplest example runs.
Where in doubt, I left “TODO” comments. Let me know if you need more assistance.

3 Likes

@MaximBalaganskiy oh that is great news, I’ll definitely take a look at it in the coming week. This is a really welcome contribution :slight_smile:

There are over 30 examples with associated Cypress E2E tests and I’ll start with that.

Thanks a lot