Skip to content

Commit

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

## [Unreleased]

## [0.17.1] - 2023-11-03

### Changed

- Do not use constant nesting in RBI files.

## [0.17.0] - 2023-11-03

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

- 🎉 Initial release! 🎉

[unreleased]: https://github.com/ruby/prism/compare/v0.17.0...HEAD
[unreleased]: https://github.com/ruby/prism/compare/v0.17.1...HEAD
[0.17.1]: https://github.com/ruby/prism/compare/v0.17.0...v0.17.1
[0.17.0]: https://github.com/ruby/prism/compare/v0.16.0...v0.17.0
[0.16.0]: https://github.com/ruby/prism/compare/v0.15.1...v0.16.0
[0.15.1]: https://github.com/ruby/prism/compare/v0.15.0...v0.15.1
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:
prism (0.17.0)
prism (0.17.1)

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

#define EXPECTED_PRISM_VERSION "0.17.0"
#define EXPECTED_PRISM_VERSION "0.17.1"

#include <ruby.h>
#include <ruby/encoding.h>
Expand Down
4 changes: 2 additions & 2 deletions include/prism/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
/**
* The patch version of the Prism library as an int.
*/
#define PRISM_VERSION_PATCH 0
#define PRISM_VERSION_PATCH 1

/**
* The version of the Prism library as a constant string.
*/
#define PRISM_VERSION "0.17.0"
#define PRISM_VERSION "0.17.1"

#endif
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ruby/prism",
"version": "0.17.0",
"version": "0.17.1",
"description": "Prism Ruby parser",
"type": "module",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion prism.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "prism"
spec.version = "0.17.0"
spec.version = "0.17.1"
spec.authors = ["Shopify"]
spec.email = ["[email protected]"]

Expand Down
2 changes: 1 addition & 1 deletion rust/prism-sys/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/prism-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "prism-sys"
version = "0.17.0"
version = "0.17.1"
edition = "2021"
license-file = "../../LICENSE.md"
repository = "https://github.com/ruby/prism"
Expand Down
2 changes: 1 addition & 1 deletion rust/prism-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.17.0");
assert_eq!(&cstring.to_string_lossy(), "0.17.1");
}

#[test]
Expand Down
4 changes: 2 additions & 2 deletions rust/prism/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/prism/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "prism"
version = "0.17.0"
version = "0.17.1"
edition = "2021"
license-file = "../../LICENSE.md"
repository = "https://github.com/ruby/prism"
Expand Down
2 changes: 1 addition & 1 deletion templates/java/org/prism/Loader.java.erb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public class Loader {

expect((byte) 0, "prism version does not match");
expect((byte) 17, "prism version does not match");
expect((byte) 0, "prism version does not match");
expect((byte) 1, "prism version does not match");

expect((byte) 1, "Loader.java requires no location fields in the serialized output");

Expand Down
2 changes: 1 addition & 1 deletion templates/javascript/src/deserialize.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as nodes from "./nodes.js";

const MAJOR_VERSION = 0;
const MINOR_VERSION = 17;
const PATCH_VERSION = 0;
const PATCH_VERSION = 1;

class SerializationBuffer {
constructor(source, array) {
Expand Down
2 changes: 1 addition & 1 deletion templates/lib/prism/serialize.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Prism

# The patch version of prism that we are expecting to find in the serialized
# strings.
PATCH_VERSION = 0
PATCH_VERSION = 1

# Deserialize the AST represented by the given string into a parse result.
def self.load(input, serialized)
Expand Down

0 comments on commit d76f295

Please sign in to comment.