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

build(deps-dev): bump prism from 0.24.0 to 0.27.0 in /Library/Homebrew #17146

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps prism from 0.24.0 to 0.27.0.

Release notes

Sourced from prism's releases.

v0.27.0

Added

  • Implemented === for each of the nodes, which will check if equality but ignore the specific ranges of locations.

Changed

  • Fix translation of ItParametersNode for parser translation.
  • Fix translation of dstr for ruby_parser translation.
  • Do not allow omitted hash values whose keys end with ! or ?.
  • Split up Prism::ParseResult into Prism::Result with subclasses Prism::ParseResult, Prism::LexResult, Prism::ParseLexResult, and Prism::LexCompat::Result.
  • Change reflection classes to have only a single IntegerField class and rename DoubleField to FloatField.
  • Fall back to default AR and CC in Makefile.
  • Use GC-able symbols for the syntax tree to avoid adding to the global symbol table.
  • Fix a bug with karatsuba_multiply that would result in a stack overflow.
  • Fix parser translation when looking for tokens with srange_find.

v0.26.0

Added

  • Add Prism::Node::fields, which returns a list of Prism::Reflection::Field objects representing the fields of the node class. This is useful in metaprogramming contexts.
  • Prism::Location#chop, for removing the last byte from a location.
  • The void statement warning is now implemented.
  • The unreachable statement warning is now implemented.
  • A syntax error has been added for block arguments on yields, e.g., yield(&foo).

Changed

  • Better fidelity to parser when translating heredocs with interpolation.
  • Fixed RBI and RBS types for Prism::parse_* signatures.
  • Remove some incorrect warnings about unused local variables.
  • More closely match CRuby error messages for global variables.
  • Fix an issue with parser translation when line continuations are found in string literals.

v0.25.0

Added

  • Prism::Translation::Ripper is now able to mirror all of the Ripper APIs.
  • Prism::Location#leading_comments and Prism::Location#trailing_comments is added.
  • Prism::Comment#slice is added.
  • Warn for writing literal values in conditional predicates.
  • Check for _POSIX_MAPPED_FILES before using mmap.
  • Prism::ItParametersNode is added, to support -> { it }.
  • Parse integer and float literal values onto the tree.
  • Warn on duplicated hash keys and duplicated when clauses.
  • Ship much improved RBI and RBS types.
  • Support for the -p, -n, -a, and -l command line switches.
  • Warn on integer literals in flip-flops.
  • Support BSD make.
  • Add Prism::WhenNode#then_keyword_loc.

... (truncated)

Changelog

Sourced from prism's changelog.

[0.27.0] - 2024-04-23

Added

  • Implemented === for each of the nodes, which will check if equality but ignore the specific ranges of locations.

Changed

  • Fix translation of ItParametersNode for parser translation.
  • Fix translation of dstr for ruby_parser translation.
  • Do not allow omitted hash values whose keys end with ! or ?.
  • Split up Prism::ParseResult into Prism::Result with subclasses Prism::ParseResult, Prism::LexResult, Prism::ParseLexResult, and Prism::LexCompat::Result.
  • Change reflection classes to have only a single IntegerField class and rename DoubleField to FloatField.
  • Fall back to default AR and CC in Makefile.
  • Use GC-able symbols for the syntax tree to avoid adding to the global symbol table.
  • Fix a bug with karatsuba_multiply that would result in a stack overflow.
  • Fix parser translation when looking for tokens with srange_find.

[0.26.0] - 2024-04-18

Added

  • Add Prism::Node::fields, which returns a list of Prism::Reflection::Field objects representing the fields of the node class. This is useful in metaprogramming contexts.
  • Prism::Location#chop, for removing the last byte from a location.
  • The void statement warning is now implemented.
  • The unreachable statement warning is now implemented.
  • A syntax error has been added for block arguments on yields, e.g., yield(&foo).

Changed

  • Better fidelity to parser when translating heredocs with interpolation.
  • Fixed RBI and RBS types for Prism::parse_* signatures.
  • Remove some incorrect warnings about unused local variables.
  • More closely match CRuby error messages for global variables.
  • Fix an issue with parser translation when line continuations are found in string literals.

[0.25.0] - 2024-04-05

Added

  • Prism::Translation::Ripper is now able to mirror all of the Ripper APIs.
  • Prism::Location#leading_comments and Prism::Location#trailing_comments is added.
  • Prism::Comment#slice is added.
  • Warn for writing literal values in conditional predicates.
  • Check for _POSIX_MAPPED_FILES before using mmap.
  • Prism::ItParametersNode is added, to support -> { it }.
  • Parse integer and float literal values onto the tree.
  • Warn on duplicated hash keys and duplicated when clauses.
  • Ship much improved RBI and RBS types.
  • Support for the -p, -n, -a, and -l command line switches.

... (truncated)

Commits
  • 096d01c Merge pull request #2730 from ruby/update-version
  • c9edeef Bump to v0.27.0
  • f6d0193 Merge pull request #2729 from ruby/fix-srange-find
  • 3604aa1 srange_find should only look on current line
  • 2ae6b04 Merge pull request #2728 from ruby/fix-recursive-multiply
  • 4dc6ea9 Fix recursive multiply when values are switched in karatsuba_multiply
  • 9dded6f Merge pull request #2727 from ruby/gc-able-symbols
  • f531e47 Update documentation task Ruby version
  • 801117e Use GC-able symbols for AST
  • 7463f66 Merge pull request #2204 from matthew-healy/docs/remaining-write-node-fields
  • 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.24.0 to 0.27.0.
- [Release notes](https://github.com/ruby/prism/releases)
- [Changelog](https://github.com/ruby/prism/blob/main/CHANGELOG.md)
- [Commits](ruby/prism@v0.24.0...v0.27.0)

---
updated-dependencies:
- dependency-name: prism
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Bumping Gemfile dependencies ruby Pull requests that update Ruby code labels Apr 24, 2024
@p-linnane p-linnane enabled auto-merge April 24, 2024 15:33
@p-linnane p-linnane merged commit 34ea988 into master Apr 24, 2024
26 checks passed
@p-linnane p-linnane deleted the dependabot/bundler/Library/Homebrew/prism-0.27.0 branch April 24, 2024 15:44
@github-actions github-actions bot added the outdated PR was locked due to age label May 25, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Bumping Gemfile dependencies outdated PR was locked due to age ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants