May 31 Aurelia Patch Release Update
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.
Pre-releases
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.
aurelia-templating
- 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 forTemplatingEngine#createControllerForUnitTestandTemplatingEngine#createViewModelForUnitTesthave been removed. These scenarios our now covered by theComponentTesterinaurelia-testing.
aurelia-templating-resources
- 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 asif,repeat, etc. For these scenarios, you only need add apartattribute to template controller's element. - Since we have a dedicated
aurelia-testinglibrary, theview-spyandcompile-spycustom attributes have been moved out ofaurelia-templating-resourcesand into theaurelia-testinglibrary.
Notables
- 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
aurelia-testinglibrary.
Change Log
aurelia-router 1.0.0-beta.1.2.4
Bug Fixes
- router:
- change refresh navigation to check config for static href not nav model href (24de2927)
Features
- router:
- observables in lifecycle (337d95ab)
aurelia-templating 1.0.0-beta.2.0.1
Features
- view-resources: enable arbitrary named value resolution (4f85ecf9)
Bug Fixes
templating-resources 1.0.0-beta.2.0.0
Breaking Changes
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.(6ac5731e)
The compile-spy and view-spy custom attributes have been removed from this library. They are now part of the
aurelia-testing library.(72c4433f)
aurelia-validatejs 0.4.0
Bug Fixes
- bindings: use binding engine to get target (#70)
- dts: make key and descriptor optional (#64)
aurelia-testing 0.3.0
Bug Fixes
Features
- spies: add view-spy and compile-spy (fc81850f)
aurelia-ui-virtualization 0.4.6
Bug Fixes
- array-virtual-repeat-strategy: - optimize in-place mutation revised
aurelia-skeleton-navigation 1.0.0-beta.1.2.6
Bug Fixes
- TypeScript projects updated to new typings system
- All projects improved source map generation
- All projects fix Karma configuration for use with new testing library
Features
- ES2016 project updated with improved export task