oxc/napi/transform
github-actions[bot] 2a169d1969
Release crates v0.20.0 (#4189)
## [0.20.0] - 2024-07-11

- 5731e39 ast: [**BREAKING**] Store span details inside comment struct
(#4132) (Luca Bruno)

### Features

- 67fe75e ast, ast_codegen: Pass the `scope_id` to the `enter_scope`
event. (#4168) (rzvxa)
- 54cd04a minifier: Implement dce with var hoisting (#4160) (Boshen)
- 44a894a minifier: Implement return statement dce (#4155) (Boshen)
- 725571a napi/transformer: Add `jsx` option to force parsing with jsx
(#4133) (Boshen)

### Bug Fixes

- 48947a2 ast: Put `decorators` before everything else. (#4143) (rzvxa)
- 7a059ab cfg: Double resolution of labeled statements. (#4177) (rzvxa)
- 4a656c3 lexer: Incorrect lexing of large hex/octal/binary literals
(#4072) (DonIsaac)
- 28eeee0 parser: Fix asi error diagnostic pointing at invalid text
causing crash (#4163) (Boshen)

### Performance

- ddfa343 diagnostic: Use `Cow<'static, str>` over `String` (#4175)
(DonIsaac)
- 2203143 semantic: Store unresolved refs in a stack (#4162) (lucab)
- fca9706 semantic: Faster search for leading comments (#4140) (Boshen)

### Documentation

- bdcc298 ast: Update the note regarding the `ast_codegen` markers.
(#4149) (rzvxa)

### Refactor

- 03ad1e3 semantic: Tweak comment argument type (#4157) (lucab)

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-07-11 11:05:49 +08:00
..
src feat(napi/transformer): add jsx option to force parsing with jsx (#4133) 2024-07-10 11:12:10 +00:00
build.rs refactor(napi): change "isolated declarations" to "transform" (#3721) 2024-06-17 14:09:18 +00:00
Cargo.toml Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
CHANGELOG.md Release crates v0.20.0 (#4189) 2024-07-11 11:05:49 +08:00
index.d.ts feat(napi/transformer): add jsx option to force parsing with jsx (#4133) 2024-07-10 11:12:10 +00:00
index.js feat(napi/transformer): add jsx option to force parsing with jsx (#4133) 2024-07-10 11:12:10 +00:00
package.json Revert "chore(napi/transform): support wasm build (#3933)" 2024-06-30 22:04:36 +08:00
pnpm-lock.yaml refactor(napi): change "isolated declarations" to "transform" (#3721) 2024-06-17 14:09:18 +00:00
test.mjs fix(napi/transform): display error with spanned messages 2024-07-05 23:41:39 +08:00