Great News for angular developer with the release of Angular 4.2

From validating form easily to including bootstrap component are some of the highlights of the angular 4.2.

A new version of angular i.e. angular 4.2 has released recently. Although it is not a major release, only a few minor updates have adopted in it. It does not have any outstanding changes but has few drop in changes for the previous versions.

New features that are included:

  • Form validators for the min and max attributes are now available.
  • Passing Bootstrap component is easy now.
  • i18n tooling is improved with MissingTranslationStrategy.
  • Also, notes in xcliff2 file related to location are improved.
  • alwaysCompileGeneratedCode will be available in as default future but is available as an option

They have updated the animation feature as well. Using animation() function again and again can be done by defining it only once. Function like query() and stagger() are also introduced.

Features related to animation in angular are also improved:

  • It will be easy to set the value of the input variable and options configuration within the animation.
  • Using animation() we can define a reusable function.
  • Query() can be used to query for inner elements.
  • Stagger() can be used to stumble various elements at a time.
  • We can use AnimationBuilder to build and create animation programmatically.
  • Creating animation for the route changes has become easy now.