Skip to content

Commit f800268

Browse files
committed
Bump to v1.1.0
1 parent 2744eb3 commit f800268

File tree

22 files changed

+51
-25
lines changed

22 files changed

+51
-25
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [1.1.0] - 2024-10-02
10+
11+
### Added
12+
13+
- Explicitly type each child node field in the Ruby API.
14+
- Add the `main_script` option to the parse APIs, which controls whether or not shebangs are considered.
15+
- Add the `partial_script` options to the parse APIs, which controls whether or not jumps that would otherwise be considered invalid are allowed. This is useful for parsing things like ERB sources, where you know it will be evaluated in a different context. Note that this functionality is replacing the previous idiom of passing in a list of scopes to indicate an `eval` context, because that behavior has changed upstream in `ruby/ruby`.
16+
- Add `ArgumentsNode#contains_multiple_splats?`.
17+
- Add `ArgumentsNode#contains_forwarding?`.
18+
- Accept all valid Ruby versions for the `version` option on parse APIs.
19+
- Accept version shorthands like `"3.3"` and `"3.4"` for the `version` option on parse APIs.
20+
- Support a max depth to protect against malicious payloads without hitting the stack limit.
21+
22+
### Changed
23+
24+
- Fix some token incompatibilities in the `parser` translation.
25+
- Fix up parsing tempfiles on Windows.
26+
- Fix up handling UTF-8 characters in file paths on Windows.
27+
- Do not warn for a `\r` at the end of a shebang on Windows.
28+
- Properly handle erroring for parsing a directory on Windows.
29+
- When a numbered reference is out of range, warn instead of raise.
30+
- Allow returns in default parameter values.
31+
- Reject many more invalid syntax patterns.
32+
933
## [1.0.0] - 2024-08-28
1034

1135
### Added
@@ -567,7 +591,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
567591

568592
- 🎉 Initial release! 🎉
569593

570-
[unreleased]: https://github.com/ruby/prism/compare/v1.0.0...HEAD
594+
[unreleased]: https://github.com/ruby/prism/compare/v1.1.0...HEAD
595+
[1.1.0]: https://github.com/ruby/prism/compare/v1.0.0...v1.1.0
571596
[1.0.0]: https://github.com/ruby/prism/compare/v0.30.0...v1.0.0
572597
[0.30.0]: https://github.com/ruby/prism/compare/v0.29.0...v0.30.0
573598
[0.29.0]: https://github.com/ruby/prism/compare/v0.28.0...v0.29.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.0.0)
4+
prism (1.1.0)
55

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

bin/prism

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ module Prism
9898
["3.3.0", ["3.3"]],
9999
["3.4.0-dev", ["3.4", "typecheck"]],
100100
["jruby-9.4.5.0", ["jruby"]],
101-
["truffleruby-24.0.0", ["truffleruby"]]
101+
["truffleruby-24.1.0", ["truffleruby"]]
102102
].each do |ruby_version, gemfiles|
103103
gemfiles.each do |gemfile|
104104
system(

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.0.0"
4+
#define EXPECTED_PRISM_VERSION "1.1.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.0.0)
4+
prism (1.1.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.0.0)
4+
prism (1.1.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.0.0)
4+
prism (1.1.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.0.0)
4+
prism (1.1.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.0.0)
4+
prism (1.1.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.0.0)
4+
prism (1.1.0)
55

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

0 commit comments

Comments
 (0)