Angular developers considering upgrading from @angular/compiler version 11.2.14 to version 12.0.0 should be aware of several key changes. Both versions are implementations of the Angular compiler library, essential for transforming Angular templates and code into executable JavaScript. A primary difference lies in the tslib dependency. Version 12.0.0 updates this dependency to ^2.1.0, whereas version 11.2.14 relies on ^2.0.0. This tslib update likely incorporates bug fixes and performance improvements relevant to TypeScript helper functions used within the Angular compiler.
Another thing to note is related to package size. The unpacked size of version 12.0.0 is notably smaller (18758411 bytes) compared to version 11.2.14 (21339832 bytes), suggesting potential optimizations in the compiled code or a reduction in unnecessary elements. While the file count has slightly increased (481 vs 464), this likely reflects a reorganization of the codebase rather than a significant increase in complexity. Finally, developers may find it interesting to note that both versions were released on the same day, May 12th, in 2021, and this may suggest a targeted bug-fix that required the release of a full new version in the same day the old one was released.
The are not vulnerabilities for the version 12.0.0 of the package @angular/compiler