Skip to content

Commit

Permalink
Bump to v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Sep 1, 2023
1 parent fc88558 commit b6164a7
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 9 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

## [0.10.0] - 2023-09-01

### Added

- `InstanceVariable*Node` and `ClassVariable*Node` objects now have their `name` returning a Symbol. This is because they are now part of the constant pool.
- `NumberedReferenceReadNode` now has a `number` field, which returns an Integer.

### Changed

- **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.
- `%w`, `%W`, `%i`, `%I`, `%q`, and `%Q` literals can now span around the contents of a heredoc.
- **BREAKING**: All of the public C APIs that accept the source string now accept `const uint8_t *` as opposed to `const char *`.

## [0.9.0] - 2023-08-25

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

- 🎉 Initial release! 🎉

[unreleased]: https://github.com/ruby/yarp/compare/v0.9.0...HEAD
[unreleased]: https://github.com/ruby/yarp/compare/v0.10.0...HEAD
[0.10.0]: https://github.com/ruby/yarp/compare/v0.9.0...v0.10.0
[0.9.0]: https://github.com/ruby/yarp/compare/v0.8.0...v0.9.0
[0.8.0]: https://github.com/ruby/yarp/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/ruby/yarp/compare/v0.6.0...v0.7.0
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
yarp (0.9.0)
yarp (0.10.0)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion ext/yarp/extension.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef YARP_EXT_NODE_H
#define YARP_EXT_NODE_H

#define EXPECTED_YARP_VERSION "0.9.0"
#define EXPECTED_YARP_VERSION "0.10.0"

#include <ruby.h>
#include <ruby/encoding.h>
Expand Down
4 changes: 2 additions & 2 deletions include/yarp/version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define YP_VERSION_MAJOR 0
#define YP_VERSION_MINOR 9
#define YP_VERSION_MINOR 10
#define YP_VERSION_PATCH 0
#define YP_VERSION "0.9.0"
#define YP_VERSION "0.10.0"
2 changes: 1 addition & 1 deletion rust/yarp-sys/tests/utils_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn version_test() {
CStr::from_ptr(version)
};

assert_eq!(&cstring.to_string_lossy(), "0.9.0");
assert_eq!(&cstring.to_string_lossy(), "0.10.0");
}

#[test]
Expand Down
2 changes: 1 addition & 1 deletion templates/java/org/yarp/Loader.java.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class Loader {
expect((byte) 'P');

expect((byte) 0);
expect((byte) 9);
expect((byte) 10);
expect((byte) 0);

// This loads the name of the encoding. We don't actually do anything
Expand Down
2 changes: 1 addition & 1 deletion templates/lib/yarp/serialize.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ end
module YARP
module Serialize
MAJOR_VERSION = 0
MINOR_VERSION = 9
MINOR_VERSION = 10
PATCH_VERSION = 0

def self.load(input, serialized)
Expand Down
2 changes: 1 addition & 1 deletion yarp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "yarp"
spec.version = "0.9.0"
spec.version = "0.10.0"
spec.authors = ["Shopify"]
spec.email = ["[email protected]"]

Expand Down

0 comments on commit b6164a7

Please sign in to comment.