Skip to content

v0.17.0

Compare
Choose a tag to compare
@kddnewton kddnewton released this 03 Nov 15:22
· 2151 commits to main since this release
08710a8

Added

  • We now properly support forwarding arguments into arrays, like def foo(*) = [*].
  • We now have much better documentation for the C and Ruby APIs.
  • We now properly provide an error message when attempting to assign to numbered parameters from within regular expression named capture groups, as in /(?<_1>)/ =~ "".

Changed

  • BREAKING: KeywordParameterNode is split into OptionalKeywordParameterNode and RequiredKeywordParameterNode. RequiredKeywordParameterNode has no value field.
  • BREAKING: Most of the Prism:: APIs now accept a bunch of keyword options. The options we now support are: filepath, encoding, line, frozen_string_literal, verbose, and scopes. See the pull request for more details.
  • BREAKING: Comments are now split into three different classes instead of a single class, and the type field has been removed. They are: InlineComment, EmbDocComment, and DATAComment.