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

Update sanitize requirement from ~> 6 to >= 6, < 8 #376

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 30, 2024

Updates the requirements on sanitize to permit the latest version.

Release notes

Sourced from sanitize's releases.

v7.0.0

Sanitize has no breaking API changes in this release, but the major version number has been incremented because we've dropped support for end-of-life versions of Ruby. As long as you're using Ruby 3.1.0 or later, this should be a painless upgrade!

Added

  • Added over 100 new CSS properties to the relaxed config, representing all properties that are listed with a status of "Working Draft" or better in the latest W3C "All Properties" list.

  • Added the @container CSS at-rule to the relaxed config.

  • Added the -webkit-text-fill-color CSS property to the relaxed config. [@​radar - #244](rgrove/sanitize#244)

Changed

  • Ruby 3.1.0 is now the oldest supported Ruby version.

  • Sanitize now requires Nokogiri 1.16.8 or higher.

Changelog

Sourced from sanitize's changelog.

7.0.0 (2024-12-29)

Sanitize has no breaking API changes in this release, but the major version number has been incremented because we've dropped support for end-of-life versions of Ruby. As long as you're using Ruby 3.1.0 or later, this should be a painless upgrade!

Added

  • Added over 100 new CSS properties to the relaxed config, representing all properties that are listed with a status of "Working Draft" or better in the latest W3C "All Properties" list.

  • Added the @container CSS at-rule to the relaxed config.

  • Added the -webkit-text-fill-color CSS property to the relaxed config. [@​radar - #244](rgrove/sanitize#244)

Changed

  • Ruby 3.1.0 is now the oldest supported Ruby version.

  • Sanitize now requires Nokogiri 1.16.8 or higher.

6.1.3 (2024-08-14)

Bug Fixes

  • The CSS URL protocol allowlist is now enforced on the nonstandard -webkit-image-set CSS function. [@​ltk - #242]242

6.1.2 (2024-07-27)

Bug Fixes

6.1.1 (2024-06-12)

Bug Fixes

  • Proactively fixed a compatibility issue with libxml >= 2.13.0 (which will be used in an upcoming version of Nokogiri) that caused HTML doctype sanitization to fail. [@​flavorjones - #238]238

6.1.0 (2023-09-14)

Features

  • Added the text-decoration-skip-ink and text-decoration-thickness CSS properties to the relaxed config. [@​martineriksson - #228]228

... (truncated)

Commits
  • 19ee751 Release 7.0.0
  • 859c3aa Add contribution guidelines
  • 45dbeac Add @container CSS at-rule to the relaxed config
  • 010e4e2 Add new CSS properties
  • c8ce4ed Require MFA
  • 0aece5e Remove rubocop_todo.yml
  • 99d67ab Remove redundant Ruby 3.4 from the test matrix
  • 1127a07 Loosen Bundler dependency
  • a41c5f6 Adopt Standard Ruby style
  • fa8d5e6 Move development dependencies to Gemfile
  • Additional commits viewable in compare view

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)

Updates the requirements on [sanitize](https://github.com/rgrove/sanitize) to permit the latest version.
- [Release notes](https://github.com/rgrove/sanitize/releases)
- [Changelog](https://github.com/rgrove/sanitize/blob/main/CHANGELOG.md)
- [Commits](rgrove/sanitize@v6.0.0...v7.0.0)

---
updated-dependencies:
- dependency-name: sanitize
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Dec 30, 2024
Copy link

This repo is owned by the publishing platform team. Please let us know in #govuk-publishing-platform when you raise any PRs.

@brucebolt brucebolt merged commit 162b8e3 into main Dec 31, 2024
10 checks passed
@brucebolt brucebolt deleted the dependabot/bundler/sanitize-gte-6-and-lt-8 branch December 31, 2024 09:27
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant