Prettier 2.8.4 is a minor version update to the popular opinionated code formatter, building upon the foundation laid by version 2.8.3. Both versions share the same core functionality, aiming to enforce consistent code style across various programming languages. They are both licensed under the MIT license and developed primarily by James Long, with ongoing funding available through GitHub Sponsors.
The key difference lies in subtle refinements and potential bug fixes introduced in the newer version. While the file count remains consistent at 34, there is a slight difference in unpacked size. Version 2.8.3 has a unpacked size of 11675249, whereas 2.8.4 has a unpacked size of 11674755. This optimization suggests under-the-hood efficiency enhancements. The release date also gives away the difference, the version 2.8.4 was released on 2023-02-08, approximately 3 weeks after 2.8.3 released on 2023-01-14.
For developers using Prettier, upgrading to 2.8.4 is generally recommended. Minor version bumps often include important bug fixes and performance improvements that enhance the formatting experience. While the core features remain the same, these subtle changes can lead to more reliable and efficient code formatting within your projects. Always consult the official changelog or release notes on the Prettier GitHub repository for a comprehensive list of changes and potential breaking changes that may affect your specific configuration and workflows. By keeping Prettier up-to-date, developers can ensure they are leveraging the latest refinements in code formatting technology.
The are not vulnerabilities for the version 2.8.4 of the package prettier