Skip to content

build(deps): bump league/commonmark from 2.6.1 to 2.7.0 & laravelcollective/htmlの削除 #2192

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

Merged
merged 2 commits into from
May 11, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2025

Bumps league/commonmark from 2.6.1 to 2.7.0.

Release notes

Sourced from league/commonmark's releases.

2.7.0

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

Added

  • Added attributes/allow config option to specify which attributes users are allowed to set on elements (default allows virtually all attributes)

Changed

  • The AttributesExtension blocks all attributes starting with on unless explicitly allowed via the attributes/allow config option
  • The allow_unsafe_links option is now respected by the AttributesExtension when users specify href and src attributes

2.6.2

Fixed

  • Fixed Attributes extension parsing regression (#1071)

Other Changes

New Contributors

Full Changelog: thephpleague/commonmark@2.6.1...2.6.2

Changelog

Sourced from league/commonmark's changelog.

[2.7.0]

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

Added

  • Added attributes/allow config option to specify which attributes users are allowed to set on elements (default allows virtually all attributes)

Changed

  • The AttributesExtension blocks all attributes starting with on unless explicitly allowed via the attributes/allow config option
  • The allow_unsafe_links option is now respected by the AttributesExtension when users specify href and src attributes

[2.6.2] - 2025-04-18

Fixed

  • Fixed Attributes extension parsing regression (#1071)
Commits

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

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

---
updated-dependencies:
- dependency-name: league/commonmark
  dependency-version: 2.7.0
  dependency-type: indirect
...

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 May 6, 2025
@akagane99
Copy link
Contributor

akagane99 commented May 11, 2025

対応参考

概要

  • league/commonmarkのアップデート対応
  • Laravel 11以降は使えなくなる Laravel Collective(laravelcollective/html)を削除しました。(現在使っていない事を確認しました※)

※調査:Laravel Collective

composer.jsonにはじめて追加された箇所

動作確認

composer.lock、composer-dev.lockをupdate後、github actionsで動作確認しました。
各phpバージョンで問題なく動きそうです。

関連するプルリクエスト

追加対応:手順(他ライブラリも更新)

  • composer updateを行うため、アップデート環境のPHPは、Connect-CMS 1.x系の最低バージョンである php7.4 で実施しました。

composer.lock

以下コマンドプロンプトで実施(win)

composer remove laravelcollective/html

composer update

以下ターミナルで実施(linux)

composer remove laravelcollective/html

composer update

composer-dev.lock

以下コマンドプロンプトで実施(win)

set COMPOSER=composer-dev.json
composer remove laravelcollective/html
composer update

以下ターミナルで実施(linux)

COMPOSER=composer-dev.json composer remove laravelcollective/html
COMPOSER=composer-dev.json composer update

@akagane99 akagane99 changed the title build(deps): bump league/commonmark from 2.6.1 to 2.7.0 build(deps): bump league/commonmark from 2.6.1 to 2.7.0 & laravelcollective/htmlの削除 May 11, 2025
@akagane99 akagane99 self-assigned this May 11, 2025
@akagane99 akagane99 added the developer update 開発者向けの更新 label May 11, 2025
@akagane99 akagane99 merged commit f2aa0c0 into master May 11, 2025
8 of 10 checks passed
@akagane99 akagane99 deleted the dependabot/composer/league/commonmark-2.7.0 branch May 11, 2025 10:28
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 developer update 開発者向けの更新 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant