You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,30 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
7
7
## [Unreleased]
8
8
9
+
## [0.12.0] - 2023-09-15
10
+
11
+
### Added
12
+
13
+
-`RegularExpressionNode#options` and `InterpolatedRegularExpressionNode#options` are now provided. These return integers that match up to the `Regexp#options` API.
14
+
- Greatly improved `Node#inspect` and `Node#pretty_print` APIs.
15
+
-`MatchLastLineNode` and `InterpolatedMatchLastLineNode` are introduced to represent using a regular expression as the predicate of an `if` or `unless` statement.
16
+
-`IntegerNode` now has a base flag on it.
17
+
- Heredocs that were previously `InterpolatedStringNode` and `InterpolatedXStringNode` nodes without any actual interpolation are now `StringNode` and `XStringNode`, respectively.
18
+
-`StringNode` now has a `frozen?` flag on it, which respects the `frozen_string_literal` magic comment.
19
+
- Numbered parameters are now supported, and are properly represented using `LocalVariableReadNode` nodes.
20
+
-`ImplicitNode` is introduced, which wraps implicit calls, local variable reads, or constant reads in omitted hash values.
21
+
-`YARP::Dispatcher` is introduced, which provides a way for multiple objects to listen for certain events on the AST while it is being walked. This is effectively a way to implement a more efficient visitor pattern when you have many different uses for the AST.
22
+
23
+
### Changed
24
+
25
+
-**BREAKING**: Flags fields are now marked as private, to ensure we can change their implementation under the hood. Actually querying should be through the accessor methods.
26
+
-**BREAKING**: `AliasNode` is now split into `AliasMethodNode` and `AliasGlobalVariableNode`.
27
+
- Method definitions on local variables is now correctly handled.
28
+
- Unary minus precedence has been fixed.
29
+
- Concatenating character literals with string literals is now fixed.
30
+
- Many more invalid syntaxes are now properly rejected.
31
+
-**BREAKING**: Comments now no longer include their trailing newline.
32
+
9
33
## [0.11.0] - 2023-09-08
10
34
11
35
### Added
@@ -117,7 +141,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
0 commit comments