Skip to content

Commit 61a306c

Browse files
committed
Bump to version 0.17.0
1 parent abb2273 commit 61a306c

File tree

14 files changed

+27
-16
lines changed

14 files changed

+27
-16
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [0.17.0] - 2023-11-03
10+
11+
### Added
12+
13+
- We now properly support forwarding arguments into arrays, like `def foo(*) = [*]`.
14+
- We now have much better documentation for the C and Ruby APIs.
15+
- We now properly provide an error message when attempting to assign to numbered parameters from within regular expression named capture groups, as in `/(?<_1>)/ =~ ""`.
16+
917
### Changed
1018

1119
- **BREAKING**: `KeywordParameterNode` is split into `OptionalKeywordParameterNode` and `RequiredKeywordParameterNode`. `RequiredKeywordParameterNode` has no `value` field.
20+
- **BREAKING**: Most of the `Prism::` APIs now accept a bunch of keyword options. The options we now support are: `filepath`, `encoding`, `line`, `frozen_string_literal`, `verbose`, and `scopes`. See [the pull request](https://github.com/ruby/prism/pull/1763) for more details.
21+
- **BREAKING**: Comments are now split into three different classes instead of a single class, and the `type` field has been removed. They are: `InlineComment`, `EmbDocComment`, and `DATAComment`.
1222

1323
## [0.16.0] - 2023-10-30
1424

@@ -223,7 +233,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
223233

224234
- 🎉 Initial release! 🎉
225235

226-
[unreleased]: https://github.com/ruby/prism/compare/v0.16.0...HEAD
236+
[unreleased]: https://github.com/ruby/prism/compare/v0.17.0...HEAD
237+
[0.17.0]: https://github.com/ruby/prism/compare/v0.16.0...v0.17.0
227238
[0.16.0]: https://github.com/ruby/prism/compare/v0.15.1...v0.16.0
228239
[0.15.1]: https://github.com/ruby/prism/compare/v0.15.0...v0.15.1
229240
[0.15.0]: https://github.com/ruby/prism/compare/v0.14.0...v0.15.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-
prism (0.16.0)
4+
prism (0.17.0)
55

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

ext/prism/extension.h

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

4-
#define EXPECTED_PRISM_VERSION "0.16.0"
4+
#define EXPECTED_PRISM_VERSION "0.17.0"
55

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

include/prism/version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* The minor version of the Prism library as an int.
1616
*/
17-
#define PRISM_VERSION_MINOR 16
17+
#define PRISM_VERSION_MINOR 17
1818

1919
/**
2020
* The patch version of the Prism library as an int.
@@ -24,6 +24,6 @@
2424
/**
2525
* The version of the Prism library as a constant string.
2626
*/
27-
#define PRISM_VERSION "0.16.0"
27+
#define PRISM_VERSION "0.17.0"
2828

2929
#endif

javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ruby/prism",
3-
"version": "0.16.0",
3+
"version": "0.17.0",
44
"description": "Prism Ruby parser",
55
"type": "module",
66
"main": "src/index.js",

prism.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 = "prism"
5-
spec.version = "0.16.0"
5+
spec.version = "0.17.0"
66
spec.authors = ["Shopify"]
77
spec.email = ["ruby@shopify.com"]
88

rust/prism-sys/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/prism-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "prism-sys"
3-
version = "0.16.0"
3+
version = "0.17.0"
44
edition = "2021"
55
license-file = "../../LICENSE.md"
66
repository = "https://github.com/ruby/prism"

rust/prism-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.16.0");
15+
assert_eq!(&cstring.to_string_lossy(), "0.17.0");
1616
}
1717

1818
#[test]

rust/prism/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)