Boshen
49fab9d6be
Release npm/oxc-transform v0.15.1
2024-06-20 23:41:31 +08:00
Boshen
b7f659ee47
chore(oxc-transform): update README
2024-06-19 14:30:15 +08:00
github-actions[bot]
1b3cd6c24d
Release crates v0.15.0 ( #3743 )
...
## [0.15.0] - 2024-06-18
- 0537d29 cfg: [**BREAKING**] Move control flow to its own crate.
(#3728 ) (rzvxa)
- 5c38a0f codegen: [**BREAKING**] New code gen API (#3740 ) (Boshen)
- 4bce59d semantic/cfg: [**BREAKING**] Re-export `petgraph` as
`control_flow::graph`. (#3722 ) (rzvxa)
- 534242a codegen: [**BREAKING**] Remove
`CodegenOptions::enable_typescript` (#3674 ) (Boshen)
- 0578ece ast: [**BREAKING**] Remove
`ExportDefaultDeclarationKind::TSEnumDeclaration` (#3666 ) (Dunqing)
### Features
- 5a99d30 codegen: Improve codegen formatting (#3735 ) (Boshen)
- bf9b38a codegen: Improve codegen formatting (#3731 ) (Boshen)
- 4a004e2 codegen: Print TSImport remaining fields (#3695 ) (Dunqing)
- a56cb1b codegen: Print accessibility for MethodDefinition (#3690 )
(Dunqing)
- 38a75e5 coverage: Improve codegen (#3729 ) (Boshen)
- 750a534 coverage: Transformer idempotency test (#3691 ) (Boshen)
- ee627c3 isolated-declarations: Create unique name for `_default`
(#3730 ) (Dunqing)
- 81e9526 isolated-declarations: Inferring set accessor parameter type
from get accessor return type (#3725 ) (Dunqing)
- 77d5533 isolated-declarations: Report errors that are consistent with
typescript. (#3720 ) (Dunqing)
- 8f5655d linter: Add eslint/no-useless-constructor (#3594 ) (Don Isaac)
- 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238 ) (rzvxa)
- 0b8098a napi: Isolated-declaration (#3718 ) (Boshen)
- 527bfc8 npm/oxc-transform: Setup npm/oxc-transform and publish
(Boshen)
- d65c652 parser: Display jsx mismatch error, e.g. `<Foo></Bar>` (#3696 )
(Boshen)
- 9c31ed9 semantic/cfg: Propagate unreachable edges through subgraphs.
(#3648 ) (rzvxa)
- d9c5b33 semantic/cfg: Add `Condition` instruction. (#3567 ) (Ali
Rezvani)
- f2dfd66 semantic/cfg: Add iteration instructions. (#3566 ) (rzvxa)
- 910193e transformer-dts: Report error for super class (#3711 )
(Dunqing)
- 413d7be transformer-dts: Transform enum support (#3710 ) (Dunqing)
- 35c382e transformer-dts: Remove type annotation from private field
(#3689 ) (Dunqing)
- 0e6d3ce transformer-dts: Report error for async function and generator
(#3688 ) (Dunqing)
- b22b59a transformer-dts: Transform namespace support (#3683 ) (Dunqing)
- 4f2db46 transformer-dts: `--isolatedDeclarations` dts transform
(#3664 ) (Dunqing)
### Bug Fixes
- 2158268 ast: Incorrect visit order in function (#3681 ) (Dunqing)
- da1e2d0 codegen: Improve typescript codegen (#3708 ) (Boshen)
- f1b793f isolated-declarations: Function overloads reaching unreachable
(#3739 ) (Dunqing)
- 0fbecdc isolated-declarations: Should be added to references, not
bindings (#3726 ) (Dunqing)
- 8f64d99 minifier: Respect `join_vars: false` option (#3724 )
(mysteryven)
- 70fc69b semantic: Add Eq to CtxFlags (#3651 ) (Yuji Sugiura)
- 7a58fec semantic/cfg: Issue in unlabeled `Ctx`s. (#3678 ) (rzvxa)
- abd6ac8 semantic/cfg: Discrete finalization path after `NewFunction`s.
(#3671 ) (rzvxa)
- e148a32 semantic/cfg: Correct unreachability propagation in
try-finally. (#3667 ) (Ali Rezvani)
- 59666e0 transformer: Do not rename accessible identifier references
(#3623 ) (Dunqing)
- 90743e2 traverse: Change visit order for `Function` (#3685 )
(overlookmotel)
### Performance
- 2717a1a semantic/cfg: Lower the visits in
`neighbors_filtered_by_edge_weight`. (#3676 ) (rzvxa)
### Refactor
- fa7a6ba codegen: Add `gen` method to ast nodes (#3687 ) (Boshen)
- 09b92b6 codegen: Move `gen_ts` into `gen` to make searching things
easier (#3680 ) (Boshen)
- 3c59735 isolated-declarations: Remove `TransformDtsCtx` (#3719 )
(Boshen)
- 815260e isolated-declarations: Decouple codegen (#3715 ) (Boshen)
- 7ec44f8 semantic: Rename `cfg` macro to `control_flow`. (#3742 )
(rzvxa)
- d8ad321 semantic: Make control flow generation optional. (#3737 )
(rzvxa)
- a94a72d semantic: Expose 1 checker function instead of 2 (#3694 )
(Boshen)
- bd8d115 semantic/cfg: Remove unused types. (#3677 ) (rzvxa)
- f702fb9 semantic/cfg: Cleanup control flow and it's builder. (#3650 )
(rzvxa)
- 4f16664 transformer_dts: Create a `Program` for codegen (#3679 )
(Boshen)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-19 01:15:55 +08:00
Boshen
527bfc82f5
feat(npm/oxc-transform): setup npm/oxc-transform and publish
2024-06-18 22:12:47 +08:00
Boshen
02cc14e90c
chore: remove npm/oxc package
2024-06-18 21:32:25 +08:00
github-actions[bot]
6168969f94
Release oxlint v0.4.4 ( #3669 )
...
## [0.4.4] - 2024-06-14
### Features
- 8f5655d linter: Add eslint/no-useless-constructor (#3594 ) (Don Isaac)
- 29c78db linter: Implement
@typescript-eslint/explicit-function-return-type (#3455 ) (kaykdm)
- 21d3425 linter: Typescript-eslint no-useless-empty-export (#3605 )
(keita hino)
- 85c3b83 linter: Eslint-plugin-jest/max-nested-describes (#3585 )
(cinchen)
- f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568 ) (Wang Wenzhe)
- 046ff3f linter/eslint: Add `no_unreachable` rule. (#3238 ) (rzvxa)
- e32ce00 linter/jsdoc: Implement require-param-name rule (#3636 ) (Yuji
Sugiura)
- 110661c linter/jsdoc: Implement require-param-description (#3621 )
(Yuji Sugiura)
- d6370f1 linter/jsdoc: Implement require-param-type rule (#3601 ) (Yuji
Sugiura)
- d9c5b33 semantic/cfg: Add `Condition` instruction. (#3567 ) (Ali
Rezvani)
- f2dfd66 semantic/cfg: Add iteration instructions. (#3566 ) (rzvxa)
### Bug Fixes
- f0b689d linter: Panic in jsdoc/require-param (#3590 ) (Don Isaac)
- e148a32 semantic/cfg: Correct unreachability propagation in
try-finally. (#3667 ) (Ali Rezvani)
### Refactor
- 84304b4 linter: Add a `ctx.module_record()` method (#3637 ) (Boshen)
- f98f777 linter: Add rule fixer (#3589 ) (Don Isaac)
- fa11644 linter: Pass `Rc` by value (#3587 ) (overlookmotel)
- f702fb9 semantic/cfg: Cleanup control flow and it's builder. (#3650 )
(rzvxa)
- 5793ff1 transformer: Replace `&’a Trivias` with `Rc<Trivias>` (#3580 )
(Dunqing)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-14 15:05:26 +08:00
github-actions[bot]
95e0571c2e
Release crates v0.14.0 ( #3643 )
...
## [0.14.0] - 2024-06-12
### Breaking
* fix(codegen)!: remove the unecessary 4th argument from `Codegen::new`
(#3640 )
* feat(ast)!: make `Trivias` clonable by adding `Arc` (#3638 )
### Features
- f6d9ca6 linter: Add `eslint/sort-imports` rule (#3568 ) (Wang Wenzhe)
- 129f91e span: Port over more methods from TextRange (#3592 ) (Don
Isaac)
### Bug Fixes
- f8f6d33 ast: Correct `visited_node` attr for strict mode of arrow fns
(#3635 ) (overlookmotel)
- e6ad3fb diagnostics: Do not print ansi color codes in non-TTYs (#3624 )
(Boshen)
- d65202d span: Correct doc comments (#3608 ) (overlookmotel)
- 35e267b transformer: Arrow function transform use UIDs for `_this`
vars (#3634 ) (overlookmotel)
- 39bdebc transformer: Arrow func transform maintain scope ID (#3633 )
(overlookmotel)
- 5cb7e6a transformer: Arrow func transform use correct spans (#3630 )
(overlookmotel)
- 0c4ccb4 transformer: Arrow function transform alter `</this>` (#3627 )
(overlookmotel)
- 8d237c4 transformer: JSX source calculate correct column when Unicode
chars (#3615 ) (overlookmotel)
- 9e8f4d6 transformer: Do not add `__source` for generated nodes (#3614 )
(overlookmotel)
- 0fb4c35 transformer: Use UID for JSX source filename var (#3612 )
(overlookmotel)
### Performance
- 3a59294 transformer: React display name transform reduce Atom
allocations (#3616 ) (overlookmotel)
- f4c1389 transformer: Create `Vec` with capacity (#3613 )
(overlookmotel)
### Refactor
- 0f92521 ast: Replace recursion with loop (#3626 ) (overlookmotel)
- 08f1010 ast: Make `AstBuilder` `Copy` (#3602 ) (overlookmotel)
- 84304b4 linter: Add a `ctx.module_record()` method (#3637 ) (Boshen)
- f98f777 linter: Add rule fixer (#3589 ) (Don Isaac)
- e90e6a2 minifier: Make `Prepass` `Copy` (#3603 ) (overlookmotel)
- 7d61832 semantic: Pass `Rc` by value (#3586 ) (overlookmotel)
- 89bcbd5 transformer: Move `BoundIdentifier` into helpers (#3610 )
(overlookmotel)
- 5793ff1 transformer: Replace `&’a Trivias` with `Rc<Trivias>` (#3580 )
(Dunqing)
- 509871f transformer: Comment for unimplemented `spec` option in arrow
fns transform (#3618 ) (overlookmotel)
- 4b2e3a7 transformer: Fix indentation (#3617 ) (overlookmotel)
- 3467e3d transformer: Remove outdated comment (#3606 ) (overlookmotel)
- a799225 transformer: Flatten file structure for React transform
(#3604 ) (overlookmotel)
- 70f31a8 transformer: Reduce branching in JSX transform (#3596 )
(overlookmotel)
- 3ae567d transformer: Remove dead code (#3588 ) (overlookmotel)
- 60cbdec traverse: `generate_uid_in_root_scope` method (#3611 )
(overlookmotel)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-12 17:52:41 +08:00
github-actions[bot]
6bdd74c476
Release crates v0.13.5 ( #3584 )
...
## [0.13.5] - 2024-06-08
### Bug Fixes
- 48bb97e traverse: Do not publish the build script (Boshen)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-08 16:44:50 +08:00
github-actions[bot]
d215e3d906
Release crates v0.13.4 ( #3582 )
...
## [0.13.4] - 2024-06-07
### Features
- 5c8e16c coverage: Second transformer build does not print typescript
(#3561 ) (Dunqing)
- 646b993 coverage/transformer: Handle @jsx option (#3553 ) (Dunqing)
- a939ddd transformer/typescript: Remove more typescript ast nodes
(#3563 ) (Dunqing)
- e8a20f8 transformer/typescript: Remove typescript ast nodes (#3559 )
(Dunqing)
- ee9a215 transformer/typescript: Handle namespace directive correctly
(#3532 ) (Dunqing)
### Bug Fixes
- affb2c8 codegen: Print indentation before directive (#3512 ) (Dunqing)
- f6939cb transformer: Store `react_importer` in `Bindings` in JSX
transform (#3551 ) (overlookmotel)
- 7982b93 transformer: Correct spans for JSX transform (#3549 )
(overlookmotel)
- c00598b transformer: JSX set `reference_id` on refs to imports (#3524 )
(overlookmotel)
### Performance
- 37cdc13 transformer: Faster checks if JSX plugin enabled (#3577 )
(overlookmotel)
- 9f467b8 transformer: Avoid fragment update where possible (#3535 )
(overlookmotel)
- ac394f0 transformer: JSX parse pragma only once (#3534 )
(overlookmotel)
### Documentation
- 1d3c0d7 span: Add doc comments to `oxc_span::Span` (#3543 ) (Don Isaac)
### Refactor
- f2113ae transformer: Reduce cloning and referencing `Rc`s (#3576 )
(overlookmotel)
- 0948124 transformer: Pass `Rc`s by value (#3550 ) (overlookmotel)
- e4d74ac transformer: Remove `update_fragment` from JSX transform
(#3541 ) (overlookmotel)
- 73b7864 transformer: Combine import and usage in JSX transform (#3540 )
(overlookmotel)
- 6978269 transformer/typescript: Replace reference collector with
symbols references (#3533 ) (Dunqing)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-07 17:41:11 +08:00
github-actions[bot]
8cbf937e84
Release oxlint v0.4.3 ( #3581 )
...
## [0.4.3] - 2024-06-07
### Features
- 1fb9d23 linter: Add fixer for no-useless-fallback-in-spread rule
(#3544 ) (Don Isaac)
- 6506d08 linter: Add fixer for no-single-promise-in-promise-methods
(#3531 ) (Don Isaac)
- daf559f linter: Eslint-plugin-jest/no-large-snapshot (#3436 ) (cinchen)
- 4c17bc6 linter: Eslint/no-constructor-return (#3321 ) (谭光志)
- 4a075cc linter/jsdoc: Implement require-param rule (#3554 ) (Yuji
Sugiura)
- 747500a linter/jsdoc: Implement require-returns-type rule (#3458 )
(Yuji Sugiura)
- 6b39654 linter/tree-shaking: Support options (#3504 ) (Wang Wenzhe)
- 0cdb45a oxc_codegen: Preserve annotate comment (#3465 )
(IWANABETHATGUY)
### Bug Fixes
- b188778 linter/eslint: Fix `require-await` false positives in
`ForOfStatement`. (#3457 ) (rzvxa)
- 350cd91 parser: Should parser error when function declaration has no
name (#3461 ) (Dunqing)
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-07 16:39:51 +08:00
Boshen
1dbc23417d
chore: regenerate changelogs with commit id and author
2024-06-07 01:22:28 +08:00
Boshen
769227b7b4
chore: regenerate changelogs
2024-06-06 15:51:53 +08:00
Boshen
0674604d7a
chore: regenerate changelog
2024-06-06 01:29:38 +08:00
Boshen
dd42f279f7
chore: change website url to https://oxc.rs
2024-06-05 22:05:08 +08:00
github-actions[bot]
d48e62aca4
Publish crates v0.13.3 ( #3527 )
...
Automated Release
Co-authored-by: Boshen <Boshen@users.noreply.github.com>
2024-06-04 18:02:40 +08:00
Boshen
031bbe6dc4
Release oxlint and vscode extension v0.4.2
2024-05-28 23:06:30 +08:00
rzvxa
56cbdf5f0e
ci(oxlint): add oxc_language_server binary to the oxlint package. ( #3350 )
...
I didn't introduce a new set of native packages for the `oxc_language_server` binary, This change temporarily bundles them as part of oxlint, We most probably would want to make it an optional dependency in the future if we start to add more futures like formatting, jump to definition, etc to it.
2024-05-27 02:46:43 +00:00
Boshen
19bb1c02f2
fix(website): hack schemars to render code snippet in markdown ( #3417 )
2024-05-26 10:36:53 +00:00
Boshen
d971c9cd0b
Release oxlint and vscode extension v0.4.1
2024-05-24 18:03:13 +08:00
Boshen
e5337f00b1
Release oxlint and vscode extension v0.4.0
2024-05-24 15:07:10 +08:00
Boshen
9377a60677
chore(linter): write json schema to npm/oxlint
2024-05-24 13:28:03 +08:00
Boshen
754d9f4c98
Release oxlint and vscode extension v0.3.5
2024-05-15 22:20:29 +08:00
Boshen
7193d75e94
Release oxlint and vscode extension v0.3.4
2024-05-13 18:33:04 +08:00
Boshen
6149e49ef7
Release oxlint and vscode extension v0.3.3
2024-05-13 17:10:13 +08:00
Boshen
a7940868c6
Release oxlint and vscode extension v0.3.2
2024-05-04 21:08:49 +08:00
Boshen
bdae6b0e4e
chore(npm/oxc-parser): document parseOptions
...
closes #3114
2024-04-30 23:11:31 +08:00
Vasilii A
dcda1f6128
fix(cli): update --format documentation ( #3118 )
...
Refs: #3039 #3044
2024-04-28 11:56:10 +08:00
Boshen
99d46f9e48
Release oxlint and vscode extension v0.3.1
2024-04-22 16:00:17 +08:00
Boshen
b29aabd6f1
Release oxlint and vscode extension v0.3.0
2024-04-22 12:57:38 +08:00
Boshen
fc88208e60
Release napi oxc-parser@v0.9.0
2024-04-22 12:56:40 +08:00
Boshen
5241e1e127
refactor(cli): improve --help documentation
2024-04-22 11:14:51 +08:00
Boshen
04f5fc0186
Release oxlint and vscode extension v0.2.18
2024-04-19 16:51:40 +08:00
Boshen
df11d10a22
Release oxlint and vscode extension v0.2.17
2024-04-11 16:27:56 +08:00
Boshen
ab26099281
Publish @oxc-parser/wasm with web and node builds ( #2916 )
...
Co-authored-by: Saeid Zareie <saeid.za98@gmail.com>
2024-04-08 15:47:02 +08:00
Boshen
7066d55153
Release oxlint and vscode extension v0.2.16
2024-04-08 11:03:41 +08:00
Boshen
e7307ed23c
Release oxlint and vscode extension v0.2.15
2024-03-30 13:34:38 +08:00
Boshen
b1343d7bcb
Release oxlint and vscode extension v0.2.14
2024-03-18 12:47:53 +08:00
Boshen
9c92ecaf07
Release napi oxc-parser@v0.8.0
2024-03-05 15:54:59 +08:00
Boshen
f94c9596e9
Release oxlint and vscode extension v0.2.13
2024-03-05 15:54:25 +08:00
Boshen
32e5a3aae7
Release napi oxc-parser@v0.7.0
2024-02-28 18:41:14 +08:00
Boshen
ab13504612
Release oxlint and vscode extension v0.2.12
2024-02-28 18:39:55 +08:00
Boshen
a0f23baea7
Release oxlint and vscode extension v0.2.11
2024-02-26 18:41:04 +08:00
Boshen
d980b0bef2
Release napi oxc-parser@v0.6.0
2024-02-26 18:40:26 +08:00
Boshen
91ea3ab29d
Release napi oxc-parser@v0.5.0
2024-02-21 23:08:54 +08:00
Boshen
30392c96e8
Release oxlint and vscode extension v0.2.10
2024-02-21 18:10:37 +08:00
Boshen
4cd5f1a05e
Release oxlint and vscode extension v0.2.9
2024-02-18 16:55:59 +08:00
Boshen
24a9255610
Release napi oxc-parser@v0.4.0
2024-02-11 12:37:44 +08:00
Boshen
5723690fdf
Release napi oxc-parser@v0.4.0-alpha.0
2024-02-11 11:56:46 +08:00
Boshen
3b7dfb9bd1
Release oxlint and vscode extension v0.2.8
2024-02-06 15:57:00 +08:00
Boshen
80010f5b9c
Release napi oxc-parser@v0.3.0
2024-02-06 15:45:55 +08:00