Skip to content

Commit 1731bf4

Browse files
committed
Bump version to 0.14.0
1 parent f76b487 commit 1731bf4

File tree

8 files changed

+28
-9
lines changed

8 files changed

+28
-9
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [0.14.0] - 2023-10-13
10+
11+
### Added
12+
13+
- Syntax errors are added for invalid lambda local semicolon placement.
14+
- Lambda locals are now checked for duplicate names.
15+
- Destructured parameters are now checked for duplicate names.
16+
- `Constant{Read,Path,PathTarget}Node#full_name` and `Constant{Read,Path,PathTarget}Node#full_name_parts` are added to walk constant paths for you to find the full name of the constant.
17+
- Syntax errors are added when assigning to a numbered parameter.
18+
- `Node::type` is added, which matches the `Node#type` API.
19+
- Magic comments are now parsed as part of the parsing process and a new field is added in the form of `ParseResult#magic_comments` to access them.
20+
21+
### Changed
22+
23+
- **BREAKING**: `Call*Node#name` methods now return symbols instead of strings.
24+
- **BREAKING**: For loops now have their index value considered as part of the body, so depths of local variable assignments will be increased by 1.
25+
- Tilde heredocs now split up their lines into multiple string nodes to make them easier to dedent.
26+
927
## [0.13.0] - 2023-09-29
1028

1129
### Added
@@ -161,7 +179,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
161179

162180
- 🎉 Initial release! 🎉
163181

164-
[unreleased]: https://github.com/ruby/prism/compare/v0.13.0...HEAD
182+
[unreleased]: https://github.com/ruby/prism/compare/v0.14.0...HEAD
183+
[0.14.0]: https://github.com/ruby/prism/compare/v0.13.0...v0.14.0
165184
[0.13.0]: https://github.com/ruby/prism/compare/v0.12.0...v0.13.0
166185
[0.12.0]: https://github.com/ruby/prism/compare/v0.11.0...v0.12.0
167186
[0.11.0]: https://github.com/ruby/prism/compare/v0.10.0...v0.11.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.13.0)
4+
prism (0.14.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.13.0"
4+
#define EXPECTED_PRISM_VERSION "0.14.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
@@ -1,4 +1,4 @@
11
#define PRISM_VERSION_MAJOR 0
2-
#define PRISM_VERSION_MINOR 13
2+
#define PRISM_VERSION_MINOR 14
33
#define PRISM_VERSION_PATCH 0
4-
#define PRISM_VERSION "0.13.0"
4+
#define PRISM_VERSION "0.14.0"

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

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.13.0");
15+
assert_eq!(&cstring.to_string_lossy(), "0.14.0");
1616
}
1717

1818
#[test]

templates/java/org/prism/Loader.java.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class Loader {
9696
expect((byte) 'M', "incorrect prism header");
9797

9898
expect((byte) 0, "prism version does not match");
99-
expect((byte) 13, "prism version does not match");
99+
expect((byte) 14, "prism version does not match");
100100
expect((byte) 0, "prism version does not match");
101101

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

templates/lib/prism/serialize.rb.erb

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

2020
def self.load(input, serialized)

0 commit comments

Comments
 (0)