PHPnews.io

league/commonmark 2.0.0-beta2 now available for testing

Written by colinodell.com - Blog / Original link on Jun. 27, 2021

With the 2.0.0 stable release of league/commonmark scheduled for next month, I’m pleased to share that the first 2.0 beta releases are now available! Current users of this library are highly encouraged to test this new branch and provide feedback.

You can install the beta release via Composer:

composer require league/commonmark:^2.0@beta

What’s new in 2.0?

There’s so much to cover - I’ll likely need to write a separate blog post about that. But here are the key improvements and changes:

I’ll share more details on this, including the new benchmarks, closer to the 2.0.0 stable release. In the meantime, I’d highly recommend reviewing the upgrading guide and CHANGELOG for additional details on what’s changed and how you can start testing 2.0 today.

This is going to be the most exciting release and I can’t wait to share it with all of you!

Correction: A previous revision of this post claimed “up to 70%” performance improvement. I divided by the wrong number - it’s actually 50%.

colinodell

« A Week of Symfony #756 (21-27 June 2021) - Literally Internals »