Angular developers considering upgrading their applications will find value in examining the differences between @angular/common versions 8.0.3 and 8.1.0. Both versions provide essential directives and services for building Angular applications, sharing the same core functionality and licensing under MIT. Crucially, both rely on tslib (version ^1.9.0) for TypeScript helper functions and have peer dependencies on rxjs (^6.4.0) and @angular/core. In essence, you should use the same rxjs version for both of them.
The key difference lies in the specific version of @angular/core they require, dictating compatibility with the broader Angular framework. Version 8.0.3 necessitates @angular/core version 8.0.3, while version 8.1.0 correspondingly requires @angular/core version 8.1.0. The jump to version 8.1.0 signifies a newer feature-set, bug fixes, and performance improvements bundled within the core Angular framework as well as the common package. Also, keep in mind that the later version contains less files and also is smaller than its older version.
From a release perspective, version 8.1.0 was released on July 2nd, 2019, a little later but close to the 8.0.3 version (released on June 26th, 2019). Therefore , upgrading to @angular/common version 8.1.0 necessitates upgrading to @angular/core 8.1.0, unlocking the advantages of the latest Angular features but also testing the changes on your side. Developers should carefully review the Angular changelog for a comprehensive understanding of the introduced changes and their potential impact on existing projects.
The are not vulnerabilities for the version 8.1.0 of the package @angular/common