Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump league/commonmark from 2.4.2 to 2.5.0 #145

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 23, 2024

Bumps league/commonmark from 2.4.2 to 2.5.0.

Release notes

Sourced from league/commonmark's releases.

2.5.0

Added

  • The AttributesExtension now supports attributes without values (#985, #986)
  • The AutolinkExtension exposes two new configuration options to override the default behavior (#969, #987):
    • autolink/allowed_protocols - an array of protocols to allow autolinking for
    • autolink/default_protocol - the default protocol to use when none is specified

Changed

  • Made compatible with CommonMark spec 0.31.0, including:
    • Allow closing fence to be followed by tabs
    • Remove restrictive limitation on inline comments
    • Unicode symbols now treated like punctuation (for purposes of flankingness)
    • Trailing tabs on the last line of indented code blocks will be excluded
    • Improved HTML comment matching
  • Paragraphs only containing link reference definitions will be kept in the AST until the Document is finalized
    • (These were previously removed immediately after parsing the Paragraph)

Fixed

  • Fixed list tightness not being determined properly in some edge cases
  • Fixed incorrect ending line numbers for several block types in various scenarios
  • Fixed lowercase inline HTML declarations not being accepted

New Contributors

Full Changelog: thephpleague/commonmark@2.4.4...2.5.0

2.4.4

Fixed

  • Fixed SmartPunct extension changing already-formatted quotation marks (#1030)

Full Changelog: thephpleague/commonmark@2.4.3...2.4.4

2.4.3

Fixed

  • Fixed the Attributes extension not supporting CSS level 3 selectors (#1013)
  • Fixed UrlAutolinkParser incorrectly parsing text containing www anywhere before an autolink (#1025)

New Contributors

Full Changelog: thephpleague/commonmark@2.4.2...2.4.3

Changelog

Sourced from league/commonmark's changelog.

[2.5.0] - 2024-07-22

Added

  • The AttributesExtension now supports attributes without values (#985, #986)
  • The AutolinkExtension exposes two new configuration options to override the default behavior (#969, #987):
    • autolink/allowed_protocols - an array of protocols to allow autolinking for
    • autolink/default_protocol - the default protocol to use when none is specified

Changed

  • Made compatible with CommonMark spec 0.31.0, including:
    • Allow closing fence to be followed by tabs
    • Remove restrictive limitation on inline comments
    • Unicode symbols now treated like punctuation (for purposes of flankingness)
    • Trailing tabs on the last line of indented code blocks will be excluded
    • Improved HTML comment matching
  • Paragraphs only containing link reference definitions will be kept in the AST until the Document is finalized
    • (These were previously removed immediately after parsing the Paragraph)

Fixed

  • Fixed list tightness not being determined properly in some edge cases
  • Fixed incorrect ending line numbers for several block types in various scenarios
  • Fixed lowercase inline HTML declarations not being accepted

[2.4.4] - 2024-07-22

Fixed

  • Fixed SmartPunct extension changing already-formatted quotation marks (#1030)

[2.4.3] - 2024-07-22

Fixed

  • Fixed the Attributes extension not supporting CSS level 3 selectors (#1013)
  • Fixed UrlAutolinkParser incorrectly parsing text containing www anywhere before an autolink (#1025)
Commits
  • 0026475 Prepare to release 2.5.0
  • 44dc6f8 Fix PHP 8.4 tests
  • 0d8f65b Test on PHP 8.4
  • be0e90e Fix catastropic backtracking
  • 139af38 Merge remote-tracking branch 'origin/2.4'
  • b81cc1d Merge pull request #1011 from thephpleague/commonmark-spec-0.31
  • a0cd1cd Accept lowercase inline HTML declarations
  • 23a7bf9 Improve HTML comment matching
  • d2854f4 Fix type errors
  • 7b65f63 Fix list tightness and ending line numbers
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [league/commonmark](https://github.com/thephpleague/commonmark) from 2.4.2 to 2.5.0.
- [Release notes](https://github.com/thephpleague/commonmark/releases)
- [Changelog](https://github.com/thephpleague/commonmark/blob/2.5/CHANGELOG.md)
- [Commits](thephpleague/commonmark@2.4.2...2.5.0)

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jul 23, 2024
@BelleNottelling BelleNottelling merged commit 4a6a879 into main Jul 23, 2024
5 checks passed
@dependabot dependabot bot deleted the dependabot/composer/league/commonmark-2.5.0 branch July 23, 2024 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant