AngularJS 1.4.0 is released – what's new?

by
Tags: ,
Category:

The AngularJS team has released version 1.4.0 on May 27th. This has been a long-awaited release, with several re-written APIs. Notably absent is the new router (now being called the Angular Component Router) which is slated for version 1.5. The work on the router took a slight detour, moving to the Angular 2.0 repository to take advantage of the TypeScript 1.5 compiler and other build features. I suspect the project will progress over the summer and the code will eventually move back to the Router GitHub repository.

Key features in this release include:

  • A re-written cookies API in ngCookies that no longer polls the browser for existing cookies
  • A new $animateCss service in the animation API and other updates in ngAnimate that focuses on performance
  • Updated features in the ngMessages API supporting dynamic expressions, so you can have messages that appear depending on conditions, etc…

The new release has been propagated to the CDN and is available on Bower and npm. Release notes for migration and API Docs are available (note- at the moment, the API Docs page only shows the latest snapshots of 1.4, this should be fixed shortly but the link I’ve provided will work).

Happy transluding!