Update dependency league/commonmark to v2.4.2 - autoclosed #66

Closed
professeur-chen wants to merge 1 commit from renovate/league-commonmark-2.x into trunk
Collaborator

This PR contains the following updates:

Package Type Update Change
league/commonmark (source) require minor 2.3.5 -> 2.4.2

Release Notes

thephpleague/commonmark (league/commonmark)

v2.4.2

Compare Source

Fixed
  • Fixed declaration parser being too strict
  • FencedCodeRenderer: don't add language- to class if already prefixed

v2.4.1

Compare Source

Fixed
  • Fixed ExternalLinkProcessor not fully disabling the rel attribute when configured to do so (#​992)

v2.4.0

Compare Source

Added
  • Added generic CommonMarkException marker interface for all exceptions thrown by the library
  • Added several new specific exception types implementing that marker interface:
    • AlreadyInitializedException
    • InvalidArgumentException
    • IOException
    • LogicException
    • MissingDependencyException
    • NoMatchingRendererException
    • ParserLogicException
  • Added more configuration options to the Heading Permalinks extension (#​939):
    • heading_permalink/apply_id_to_heading - When true, the id attribute will be applied to the heading element itself instead of the <a> tag
    • heading_permalink/heading_class - class to apply to the heading element
    • heading_permalink/insert - now accepts none to prevent the creation of the <a> link
  • Added new table/alignment_attributes configuration option to control how table cell alignment is rendered (#​959)
Changed
  • Change several thrown exceptions from RuntimeException to LogicException (or something extending it), including:
    • CallbackGenerators that fail to set a URL or return an expected value
    • MarkdownParser when deactivating the last block parser or attempting to get an active block parser when they've all been closed
    • Adding items to an already-initialized Environment
    • Rendering a Node when no renderer has been registered for it
  • HeadingPermalinkProcessor now throws InvalidConfigurationException instead of RuntimeException when invalid config values are given.
  • HtmlElement::setAttribute() no longer requires the second parameter for boolean attributes
  • Several small micro-optimizations
  • Changed Strikethrough to only allow 1 or 2 tildes per the updated GFM spec
Fixed
  • Fixed inaccurate @throws docblocks throughout the codebase, including ConverterInterface, MarkdownConverter, and MarkdownConverterInterface.
    • These previously suggested that only \RuntimeExceptions were thrown, which was inaccurate as \LogicExceptions were also possible.

v2.3.9

Compare Source

Fixed
  • Fixed autolink extension not detecting some URIs with underscores (#​956)

v2.3.8

Compare Source

Fixed
  • Fixed parsing issues when mb_internal_encoding() is set to something other than UTF-8 (#​951)

v2.3.7

Compare Source

Fixed
  • Fixed TaskListItemMarkerRenderer not including HTML attributes set on the node by other extensions (#​947)

v2.3.6

Compare Source

Fixed
  • Fixed unquoted attribute parsing when closing curly brace is followed by certain characters (like a .) (#​943)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [league/commonmark](https://commonmark.thephpleague.com) ([source](https://github.com/thephpleague/commonmark)) | require | minor | `2.3.5` -> `2.4.2` | --- ### Release Notes <details> <summary>thephpleague/commonmark (league/commonmark)</summary> ### [`v2.4.2`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#242---2024-02-02) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.4.1...2.4.2) ##### Fixed - Fixed declaration parser being too strict - `FencedCodeRenderer`: don't add `language-` to class if already prefixed ### [`v2.4.1`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#241---2023-08-30) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.4.0...2.4.1) ##### Fixed - Fixed `ExternalLinkProcessor` not fully disabling the `rel` attribute when configured to do so ([#&#8203;992](https://github.com/thephpleague/commonmark/issues/992)) ### [`v2.4.0`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#240---2023-03-24) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.3.9...2.4.0) ##### Added - Added generic `CommonMarkException` marker interface for all exceptions thrown by the library - Added several new specific exception types implementing that marker interface: - `AlreadyInitializedException` - `InvalidArgumentException` - `IOException` - `LogicException` - `MissingDependencyException` - `NoMatchingRendererException` - `ParserLogicException` - Added more configuration options to the Heading Permalinks extension ([#&#8203;939](https://github.com/thephpleague/commonmark/issues/939)): - `heading_permalink/apply_id_to_heading` - When `true`, the `id` attribute will be applied to the heading element itself instead of the `<a>` tag - `heading_permalink/heading_class` - class to apply to the heading element - `heading_permalink/insert` - now accepts `none` to prevent the creation of the `<a>` link - Added new `table/alignment_attributes` configuration option to control how table cell alignment is rendered ([#&#8203;959](https://github.com/thephpleague/commonmark/issues/959)) ##### Changed - Change several thrown exceptions from `RuntimeException` to `LogicException` (or something extending it), including: - `CallbackGenerator`s that fail to set a URL or return an expected value - `MarkdownParser` when deactivating the last block parser or attempting to get an active block parser when they've all been closed - Adding items to an already-initialized `Environment` - Rendering a `Node` when no renderer has been registered for it - `HeadingPermalinkProcessor` now throws `InvalidConfigurationException` instead of `RuntimeException` when invalid config values are given. - `HtmlElement::setAttribute()` no longer requires the second parameter for boolean attributes - Several small micro-optimizations - Changed Strikethrough to only allow 1 or 2 tildes per the updated GFM spec ##### Fixed - Fixed inaccurate `@throws` docblocks throughout the codebase, including `ConverterInterface`, `MarkdownConverter`, and `MarkdownConverterInterface`. - These previously suggested that only `\RuntimeException`s were thrown, which was inaccurate as `\LogicException`s were also possible. ### [`v2.3.9`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#239---2023-02-15) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.3.8...2.3.9) ##### Fixed - Fixed autolink extension not detecting some URIs with underscores ([#&#8203;956](https://github.com/thephpleague/commonmark/issues/956)) ### [`v2.3.8`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#238---2022-12-10) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.3.7...2.3.8) ##### Fixed - Fixed parsing issues when `mb_internal_encoding()` is set to something other than `UTF-8` ([#&#8203;951](https://github.com/thephpleague/commonmark/issues/951)) ### [`v2.3.7`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#237---2022-11-03) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.3.6...2.3.7) ##### Fixed - Fixed `TaskListItemMarkerRenderer` not including HTML attributes set on the node by other extensions ([#&#8203;947](https://github.com/thephpleague/commonmark/issues/947)) ### [`v2.3.6`](https://github.com/thephpleague/commonmark/blob/HEAD/CHANGELOG.md#236---2022-10-30) [Compare Source](https://github.com/thephpleague/commonmark/compare/2.3.5...2.3.6) ##### Fixed - Fixed unquoted attribute parsing when closing curly brace is followed by certain characters (like a `.`) ([#&#8203;943](https://github.com/thephpleague/commonmark/issues/943)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xOTQuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE5NC4wIiwidGFyZ2V0QnJhbmNoIjoidHJ1bmsifQ==-->
professeur-chen changed title from Update dependency league/commonmark to v2.4.2 to Update dependency league/commonmark to v2.4.2 - autoclosed 2024-06-16 06:27:55 +02:00
professeur-chen closed this pull request 2024-06-16 06:27:55 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
l4p1n-bot/website!66
No description provided.