v3.5.0
What's Changed
This is a big release with many awesome contributions from @jorgsowa 💯
Features
Fixes
- fix: invalid properties annotations in ast classes by @jorgsowa in #1186
- fix: CVE-2024-57071 by @jorgsowa in #1194
- fix: resolve property chains in new expression class name (#1177) by @jorgsowa in #1196
- fix: support readonly modifier before visibility in class properties by @jorgsowa in #1197
- fix: prevent crash when suppressErrors and withPositions are both enabled by @jorgsowa in #1195
- fix: new line in heredoc by @jorgsowa in #1193
- fix: property lookup by reference by @jorgsowa in #1202
- fix: precedence of instanceof was wrong by @jorgsowa in #1207
- fix: invalid location for union types by @jorgsowa in #1208
- fix: semicolon-style namespaces incorrectly nested instead of siblings by @jorgsowa in #1211
- fix: attach doc comments to inner nodes in short-form if/elseif/else by @jorgsowa in #1209
- fix: nullsafe operator location by @jorgsowa in #1213
- fix: class constant location by @jorgsowa in #1214
- fix: multiple static lookup by @jorgsowa in #1215
- fix: dnf types by @jorgsowa in #1216
- fix: attribute location by @jorgsowa in #1217
- fix: noop location by @jorgsowa in #1218
Misc
- build: update dependencies by @jorgsowa in #1187
- test: inlined comments between parameters by @jorgsowa in #1188
- update yarn by @jorgsowa in #1200
- build(deps-dev): bump webpack from 5.105.2 to 5.105.4 by @dependabot[bot] in #1191
- test: ignore eslint warnings about assertions by @jorgsowa in #1203
- chore: improve tests without assertions by @jorgsowa in #1201
- test: add regression coverage for static property with nullable type by @jorgsowa in #1210
- build(deps-dev): bump @babel/preset-env from 7.29.0 to 7.29.2 by @dependabot[bot] in #1205
- build(deps-dev): bump webpack-cli from 6.0.1 to 7.0.2 by @dependabot[bot] in #1212
- chore: fix tests on main by @czosel in #1221
Full Changelog: v3.4.0...v3.5.0