oxc-bot
671b596ab1
release(crates): v0.76.0 ( #12125 )
2025-07-08 17:33:59 +08:00
oxc-bot
a257d9732c
release(crates): v0.75.1 ( #12057 )
2025-07-03 21:51:31 +08:00
oxc-bot
d25dc35b19
release(crates): v0.75.0 ( #11897 )
2025-06-25 19:49:12 +08:00
oxc-bot
94a418d201
release(crates): v0.74.0 ( #11853 )
2025-06-23 13:27:08 +08:00
oxc-bot
3de6b99990
release(crates): v0.73.2 ( #11785 )
2025-06-18 13:23:17 +08:00
oxc-bot
14f7033f66
release(crates): v0.73.1 ( #11774 )
2025-06-17 21:17:38 +08:00
LongYinan
81ef44329f
feat(napi): add aarch64-linux-android target ( #11769 )
...
- Close https://github.com/oxc-project/oxc/issues/11566
2025-06-17 15:46:41 +08:00
oxc-bot
e7af8c470c
release(crates): v0.73.0 ( #11669 )
2025-06-13 18:33:56 +08:00
oxc-bot
958849ca05
release(crates): v0.72.3 ( #11504 )
2025-06-06 15:40:07 +08:00
Boshen
1401839036
feat(napi): add webcontainer fallback to transform and minify packages ( #11471 )
2025-06-04 08:11:01 +00:00
oxc-bot
972c76572b
release(crates): v0.72.2 ( #11411 )
2025-05-31 13:45:07 +08:00
oxc-bot
01a4647a18
release(crates): v0.72.1 ( #11345 )
2025-05-28 16:54:01 +08:00
oxc-bot
3efc25fdeb
release(crates): v0.72.0 ( #11267 )
2025-05-24 14:53:50 +08:00
Boshen
9a2a6c6c37
chore(napi): remove --no-dts-cache
2025-05-20 15:20:12 +08:00
oxc-bot
4086e24083
release(crates): v0.71.0 ( #11182 )
2025-05-20 13:11:01 +08:00
oxc-bot
58d2e6effe
release(crates): v0.70.0 ( #11061 )
2025-05-15 21:55:38 +08:00
Boshen
2787193e7f
chore(napi): adjust test commands ( #11021 )
...
so we can run `pnpm run test -u`
2025-05-14 04:04:52 +00:00
Bernd Storath
647b6f3177
feat(napi): add arm musl ( #10958 )
...
closes #10954
---------
Co-authored-by: Boshen <boshenc@gmail.com >
2025-05-12 20:13:58 +08:00
oxc-bot
2b890aba8f
release(crates): v0.69.0 ( #10925 )
2025-05-10 00:06:12 +08:00
Boshen
22ba60b6c4
feat(napi): add s390x-unknown-linux-gnu build ( #10892 )
2025-05-08 20:13:41 +08:00
Boshen
308fe732d9
feat(napi): add x86_64-unknown-freebsd and riscv64gc-unknown-linux-gnu builds ( #10886 )
...
closes #10822
2025-05-08 18:26:22 +08:00
oxc-bot
e6074275ae
release(crates): v0.68.1 ( #10796 )
2025-05-05 00:53:44 +08:00
oxc-bot
61dfcfdfd8
release(crates): v0.68.0 ( #10777 )
2025-05-04 09:06:24 +08:00
oxc-bot
7cf80ef7fd
release(crates): v0.67.0 ( #10637 )
2025-04-27 22:30:07 +08:00
oxc-bot
ff67f13f99
release(crates): v0.66.0 ( #10565 )
...
## [0.66.0] - 2025-04-23
### Features
- 7d5ad7d parser: Report error when `import type { type }` is used
(#10528 ) (camc314)
- 6e40fac parser: Report error when `export type { type }` is used
(#10524 ) (camc314)
### Bug Fixes
- 43ad4e9 ast: Box `this_param` in `TSCallSignatureDeclaration` (#10558 )
(Yuji Sugiura)
- 8eb3c0a ast/estree: Fix raw deser for `FormalParameter` (#10548 )
(overlookmotel)
- 3ebf220 codegen: Generate missing `type` in `export type {} from
'mod'` (#10539 ) (Boshen)
- f19b287 estree: Add `TSParameterProperty` (#10534 ) (Yuji Sugiura)
- 7284f16 isolated-declarations: Leading comments of
`ExportDefaultDeclaration` and `TSExportAssignment` appear in incorrect
places (#10559 ) (Dunqing)
- 4c316a5 isolated_declarations: Fix broken snapshot files (#10561 )
(Boshen)
- 84742d8 transformer/module_runner: Fix export default live binding
(#10560 ) (hi-ogawa)
- 6c115c7 transformer/module_runner: Fix execution order of re-export
(#10362 ) (hi-ogawa)
- b9d84b0 transformer/typescript: Remove `StringLiteral::raw` when
rewriting extensions (#10554 ) (overlookmotel)
### Performance
- 6a045c8 codegen: Speed up printing `Directive`s (#10551 )
(overlookmotel)
- 3418ae5 transformer/class-properties: Re-use
`InstanceInitializerVisitor` (#10543 ) (overlookmotel)
- 7fcf0ac transformer/typescript: Reduce allocations renaming extensions
(#10555 ) (overlookmotel)
### Documentation
- 1a9530c transformer/class-properties: Fix typo (#10542 )
(overlookmotel)
### Refactor
- 7e71282 transformer/class-properties: Correct outdated comment
(#10546 ) (overlookmotel)
- 596978b transformer/class-properties: Simplify to get `constructor`
method only once (#10493 ) (Dunqing)
- f13fe0a transformer/class-properties: Defer re-parenting initializers
scopes until all instance properties are transformed (#10495 ) (Dunqing)
- c83dad6 transformer/class-properties: Streamline handling scope of
instance property initializer (#10492 ) (Dunqing)
### Styling
- e10dfc8 traverse: Remove excess whitespace (#10544 ) (overlookmotel)
### Testing
- 227febf allocator: Ignore a slow doc test (#10521 ) (Dunqing)
- 14bb2be codegen: Add more tests for strings (#10552 ) (overlookmotel)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-04-23 22:42:12 +08:00
oxc-bot
0ab2cb4a22
release(crates): v0.65.0 ( #10522 )
2025-04-21 18:03:15 +08:00
oxc-bot
619488a05a
release(crates): v0.64.0 ( #10459 )
2025-04-17 10:09:07 +08:00
oxc-bot
eba5fcf33b
release(crates): v0.63.0 ( #10309 )
2025-04-08 13:52:15 +08:00
oxc-bot
3b72e5b151
release(crates): v0.62.0 ( #10158 )
2025-04-02 09:48:40 +08:00
oxc-bot
76b245dafc
release(crates): v0.61.2 ( #9983 )
2025-03-23 19:42:43 +08:00
oxc-bot
9a36e677b2
release(crates): v0.61.1 ( #9936 )
...
## [0.61.1] - 2025-03-21
### Features
- 8e3b20d napi/parser: Add portable wasm browser build (#9901 ) (Hiroshi
Ogawa)
- bc0670c tasks,oxc_allocator: Add new method clone_in_with_semantic_ids
for `CloneIn` trait (#9894 ) (IWANABETHATGUY)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-03-21 12:46:52 +08:00
oxc-bot
33c1c76955
release(crates): v0.61.0 ( #9923 )
...
## [0.61.0] - 2025-03-20
- c631291 parser: [**BREAKING**] Parse `TSImportAttributes` as
`ObjectExpression` (#9902 ) (Boshen)
- eef7eb6 minifier: [**BREAKING**] Rename
`CompressOptions::all_true`/`all_false` to `smallest`/`safest` (#9866 )
(sapphi-red)
### Features
- 38ad787 data_structures: Add `assert_unchecked!` macro (#9885 )
(overlookmotel)
- dcd356e minifier: Support `keep_names` option (#9867 ) (sapphi-red)
- 6565fc4 napi: Feature gate allocator (#9921 ) (Boshen)
- 2cedfe4 napi: Add codeframe to napi error (#9893 ) (Boshen)
- a9a47a6 parser: Add regex cargo feature to oxc_parser (#9879 ) (Toshit)
- d4a83ba parser: Report duplicate modifier `Accessibility modifier
already seen.` (#9890 ) (Boshen)
- 59c8f71 parser,codegen: Handle lone surrogate in string literal
(#9918 ) (Boshen)
### Bug Fixes
- 28a2ed3 estree/ast: Fix `IdentifierName` and `IdentifierReference`
(#9863 ) (hi-ogawa)
- 3d4c5f3 semantic: Correctly visit `IfStmt` `test` when building cfg
(#9864 ) (camc314)
- 1774225 transformer/using: Incorrect scope ids for bindings (#9871 )
(camc314)- 68018e1 Ast changes (Boshen)
### Performance
- 5f97f28 ast/estree: Speed up raw deser for `JSXElement` (#9895 )
(overlookmotel)
- b272893 mangler, minifier: Initialize a Vec with a specific value
using `Vec::from_iter_in` combined with `repeat_with` (#9908 ) (Dunqing)
- f7d078c semantic: Use `reserve_exact` instead of `reserve` to save
memory in pre-reserve (#9910 ) (Dunqing)
### Documentation
- 590a258 napi/parser: Add stackblitz link for wasm build (Boshen)
### Refactor
- 62e2859 ast/ast_builder: Use `self.vec_from_iter` instead of
`Vec::from_iter_in` for consistency (#9909 ) (Dunqing)
- b2f3d23 isolated_declarations: Remove unused `self` params (#9868 )
(overlookmotel)
- 961b95d napi: Move common code to `oxc_napi` (#9875 ) (Boshen)
- 233c1fc napi/playground: Add JSON.parse wrapper (#9880 ) (Hiroshi
Ogawa)
- dbe61c5 transformer/module-runner-transform: Remove redundant
converison (#9912 ) (Dunqing)
- ecdfe2e transformer/using: Move work to `exit_static_block` (#9713 )
(camc314)
### Testing
- 9314147 data_structures: Enable doc tests for `oxc_data_structures`
crate (#9884 ) (overlookmotel)
- 040e993 napi: Refactor NAPI parser benchmarks (#9911 ) (overlookmotel)
- e637e2e napi/parser: Tweak vitest config (#9878 ) (Hiroshi Ogawa)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-03-20 20:06:21 +08:00
Boshen
6565fc4261
feat(napi): feature gate allocator ( #9921 )
...
Rolldown already has allocator enabled, double allocator is a compile error.
2025-03-20 11:40:08 +00:00
Hiroshi Ogawa
e637e2edcf
test(napi/parser): tweak vitest config ( #9878 )
...
- fixed `@vitest/browser` version mismatch
- removed `--typecheck` since `tsc` catches same errors (and honestly
vitest typecheck mode is not so intuitive 🙃 )
- added `diff.expand: false` since raw transfer mismatch is huge (we
might change the default on Vitest side
https://github.com/vitest-dev/vitest/pull/7697 )
2025-03-19 09:28:45 +08:00
oxc-bot
9baa7568f8
release(crates): v0.60.0 ( #9861 )
2025-03-18 17:01:17 +08:00
hi-ogawa
7106e5dc0f
refactor(napi): disable unused browser fs ( #9848 )
...
I don't think file access is needed for napi packages. I've already disabled this on napi/playground.
2025-03-18 05:53:21 +00:00
oxc-bot
7cfe1a5e01
release(crates): v0.59.0 ( #9850 )
2025-03-18 13:50:33 +08:00
oxc-bot
7856a0b091
release(crates): v0.58.1 ( #9754 )
...
## [0.58.1] - 2025-03-13
### Features
- a8331f7 transformer: Turn off explicit resource management by default
(#9749 ) (Boshen)
### Bug Fixes
- cd3f2fb ast/estree: Fix `JSXOpeningFragment` (#9747 ) (Hiroshi Ogawa)
- fecec56 ast/estree: Fix `JSXOpeningElement` field order (#9746 )
(hi-ogawa)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-03-13 20:34:27 +08:00
oxc-bot
38d1302267
release(crates): v0.58.0 ( #9740 )
2025-03-13 16:58:56 +08:00
oxc-bot
8d18dc4207
release(crates): v0.57.0 ( #9668 )
...
## [0.57.0] - 2025-03-11
- 510446a parser: [**BREAKING**] Align JSXNamespacedName with ESTree
(#9648 ) (Arnaud Barré)
- b0d979d semantic: [**BREAKING**] Make `Scoping::references` private
(#9629 ) (Boshen)
- 3c6f140 semantic: [**BREAKING**] Make `Scoping` methods consistent
(#9628 ) (Boshen)
- ef6e0cc semantic: [**BREAKING**] Combine `SymbolTable` and `ScopeTree`
into `Scoping` (#9615 ) (Boshen)
- 7331656 semantic: [**BREAKING**] Rename `SymbolTable` and `ScopeTree`
methods (#9613 ) (Boshen)
- 23738bf semantic: [**BREAKING**] Introduce `Scoping` (#9611 ) (Boshen)
### Features
- b6deff8 ecmascript: Support integer index access for array and string
in `may_have_side_effects` (#9603 ) (sapphi-red)
- 047fb01 minifier: Place `void 0` on right hand side if possible
(#9606 ) (sapphi-red)
- 36f8703 minifier: Compress `[] + string` to `string` (#9602 )
(sapphi-red)
- 554c4ce minifier: Compress constant integer index access (#9604 )
(sapphi-red)
- e3c2015 minifier: Allow compressing computed __proto__ more precisely
(#9595 ) (sapphi-red)
- 6a57198 minifier: Allow compressing computed constructor/prototype
keys precisely (#9594 ) (sapphi-red)
- 638007b parser: Apply `preserveParens` to `TSParenthesizedType`
(#9653 ) (Boshen)
### Bug Fixes
- eae1a41 ast: Align `TSImportType` field names with ts-eslint (#9664 )
(Boshen)
- 96eef8b ecmascript: `(foo() + "").length` may have a side effect
(#9605 ) (sapphi-red)
- 24d9261 minifier: Remove names from functions / classes in normal pass
to make the minifier idempotent (#9608 ) (sapphi-red)
- 6ac3635 napi/parser: Disable raw transfer on unsupported platforms
(#9651 ) (overlookmotel)
- cfdcfdb parser: Fix end span for optional binding pattern without type
annotation (#9652 ) (Boshen)
- 26da65d parser: Parse asi after class accessor property (#9623 )
(Boshen)
- 87462fd parser: Fix end span for `using` declaration (#9622 ) (Boshen)
- 29edb51 transformer: Fix module runner transform of export default
expression (#9661 ) (hi-ogawa)
### Documentation
- 31a2618 allocator: Add safety constraint for
`String::from_raw_parts_in` (#9640 ) (overlookmotel)
### Refactor
- 44101bd allocator: Refactor and improve safty comments of
`String::from_strs_array_in` (#9639 ) (overlookmotel)
- c6edafe napi: Remove `npm/oxc-*/` npm packages (#9631 ) (Boshen)
- a43c341 semantic: Add `Scoping` to `Semantic` (#9614 ) (Boshen)
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-03-11 12:05:56 +08:00
Boshen
c6edafe08d
refactor(napi): remove npm/oxc-*/ npm packages ( #9631 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-03-09 22:43:06 +08:00
Boshen
0bbb197c87
ci(npm): rework release pipeline ( #9581 )
2025-03-07 11:49:50 +08:00
Arnaud Barré
8d7ceeeed4
ci(napi/transform): validate napi dts files ( #9183 )
...
---------
Co-authored-by: Dunqing <dengqing0821@gmail.com >
2025-02-18 17:14:22 +08:00
Boshen
df3eef81e6
chore(napi/parser): use vitest bench instead of tinybench ( #9134 )
...
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com >
2025-02-15 14:42:48 +08:00
Boshen
aa9d7e47ea
build(napi): napi build --no-dts-cache ( #8499 )
2025-01-15 07:02:29 +00:00
Boshen
771c698a81
feat(oxc): remove oxc_napi crate ( #7634 )
...
napi has a limitation, it cannot feature gate type exposure.
closes #7623
2024-12-04 10:07:32 +08:00
Boshen
59e7e4674f
feat(napi/transform): add TransformOptions::target API ( #7426 )
2024-11-23 15:46:33 +00:00
Boshen
5b5daec392
refactor(napi): use vitest ( #6307 )
2024-10-06 02:57:48 +00:00
Boshen
a03b24d94e
ci: add napi tests ( #5419 )
2024-09-03 12:24:58 +08:00
Kevin Deng 三咲智子
bf49f339d0
chore: pin pnpm version & upgrade lockfile version ( #5200 )
2024-08-25 22:57:33 +08:00