It's release Tuesday again so we're pushing out incremental patches to our libraries. As usual, the change log is below for those who like to stay up to date on all the details. As we approach our Release Candidate, some of our libraries are available in a "pre-release" form now too.
Several of Aurelia's latest library updates are marked as "Pre-release" with a "beta.2" version designation. These libraries contain breaking changes which will be part of the upcoming Release Candidate happening in June. You won't get these breaking change versions by installing via jspm or npm. They are only available through Github releases for now. This is to ensure that there are no surprises for you until you are absolutely ready. If you desire, you can begin planning now. Below is a list of the affected libraries, along with a summary of the changes involved.
- The pre-release version of templating contains our new Shadow DOM v1 Slot implementation. This replaces the previous
<content>-based, v0 mechanism.
- Since we have a dedicated
aurelia-testinglibrary, the test helpers for
TemplatingEngine#createViewModelForUnitTesthave been removed. These scenarios our now covered by the
- Now that we have the new Slots mechanism in templating, there's no longer a need for the
replaceablecustom attribute. This attribute was used to mark arbitrary parts of an element's template as replaceable by the consumer. This can now be accomplished with Shadow DOM Slot Fallback Content. The part replacement mechanism is still in place in templating though, since it's needed for replacing the template controller templates, such as
repeat, etc. For these scenarios, you only need add a
partattribute to template controller's element.
- Since we have a dedicated
compile-spycustom attributes have been moved out of
aurelia-templating-resourcesand into the
- The Router Lifecycle now works with both Promises and Rx Observables.
- TypeScript Skeletons have been updated to use the new Typings implementation.
- Skeleton Karma configurations have been updated to work OOTB with more complex project structures and with our new
- change refresh navigation to check config for static href not nav model href (24de2927)
- observables in lifecycle (337d95ab)
- view-resources: enable arbitrary named value resolution (4f85ecf9)
This commit removes the replaceable custom attribute. Now that Shadow DOM v1 Slots are implemented there is no more need for
this. Replaceable parts for template controllers are still supported
for if, repeat, etc. via the part attribute.
The compile-spy and view-spy custom attributes have been removed from this library. They are now part of the
- bindings: use binding engine to get target (#70)
- dts: make key and descriptor optional (#64)
- spies: add view-spy and compile-spy (fc81850f)
- array-virtual-repeat-strategy: - optimize in-place mutation revised
- TypeScript projects updated to new typings system
- All projects improved source map generation
- All projects fix Karma configuration for use with new testing library
- ES2016 project updated with improved export task