Skip to content

Commit 21c499d

Browse files
committed
Bump to v1.7.0
1 parent 0fa754e commit 21c499d

File tree

22 files changed

+49
-27
lines changed

22 files changed

+49
-27
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [1.7.0] - 2025-12-18
10+
11+
### Added
12+
13+
- Support `4.1` as a version option.
14+
- Add `equal_loc` to `CallNode`.
15+
- Add `len()`/`is_empty()` to `ConstantList` and `NodeList` in the Rust API.
16+
17+
### Changed
18+
19+
- Rename version `3.5` to version `4.0`.
20+
- Fix compiling the gem from source on Windows.
21+
- Fix parsing of unary method calls like `42.~@`.
22+
- Reject `def f a, (b) = 1`.
23+
- Reject endless method as a block parameter default.
24+
- Reject variable capture in alternative pattern.
25+
- Many fixes in regards to memory safety, found through fuzzing.
26+
- Many fixes to better handle invalid syntax, also found through fuzzing.
27+
- Fix the ruby version used by the `ripper` translator.
28+
- Fix `ruby_parser` translation comment processing.
29+
930
## [1.6.0] - 2025-10-16
1031

1132
### Added
@@ -695,7 +716,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
695716

696717
- 🎉 Initial release! 🎉
697718

698-
[unreleased]: https://github.com/ruby/prism/compare/v1.6.0...HEAD
719+
[unreleased]: https://github.com/ruby/prism/compare/v1.7.0...HEAD
720+
[1.7.0]: https://github.com/ruby/prism/compare/v1.6.0...v1.7.0
699721
[1.6.0]: https://github.com/ruby/prism/compare/v1.5.2...v1.6.0
700722
[1.5.2]: https://github.com/ruby/prism/compare/v1.5.1...v1.5.2
701723
[1.5.1]: https://github.com/ruby/prism/compare/v1.5.0...v1.5.1

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 (1.6.0)
4+
prism (1.7.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 "1.6.0"
4+
#define EXPECTED_PRISM_VERSION "1.7.0"
55

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

gemfiles/2.7/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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/3.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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/3.1/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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/3.2/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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/3.3/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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/3.4/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 (1.6.0)
4+
prism (1.7.0)
55

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

gemfiles/4.0/Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ../..
33
specs:
4-
prism (1.6.0)
4+
prism (1.7.0)
55

66
GEM
77
remote: https://rubygems.org/
@@ -49,7 +49,7 @@ DEPENDENCIES
4949
test-unit
5050

5151
RUBY VERSION
52-
ruby 3.5.0.dev
52+
ruby 3.5.0.dev
5353

5454
BUNDLED WITH
55-
4.0.0.dev
55+
4.0.0.dev

0 commit comments

Comments
 (0)