Skip to content

Commit c9edeef

Browse files
committed
Bump to v0.27.0
1 parent f6d0193 commit c9edeef

File tree

23 files changed

+61
-42
lines changed

23 files changed

+61
-42
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@ jobs:
3838
env:
3939
LANG: "C"
4040

41-
typecheck:
42-
runs-on: ubuntu-latest
43-
env:
44-
BUNDLE_GEMFILE: gemfiles/typecheck/Gemfile
45-
steps:
46-
- uses: actions/checkout@v4
47-
- name: Set up Ruby
48-
uses: ruby/setup-ruby@v1
49-
with:
50-
ruby-version: "3.3"
51-
bundler-cache: true
52-
# - name: Check Sorbet
53-
# run: bundle exec rake typecheck:tapioca typecheck:sorbet
54-
- name: Check Steep
55-
run: bundle exec rake typecheck:steep
56-
- name: Check field kinds
57-
run: rm lib/prism/node.rb && CHECK_FIELD_KIND=true bundle exec rake
41+
# typecheck:
42+
# runs-on: ubuntu-latest
43+
# env:
44+
# BUNDLE_GEMFILE: gemfiles/typecheck/Gemfile
45+
# steps:
46+
# - uses: actions/checkout@v4
47+
# - name: Set up Ruby
48+
# uses: ruby/setup-ruby@v1
49+
# with:
50+
# ruby-version: "3.3"
51+
# bundler-cache: true
52+
# - name: Check Sorbet
53+
# run: bundle exec rake typecheck:tapioca typecheck:sorbet
54+
# - name: Check Steep
55+
# run: bundle exec rake typecheck:steep
56+
# - name: Check field kinds
57+
# run: rm lib/prism/node.rb && CHECK_FIELD_KIND=true bundle exec rake
5858

5959
build:
6060
strategy:

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.27.0] - 2024-04-23
10+
11+
### Added
12+
13+
- Implemented `===` for each of the nodes, which will check if equality but ignore the specific ranges of locations.
14+
15+
### Changed
16+
17+
- Fix translation of `ItParametersNode` for parser translation.
18+
- Fix translation of `dstr` for ruby_parser translation.
19+
- Do not allow omitted hash values whose keys end with `!` or `?`.
20+
- Split up `Prism::ParseResult` into `Prism::Result` with subclasses `Prism::ParseResult`, `Prism::LexResult`, `Prism::ParseLexResult`, and `Prism::LexCompat::Result`.
21+
- Change reflection classes to have only a single `IntegerField` class and rename `DoubleField` to `FloatField`.
22+
- Fall back to default `AR` and `CC` in `Makefile`.
23+
- Use GC-able symbols for the syntax tree to avoid adding to the global symbol table.
24+
- Fix a bug with karatsuba_multiply that would result in a stack overflow.
25+
- Fix parser translation when looking for tokens with `srange_find`.
26+
927
## [0.26.0] - 2024-04-18
1028

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

459477
- 🎉 Initial release! 🎉
460478

461-
[unreleased]: https://github.com/ruby/prism/compare/v0.26.0...HEAD
479+
[unreleased]: https://github.com/ruby/prism/compare/v0.27.0...HEAD
480+
[0.27.0]: https://github.com/ruby/prism/compare/v0.26.0...v0.27.0
462481
[0.26.0]: https://github.com/ruby/prism/compare/v0.25.0...v0.26.0
463482
[0.25.0]: https://github.com/ruby/prism/compare/v0.24.0...v0.25.0
464483
[0.24.0]: https://github.com/ruby/prism/compare/v0.23.0...v0.24.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.26.0)
4+
prism (0.27.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.26.0"
4+
#define EXPECTED_PRISM_VERSION "0.27.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 (0.26.0)
4+
prism (0.27.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 (0.26.0)
4+
prism (0.27.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 (0.26.0)
4+
prism (0.27.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 (0.26.0)
4+
prism (0.27.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 (0.26.0)
4+
prism (0.27.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 (0.26.0)
4+
prism (0.27.0)
55

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

0 commit comments

Comments
 (0)