Upgrading Guide

Release Notes

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

1.6.7 - 2022-01-13

Changed

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

1.6.6 - 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

1.6.5 - 2021-06-26

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:

1.6.4 - 2021-06-19

Changed

1.6.3 - 2021-06-19

Fixed

1.6.2 - 2021-05-12

Fixed

1.6.1 - 2021-05-08

Fixed

1.6.0 - 2021-05-01

Please see https://commonmark.thephpleague.com/1.6/upgrading/ for important information about this release and the upcoming 2.0.0 version.

Added

Changed

Deprecated

Fixed

1.5.8 - 2021-03-28

Fixed

1.5.7 - 2020-10-31

Fixed

1.5.6 - 2020-10-17

Changed

Fixed

1.5.5 - 2020-09-13

Changed

Fixed

1.5.4 - 2020-08-18

Fixed

1.5.3 - 2020-07-19

Fixed

1.5.2 - 2020-07-19

Changed

Fixed

1.5.1 - 2020-06-27

Fixed

1.5.0 - 2020-06-21

Added

Changed

Fixed

Deprecated

1.4.3 - 2020-05-04

Fixed

1.4.2 - 2020-04-24

Fixed

1.4.1 - 2020-04-20

Fixed

1.4.0 - 2020-04-18

Added

Changed

Fixed

Deprecated

1.3.4 - 2020-04-13

Fixed

1.3.3 - 2020-04-05

Fixed

1.3.2 - 2020-03-25

Fixed

1.3.1 - 2020-02-28

Fixed

1.3.0 - 2020-02-09

ℹ️ Do you use league/commonmark-ext* packages? Those features are now included directly in this library! See #409 for details on making the switch.

Added

Changed

1.2.2 - 2020-01-16

This release contains the same changes as 1.1.3:

Fixed

1.1.3 - 2020-01-16

Fixed

1.2.1 - 2020-01-15

Changed

1.2.0 - 2020-01-09

Changed

1.1.2 - 2019-12-10

Fixed

1.1.1 - 2019-11-11

Fixed

1.1.0 - 2019-10-31

Added

Changed

Fixed

Deprecated

1.0.0 - 2019-06-29

First stable release! 🎉

No code changes have been introduced since 1.0.0-rc1

1.0.0-rc1 - 2019-06-20

Added

Changed

Fixed

0.19.3 - 2019-06-18

Fixed

1.0.0-beta4 - 2019-06-05

Added

Removed

1.0.0-beta3 - 2019-05-28

Changed

Removed

1.0.0-beta2 - 2019-05-27

This beta release fixes a couple of items that were not addressed in the previous beta.

Changed

Removed

1.0.0-beta1 - 2019-05-26

See the upgrading guide for additional information.

Added

Changed

Fixed

Deprecated

Removed

0.19.2 - 2019-05-19

Fixed

0.19.1 - 2019-04-11

0.19.1 is an immediate follow-up to 0.19.0 which fixes issues with extensions that register other extensions.

(While this technically introduces a BC-break, it’s allowed under SemVer’s rules for 0.x releases and is necessary for 0.19.x code to work as expected.)

Added

Fixed

0.19.0 - 2019-04-11

The 50th release of league/commonmark is here! :tada:

The Environment and extension framework underwent some major changes in this release. Be sure to read the upgrade notes if you maintain any community extensions or have written custom functionality on top of this library.

Added

Changed

Removed

0.18.5 - 2019-04-09

Fixed

0.18.4 - 2019-03-24

Changed

Fixed

0.18.3 - 2019-03-21

This is a security update release.

Changed

Fixed

Deprecated

0.18.2 - 2019-03-17

Fixed

Deprecated

0.18.1 - 2018-12-30

This release contains an important security update for CVE-2018-20583.

Fixed

0.18.0 - 2018-09-18

No breaking changes were introduced, but we did add a new interface: ConverterInterface. Consider depending on this interface in your code instead of the concrete implementation. (See #330)

Added

Changed

0.17.5 - 2018-03-29

Fixed

0.17.4 - 2018-03-29

Added

0.17.3 - 2018-03-26

Fixed

0.17.2 - 2018-03-26

Added

Fixed

0.17.1 - 2018-03-18

Added

0.17.0 - 2017-12-30

This release contains several breaking changes and a minimum PHP version bump - see UPGRADE.md for more details.

Added

Changed

Fixed

Deprecated

Removed

0.16.0 - 2017-10-31

This release contains breaking changes, several performance improvements, and two deprecations:

Added

Changed

Fixed

Deprecated

The following methods were deprecated and are scheduled for removal in 0.17.0 or 1.0.0 (whichever comes first). See UPGRADE.md for more information.

Removed

0.15.7 - 2017-10-26

Fixed

0.15.6 - 2017-08-08

Fixed

0.15.5 - 2017-08-05

This release bumps spec compliance to 0.28 without breaking changes to the API.

Added

Changed

Fixed

Deprecated

An unused constant and static method were deprecated and will be removed in a future release. See for more information.

0.15.4 - 2017-05-09

Added

Fixed

Deprecated

All deprecations listed here will be removed in a future 0.x release. See UPGRADE.md for instructions on preparing your code for the eventual removal of these methods.

0.15.3 - 2016-12-19

Fixed

0.15.2 - 2016-11-22

Changed

Fixed

0.15.1 - 2016-11-08

Fixed

0.15.0 - 2016-09-14

Added

Changed

Deprecated

Fixed

Removed

0.14.0 - 2016-07-02

Added

Deprecated

0.13.4 - 2016-06-14

Fixed

0.13.3 - 2016-05-21

Added

0.13.2 - 2016-03-27

Added

Changed

0.13.1 - 2016-03-09

Changed

Fixed

Removed

0.13.0 - 2016-01-14

Added

Changed

Fixed

Removed

0.12.0 - 2015-11-04

Added

Changed

Fixed

Removed

0.11.3 - 2015-09-25

Fixed

0.11.2 - 2015-09-23

Fixed

0.11.1 - 2015-09-22

Changed

Fixed

Removed

0.11.0 - 2015-09-19

This release contains several major internal changes. It will likely break compatibility with custom elements, parsers, and renderers. Simple Markdown parsing is unaffected.

Added

Changed

Fixed

Removed

0.10.0 - 2015-07-25

Added

Changed

Fixed

Removed

0.9.0 - 2015-06-19

Added

Changed

Fixed

0.8.0 - 2015-04-29

Added

Changed

Fixed

Removed

0.7.2 - 2015-03-08

Changed

Fixed

0.7.1 - 2015-03-01

Added

Changed

Fixed

0.7.0 - 2015-02-17

Now with 50% more speed!

Added

Changed

Removed

0.6.1 - 2015-01-25

Changed

0.6.0 - 2015-01-09

Added

Changed

Fixed

Removed

0.5.1 - 2014-12-27

Fixed

Removed

0.5.0 - 2014-12-24

Added

Changed

Fixed

Removed

- 2014-12-16


Edit this page