Changelog

All notable changes made in 2.x releases are shown below. See the full list of releases for the complete changelog.

2.7.1 - 2025-07-20

Notable Changes

Changed

Fixed

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.7.0…2.7.1

2.7.0 - 2025-05-05

This is a security release to address a potential cross-site scripting (XSS) vulnerability when using the AttributesExtension with untrusted user input.

Added

Changed

2.6.2 - 2025-04-18

Fixed

Other Changes

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.6.1…2.6.2

2.6.1 - 2024-12-29

Fixed

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.6.0…2.6.1

2.6.0 - 2024-12-07

This is a security release to address potential denial of service attacks when parsing specially crafted, malicious input from untrusted sources (like user input). See https://github.com/thephpleague/commonmark/security/advisories/GHSA-c2pc-g5qf-rfrf for more details.

Added

Changed

2.5.3 - 2024-08-16

Changed

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.5.2…2.5.3

2.5.2 - 2024-08-14

Changed

Fixed


Full Changelog: https://github.com/thephpleague/commonmark/compare/2.5.1…2.5.2

2.5.1 - 2024-07-24

Fixed

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.5.0…2.5.1

2.5.0 - 2024-07-22

Added

Changed

Fixed

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.4.4…2.5.0

2.4.4 - 2024-07-22

Fixed

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.4.3…2.4.4

2.4.3 - 2024-07-22

Fixed

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.4.2…2.4.3

2.4.2 - 2024-02-02

Fixed

New Contributors

Full Changelog: https://github.com/thephpleague/commonmark/compare/2.4.1…2.4.2

2.4.1 - 2023-08-30

Fixed

2.4.0 - 2023-03-24

See the upgrading guide for more information about the exception-related changes

Added

Changed

Fixed

2.3.9 - 2023-02-15

Fixed

2.3.8 - 2022-12-10

Fixed

2.3.7 - 2022-11-17

Fixed

2.3.6 - 2022-10-30

Fixed

2.3.5 - 2022-07-29

Fixed

2.3.4 - 2022-07-17

Changed

Fixed

2.3.3 - 2022-06-07

Fixed

2.3.2 - 2022-06-03

Fixed

2.2.5 - 2022-06-03

Fixed

2.3.1 - 2022-05-14

Fixed

2.2.4 - 2022-05-14

Fixed

2.3.0 - 2022-04-07

Added

Deprecated

2.2.3 - 2022-02-26

Fixed

2.1.3 - 2022-02-26

Fixed

2.0.4 - 2022-02-26

Fixed

2.2.2 - 2022-02-13

Fixed

2.1.2 - 2022-02-13

Fixed

2.0.3 - 2022-02-13

Fixed

2.2.1 - 2022-01-25

Fixed

Removed

2.2.0 - 2022-01-22

Added

Changed

Deprecated

2.1.1 - 2022-01-02

Added

2.1.0 - 2021-12-05

Added

Fixed

2.0.2 - 2021-08-14

Changed

Fixed

2.0.1 - 2021-07-31

Fixed

2.0.0 - 2021-07-24

No changes were introduced since the previous 2.0.0-rc2 release.

Please refer to the full Changelog for a list of all changes between 1.x and 2.0. An upgrading guide is also available.

2.0.0-rc2 - 2021-07-17

Fixed

2.0.0-rc1 - 2021-07-10

No changes were introduced since the previous release.

2.0.0-beta3 - 2021-07-03

Changed

2.0.0-beta2 - 2021-06-27

See https://commonmark.thephpleague.com/2.0/upgrading/ for detailed information on upgrading to version 2.0.

Added

Changed

Fixed

2.0.0-beta1 - 2021-06-20

See https://commonmark.thephpleague.com/2.0/upgrading/ for detailed information on upgrading to version 2.0.

Added

Changed

Fixed

Removed

Deprecated

The following things have been deprecated and will not be supported in v3.0:

Older Versions

Please see the full list of releases for the complete changelog.


Edit this page