Skip to content

Commit 299dbff

Browse files
committed
feat(blog): beta 24 blog post
1 parent 381b135 commit 299dbff

File tree

1 file changed

+108
-0
lines changed

1 file changed

+108
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
+++
2+
title = "What's New in Aurelia 2 Beta 24?"
3+
authors = ["Dwayne Charrington"]
4+
description = "Aurelia 2 Beta 24 is here! Discover the latest breaking changes, new features, bug fixes, and documentation updates in this major release."
5+
date = 2025-04-28T10:00:00Z
6+
lastmod = 2025-04-28T10:00:00Z
7+
tags = ["aurelia2", "release"]
8+
+++
9+
10+
## 🚨 Breaking Changes
11+
12+
Aurelia 2 Beta 24 introduces important breaking changes, but as always, we've got you covered with the details below.
13+
14+
### **Vite Plugin: Vite v6 Support**
15+
- The Vite plugin now requires Vite v6. Update your project dependencies accordingly.
16+
[Commit](https://github.com/aurelia/aurelia/commit/5834d05)
17+
18+
### **Templating: Controller Host Removal**
19+
- We've changed how Aurelia handles custom element hosts: if a host is already tied to another custom element, Aurelia won't create a new one. This mostly helps you avoid surprises/magic behaviors.
20+
[Commit](https://github.com/aurelia/aurelia/commit/402c746)
21+
22+
### **DOM: Toggle $au and $aurelia**
23+
- You can now hide the `$au` and `$aurelia` properties on DOM elements. If you want to make it harder for others to poke around or reverse engineer your app's internals, this is for you.
24+
[Commit](https://github.com/aurelia/aurelia/commit/7e1057b)
25+
26+
### **Type-Checking: Non-Public Members**
27+
- Type-checking now supports non-public members, improving tooling and developer experience.
28+
[Commit](https://github.com/aurelia/aurelia/commit/165c213)
29+
30+
### **Documentation: New Tutorials & Guides**
31+
- Tutorials for integrating Svelte, building with AI, creating a weather app, using web workers, websockets, and advanced list rendering and lambda expressions are now available.
32+
[Commit](https://github.com/aurelia/aurelia/commit/583d98d)
33+
34+
---
35+
36+
## ✨ New Features
37+
38+
### **Multiple `.class` Values in Templates**
39+
- The template compiler now supports multiple `.class` values, making it easier to manage dynamic classes. The docs have also been updated to reflect this new behavior.
40+
[Commit](https://github.com/aurelia/aurelia/commit/3b7513a)
41+
42+
### **Router-Lite: Navigation Strategy**
43+
- New navigation strategy support in `router-lite` enables more flexible routing scenarios.
44+
[Commit](https://github.com/aurelia/aurelia/commit/6a7757f)
45+
46+
### **DOM: Toggle $au and $aurelia**
47+
- You can now toggle the `$au` and `$aurelia` properties on DOM elements. This feature is designed to allow applications to make it harder to poke into or reverse engineer the view model/component trees of an Aurelia application. Some apps may wish to hide these properties completely for security or privacy reasons.
48+
[Commit](https://github.com/aurelia/aurelia/commit/7e1057b)
49+
50+
### **Type-Checking: Non-Public Members**
51+
- Type-checking now supports non-public members, improving tooling and developer experience.
52+
[Commit](https://github.com/aurelia/aurelia/commit/165c213)
53+
54+
### **Documentation: New Tutorials & Guides**
55+
- Tutorials for integrating Svelte, building with AI, creating a weather app, using web workers, websockets, and advanced list rendering and lambda expressions are now available.
56+
[Commit](https://github.com/aurelia/aurelia/commit/583d98d)
57+
58+
---
59+
60+
## 🐞 Bug Fixes
61+
62+
Aurelia 2 Beta 24 includes a host of bug fixes for improved stability and reliability:
63+
64+
- **i18n:** Reactive translation of conditional projected content (`t-params`).
65+
[Commit](https://github.com/aurelia/aurelia/commit/7fab7e6)
66+
- **Dialog Service:** Updated tests for new error messages.
67+
[Commit](https://github.com/aurelia/aurelia/commit/4eb7805)
68+
- **Validation:** Released references to binding behavior sources, invalidated property info cache, and improved rule discovery for nested expressions.
69+
[Commits](https://github.com/aurelia/aurelia/commit/78d0229), [a0b9ae6](https://github.com/aurelia/aurelia/commit/a0b9ae6), [f1e8956](https://github.com/aurelia/aurelia/commit/f1e8956)
70+
- **Observation:** Allowed property deletion with proxies.
71+
[Commit](https://github.com/aurelia/aurelia/commit/7e652e9)
72+
- **Ref Binding:** Updates value when key expression changes.
73+
[Commit](https://github.com/aurelia/aurelia/commit/9636d86)
74+
- **Router-Lite:** Cancelling navigation with redirection from `canLoad` hook in child routes.
75+
[Commit](https://github.com/aurelia/aurelia/commit/bb0b09d)
76+
- **Tooling/Typechecking:** Improved method call support.
77+
[Commit](https://github.com/aurelia/aurelia/commit/165c213)
78+
79+
---
80+
81+
## 📚 Documentation Updates
82+
83+
- Expanded documentation with new tutorials and guides for Svelte, ChatGPT, weather apps, web workers, websockets, list rendering, and lambda expressions.
84+
[Commit](https://github.com/aurelia/aurelia/commit/583d98d)
85+
86+
- Added in more detailed error documentation to help you understand and fix errors in your code.
87+
[Commit](https://github.com/aurelia/aurelia/commit/4eb7805b25fae5c91eecbc80a52cc99d5781b119)
88+
89+
---
90+
91+
## 🔗 Full Changelog
92+
93+
For a complete list of changes in Beta 24, visit the [full changelog](https://github.com/aurelia/aurelia/compare/v2.0.0-beta.23...v2.0.0-beta.24).
94+
95+
---
96+
97+
## 📥 Upgrade Guide
98+
99+
To upgrade to Aurelia 2 Beta 24:
100+
1. Update your project dependencies to the latest Aurelia packages and Vite v6.
101+
2. Review breaking changes and update your code as needed.
102+
3. Test your application thoroughly to ensure compatibility.
103+
104+
If you have any questions or need assistance, please join us on [Discord](https://discord.gg/TPV3cvCZhz) and reach out to the team.
105+
106+
---
107+
108+
Aurelia 2 Beta 24 continues to push the framework forward with powerful new features, improved stability, and expanded documentation.

0 commit comments

Comments
 (0)