Skip to content

Commit b6164a7

Browse files
committed
Bump to v0.10.0
1 parent fc88558 commit b6164a7

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [0.10.0] - 2023-09-01
10+
11+
### Added
12+
13+
- `InstanceVariable*Node` and `ClassVariable*Node` objects now have their `name` returning a Symbol. This is because they are now part of the constant pool.
14+
- `NumberedReferenceReadNode` now has a `number` field, which returns an Integer.
15+
16+
### Changed
17+
18+
- **BREAKING**: Various `operator_id` and `constant_id` fields have been renamed to `operator` and `name`, respectively. See [09d0a144](https://github.com/ruby/yarp/commit/09d0a144dfd519c5b5f96f0b6ee95d256e2cb1a6) for details.
19+
- `%w`, `%W`, `%i`, `%I`, `%q`, and `%Q` literals can now span around the contents of a heredoc.
20+
- **BREAKING**: All of the public C APIs that accept the source string now accept `const uint8_t *` as opposed to `const char *`.
21+
922
## [0.9.0] - 2023-08-25
1023

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

8295
- 🎉 Initial release! 🎉
8396

84-
[unreleased]: https://github.com/ruby/yarp/compare/v0.9.0...HEAD
97+
[unreleased]: https://github.com/ruby/yarp/compare/v0.10.0...HEAD
98+
[0.10.0]: https://github.com/ruby/yarp/compare/v0.9.0...v0.10.0
8599
[0.9.0]: https://github.com/ruby/yarp/compare/v0.8.0...v0.9.0
86100
[0.8.0]: https://github.com/ruby/yarp/compare/v0.7.0...v0.8.0
87101
[0.7.0]: https://github.com/ruby/yarp/compare/v0.6.0...v0.7.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.9.0)
4+
yarp (0.10.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.9.0"
4+
#define EXPECTED_YARP_VERSION "0.10.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 9
2+
#define YP_VERSION_MINOR 10
33
#define YP_VERSION_PATCH 0
4-
#define YP_VERSION "0.9.0"
4+
#define YP_VERSION "0.10.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.9.0");
15+
assert_eq!(&cstring.to_string_lossy(), "0.10.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
@@ -60,7 +60,7 @@ public class Loader {
6060
expect((byte) 'P');
6161

6262
expect((byte) 0);
63-
expect((byte) 9);
63+
expect((byte) 10);
6464
expect((byte) 0);
6565

6666
// 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 = 9
17+
MINOR_VERSION = 10
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.9.0"
5+
spec.version = "0.10.0"
66
spec.authors = ["Shopify"]
77
spec.email = ["ruby@shopify.com"]
88

0 commit comments

Comments
 (0)