Angular version 2.0.0 released!!
After two years of intense development it has now been officially released
5 min read
5 min read
Angular 2 is going to have breaking changes only every 6 months from now on. So the next one would be around February with Angular 3. Yes exactly, they’re also finally switching to semantic versioning which is a huge win in my opinion. That way you can easily recognize whether a release is breaking or not.
For easier upgrading, they will start releasing an open source tool they’ve already been using internally, which aims at helping you to to semi-automatically upgrade your application, even in case of breaking changes.
Obviously the team will continue to do regular releases of non-breaking changes.
In the next couple of months, they’re heavily working on - animations - help push web workers out of experimental status - many improvements to mobile, especially for PWA (Progressive Web App) support - improved support for more universal languages like Java and Go
A release of a fully functional suite of material design components is very close as well!
Here are the interesting questions/answers from the Q&A session. Important, the questions and answers are paraphrased by myself based on the live announcement (see video at the end).
@robwormald - We’d like it to get to a point where we can use AoT all the time as the default. We’re gonna plug it into webpack very soon, so it should definitely be doable there.
@IgorMinar - Asking questions on StackOverflow is great as the team can upvote good questions/answers and help out. Also on the official docs there’s a FAQ section and finally also on Gitter.
@robwormald - Smaller and faster.
Yes, the team is definitely committed to invest more on the CLI and improve it. One of the things that has been done currently is to finally finish the webpack migration which is now available.
@robwormald - Obviously the Angular CLI, Minko’s Angular 2 seed project, Patrick’s angular2-webpack-starter and the Angular quickstart.
There are a lot of requests for that currently and the team is working on it and wanna support in the future. The current direction is to build an add-on system.
Some other current ideas are around to build a kind of an “eject button” which allows you to get out of the CLI at some point if you need way more flexibility.
@IgorMinar - That’s all semver is all about, it helps manage those dependencies.
@robwormald - You will most likely see the core libraries move in sync and others around it a bit behind.
@IgorMinar - A comment about the breaking changes. The team will make the breaks as smooth as possible, by deprecating APIs and therefore to give enough time to migrate.
@robwormald - Strangely one of the most difficult problems we’ve had. There’s a very good solution for webpack and we’d like to have the tooling to handle this for you. There are plans for how to do it more smarter for SystemJS. You do It’s not on any deprecation path, so you it would be totally fine to use it.
@bradlygreen - As mentioned often, we will continue to support Angular 1 as long as the majority of people uses it. Currently:
But anyway, it’s not that it gets deleted from the web, even after the team continues to actively support it.
to open source tool that automatically upgrades angular
@Jakeherringbone Alex Eagle - We’re doing it incrementally and we’re making some progress. Contributions have been made to tslint so that the type checker and language type checker can be used to make changes in the Typescript code. We also started to work with Minko to use the Angular language service to make the templates type aware s.t. changes can be applied to the template code. The hope is to have it available by the time Angular 3 comes along with breaking changes.
Here’s the official announcement and the recording of the meetup.
Follow me on Twitter or subscribe on this blog here to stay up to date about interesting stuff around Angular 2 and web development. If you have questions, feel free to AMA (ask me anything).
Here are some starter links.