Zum Inhalt springen
Einträge
56
Quellen
1
Zuletzt aktualisiert

Folge Oxc, um die Release Notes in deinen Feed zu holen.

Oxc

oxlint v1.96.0

🚀 Features

  • 1ca8aaa linter/jsdoc/require-template-description: Require descriptions for template tags (#30279) (Jonghyeon Ko)
  • f0094e6 linter: Add jest/vitest padding-around-all (#30035) (Cameron)
  • 0178451 linter: Add jest/vitest padding-around-expect-groups (#30034) (Cameron)
  • 3f85897 linter: Add jest/vitest padding-around-describe-blocks (#30033) (Cameron)
  • 56ad0d2 linter: Add jest/vitest padding-around-before-each-blocks (#30032) (Cameron)
  • 1f6bbcc linter: Add jest/vitest padding-around-before-all-blocks (#30031) (Cameron)
  • c6bf936 linter: Add jest/vitest padding-around-after-each-blocks (#30030) (Cameron)

🐛 Bug Fixes

  • d3b83d8 ast/estree: Type TSModuleDeclaration.body as optional TSModuleBlock (#30511) (oxc-captain[bot])
  • b4f2f4d linter/eslint/no-empty: Only delete the empty construct in suggestions (#30413) (Cameron)
  • eef83a0 linter/typescript/no-extraneous-class: Make class deletion a dangerous suggestion that keeps valid syntax (#30415) (Cameron)
  • d34fcb3 linter/eslint/no-useless-computed-key: Ignore abstract class members (#30416) (Cameron)
  • c94ac0b linter/eslint/no-void: Only suggest undefined for literal operands (#30417) (Cameron)
  • 7bd409d linter/eslint/prefer-numeric-literals: Keep comments and handle computed and parenthesized forms (#30418) (Cameron)
  • d5019ca linter/eslint/no-unsafe-negation: Keep comments in the negation suggestion (#30419) (Cameron) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.81.0

💥 BREAKING CHANGES

  • 836f56d oxfmt: [BREAKING] Format parser:angular files by oxc_formatter_htmlish (#29885) (Yuji Sugiura)
  • c9ff940 formatter_toml: [BREAKING] Rework oxc_formatter_toml based on oxc-toml/parser (#29928) (Yuji Sugiura)
  • 783eb98 oxfmt: [BREAKING] Stop formatting extension-less README file as markdown (#30138) (Yuji Sugiura)

🚀 Features

  • 0a06514 formatter_htmlish/angular: Format nested pipes (#29921) (Yuji Sugiura)
  • c1a8f99 formatter_core: Add empty_line().without_expand_parent() (#30144) (Yuji Sugiura)

🐛 Bug Fixes

  • 376a30c formatter_css: Assert in debug builds that no comment is left unclaimed (#30550) (Yuji Sugiura)
  • 4a7dc86 formatter_css: Claim comments at five positions that dropped or moved them (#30546) (Yuji Sugiura)
  • 9fb1043 formatter_css: Print a comment inside !important after it, and keep a mixin call's tail comment (#30528) (Yuji Sugiura)
  • 9daed1f formatter: Keep a comment after implements and an interface's extends after the keyword (#30454) (Yuji Sugiura)
  • 89a15ba formatter: Keep a comment after extends after the keyword (#30453) (Yuji Sugiura)
  • b944f13 formatter_css: Keep the content after a block comment ending its line on the next line (#30452) (Yuji Sugiura)
  • 5008f71 formatter_graphql: Print comments inside a type after it and never merge two comments (#30451) (Yuji Sugiura) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.161.0

💥 BREAKING CHANGES

  • b7dd935 ast: [BREAKING] Split object methods into ObjectMethodProperty (#29951) (Cameron)
  • 2947286 parser: [BREAKING] Record source-phase imports as source bindings in module records (#30295) (Cameron)
  • e87c19c lexer: [BREAKING] Give BigInt literals exact values in a bigints lane (#30199) (Shanon Jackson)

🚀 Features

  • 847c6a4 simd: Add SIMD128-only vector methods (#30535) (Shanon Jackson)
  • 706ad34 simd: Implement Vec128 and Vec256 for Simd128 (#30534) (Shanon Jackson)
  • 663d7fe simd: Add Simd128 CPU feature set for wasm32 (#30532) (Shanon Jackson)
  • 558f4aa minifier: Collapse x = e; return x into return x = e (#30504) (Cameron)
  • 45c9e9a allocator: Allow arena chunks to come from a parent allocator (#29903) (YT)
  • 746ad93 transformer: Expose Helper::ALL and check @oxc-project/runtime ships every helper (#30250) (Dunqing)
  • 697a09b transformer: Expose whether env options lower any JavaScript syntax (#30251) (Dunqing)
  • 1ca8aaa linter/jsdoc/require-template-description: Require descriptions for template tags (#30279) (Jonghyeon Ko)
  • f6882ce syntax: Derive PartialEq and Eq for DynamicImport (#30178) (Cameron)
  • efea0d6 syntax: Derive PartialEq and Eq for RequestedModule (#30174) (Cameron)
  • e0a7554 simd: Add opaque method to Vec128 and Vec256 (#30108) (overlookmotel)
  • 2ecf652 simd: Add Vec128::gt_u8 and lt_u8 methods for Neon (#30107) (overlookmotel)

🐛 Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.95.0

🚀 Features

  • a96e2bd linter/typescript/no-unsafe-class-instance-assignment: Add rule (#29982) (Cameron)

🐛 Bug Fixes

  • 11d16bd linter/eslint/prefer-object-spread: Prefix semicolon when the fix could merge with the previous statement (#30080) (oxc-captain[bot])
  • 106d301 linter/unicorn/prefer-math-trunc: Report parseInt(String(...), 10) (#30067) (Lê Văn Xuân Hoàn)
  • 226ba04 linter/unicorn/prefer-import-meta-properties: Stop flagging fileURLToPath(new URL('.', import.meta.url)) (#30041) (oxc-captain[bot])
  • 04cdaec linter/unicorn/no-useless-spread: Replace holes with undefined in spread array literals (#30042) (oxc-captain[bot])
  • 7141c26 linter/eslint/no-implicit-coercion: Skip autofix when coercion constructor is shadowed (#30043) (oxc-captain[bot])
  • f22709d linter/eslint/no-unused-vars: Fixes remove a whole CRLF after an unused import (#30047) (Nicholas Rayburn)
  • 6998259 linter/eslint/max-lines: Report diagnostic at the start of the last character (#30046) (Nicholas Rayburn)
  • 48ed7f7 linter: Find tsgolint in case-sensitive directories on Windows (#26234) (Nicolas Stepien)
  • f92aeab linter/vitest/valid-expect: Validate expectTypeOf matcher chains (#30023) (Cameron)
  • 0f774dc linter/react/exhaustive-deps: Report setters accessed through member expressions (#30017) (Cameron)
  • 8726fca linter/react/exhaustive-deps: Report setters from parenthesized or as-cast useState calls (#30016) (Cameron) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.80.0

🚀 Features

  • 42f62d6 formatter/sort_imports: Break ties for the same source by subgroup (#29817) (leaysgur)
  • d3af78a formatter_htmlish/angular: Support Tailwind class sorting (#29737) (leaysgur)
  • 0fe3d0c formatter_htmlish/angular: Format template JS expressions (#29726) (leaysgur)
  • ae32aed formatter_htmlish/angular: Implement printer w/o JS expressions (#29657) (leaysgur)

🐛 Bug Fixes

  • b373412 formatter_css: Preserve glued numbers (#29941) (leaysgur)
  • f1816d8 formatter_htmlish: Count a blank line after unclosed element (#29881) (leaysgur)
  • 5952610 formatter_htmlish/angular: Do not break a parent for ICU (#29874) (leaysgur)
  • 596c70d formatter_htmlish/angular: Break as-written block parameters (#29873) (leaysgur)
  • 1fb897f formatter_htmlish: Keep blank lines before borrowed }} when preserved (#29872) (leaysgur)
  • 488a9fa formatter: Break an assigned class's heritage as a class anywhere else (#29869) (leaysgur)
  • 7053128 formatter_markdown: Handle empty footnote (#29735) (leaysgur)
  • 7caf3be oxfmt: Run WalkRunner in block_in_place() to avoid hang with 1 Tokio worker (#29728) (Yuji Sugiura)

⚡ Performance

  • 892f086 various: Avoid copying source text in OxcDiagnostic::render_with_source_code callers (#29850) (overlookmotel)

📚 Documentation

  • c5790e2 formatter_css: Record multi-line value comment expanding its group as a divergence (#29950) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.160.0

💥 BREAKING CHANGES

  • f573c93 syntax: [BREAKING] Remove NumberBase and BigintBase types (#29920) (overlookmotel)
  • b90b3aa ast: [BREAKING] Remove base field from NumericLiteral and BigIntLiteral (#29919) (overlookmotel)
  • 8c2abc4 diagnostics: [BREAKING] Implement SourceCode for &T (#29852) (overlookmotel)
  • 2bc8e89 diagnostics: [BREAKING] NamedSource support &str as name (#29851) (overlookmotel)

🚀 Features

  • 2384875 minifier: Remove redundant | 0 under bitwise operators (#29991) (Cameron)
  • abf889f minifier: Flatten nested string concatenations (#30015) (Cameron)
  • 5f51bd3 minifier: Fold division with short numeric results (#29994) (Cameron)
  • 1102f24 minifier: Flatten nested untagged template literals (#29993) (Cameron)
  • 12897a0 minifier: Fold switch with one case and default into if-else (#29990) (Cameron)
  • f9e90de minifier: Fold numeric identities like x - 0 and x * 1 (#29926) (Dunqing)
  • c265eda minifier,ecmascript: Fold additive zero and safe offsets on int32/uint32 expressions (#29865) (Andre_Ramirez)
  • 37ec2e2 compat: Add standard decorators compatibility data (#29448) (Dunqing)
  • 22e4d0b runtime: Add standard decorator helpers (#29447) (Dunqing)
  • a67ac1f data_structures: Add brand types (#29756) (overlookmotel)

🐛 Bug Fixes

  • 38cd470 transformer: Share auto-accessor lowering and fix its private storage names (#29449) (Dunqing) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.94.0

🚀 Features

  • db5bc6b linter: Output recommended flag in --rules JSON output (#29338) (Cam McHenry)
  • acd8814 linter/typescript/no-misused-promises: Add flagUnions option (#29380) (camc314)
  • fa492d6 minifier: Merge adjacent switch cases with identical bodies (#29316) (camc314)
  • ca3b2cb linter/vue/no-shared-component-data: Implement fixer (#29291) (Mikhail Baev)
  • bfe3498 linter: Mark oxc rules as recommended (#28091) (Cam McHenry)
  • 5da83ae linter/eslint/no-unused-vars: Suggest removing unused type parameters (#28762) (YanYunCY)
  • 6816662 linter/jsdoc/require-param-description: Implement suggestion (#29118) (Mikhail Baev)

🐛 Bug Fixes

  • 8d49552 linter/vitest/prefer-importing-vitest-globals: Insert imports after shebangs and directives (#29674) (camc314)
  • 4526cae linter: Drop ## Example headings from overrides config docs (#29670) (oxc-captain[bot])
  • 97ed4b7 linter: Mark undefined argument removal as dangerous (#29266) (周星星同学)
  • 58ef81d linter/typescript/prefer-function-type: Strip a trailing comma from the fixed signature (#28145) (NavpreetSSidhu)
  • dcb465f linter/jsx-a11y/prefer-tag-over-role: Allow role="img" on svg (#29440) (Nadir Ali)
  • 994ddc3 linter/eslint/no-div-regex: Offer regex rewrites as suggestions (#29493) (oxc-captain[bot])
  • dc5add7 linter/jsx-a11y/lang: Don't report a missing lang attribute (#29441) (Nadir Ali)
  • f010115 linter/jest/prefer-to-be,linter/vitest/prefer-to-be: Emit rewrites as suggestions (#29503) (oxc-captain[bot]) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.79.0

🚀 Features

  • 21e1fc1 formatter_graphql: Support empty selection sets and braced unicode escapes (#29345) (leaysgur)
  • 292f216 oxfmt: Bump prettier to 3.10.1 (#29333) (leaysgur)

🐛 Bug Fixes

  • 552732b formatter: Fix parenthesized TSInstantiationExpression issue (#29389) (leaysgur)
  • 7e41638 parser: Keep whole parenthesized TSInstantiationExpression with preserve_parens: false (#29359) (leaysgur)
  • d41ed14 formatter: Keep the ; of a lone statement in a Vue event handler (#29354) (leaysgur)
  • 58d7356 formatter: Break a conditional type alias with a generic constructor type after = (#29411) (leaysgur)
  • 59b8eaa formatter: Print binaryish or yield args like return (#29407) (leaysgur)
  • d6632f3 formatter: Keep a comment after TSPropertySignature's : (#29393) (leaysgur)
  • cf50f9b formatter: Keep a blank line between dangling comments (#29392) (leaysgur)
  • e648de6 formatter: Print sequence in yield and unary like in return (#29353) (leaysgur)
  • 547684d formatter: Keep parens around < on the left of > (#29351) (leaysgur)
  • 16b84d3 formatter/htmlish: Print CDATA sections as nodes of their own (#29348) (leaysgur)
  • f9f2385 formatter_css: Print @supports selector() like rule selector (#29343) (leaysgur)
  • f31a8d1 formatter: Align union hug and conditional branch (#29261) (leaysgur)
  • 79064df formatter_htmlish/angular: Keep block params, ignore whole block (#29258) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.159.0

💥 BREAKING CHANGES

  • d742f8b ast: [BREAKING] Add LabelId to LabelIdentifier (#29611) (camc314)

🚀 Features

  • 63b8158 minifier: Inline single use function declaration to assignment (#28917) (Aadharsh Pannirselvam)
  • eb1833e mangler: Mangle labels (#29614) (camc314)
  • 702e734 codegen: Print label names from scoping (#29613) (camc314)
  • 750033a semantic: Resolve labels to label IDs (#29612) (camc314)
  • ccca379 minifier: Remove unused labels (#29607) (camc314)
  • e375dff lexer: Complete NEON support for aarch64 (#29390) (Shanon Jackson)
  • bfe9a81 data_structures: Add buffered vector batch reservations (#29365) (Boshen)
  • fa492d6 minifier: Merge adjacent switch cases with identical bodies (#29316) (camc314)
  • 8cc6101 minifier: Inline member reads into callees as indirect calls (#29305) (camc314)
  • e3d7d91 minifier: Inline member reads into new expressions (#29304) (camc314)
  • 57211d0 minifier: Inline member reads into call arguments (#29303) (camc314)
  • 523a063 lexer: Publish lexer and SIMD crates (#29264) (Boshen)
  • 2a5d710 data_structures: Add unreachable_unchecked! macro (#29131) (overlookmotel)
  • 061becc react-compiler: Support logical assignment operators (#29137) (Yagiz Nizipli)

🐛 Bug Fixes

  • 8f09517 transformer/class-properties: Check static private field initialization (#29672) (camc314)
  • d520358 transformer: Retain decorated fields with define semantics (#29444) (Dunqing) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.93.0

🚀 Features

  • 6195265 linter/promise/prefer-catch: Implement suggestion (#28919) (Mikhail Baev)

🐛 Bug Fixes

  • 866664e linter/unicorn/no-useless-undefined: Skip var initializers (#29007) (camc314)
  • 30603cb linter/react/exhaustive-deps: Preserve comments in dependency removals (#29047) (camc314)
  • 4630fe4 linter/unicorn/no-useless-undefined: Narrow return type exemptions (#29000) (camc314)
  • b63870a linter/vitest/expect-expect: Recognize benchmark fixtures (#29044) (camc314)
  • 9c62d2a linter/eslint/no-unreachable-loop: Ignore enclosing finalizers for continues (#29004) (camc314)
  • 6303df1 jsdoc: Preserve param tags after unmatched description delimiters (#28923) (Vishal Punjabi)
  • fe66fa7 linter/eslint/no-lone-blocks: Report redundant blocks in function bodies (#29043) (camc314)
  • e1694bd linter/unicorn/no-useless-undefined: Preserve shadowed bindings (#29046) (camc314)
  • 791b5f5 linter/unicorn/prefer-regexp-test: Restrict automatic argument swaps (#29045) (camc314)
  • e7654f6 linter/react/display-name: Ignore unrelated memo and forwardRef calls (#29005) (camc314)
  • 2487360 linter/unicorn/no-useless-undefined: Report guarded indexed access (#29014) (camc314)
  • a791a5b cfg: Resolve continues through stacked loop labels (#29016) (camc314)
  • 287ba19 linter/eslint/id-length: Ignore TypeScript qualified references (#29037) (camc314)
  • b71234f cfg: Skip labeled contexts for unlabeled jumps (#29001) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.78.0

🐛 Bug Fixes

  • ab78621 formatter_css/less: Print ~ escape consistently (#29089) (Yuji Sugiura)
  • 91721d2 formatter_css/less: Print Less % selectors (#29088) (Yuji Sugiura)
  • 449e91f oxfmt: Format ts-in-astro as TSX (#29080) (leaysgur)
  • 8d8845e formatter/jsdoc: Strip * prefixes from multiline default value (#28910) (leaysgur)
  • cdb1501 formatter/jsdoc: Handle every line terminator in multi-line JSDoc types (#28909) (leaysgur)
  • fd51bff jsdoc: Handle every line terminators as newline (#28902) (leaysgur)
  • 2f80765 formatter_toml: Format whitespace-only document to empty (#28899) (leaysgur)
  • 5e1e02c formatter_graphql: Allow empty document (#28898) (leaysgur)
  • 06e72c0 formatter/tailwind: Normalize CR in Tailwind template with preserveWhitespace (#28896) (leaysgur)

⚡ Performance

  • 934ca98 formatter: Use Arc for tailwind options across embedding (#29079) (leaysgur)
  • dde9c5c formatter_htmlish: Skip </script escape if possible (#29078) (leaysgur)
  • dc4d918 formatter: Format embedded expr of one name without parsing (#29077) (leaysgur)

📚 Documentation

  • eb2eb2d formatter_htmlish: Cover block elements in DIVERGENCES.md#interpolation-element-as-text (#28901) (leaysgur)
  • 0f4ec80 formatter/tailwind: Note Tailwind sorting tears escaped whitespace apart (#28900) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.158.0

🐛 Bug Fixes

  • de6ac92 isolated-declarations: Preserve object accessor mutability (#29039) (camc314)
  • 3729ce1 transformer/typescript: Merge exported enums across namespace blocks (#28999) (camc314)
  • 7243594 minifier: Preserve throwing ArrayBuffer and URI calls (#29012) (camc314)
  • 67ac6be isolated-declarations: Evaluate enum template literal initializers (#28997) (camc314)
  • f05b30e isolated-declarations: Infer auto-accessor initializer types (#29038) (camc314)
  • 030d410 isolated-declarations: Preserve computed ambient enum members (#29040) (camc314)
  • 6303df1 jsdoc: Preserve param tags after unmatched description delimiters (#28923) (Vishal Punjabi)
  • 99e67d3 transformer: Preserve static private brands with shadowed class names (#28894) (Dunqing)
  • 595f3c2 minifier: Preserve left-hand side effects in instanceof checks (#29011) (camc314)
  • a791a5b cfg: Resolve continues through stacked loop labels (#29016) (camc314)
  • 9e3b3d1 ecmascript: Reject signs after nondecimal prefixes (#29034) (camc314)
  • 43c5273 ecmascript: Round nondecimal strings to numbers once (#29026) (camc314)
  • b71234f cfg: Skip labeled contexts for unlabeled jumps (#29001) (camc314)
  • fd51bff jsdoc: Handle every line terminators as newline (#28902) (leaysgur)
  • c00dc61 codegen: Keep one source map mapping per generated position (#28844) (YT)
  • 52f3e3d jsdoc: Do not treat @word containing / as tag (#28834) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.92.0

🚀 Features

  • 4a52ba2 oxlint: Discover tsrs for type-aware linting (#28751) (camc314)
  • b7d2c75 linter/eslint/no-redeclare: Add ignoreDeclarationMerge option (#28816) (Cam McHenry)

🐛 Bug Fixes

  • fa66fde oxlint,oxfmt: Resolve Vite+ config root from the config file directory (#28801) (MK (fengmk2))
  • 2091564 linter/jsdoc/require-param: Ignore enclosing function JSDoc (#28866) (camc314)
  • c6ec50b linter/react/only-export-components: Classify JSX values as non-components (#28761) (camc314)
  • 3c051ab linter/vitest/prefer-called-exactly-once-with: Preserve neighboring code in autofix (#28864) (camc314)
  • 674b962 linter/eslint/no-misleading-character-class: Use lazy regex for combining marks (#28822) (Sysix)
  • 838d339 linter/vitest/prefer-called-exactly-once-with: Avoid panic on non-ASCII text (#28850) (YT)
  • 8d24c26 linter/jsx-a11y/aria-role: Allow role={undefined} (#28804) (Abhay Godavarthy)
  • a7143bf linter/eslint/no-restricted-imports: Respect allowTypeImports correctly for empty patterns (#28842) (Cam McHenry)
  • 3d3a6f4 react-compiler: Ignore callback-local reassignments (#28820) (camc314)
  • 0cc6515 linter/unicorn/prefer-type-error: Report throws in unbraced if branches (#28819) (camc314)
  • ae43c80 linter/unicorn/prefer-single-call: Remove duplicate fix status (#28763) (Mikhail Baev)
  • a8a621a linter/eslint/no-fallthrough: Ignore unreachable exits from infinite loops (#28755) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.77.0

💥 BREAKING CHANGES

  • 00d1a67 oxfmt: [BREAKING] Format parser:vue files by oxc_formatter_htmlish (#28848) (leaysgur)

🚀 Features

  • 9a81e58 formatter_htmlish: Format Vue templates (#28847) (leaysgur)
  • 119d82f formatter: Format a template's expressions and handlers as JsRoot (#28846) (leaysgur)

🐛 Bug Fixes

  • fa66fde oxlint,oxfmt: Resolve Vite+ config root from the config file directory (#28801) (MK (fengmk2))
  • 4d4104d formatter_htmlish: Preserve doctype case in embedded (#28797) (leaysgur)
  • ebfd40a formatter: Sort Tailwind calls printed as member chains (#28800) (Yuji Sugiura)
  • e62e5cb formatter: Decide quotes of a Tailwind key printed as one class (#28798) (Yuji Sugiura)
  • 959edc1 formatter: Don't sort templates in nested non-Tailwind calls (#28794) (Yuji Sugiura)
  • 6ffbe32 formatter/jsdoc: Prevent @tag from being moved to the line start (#28835) (leaysgur)
  • 94fbef5 formatter_css: Treat comments in style attr as fill items (#28832) (leaysgur)
  • e4a80f7 formatter_css: Normalize selectors inside :deep, :slotted and :local (#28805) (leaysgur)
  • 255c5cc formatter: Measure Tailwind class argument after collapsing whitespace (#28745) (Lee Jaeha / Adam)
  • e6c4fef formatter: Decide template and object key layouts from collapsed Tailwind classes (#28791) (Yuji Sugiura)
  • 0b44164 formatter: Decide JSX opening element layout from collapsed Tailwind class string (#28744) (Lee Jaeha / Adam) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.91.0

🚀 Features

  • 004647a track_memory_allocs: Add allocation tracking for linter rules (#28470) (Cam McHenry)
  • 419c1b0 linter: Add allow and allowPattern options to react/capitalized-calls (Christian Vuerings)

🐛 Bug Fixes

  • a205cd3 linter/eslint/no-control-regex: Detect raw control characters (#28548) (camc314)
  • 7c65777 linter/unicorn/prefer-global-this: Align typeof and worker API handling (#28549) (camc314)
  • 987d5f1 linter/unicorn/no-invalid-fetch-options: Avoid treating unknown methods as GET (#28547) (camc314)
  • e234dc8 linter/unicorn/no-useless-error-capture-stack-trace: Move to suspicious category (#28545) (camc314)
  • b3dc411 linter/typescript/no-non-null-asserted-nullish-coalescing: Move to suspicious category (#28546) (camc314)
  • cb64638 regular_expression: Reject incomplete Unicode atom escapes (#28448) (Boshen)
  • c67167e linter: Only run React Compiler rules on files with top-level components or hooks (Boshen)
  • 4c9d5aa linter: Treat Reanimated shared values as ref-like in React Compiler rules (Boshen)
  • 61fe2af linter/react: Ignore impure calls in async components in react/purity (Rahul Kashyap)
  • ed7df7d ast/estree: Include comments in TS Program span (#28326) (camc314)
  • 31cbe37 linter: Make gitlab fingerprints unique per diagnostic (#28307) (camc314)

⚡ Performance

  • 564559d linter/prefer-const: Avoid collecting resolved references (#28732) (Dunqing)
  • bb947dc linter: Skip numeric separator formatting for short integers (#28485) (Cam McHenry) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.76.0

💥 BREAKING CHANGES

  • 296623d oxfmt: [BREAKING] Format parser:html files by oxc_formatter_htmlish (#28273) (Yuji Sugiura)

🚀 Features

  • 336b2c1 oxfmt: Support html-in-js templates closing a dynamic tag name (#28389) (Yuji Sugiura)
  • 0a42af6 formatter_htmlish: Format end tags of omitted html, head and body (#28388) (Yuji Sugiura)
  • 44d8c2b formatter_htmlish: Implement HTML-ish formatter Html variant (#28272) (Yuji Sugiura)
  • 36e5ddb oxfmt: Add debug span for reading files (#28204) (leaysgur)

🐛 Bug Fixes

  • dbcc358 formatter: Keep arrow conditional body parens before a leading function/class (#28710) (Yuji Sugiura)
  • fef809a formatter_htmlish: Handle XHTML (#28703) (leaysgur)
  • f3dd201 formatter_htmlish: Keep SVG text under xml:space="preserve" as written (#28382) (Yuji Sugiura)
  • fb3aefa formatter: Keep source parens around html-in-js placeholders past comments (#28381) (Yuji Sugiura)
  • e738dae formatter: Quote keys added in an HTML event handler with single quotes (#28380) (Yuji Sugiura)
  • 2e7a629 oxfmt: Format HTML in a <script> body as an embedded part (#28379) (Yuji Sugiura)
  • f00862b formatter: Keep parens around a generic function type in a type assertion (#28173) (vidigoat)
  • 9ead5c4 formatter: Handle this.b and super.b like foo.b (#28200) (leaysgur)
  • 72a54cf formatter: Break parens of (a + b)[c] like (a + b).c (#28199) (leaysgur)
  • b8f4f34 formatter: Print x.b and x.#b samely (#28193) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.157.0

🚀 Features

  • 8dd67a6 transform-react: Expose TypeScript transform options (Tomas Särnhammar)
  • deed7dc parser: More friendly error for duplicate import attribute key (#28262) (sapphi-red)

🐛 Bug Fixes

  • eaa8e90 ecmascript: Avoid numeric + folding when an operand may be a string (#28544) (camc314)
  • b03c7b8 regular_expression: Allow incomplete oversized legacy quantifiers (#28449) (Boshen)
  • 128c67d semantic: Check strict eval and arguments writes by reference flags (#28445) (Boshen)
  • c97c43c parser: Reject TypeScript default exports in JavaScript (#28440) (Boshen)
  • fdd119f span: Count Unicode characters when filtering typo suggestions (#28452) (Boshen)
  • cb64638 regular_expression: Reject incomplete Unicode atom escapes (#28448) (Boshen)
  • fc0eed3 semantic: Stop let-binding scans at arrow functions (#28444) (Boshen)
  • 3421516 parser: Preserve default import names in reexports (#28442) (Boshen)
  • a1e7e5f parser: Reject optional class members in JavaScript (#28439) (Boshen)
  • 5b9a7bc parser: Parse sloppy let expressions and labels (#28438) (Boshen)
  • 8e61652 regex: Reject templates without cooked values (#28345) (Boshen)
  • 3b36543 parser: Preserve in-context after TypeScript type arguments (#28300) (Boshen)
  • 2e3126c regex: Decode constructor patterns and flags consistently (#28298) (Boshen)
  • 8a90be2 regex: Track capture groups and disjunction identity (#28297) (Boshen)
  • 3dc2cb0 regex: Preserve escape values and boundaries (#28296) (Boshen) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates_v0.156.0

💥 BREAKING CHANGES

  • cf8296f ecmascript: [BREAKING] Fold surrogate strings with JSStr constants (#27098) (Dunqing)

🚀 Features

  • dd6cb2b minifier: Fold out-of-bounds string indices to void 0 (#28004) (Dunqing)

🐛 Bug Fixes

  • f4dac9e semantic: Separate hoisted vars from block type bindings (#27936) (limadog9)
  • 9ec6617 minifier: Keep brackets on negative and non-finite numeric keys (#27855) (Yunus Ozen)
  • 520a26e minifier: Keep the default in shorthand assignment targets (#28183) (waltu)
  • def47b8 react-compiler: Keep manual memoization as written when its dependencies can't be honoured (#28101) (Dunqing)
  • 704d8cf transformer_plugins: Keep the bare inject when references to it remain (#26965) (Bharadwaj Pendyala)
  • 6d7b372 minifier: Handle sequence exprs when folding if to expr statement (#27939) (Armano)
  • e3eca41 runtime: Align async iterator throw with Babel (#28059) (camc314)
  • af0258d parser: Parse source imports named type (#28062) (camc314)
  • 83633a7 parser: Parse escaped class field names after initializers (#28061) (camc314)
  • 90c58ac parser: Parse postfix updates of sloppy let identifiers (#28060) (camc314)
  • 0e2934f codegen: Preserve default import names in source maps (#28058) (camc314)
  • 09bdb80 minifier: Allow argument rewrite with with leading var assignments (#28056) (Armano)
  • ebcdcd9 minifier: Preserve rest destructuring side effects (#27981) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.90.0

🚀 Features

  • cf34678 oxlint: Export Oxlintrc type (#28132) (Sysix)
  • 831cdf1 oxlint: Require mininum oxlint-tsgolint version v7.0.2005 (#28118) (camc314)
  • d1b00f4 linter/typescript: Implement no-unsafe-enum-assignment rule (#28117) (camc314)
  • 165c91f linter/typescript/await-thenable: Support allowMixedPromiseArrays option (#28116) (camc314)

🐛 Bug Fixes

  • 7f3c908 linter/eslint/array-callback-return: Check callbacks passed with extra arguments (#28133) (sarankumar)
  • 53be530 linter: Filter by type aware rules when looking up tsgolint rule severity (#28138) (NavpreetSSidhu)
  • e0f8937 react-compiler: Compile a try whose catch is unreachable instead of panicking (#28066) (Dunqing)
  • f5b625f linter/eslint/no-useless-concat: See through parenthesized expressions (#27984) (Rahul Kashyap)
  • 4629bb2 linter/jest/no-conditional-expect: Check function expression callbacks (#28055) (camc314)
  • 5c84098 semantic,linter: Report names with lone surrogates in enum and lint checks (#27991) (Dunqing)
  • f3705a9 linter/eslint/prefer-const: Skip fixers if any declarator is reassigned (#28008) (Prince Jain)
  • 4c0fa90 minifier,linter: Keep delete of constant members and later JSX keys (#27990) (Dunqing)
  • 0298062 linter/arrow-body-style: Keep type assertions when adding a block body (#27978) (Yan Almeida)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.75.0

🐛 Bug Fixes

  • 5042019 formatter: Keep fill layout for array with comment after [ (#28170) (leaysgur)
  • 9d37ff6 formatter: Use position-based comment checks for concise arrays (#28169) (leaysgur)
  • 016c4a2 formatter: Keep a comment before } inside a JSX spread child (#28103) (vidigoat)
  • 190bb1e formatter: Keep parens around an instantiation expression ending an operand through any tight parent (#28168) (leaysgur)
  • a5314a1 formatter: Keep ; before in and instanceof class members (#28166) (leaysgur)
  • 3a56e7c formatter: Keep closing HTML comments at the start of a line (#28064) (Cameron)
  • 23d23d6 formatter_markdown: Honor range ignore inside directives (#28164) (leaysgur)
  • 5f1fd3d formatter: Measure width heuristics by display width (#28098) (leaysgur)
  • a5a52cf formatter: Keep parens around private in expressions (#28096) (leaysgur)
  • 999496e formatter: Measure a short key by its display width (#28026) (vidigoat)
  • 7e9aa44 formatter: Keep parens around a looser operand of an instantiation expression (#28025) (vidigoat)
  • 6912d1f formatter: Keep an arrow signature that exactly fills the line for any body (#27989) (leaysgur)
  • eb1d9f9 formatter_core: Count a flat line space in fits only when text follows (#27987) (leaysgur)

⚡ Performance

  • 1ed93af data_structures: Copy short strings without a memcpy call (#27953) (leaysgur)
  • 7948f0b formatter_core: Shrink FormatElement to 16B (#28012) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden