- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
We are pleased to announce version 5.1.0 of Angular. This is a minor release containing several smaller features and bugfixes. We are also releasing v1.6 of the Angular CLI, and the first stable release of Angular Material.
What’s new?
- Angular Material & CDK Stable Release
- Service Worker support in the CLI
- Improved Universal & AppShell Support in the CLI
- Improved decorator error messages
- TypeScript 2.5 support
For the complete list of features and bug fixes please see the Angular, Material, and CLI changelogs.
Angular Material & CDK Stable Release
After 11 alpha releases, 12 beta releases, and three release candidates, we’re happy to now mark the full 5.0.0 release of Angular Material and the Angular CDK and the graduation of the CDK from Angular Labs. Based on Google’s Material Design visual language, Angular Material offers 30 UI components for your Angular applications. Conjointly, the Angular CDK (Component Dev Kit) provides a set of building blocks to help you build your own custom components without having to solve common problems all over again. These components are already used in production by a number of Google applications, including Google Analytics Suite, Google Cloud Platform Developer Console, and Google Shopping Express.
Starting with this release, Angular Material will be following the same SemVer philosophy as Angular, with major versions of Angular Material and Angular CDK releasing at the same time as major versions of the rest of the platform. Patch releases will follow a weekly cadence, while minor feature releases will become available as features are completed.
Visit material.angular.io for documentation, demos, and our getting started guide. You can also follow our progress on GitHub as we continue to work on further additions to the library. In the coming months, keep an eye out for features like a new mat-tree, virtual scrolling, component test harnesses, and drag-and-drop helpers.
Related article: Best 8 IDE for angular 2 development
CLI 1.6 Service Worker Support
Performance has always been an important goal for web developers, and it’s especially important in today’s world of flaky WiFi and mobile connections. Modern browsers have a new API for building sites that load reliably and quickly, called the Service Worker API.
Angular 5.0.0 shipped with a new Service Worker implementation customized for Angular applications, and Angular CLI 1.6 includes support for building applications which take advantage of this new feature. Using @angular/service-worker can improve the loading performance of your applications in browsers which support the API, and make your application’s loading experience more like that of a natively installed app.
Learn about getting started with the Angular Service Worker on our documentation site.
CLI 1.6 Improved Universal & App Shell Support
Also with the release of Angular CLI 1.6 comes better support for adding Universal to your existing projects via Schematics, as well as bringing App Shell support.
Angular Universal
To add Universal in your current CLI application, you can now use the following commands in your project:
ng generate universal <name>
Replacing <name> with the name you want to give your universal app. This will take your current application and create a Universal module, and configure your angular-cli.json file automatically for you. You can then skip to step 4 in our guide to using universal.
To build your Universal app, simply run the following command:
ng build --app=<name>
To build your Universal app, simply run the following command:
ng build --app=<name>
Read full article here: https://blog.angular.io/angular-5-1-more-now-available-27d372f5eb4e
- Get link
- X
- Other Apps
Comments
Post a Comment