prism 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f16f842a06eec8141246c60a39f509a59817de34ab4be3a33502ada040ac1602
4
- data.tar.gz: 38bd30b4ba63fe67892a0138be5b7b2c84fb6bd66e011871a07ee453be7b0aec
3
+ metadata.gz: cc945a81285247ae139110607116e5ad0211e008f8e69d76002238755deca5dc
4
+ data.tar.gz: 81703e9b86fd950af63fbea201f8cd9ddec3a3a330d24c80aba7461782bb347b
5
5
  SHA512:
6
- metadata.gz: 9877dc80270515e91c5357418a67721fa832c6de44d755047f576d69a3b09129d64da19e5ac767d184df74afe40982f56c88be3851ce7fc7c99c1d0bbf15ec77
7
- data.tar.gz: 4578c2f1e2e934f763d6c55ae84dc076b0676ac0560c13364db1ade75425da76d64b7a4cf8fb07ea723568fbfc58c20fb8055e9dec364ac5da05765d26398d39
6
+ metadata.gz: 39fb25eec8d603cd26f31ce75281e3cf257f8f21451e6687eda11d14e090013651284b1f7b35612004b0603105883d0e1d8de1d82b192ce5238843e03203e9fa
7
+ data.tar.gz: 4544a22d735276ca60cf3dd4e7b91ce64aa60539d555466d73d3eebb91502a0a357232bd1c0722232f3745481e554ba6ab2eb7a23f05a25e5d0c114f9077dc52
data/CHANGELOG.md CHANGED
@@ -6,6 +6,27 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.3.0] - 2024-12-21
10
+
11
+ ### Added
12
+
13
+ - Introduce `Prism::StringQuery`.
14
+ - Introduce `Prism::Relocation`.
15
+ - Track `do` keyword for `WhileNode` and `UntilNode`.
16
+ - Change the way the gem is built to rely on `mkmf` instead of `make`.
17
+ - Lots more documentation on node fields.
18
+
19
+ ### Changed
20
+
21
+ - Properly add an error for `def @foo; end`.
22
+ - Properly add an error for `foo(**, *)`.
23
+ - Fix up regression in string parsing in `RubyParser` translation.
24
+ - Reject invalid dot method call after match expression.
25
+ - Reject invalid operator after match expression.
26
+ - Fix up %-literals delimited by newlines.
27
+ - Properly add an error for `-> { _1; -> { _1 } }`.
28
+ - Reject blocks and keywords in index writes.
29
+
9
30
  ## [1.2.0] - 2024-10-10
10
31
 
11
32
  ### Added
@@ -606,7 +627,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
606
627
 
607
628
  - 🎉 Initial release! 🎉
608
629
 
609
- [unreleased]: https://github.com/ruby/prism/compare/v1.2.0...HEAD
630
+ [unreleased]: https://github.com/ruby/prism/compare/v1.3.0...HEAD
631
+ [1.3.0]: https://github.com/ruby/prism/compare/v1.2.0...v1.3.0
610
632
  [1.2.0]: https://github.com/ruby/prism/compare/v1.1.0...v1.2.0
611
633
  [1.1.0]: https://github.com/ruby/prism/compare/v1.0.0...v1.1.0
612
634
  [1.0.0]: https://github.com/ruby/prism/compare/v0.30.0...v1.0.0
data/Makefile CHANGED
@@ -11,7 +11,7 @@ FUZZ_OUTPUT_DIR = $(CURDIR)/fuzz/output
11
11
  SOEXT ?= $(shell ruby -e 'puts RbConfig::CONFIG["SOEXT"]')
12
12
 
13
13
  CPPFLAGS := -Iinclude $(CPPFLAGS)
14
- CFLAGS := -g -O2 -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -Wno-missing-braces -fPIC -fvisibility=hidden $(CFLAGS)
14
+ CFLAGS := -g -O2 -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -Wno-missing-braces -fPIC -fvisibility=hidden -Wimplicit-fallthrough $(CFLAGS)
15
15
  CC ?= cc
16
16
  AR ?= ar
17
17
  WASI_SDK_PATH := /opt/wasi-sdk