Skip to content

v0.29.0

Latest
Compare
Choose a tag to compare
@kddnewton kddnewton released this 10 May 17:13
· 83 commits to main since this release
1f49ca9

Added

  • Added Prism::CallNode#full_message_loc, which gives the location including the = if there is one.
  • A warning for when # shareable_constant_value is not used on its own line.
  • An error for invalid implicit local variable writes.
  • Implicit hash patterns in array patterns are disallowed.
  • We now validate that Unicode escape sequences are not surrogates.

Changed

  • All fields named operator have been renamed to binary_operator for *OperatorWriteNode nodes. This is to make it easier to provide C++ support. In the Ruby API, the old fields are aliased to the new fields with a deprecation warning.
  • Many updated error messages to more closely match CRuby.
  • We ensure keyword parameters do not end in ! or ?.
  • Fixed some escaping in string literals with control sequences and hex escapes.
  • Fix a bug with RBS types when used outside the ruby/prism codebase.