Skip to content

Tags: SHHSSH/oxc

Tags

crates_v0.52.0

Toggle crates_v0.52.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release(crates): v0.52.0 (oxc-project#9276)

oxlint_v0.15.11

Toggle oxlint_v0.15.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release(oxlint): v0.15.11 (oxc-project#9150)

crates_v0.51.0

Toggle crates_v0.51.0's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
release(crates): v0.51.0 (oxc-project#9135)

## [0.51.0] - 2025-02-15

- 21a9476 ast: [**BREAKING**] Remove `TSLiteral::RegExpLiteral` (oxc-project#9056)
(Dunqing)

- 9091387 ast: [**BREAKING**] Remove `TSType::TSQualifiedName` (oxc-project#9051)
(Dunqing)

### Features

- f74d462 ast_tools: Introduce meta types (oxc-project#9117) (overlookmotel)
- 36c8640 ecmascript: Support more string concatenation (oxc-project#9121)
(sapphi-red)
- 6936b08 ecmascript: Fold `typeof` with ValueType information (oxc-project#9086)
(sapphi-red)
- b25b84b minifier: Substitute redundant assignment target bindings
(oxc-project#9096) (camchenry)
- 125d610 minifier: Fold String::charAt / String::charCodeAt more
precisely (oxc-project#9082) (sapphi-red)
- 237ffba minifier: Fold bitwise binary expressions with negative
BigInts (oxc-project#9081) (sapphi-red)
- 24830e6 minifier: Fold `a + 'a' + 1` to `a + 'a1'` (oxc-project#9080)
(sapphi-red)
- b5eb6e5 minifier: Improve `remove_unused_expression` (oxc-project#9071) (Boshen)
- fef82ff transformer/helper-loader: Replace `@babel/runtime` with
`@oxc-project/runtime` (oxc-project#9059) (Dunqing)

### Bug Fixes

- 38f81af ast/estree: Order fields same as Acorn (oxc-project#9128) (overlookmotel)
- 67f8932 ast/estree: `CatchParameter` do not include `type` and `Span`
twice (oxc-project#9125) (overlookmotel)
- 1b02fe0 ast/estree: `FormalParameter` do not include `Span` twice
(oxc-project#9124) (overlookmotel)
- d3b5fb0 ast/estree: Fix TS type for
`AssignmentTargetPropertyIdentifier` (oxc-project#9092) (overlookmotel)
- d8d80a9 ast/estree: Fix TS types for `BigIntLiteral` and
`RegExpLiteral` (oxc-project#9091) (overlookmotel)
- d9684af codegen: Fix missing StringLiteral sourcemap (oxc-project#9064)
(hi-ogawa)
- eb7cd62 ecmascript: To_number for shadowed undefined (oxc-project#9106)
(sapphi-red)
- 8cbdf00 ecmascript: To_boolean for shadowed undefined (oxc-project#9105)
(sapphi-red)
- 17c745c ecmascript: To_string for object with toString (oxc-project#9104)
(sapphi-red)
- cfc71f9 ecmascript: To_string for shadowed undefined (oxc-project#9103)
(sapphi-red)
- 2ab2a8f ecmascript: Handle shadowed global variables in `ValueType`
(oxc-project#9085) (sapphi-red)
- bc64c9d lexer: Fix decoding lone `\r` in template literals (oxc-project#9066)
(overlookmotel)
- 2fd1589 minifier: Compress computed string literals in method/property
definitions (oxc-project#9126) (camchenry)
- 0937a55 napi/parser: Utf16 span for errors (oxc-project#9112) (hi-ogawa)
- 15f23f1 napi/parser: Utf16 span for module record (oxc-project#9093) (hi-ogawa)
- 9edfb1d napi/parser: Fix unicode comment panic (oxc-project#9084) (hi-ogawa)
- 5f15605 npm/runtime: Incorrect file paths in `exports` (oxc-project#9069)
(Dunqing)
- b8278d8 parser: Parse `let _: null` as `TSNullKeyword` (oxc-project#9133)
(Boshen)

### Performance

- af59945 napi/parser: Do not convert comment spans twice (oxc-project#9087)
(overlookmotel)

### Documentation

- 896d770 ast: Add missing docs and fix broken code for assignment
targets (oxc-project#9095) (camchenry)

### Refactor

- 08b2d80 ast/estree: Define TS types for extra fields on converters
(oxc-project#9118) (overlookmotel)
- 6c5a435 ast/estree: Define types for `#[estree(add_fields)]`
converters (oxc-project#9116) (overlookmotel)
- 8bd6eef ecmascript: Merge constant evaluation logics (oxc-project#9120)
(sapphi-red)
- b164072 ecmascript: Extract to_numeric (oxc-project#9111) (sapphi-red)
- fc53cdd ecmascript: Generalize ToPrimitive (oxc-project#9109) (sapphi-red)
- d951390 ecmascript: Use value_type in to_primitive (oxc-project#9108)
(sapphi-red)
- 8f79012 ecmascript: Pass IsGlobalReference to DetermineValueType
instead of extending it (oxc-project#9107) (sapphi-red)
- db1744c ecmascript: Remove "constant_evaluation" / "side_effects"
features (oxc-project#9114) (sapphi-red)
- 329de94 ecmascript: Extract ToPrimitive (oxc-project#9102) (sapphi-red)
- d670ec7 ecmascript: Pass IsGlobalReference to MayHaveSideEffects
instead of extending it (oxc-project#9101) (sapphi-red)
- f4e2d4e ecmascript: Allow IsGlobalReference to return None (oxc-project#9100)
(sapphi-red)
- 29be94d minifier: Inline more minification methods (oxc-project#9088) (Boshen)
- 80f719e minifier: Clean up minimize_statements.rs (oxc-project#9076) (Boshen)
- d5edde0 minifier: Minimize `if (!foo) foo = bar;` -> `foo ||= bar` in
the same AST pass (oxc-project#9075) (Boshen)

### Styling

- 23f53c0 syntax: Name trait method param without underscore (oxc-project#9119)
(overlookmotel)

### Testing

- eaff3d9 napi/parser: Split tests for `convertSpanUtf16` (oxc-project#9113)
(hi-ogawa)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>

crates_v0.50.0

Toggle crates_v0.50.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release(crates): v0.50.0 (oxc-project#9050)

crates_v0.49.0

Toggle crates_v0.49.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release(crates): v0.49.0 (oxc-project#9015)

oxlint_v0.15.10

Toggle oxlint_v0.15.10's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
release(oxlint): v0.15.10 (oxc-project#8918)

## [0.15.10] - 2025-02-06

### Features

- d6d80f7 linter: Add suggestion fixer for `eslint/no-iterator` (oxc-project#8894)
(dalaoshu)
- 7e8568b linter: Junit reporter (oxc-project#8756) (Tapan Prakash)
- f4662a9 oxc_language_server: Implement `oxc.fixAll` workspace command
(oxc-project#8858) (Marek Vospel)

### Bug Fixes

- baf3e4e linter: Correctly replace rule severity with duplicate rule
name configurations (oxc-project#8840) (dalaoshu)

### Performance

- 8a4988d linter: Use parallel iterator directly instead of iter and
parallel bridge (oxc-project#8831) (Cam McHenry)

### Refactor

- bb9d763 linter: Remove usage of `url` crate (oxc-project#8833) (camchenry)
- 4fcf719 linter: Replace MIME guessing with extension check (oxc-project#8832)
(camchenry)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>

crates_v0.48.2

Toggle crates_v0.48.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
release(crates): v0.48.2 (oxc-project#8838)

oxlint_v0.15.9

Toggle oxlint_v0.15.9's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
release(oxlint): v0.15.9 (oxc-project#8824)

## [0.15.9] - 2025-02-01

### Features

- 1a41181 linter: Implement `eslint/prefer-object-spread` (oxc-project#8216)
(tbashiyy)
- adb8ebd linter: Implement no-useless-call rule (oxc-project#8789) (keita hino)
- 3790933 linter: Add vitest/prefer-lowercase-title rule (oxc-project#8152) (Tyler
Earls)
- e8e6917 linter: Unicorn/switch-cases-braces support options (oxc-project#8704)
(1zumii)

### Bug Fixes

- 8ce21d1 linter: Can't disable `no-nested-ternary` rule anymore (oxc-project#8600)
(dalaoshu)
- e929f26 linter: Output `LintCommandInfo` for
`CliRunResult::LintNoFilesFound` (oxc-project#8714) (Sysix)
- 4f30a17 linter: Unicorn/switch-case-braces mangles code when applying
fix (oxc-project#8758) (Tyler Earls)
- 9cc9d5f linter: `ignorePatterns` does not work when files are provided
as command arguments (oxc-project#8590) (dalaoshu)
- 1de6f85 linter: No-lone-blocks erroring on block statements containing
comments (oxc-project#8720) (Tyler Earls)
- 77ef61a linter: Fix diagnostic spans for `oxc/no-async-await` (oxc-project#8721)
(camchenry)
- f15bdce linter: Catch `Promise` in `typescript/array-type` rule
(oxc-project#8702) (Rintaro Itokawa)
- 5041cb3 vscode: Fix commands by reverting commit `259a47b` (oxc-project#8819)
(Alexander S.)

### Performance

- d318238 linter: Remove sorting of rules in cache (oxc-project#8718) (camchenry)

### Documentation

- 57b7ca8 ast: Add documentation for all remaining JS AST methods
(oxc-project#8820) (Cam McHenry)

### Refactor

- c2fdfc4 linter: Correctly handle loose options for `eslint/eqeqeq`
(oxc-project#8798) (dalaoshu)
- 0aeaedd linter: Support loose options for `eslint/eqeqeq` (oxc-project#8790)
(dalaoshu)
- 194a5ff linter: Remove `LintResult` (oxc-project#8712) (Sysix)
- 4a2f2a9 linter: Move default `all_rules` output to trait (oxc-project#8710)
(Sysix)
- 741fb40 linter: Move stdout outside LintRunner (oxc-project#8694) (Sysix)
- 10e5920 linter: Move finishing default diagnostic message to
`GraphicalReporter` (oxc-project#8683) (Sysix)
- 9731c56 oxlint: Move output from `CliRunResult::InvalidOption` to
outside and use more Enums for different invalid options (oxc-project#8778) (Sysix)
- fe45bee oxlint: Create different `CliRunResult` instead of passing
`ExitCode` to it (oxc-project#8777) (Sysix)
- 2378fef oxlint: Move ConfigFileInit output outside CliRunResult, exit
code 1 when it fails (oxc-project#8776) (Sysix)
- f4cecb5 oxlint: Remove unused `CliRunResult::PathNotFound` (oxc-project#8775)
(Sysix)

### Testing

- ad35e82 linter: Use snapshot testing instead of LintResult (oxc-project#8711)
(Sysix)
- bf895eb linter: Add diagnostic format test snapshots (oxc-project#8696)
(Alexander S.)
- 34d3d72 linter: Add snapshot tester for cli (oxc-project#8695) (Sysix)
- 0bf2bcf oxlint: Test two real rules with same name but from different
plugins (oxc-project#8821) (dalaoshu)
- 2b83b71 oxlint: Improve disabling "no-nested-ternary" tests (oxc-project#8814)
(Alexander S.)
- 45648e7 oxlint: Fix InvalidOptionTsConfig tests for windows (oxc-project#8791)
(Alexander S.)
- 48bfed9 oxlint: Ignore windows path mismatch (Boshen)
- 6f4a023 oxlint: Remove "--print-config" test (oxc-project#8792) (Sysix)
- 55c2025 oxlint: Add `CliRunResult` to snapshot (oxc-project#8780) (Sysix)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>

crates_v0.48.1

Toggle crates_v0.48.1's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
release(crates): v0.48.1 (oxc-project#8738)

## [0.48.1] - 2025-01-26

### Features

- b7f13e6 ast: Implement utf8 to utf16 span converter (oxc-project#8687) (Boshen)
- 6589c3b mangler: Reuse variable names (oxc-project#8562) (翠 / green)
- 29bd215 minifier: Minimize `Infinity.toString(radix)` to `'Infinity'`
(oxc-project#8732) (Boshen)
- e0117db minifier: Replace `const` with `let` for non-exported
read-only variables (oxc-project#8733) (sapphi-red)
- 9e32f55 minifier: Evaluate `Math.sqrt` and `Math.cbrt` (oxc-project#8731)
(sapphi-red)
- 360d49e minifier: Replace `Math.pow` with `**` (oxc-project#8730) (sapphi-red)
- 2e9a560 minifier: `NaN.toString(radix)` is always `NaN` (oxc-project#8727)
(Boshen)
- cbe0e82 minifier: Minimize `foo(...[])` -> `foo()` (oxc-project#8726) (Boshen)
- e9fb5fe minifier: Dce pure expressions such as `new Map()` (oxc-project#8725)
(Boshen)

### Bug Fixes

- 0944758 codegen: Remove parens from `new (import(''), function() {})`
(oxc-project#8707) (Boshen)
- 33de70a mangler: Handle cases where a var is declared in a block scope
(oxc-project#8706) (翠 / green)
- d982cdb minifier: `Unknown.fromCharCode` should not be treated as
`String.fromCharCode` (oxc-project#8709) (sapphi-red)
- e7ab96c transformer/jsx: Incorrect `isStaticChildren` argument for
`Fragment` with multiple children (oxc-project#8713) (Dunqing)
- 3e509e1 transformer/typescript: Enum merging when same name declared
in outer scope (oxc-project#8691) (branchseer)

### Performance

- dc0b0f2 manger: Remove useless `tmp_bindings` (oxc-project#8735) (Dunqing)
- e472ced mangler: Optimize handling of collecting lived scope ids
(oxc-project#8724) (Dunqing)
- 8587965 minifier: Normalize `undefined` to `void 0` before everything
else (oxc-project#8699) (Boshen)

### Refactor

- 58002e2 ecmascript: Remove the lifetime annotation on
`MayHaveSideEffects` (oxc-project#8717) (Boshen)
- 10e5920 linter: Move finishing default diagnostic message to
`GraphicalReporter` (oxc-project#8683) (Sysix)
- 52a37d0 mangler: Simplify initialization of `slots` (oxc-project#8734) (Dunqing)
- 6bc906c minifier: Allow mutating arguments in methods called from
`try_fold_known_string_methods` (oxc-project#8729) (sapphi-red)
- bf8be23 minifier: Use `Ctx` (oxc-project#8716) (Boshen)
- 0af0267 minifier: Side effect detection needs symbols resolution
(oxc-project#8715) (Boshen)
- 32e0e47 minifier: Clean up `Normalize` (oxc-project#8700) (Boshen)
- c792068 semantic: Simplify `ScopeTree::iter_bindings` (oxc-project#8723)
(Dunqing)

### Testing

- 03229c5 minifier: Fix broken tests (oxc-project#8722) (Boshen)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>

oxlint_v0.15.8

Toggle oxlint_v0.15.8's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
release(oxlint): v0.15.8 (oxc-project#8689)

## [0.15.8] - 2025-01-24

### Features

- 79ba9b5 linter: Added support to run in Node.JS legacy versions
(oxc-project#8648) (Luiz Felipe Weber)
- dcaebe6 linter: Add "strict" option to `promise/prefer-await-to-then`
rule (oxc-project#8674) (Neil Fisher)
- 4ae568e linter: Add DiagnosticResult to the Reporters for receiving a
sub part result (oxc-project#8666) (Alexander S.)
- 8a0eb2a oxlint: Add stylish formatter (oxc-project#8607) (Andrew Powell)

### Bug Fixes

- 40316af linter: Fix github `endColumn` output (oxc-project#8647) (Alexander S.)
- dc912fa linter: Added missing $schema property to default config
(oxc-project#8625) (Tapan Prakash)

### Refactor

- a3dc4c3 crates: Clean up snapshot files (oxc-project#8680) (Boshen)
- e66da9f isolated_declarations, linter, minifier, prettier, semantic,
transformer: Remove unnecessary `ref` / `ref mut` syntax (oxc-project#8643)
(overlookmotel)
- 23b49a6 linter: Use `cow_to_ascii_lowercase` instead
`cow_to_lowercase` (oxc-project#8678) (Boshen)
- b8d9a51 span: Deal only in owned `Atom`s (oxc-project#8641) (overlookmotel)
- ac4f98e span: Derive `Copy` on `Atom` (oxc-project#8596) (branchseer)
- 259a47b vscode: Move commands and `findBinary` to separate files
(oxc-project#8605) (Alexander S.)

Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>