Commonmark, a popular JavaScript library for parsing and rendering Markdown, saw a significant update between versions 0.9.0 and 0.12.0. While both versions share the same core mission – providing a strongly specified and highly compatible Markdown implementation under the BSD-3-Clause license, they differ in their release dates and potentially in bug fixes, performance improvements, and subtle specification adherence. Version 0.9.0 was released on November 5th, 2014, whereas version 0.12.0 followed shortly after, on November 12th, 2014.
Developers choosing between these versions of the Commonmark library should consider the short time span between the releases. Given that they were published so close together, version 0.12.0 likely addresses issues or incorporates minor enhancements discovered immediately after the release of 0.9.0. While the core functionalities might remain similar, opting for the later version (0.12.0) is generally advisable. As it is a fast follow up it likely incorporates bug fixes.
For developers adopting Commonmark for the first time, both versions provide a reliable foundation for handling Markdown. The library's focus on a well-defined specification ensures consistent rendering across platforms. The consistent API across versions allow for very smooth upgrades from older versions of the library, but bear in mind that jumping to the latest version of the library is always recommended. Examine the changelog for any possible breaking changes.
The are not vulnerabilities for the version 0.12.0 of the package commonmark