Skip to content

Bump prism from 0.22.0 to 0.23.0#207

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/prism-0.23.0
Closed

Bump prism from 0.22.0 to 0.23.0#207
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/prism-0.23.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 15, 2024

Bumps prism from 0.22.0 to 0.23.0.

Release notes

Sourced from prism's releases.

v0.23.0

Added

  • More support for Prism::RipperCompat is added.
  • A significantly faster offset cache for Prism::Translation::Parser is added for files with multibyte characters.
  • Prism::Translation::RubyParser is added.
  • Prism::ConstantPathTarget#full_name is added.
  • version: "3.4.0" is added as an option that is an alias for version: "latest".
  • Four new APIs are added to Prism::Location:
    • Prism::Location#start_code_units_offset
    • Prism::Location#end_code_units_offset
    • Prism::Location#start_code_units_column
    • Prism::Location#end_code_units_column
  • Invalid multibyte characters are now validated within strings, lists, and heredocs.

Changed

  • When defining def !@, the name_loc was previously only pointing to !, but now includes the @. The name is the same.
  • Prism::RipperCompat has been moved to Prism::Translation::Ripper.
  • Many of the error messages that prism produces have been changed to match the error messages that CRuby produces.
Changelog

Sourced from prism's changelog.

[0.23.0] - 2024-02-14

Added

  • More support for Prism::RipperCompat is added.
  • A significantly faster offset cache for Prism::Translation::Parser is added for files with multibyte characters.
  • Prism::Translation::RubyParser is added.
  • Prism::ConstantPathTarget#full_name is added.
  • version: "3.4.0" is added as an option that is an alias for version: "latest".
  • Four new APIs are added to Prism::Location:
    • Prism::Location#start_code_units_offset
    • Prism::Location#end_code_units_offset
    • Prism::Location#start_code_units_column
    • Prism::Location#end_code_units_column
  • Invalid multibyte characters are now validated within strings, lists, and heredocs.

Changed

  • When defining def !@, the name_loc was previously only pointing to !, but now includes the @. The name is the same.
  • Prism::RipperCompat has been moved to Prism::Translation::Ripper.
  • Many of the error messages that prism produces have been changed to match the error messages that CRuby produces.
Commits
  • b68effc Merge pull request #2403 from eregon/use-array-new
  • debef8c Prefer Array.new(n) {} to n.times.map {}
  • d00c1bb Merge pull request #2381 from eregon/serialize-newline-list
  • 24aae7a Merge pull request #2413 from ruby/bump-version
  • 523db26 Bump to v0.23.0
  • eaf7c2f Initialize the Prism::Source directly with all 3 fields for the C extension
  • cf0369a Match up token name to CRuby
  • f48283a Merge pull request #2409 from ruby/validate-strings
  • 2857d3e Validate multibyte characters in strings
  • b3dd420 Merge pull request #2408 from ruby/fix-koi8-char-width
  • 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 [prism](https://github.com/ruby/prism) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](ruby/prism@v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: prism
  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 ruby Pull requests that update Ruby code labels Feb 15, 2024
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Feb 16, 2024

Superseded by #208.

@dependabot dependabot Bot closed this Feb 16, 2024
@dependabot dependabot Bot deleted the dependabot/bundler/prism-0.23.0 branch February 16, 2024 02:36
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.

0 participants