Skip to content

Commit b4865f9

Browse files
authored
Merge pull request #3642 from ruby/bump-version
Bump to v1.5.0
2 parents c6ddd5d + 194edab commit b4865f9

File tree

22 files changed

+47
-25
lines changed

22 files changed

+47
-25
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.5.0] - 2025-09-12
10+
11+
### Added
12+
13+
- Add `Prism::Translation::ParserCurrent`.
14+
- Add `Integer::to_u32_digits` for the Rust API.
15+
- Add `pm_comment_type_t` field for the Rust API.
16+
- Support leading logical operators for CRuby 3.5+.
17+
18+
### Changed
19+
20+
- Mark Prism as ractor-safe.
21+
- Enforce a minimum version for the parser translation layer.
22+
- Many fixes to the parser translation layer.
23+
- Accept a newline after the `defined?` keyword.
24+
- Reject `true && not true`.
25+
- Make `it = it` assign nil to match parse.y behavior [Bug #21139].
26+
- Some fixes to the ruby parser translation layer.
27+
- Ensure call nodes have the correct ending location.
28+
- Reject `foo && return bar`.
29+
930
## [1.4.0] - 2025-03-18
1031

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

650671
- 🎉 Initial release! 🎉
651672

652-
[unreleased]: https://github.com/ruby/prism/compare/v1.4.0...HEAD
673+
[unreleased]: https://github.com/ruby/prism/compare/v1.5.0...HEAD
674+
[1.5.0]: https://github.com/ruby/prism/compare/v1.4.0...v1.5.0
653675
[1.4.0]: https://github.com/ruby/prism/compare/v1.3.0...v1.4.0
654676
[1.3.0]: https://github.com/ruby/prism/compare/v1.2.0...v1.3.0
655677
[1.2.0]: https://github.com/ruby/prism/compare/v1.1.0...v1.2.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.4.0)
4+
prism (1.5.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.4.0"
4+
#define EXPECTED_PRISM_VERSION "1.5.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.4.0)
4+
prism (1.5.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.4.0)
4+
prism (1.5.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.4.0)
4+
prism (1.5.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.4.0)
4+
prism (1.5.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.4.0)
4+
prism (1.5.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.4.0)
4+
prism (1.5.0)
55

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

gemfiles/3.5/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.4.0)
4+
prism (1.5.0)
55

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

0 commit comments

Comments
 (0)