Skip to content

Commit 2b41ceb

Browse files
committed
Increment version
1 parent 06ca47b commit 2b41ceb

File tree

8 files changed

+33
-9
lines changed

8 files changed

+33
-9
lines changed

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,29 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [0.11.0] - 2023-09-08
10+
11+
### Added
12+
13+
- `Node#inspect` is much improved.
14+
- `YARP::Pattern` is introduced, which can construct procs to match against nodes.
15+
- `BlockLocalVariableNode` is introduced to take the place of the locations array on `BlockParametersNode`.
16+
- `ParseResult#attach_comments!` is now provided to attach comments to locations in the tree.
17+
- `MultiTargetNode` is introduced as the target of multi writes and for loops.
18+
- `Node#comment_targets` is introduced to return the list of objects that can have attached comments.
19+
20+
### Changed
21+
22+
- **BREAKING**: `GlobalVariable*Node#name` now returns a symbol.
23+
- **BREAKING**: `Constant*Node#name` now returns a symbol.
24+
- **BREAKING**: `BlockParameterNode`, `KeywordParameterNode`, `KeywordRestParameterNode`, `RestParameterNode`, `DefNode` all have their `name` methods returning symbols now.
25+
- **BREAKING**: `ClassNode#name` and `ModuleNode#name` now return symbols.
26+
- **BREAKING**: `Location#end_column` is now exclusive instead of inclusive.
27+
- `Location#slice` now returns a properly encoded string.
28+
- `CallNode#operator_loc` is now `CallNode#call_operator_loc`.
29+
- `CallOperatorAndWriteNode` is renamed to `CallAndWriteNode` and its structure has changed.
30+
- `CallOperatorOrWriteNode` is renamed to `CallOrWriteNode` and its structure has changed.
31+
932
## [0.10.0] - 2023-09-01
1033

1134
### Added
@@ -94,7 +117,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
94117

95118
- 🎉 Initial release! 🎉
96119

97-
[unreleased]: https://github.com/ruby/yarp/compare/v0.10.0...HEAD
120+
[unreleased]: https://github.com/ruby/yarp/compare/v0.11.0...HEAD
121+
[0.11.0]: https://github.com/ruby/yarp/compare/v0.10.0...v0.11.0
98122
[0.10.0]: https://github.com/ruby/yarp/compare/v0.9.0...v0.10.0
99123
[0.9.0]: https://github.com/ruby/yarp/compare/v0.8.0...v0.9.0
100124
[0.8.0]: https://github.com/ruby/yarp/compare/v0.7.0...v0.8.0

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
yarp (0.10.0)
4+
yarp (0.11.0)
55

66
GEM
77
remote: https://rubygems.org/

ext/yarp/extension.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef YARP_EXT_NODE_H
22
#define YARP_EXT_NODE_H
33

4-
#define EXPECTED_YARP_VERSION "0.10.0"
4+
#define EXPECTED_YARP_VERSION "0.11.0"
55

66
#include <ruby.h>
77
#include <ruby/encoding.h>

include/yarp/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#define YP_VERSION_MAJOR 0
2-
#define YP_VERSION_MINOR 10
2+
#define YP_VERSION_MINOR 11
33
#define YP_VERSION_PATCH 0
4-
#define YP_VERSION "0.10.0"
4+
#define YP_VERSION "0.11.0"

rust/yarp-sys/tests/utils_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn version_test() {
1212
CStr::from_ptr(version)
1313
};
1414

15-
assert_eq!(&cstring.to_string_lossy(), "0.10.0");
15+
assert_eq!(&cstring.to_string_lossy(), "0.11.0");
1616
}
1717

1818
#[test]

templates/java/org/yarp/Loader.java.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public class Loader {
7171
expect((byte) 'P');
7272

7373
expect((byte) 0);
74-
expect((byte) 10);
74+
expect((byte) 11);
7575
expect((byte) 0);
7676

7777
// This loads the name of the encoding. We don't actually do anything

templates/lib/yarp/serialize.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ end
1414
module YARP
1515
module Serialize
1616
MAJOR_VERSION = 0
17-
MINOR_VERSION = 10
17+
MINOR_VERSION = 11
1818
PATCH_VERSION = 0
1919

2020
def self.load(input, serialized)

yarp.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "yarp"
5-
spec.version = "0.10.0"
5+
spec.version = "0.11.0"
66
spec.authors = ["Shopify"]
77
spec.email = ["ruby@shopify.com"]
88

0 commit comments

Comments
 (0)