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

chore(deps/composer): bump neoncitylights/media-type from 1.0.0 to 3.0.0 #39

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

Bumps neoncitylights/media-type from 1.0.0 to 3.0.0.

Release notes

Sourced from neoncitylights/media-type's releases.

v3.0.0

Breaking changes

  • The library now requires PHP 8.2+ (originally 8.1+). This breaking change comes from bumping the developer dependency PHPUnit from v9 to v11.

Documentation

  • The README.md file now includes usage examples for serialization and matching. (#49)

Internal changes

  • Simplify number of jobs in main CI workflow (#48)
  • Refactors MediaType class internally by factoring out subtype matching (#45)
  • Bumps mediawiki/mediawiki-codesniffer developer dependency from v42.0.0 to v43.0.0. (#38)
  • Bumps php-parallel-lint/php-parallel-lint developer dependency from 1.3.2 to v1.4.0. (#47)
  • Bumps phpunit/phpunit developer dependency from v9.6.15 to v11.0.8. (#46)

v2.1.0

Features

  • MediaType now has a new method, minimize( $isSupported ). This method allows returning a consistent essence as a string, depending on what category the media type is and whether the user agent supports the media type. For example, if the media type is a JavaScript type, then it will consistently return "text/javascript".

Documentation

  • Fixes minor phpDoc annotation issues within MediaType. Specifically:
    • Removes redundant @return annotations that are already specified from return typehints
    • Removes redundant @param annotation from getParameterValue()
    • Adds missing @see annotation to isAudioOrVideo() method in reference to a WHATWG Standard link

v2.0.0

Features

  • MediaTypeParser is a new parser that is more compliant to WHATWG Mime Sniffing Standard. The following differences include:
    • validates for Unicode ranges of HTTP codepoints and HTTP quoted-string codepoints
    • normalizes the type and subtype to ASCII lowercase
    • is more forgiving with surrounding HTTP whitespace codepoints
    • accounts for HTTP-quoted strings in parameter values, and normalizes such values
    • will error out when the type or subtype is empty
  • MediaType now implements the native Stringable interface (introduced by PHP 8.1).
  • MediaType now includes built-in predicate methods for checking what group the media type belongs to:
    • isImage()
    • isAudioOrVideo()
    • isFont()
    • isZipBased()
    • isArchive()
    • isXml()
    • isHtml()
    • isScriptable()
    • isJavaScript()
    • isJson()

... (truncated)

Changelog

Sourced from neoncitylights/media-type's changelog.

3.0.0 (2024-04-03)

Breaking changes

  • The library now requires PHP 8.2+ (originally 8.1+). This breaking change comes from bumping the developer dependency PHPUnit from v9 to v11.

Documentation

  • The README.md file now includes usage examples for serialization and matching. (#49)

Internal changes

  • Simplify number of jobs in main CI workflow (#48)
  • Refactors MediaType class internally by factoring out subtype matching (#45)
  • Bumps mediawiki/mediawiki-codesniffer developer dependency from v42.0.0 to v43.0.0. (#38)
  • Bumps php-parallel-lint/php-parallel-lint developer dependency from 1.3.2 to v1.4.0. (#47)
  • Bumps phpunit/phpunit developer dependency from v9.6.15 to v11.0.8. (#46)

2.1.0 (2024-03-27)

Features

  • MediaType now has a new method, minimize( $isSupported ). This method allows returning a consistent essence as a string, depending on what category the media type is and whether the user agent supports the media type. For example, if the media type is a JavaScript type, then it will consistently return "text/javascript".

Documentation

  • Fixes minor phpDoc annotation issues within MediaType. Specifically:
    • Removes redundant @return annotations that are already specified from return typehints
    • Removes redundant @param annotation from getParameterValue()
    • Adds missing @see annotation to isAudioOrVideo() method in reference to a WHATWG Standard link

2.0.0 (2023-12-11)

Features

  • MediaTypeParser is a new parser that is more compliant to WHATWG Mime Sniffing Standard. The following differences include:
    • validates for Unicode ranges of HTTP codepoints and HTTP quoted-string codepoints
    • normalizes the type and subtype to ASCII lowercase
    • is more forgiving with surrounding HTTP whitespace codepoints
    • accounts for HTTP-quoted strings in parameter values, and normalizes such values
    • will error out when the type or subtype is empty
  • MediaType now implements the native Stringable interface (introduced by PHP 8.1).
  • MediaType now includes built-in predicate methods for checking what group the media type belongs to:
    • isImage()
    • isAudioOrVideo()
    • isFont()
    • isZipBased()
    • isArchive()
    • isXml()
    • isHtml()

... (truncated)

Commits
  • 94e102d feat: release v3.0.0 (#48)
  • 6a5e630 docs: rewrite and modernize README.md (#49)
  • 7ffd31e tests: migrate to PHPUnit v11 (#46)
  • eeed842 chore(deps/composer): bump the php-parallel-lint group with 1 update (#47)
  • d9b41d5 chore(deps/composer): bump the mediawiki group with 1 update (#38)
  • 12f5260 chore(deps/actions): bump actions/cache from 3 to 4 (#36)
  • 424e0c8 chore(deps/composer): bump phpunit/phpunit from 9.6.15 to 9.6.18 (#40)
  • c27e0b5 refactor(MediaType): cleanup by factoring out subtype matching (#45)
  • 00ebf2e feat: release v2.1.0 (#44)
  • 78d06cc docs: remove redundant @param annotation (#43)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [neoncitylights/media-type](https://github.com/neoncitylights/php-media-type) from 1.0.0 to 3.0.0.
- [Release notes](https://github.com/neoncitylights/php-media-type/releases)
- [Changelog](https://github.com/neoncitylights/php-media-type/blob/main/CHANGELOG.md)
- [Commits](neoncitylights/php-media-type@v1.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: neoncitylights/media-type
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 24, 2024

The following labels could not be found: t-dependencies, pkg-composer.

Copy link

codesandbox bot commented Jun 24, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 10, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/neoncitylights/media-type-3.0.0 branch December 10, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant