Updated April 4, 2023
Introduction to Angular Material Version
Angular material is a library which is used to create the application using material components which makes it very to the developer because the material library is well documented on the official website which any beginner and experienced developer go through and start using it. They have also divided the functionate based on the version of the angular material library. Which we can easily select and start using that. If we want to work with any specific version for material library, then we can download it using ‘npm’ on their official website they have mentioned the appropriate command to install and start using it. Here we will see version history for the material library with what changes they have made with every release, also the install command to start with the different versions for beginners.
Different Angular Material Versions
As we already know that we have different material versions available, which we can use to start developing applications using material libraries. Also, it provides us with different component lists which can be used directly inside the application to build any particular type of component for example buttons, icons, toggle, and many more depending on the requirement we have. But all this made the development of the application very fast because we can directly use them without much coding.
So let’s see the different version history for the material library:
1. Angular Material Version 5.2.2
This is the last version of material that we can see on the angular material official website, you can start using this one if you want to. It has come up with a very basic component.
- Form controls
- Navigation
- Layout
- Button & indicators
- Popups & models
- Data table
Below are the steps to install this on your system:
a. First go to the npm official website choose the version you want to work and install for reference see below URL.
URL: https://www.npmjs.com/package/@angular/material?activeTab=versions
b. Execute the below command on the command prompt to install it.
Code:
npm i @angular/[email protected]
2. Angular Material Version 6.4.7
This is the second version that is listed on the angular material library official website.
URL: https://v6.material.angular.io/components/categories
Some of the improvements and features are listed below:
- Introduced ongoing migration to bazel
- Also, they have made improvements to the cdk docs
- We can find new cdk or collections directives
- virtual-scroll
- drag-and-drop
- Improve accessibility, code health, and many more bus fixes with this release
It includes all the components from the previous one but many of the improvements and bug fixes for this release.
3. Angular Material Version 7.3.7
This is the third listed version for angular material on their official website from the series of 7.XX. For reference below find the URL for their official website and see the components in detail and start using them as per the documentation they have.
URL: https://v7.material.angular.io/
We can install this specific version by using the below command from the npm official website which can be executed below to install this specific version.
Code:
npm i @angular/[email protected]
Below are some of the improvements and features list that was introduced with this release.
- They have come up with advanced table improvements, which include inline-edit, column resize, and selection directives
- Also fix the bugs
- Improve the automation tooling and own build.jul
- Collaborate plan with MDC web team
4. Angular Material Version 8.2.3
This is the fourth version listed on the angular material library which come up again with some improvements and bug fixing. For reference see the below URL for angular material documentation which will help you to build your application using this version if you want. They have very good documentation in place in order to understand its usage.
URL: https://v8.material.angular.io/
To install this particular version, follow the below command, or else go to the npm official website to see all the available versions.
Code:
npm i @angular/[email protected]
Below are some of the features, improvements, and bug fixes for this particular version.
- Planning to switch their build from gulp to bazel
- Creating and working on the new API compatible version of the material library which can be backed with the MDC web
- No longer they are using tslint because of the performance issue and improvements, working on ng-update
- Working, creating, and improving the harnesses infrastructure
5. Angular Material Version 9.2.4
This is the fourth version listed on the angular material library which come up again with some improvements and bug fixing. For reference see the below URL for angular material documentation which will help you to build your application using this version if you want. They have very good documentation in place in order to understand its usage.
URL: https://v9.material.angular.io/
To install this particular version, follow the below command, or else go to the npm official website to see all the available versions.
Code:
npm i @angular/[email protected]
Below are some of the features, improvements, and bug fixes for this particular version.
- API compatible to be continued with this version as well to be backed with MDC
- Working on date range picker
- To be continued on the improvements for harnesses infrastructure
Conclusion
The latest version as we have seen is 12.1.XX as of now for the material library, all the required documentation regarding their setup is already available which we can use to start with the material library as it is very easy to use, maintainable and provide all the required features and components which is used to develop an application very quick and fast without much hustle for developers.
Recommended Articles
We hope that this EDUCBA information on “Angular Material Version” was beneficial to you. You can view EDUCBA’s recommended articles for more information.