Skip to content

Commit 1463122

Browse files
authored
Merge pull request #3500 from ruby/bump-version
Bump to v1.4.0
2 parents e8f784e + 71d31db commit 1463122

File tree

23 files changed

+57
-26
lines changed

23 files changed

+57
-26
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ jobs:
6161
strategy:
6262
fail-fast: false
6363
matrix:
64-
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
64+
os:
65+
- ubuntu-latest
66+
- ubuntu-24.04-arm
67+
- macos-latest
68+
# - windows-latest <-- failing with fiddle error, temporarily disabled
6569
runs-on: ${{ matrix.os }}
6670
steps:
6771
- uses: actions/checkout@v4
@@ -116,7 +120,11 @@ jobs:
116120
strategy:
117121
fail-fast: false
118122
matrix:
119-
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
123+
os:
124+
- ubuntu-latest
125+
- ubuntu-24.04-arm
126+
- macos-latest
127+
# - windows-latest <-- failing with fiddle error, temporarily disabled
120128
runs-on: ${{ matrix.os }}
121129
steps:
122130
- uses: actions/checkout@v4

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [1.4.0] - 2025-03-18
10+
11+
### Added
12+
13+
- Support `3.5` as a version option.
14+
- Many, many compatibility fixes for the parser translation layer.
15+
- Handle escapes in named capture names.
16+
- The `freeze` option is added to the various `Prism::` APIs to deeply freeze the AST.
17+
- Properly support `it` for the parser and ruby_parser translation layers.
18+
- Track the `then` keyword on `rescue` nodes.
19+
- Add a `multiple_statements?` flag to parentheses nodes to support desired `defined?` behavior.
20+
21+
### Changed
22+
23+
- The strings used in the AST are now frozen.
24+
- Fixed handling escaped characters after control sequences in character literals.
25+
- Fix reading off the end of an unterminated global variable.
26+
- Raise a syntax error for defining `[]=` with endless method syntax.
27+
- Increase value of `PRISM_DEPTH_MAXIMUM` to `10000`.
28+
- Freeze `Prism::VERSION`.
29+
- Fix up rescue modifier precedence.
30+
931
## [1.3.0] - 2024-12-21
1032

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

628650
- 🎉 Initial release! 🎉
629651

630-
[unreleased]: https://github.com/ruby/prism/compare/v1.3.0...HEAD
652+
[unreleased]: https://github.com/ruby/prism/compare/v1.4.0...HEAD
653+
[1.4.0]: https://github.com/ruby/prism/compare/v1.3.0...v1.4.0
631654
[1.3.0]: https://github.com/ruby/prism/compare/v1.2.0...v1.3.0
632655
[1.2.0]: https://github.com/ruby/prism/compare/v1.1.0...v1.2.0
633656
[1.1.0]: https://github.com/ruby/prism/compare/v1.0.0...v1.1.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.3.0)
4+
prism (1.4.0)
55

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

docs/releasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ruby -pi -e 'gsub(/^ruby-prism-sys = \{ version = ".+?"/, %Q{ruby-prism-sys = \{
4040
* Update the `Gemfile.lock` file:
4141

4242
```sh
43-
chruby ruby-3.4.0-dev
43+
chruby ruby-3.5.0-dev
4444
bundle install
4545
```
4646

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.3.0"
4+
#define EXPECTED_PRISM_VERSION "1.4.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.3.0)
4+
prism (1.4.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.3.0)
4+
prism (1.4.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.3.0)
4+
prism (1.4.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.3.0)
4+
prism (1.4.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.3.0)
4+
prism (1.4.0)
55

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

0 commit comments

Comments
 (0)