Thursday, June 30, 2016

RC4 Now Available

Today we’re happy to announce that we are shipping Angular 2.0.0-rc.4. This release includes many bugfixes and improvements, and makes testing easier and more flexible.

What's new?

  • We've cleaned up our exported APIs so that they are simpler and more streamlined, and removed things that were never intended to be public. We have also added stability tag filtering so that you can easily tell whether something is part of the stable released API or experimental.
  • Consolidation and improvements to testing. For example, we no longer do special wrapping around Jasmine's it, describe, or other functions. This means we are no longer coupled to Jasmine, you can use another testing framework such as Mocha.
  • We've added more Resources to help you learn and use Angular.
Read the full release notes

Tuesday, June 21, 2016

RC3 Now Available

Today we’re happy to announce that we are shipping Angular 2.0.0-rc3.

What's new?

  • This release includes a fix for a major performance regression in RC2
  • The @angular/router project has been merged into our main repository ( It will retain its own version numbers and release cycle )
  • The Router documentation is now available. 
  • Content Security - Angular Content Security features are feature-complete and documented
  • The new Forms cookbook is available
Read the full release notes

Wednesday, June 15, 2016

RC2 Now Available

Today we’re happy to announce that we are shipping Angular 2.0.0-rc2.
This release includes:
  1. Animation Framework
    Manage the animations in your application in a stateful manner. The underlying platform support, documentation, and code samples for Animations have landed.
  2. Improvements to Forms
    We’re shipping new techniques for building forms with clearer directive and object names, including ngModelGroup, FormGroup(), and more. The in-progress changes from our proposal are opt-in for RC2.
    Opt-in and check them out by making a small change to your bootstrapping. For more information, see this gist. The old names will be deprecated but usable in the next release, but will be removed in a future release.
  3. More than 100 community contributions
    A key focus over the last few weeks has been to take in more community contributions and shrink the PR queue. These updates consist primarily of bugfixes and improvements to things like ngUpgrade or core.
  4. Web Workers have been improved
    More documentation is coming in the next few weeks, but check out our web worker sample.
Read the full release notes

What’s next?

One of the questions we get every day is, “When will Angular be ready?”. Developers all over the world are building production Angular applications today with RC1.
Our plans include one or a few more RCs over the next month or so, followed by Angular 2.0.0 Final. You can expect to see updates and additional documentation on our other efforts over the next few months as well.
We look forward to seeing what you do with RC2!

Thursday, June 9, 2016

Improvements Coming for Routing in Angular

A little more than a month ago, we introduced a new router at ng-conf. We hoped this would finally resolve the outstanding routing issues in our first design.

It turns out, routing is hard.

We’re grateful to have heard from many folks at ng-conf about flaws in this new design, so we are announcing version 3.0.0-alpha.3 of @angular/router and are deprecating version 2. You should begin using this router right away.

This router was built together with the @ngrx team. This router breaks compatibility with version 2 of @angular/router, but we believe it is a worthwhile successor to version 2 as well as to ngrx’s router.

Version 3.0

While the new version 3.0 of the router needs community validation and field-testing, we intend for this to become the primary router used by Angular applications. This router takes cues from both @ngrx/router router and UI-Router (a huge thank you to Chris for his work, he’s been working to make his ready for Angular 2).

What do I need to know?

  1. Route configuration is now specified independently of components
  2. Most [RouterLink] directives you have today will keep working
  3. The version 3 router is ready to use, and more capabilities are coming
  4. Read about the new router today in Victor Savkin’s Full Writeup on Routing
  5. Official Documentation will be launched in the next two weeks

Get started by checking out this plunker, stay tuned for more about this Router, and the upcoming Angular 2 RC2.

Some backstory for the curious

During the alpha and beta periods of Angular 2, we developed a router (@angular/router-deprecated) that worked fine for many use cases, but had some fundamental problems. Deep linking into lazy loaded sections couldn’t work, our lifecycle hooks used for things like authentication were not compatible with DI, and it was impossible to inspect the whole router tree from a particular routable component.

To resolve these fundamental incompatibilities, in April we began work on a second version of the router (@angular/router 2.0) and rapidly released it as an incremental improvement at the ng-conf conference. Thanks to your input, we know that this new approach did not completely resolve the issues that set us down this path, so we went back to the drawing board and brought in more external collaborators. This path lead us to the latest version of the router we are announcing today.