Angular v7 arrived last month but, as you well know, things move at the speed of light around here. This can only mean one thing: it’s time for a new thread.
We’re officially leaving Angular v7 behind and starting a new journey. Angular v8 will be released in March/April 2019 but now that Angular v7.1 is here, there’s no looking back. If you’d like to check out the old release thread, you’ll find it here.
We were really surprised to see that Angular v7.1 only had one release candidate but we’re glad to see that the latest release is so bountiful; it has almost 20 bug fixes and over 10 features.
Let’s have a look at the features:
- bazel: Bazel workspace schematics (#26971) (b07bd30)
- router: add prioritizedGuardValue operator optimization and allowing UrlTree return from guard (#26478) (fdfedce)
- compiler: ability to mark an InvokeFunctionExpr as pure (#26860) (4dfa71f)
- forms: add updateOn option to FormBuilder (#24599) (e9e804f)
- router: allow guards to return UrlTree as well as boolean (#26521) (081f95c)
- router: allow redirect from guards by returning UrlTree (#26521) (152ca66)
- router: guard returning UrlTree cancels current navigation and redirects (#26521) (4e9f2e5), closes #24618
- service-worker: add typing for messagesClicked in SwPush service (#25860) (c78c221)
- service-worker: close notifications and focus window on click (#25860) (f5d5a3d)
- service-worker: handle ‘notificationclick’ events (#25860) (cf6ea28), closes #20956 #22311
- upgrade: support downgrading multiple modules (#26217) (93837e9), closes #26062
- router: add pathParamsChange mode for runGuardsAndResolvers (#26861) (bf6ac6c), closes #18253
Check out the GitHub repo for the extensive changelog.
What’s up with Ivy?
According to the blog post announcing Angular v7, Ivy is still under active development. “We are beginning to validate the backwards compatibility with existing applications and will announce an opt-in preview of Ivy as soon as it is ready in the coming months.”
How can Ivy help you? If you wish Angular was smaller, easier to debug, and compiled faster, you’ve got yourself a genie in the shape of Angular’s renderer code-named Ivy. Since it comes as a non-breaking change, this means you’ll get it automatically in a future release by just staying on Angular’s latest releases.
Ivy is currently not feature complete.
You can track the Angular team’s progress at ivy.angular.io.
The post A new chapter begins: Angular v7.1 is here appeared first on JAXenter.
Source : JAXenter