We did it. We actually did it.
After years of alpha releases, 27 beta releases (yes, twenty-seven), a global pandemic, team changes, and enough GitHub commits to make your scrolling finger tired, Aurelia 2 has officially reached release candidate status.
For those keeping score at home, we announced the beta back in January 2023. Three years later, here we are. We know. We know. But look, some things are worth waiting for: fine wine, a good brisket, and apparently, Aurelia 2.
What Does Release Candidate Mean?
Release Candidate means the API is stable. It means you can build production applications without worrying about breaking changes sneaking up on you. This is the stable release you have been waiting for.
And no, we are not planning to have 27 release candidates like we did betas. We are not going to string this out like a TV show that should have ended three seasons ago.
What’s Changed?
If you have been following along with the beta releases, the release candidate will feel familiar. The big difference is not a list of new features, it is what the version number represents: stability.
No more wondering if the next release will break your code. No more checking changelogs nervously before upgrading. The API is locked in, and you can build with confidence.
A few things worth noting:
- Foundational work for SSR and hydration is in place, including the new
Aurelia.hydrate()API. We will have a separate post diving into SSR, SSG, and AOT compilation as that work continues to mature. - The repeat component’s indexMap computation was optimized from O(n²) to O(n).
- Custom attribute bindable definitions changed:
primaryis nowdefaultProperty, anddefaultBindingModehas been removed from definitions (use themodeoption on individual@bindabledecorators instead).
How to Get Started
Ready to try the release candidate? Here is how:
npx makes aurelia
That will scaffold a new Aurelia 2 project for you. Pick your options, and you are ready to go.
If you are upgrading an existing project:
npm install aurelia@rc
Thank You
To everyone who has stuck with us through the alpha, the beta, and now the release candidate: thank you. Your patience, your bug reports, your pull requests, and your continued belief in what Aurelia can be have made this possible.
To the developers running Aurelia 1 applications in production for nearly a decade: we see you. The migration guide is there when you are ready.
To the new developers discovering Aurelia for the first time: welcome. You picked a good time to show up.
Join us on Discord to celebrate. Now go build something.