Zum Inhalt springen
Einträge
56
Quellen
1
Zuletzt aktualisiert

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

Oxc

oxc crates_v0.155.0

💥 BREAKING CHANGES

  • c7d229b transformer: [BREAKING] Decode JSX entities to lone surrogates (#26712) (Dunqing)
  • e3c1b11 ast: [BREAKING] Preserve lone surrogates in static property names (#27095) (Dunqing)
  • a0a987c ast: [BREAKING] Preserve lone surrogates in static member names (#26677) (Dunqing)

🚀 Features

  • 7bb2697 minifier: Minimize array join expression (#27905) (Armano)
  • 5d91db8 ast: Generate node ID setters for enums (#27500) (camc314)
  • 6b5057b minifier: Add de morgan optimization for void expressions (#27375) (Armano)

🐛 Bug Fixes

  • ce6a088 minifier: Fold string indices by UTF-16 code unit (#27096) (Dunqing)
  • 7c47246 linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing)
  • 782ab6e linter: Search string values without UTF-8 conversion (#26716) (Dunqing)
  • a5d8184 jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur)
  • bd37e78 ecmascript: Look through sequence expressions in to_primitive (#27837) (baltasarblanco)
  • d92789d minifier: Drop debugger statements in unbraced bodies (#27867) (camc314)
  • 863b359 ecmascript: Correct parseFloat decimal prefix scanning (#27695) (camc314)
  • a2534c6 minifier: Preserve lexical initializers in dead for loops (#27676) (camc314)
  • 3543672 ecmascript: Do not fold Number.isInteger / isSafeInteger of tiny non-integers to true (#27622) (Baltasar Blanco) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.89.0

💥 BREAKING CHANGES

  • e3c1b11 ast: [BREAKING] Preserve lone surrogates in static property names (#27095) (Dunqing)
  • a0a987c ast: [BREAKING] Preserve lone surrogates in static member names (#26677) (Dunqing)

🚀 Features

  • 770ada4 linter: Mark vue 3 rules as recommended (#27717) (Cam McHenry)
  • ba38c1d linter: Mark react/react-hooks rules as recommended (#27701) (Cam McHenry)
  • d85a3ba linter: Mark promise rules as recommended (#27693) (Cam McHenry)
  • e71c88a linter: Mark node rule as recommended (#27692) (Cam McHenry)
  • 7213f61 linter: Mark nextjs rules as recommended (#27691) (Cam McHenry)
  • d7c6b26 linter: Mark jsx-a11y rules as recommended (#27690) (Cam McHenry)
  • 199dfdc linter: Mark jsdoc rules as recommended (#27689) (Cam McHenry)
  • 780bff3 linter: Mark jest/vitest rules as recommended (#27672) (Cam McHenry)
  • 6ae6859 linter: Mark import rules as recommended (#27671) (Cam McHenry)
  • b7a1df3 linter: Mark unicorn rules as recommended (#27670) (Cam McHenry)
  • c44a355 linter: Mark typescript rules as recommended from upstream (#27634) (Cam McHenry)
  • 6b49dba linter: Mark eslint rules as recommended from upstream (#27632) (Cam McHenry)

🐛 Bug Fixes

  • 7c47246 linter: Check module specifiers and string values that contain lone surrogates (#26717) (Dunqing)
  • 782ab6e linter: Search string values without UTF-8 conversion (#26716) (Dunqing)
  • 326904f linter/unicorn/no-useless-undefined: Allow undefined in React.useRef (#25027) (Chris Dokurno) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.74.0

🐛 Bug Fixes

  • e236de0 formatter_tests: Skip conformance spec calls with non-literal options (#27957) (leaysgur)
  • 782ab6e linter: Search string values without UTF-8 conversion (#26716) (Dunqing)
  • a5d8184 jsdoc: Parse code spans after quotes in descriptions (#27955) (leaysgur)
  • 2645d2c formatter_markdown: Treat link destinations and footnote references as opaque to code span fences (#27948) (leaysgur)
  • 4d8195c formatter_yaml: Keep a root plain scalar starting with a document marker verbatim (#27947) (leaysgur)
  • 529b057 formatter_core: Keep front matter verbatim when body starts with indented delimiter (#27946) (leaysgur)
  • c22a9b2 formatter: Treat static block with only empty statements as empty (#27945) (leaysgur)
  • d3ff3f6 formatter/jsdoc: Write descriptions as written to not close the comment (#27823) (leaysgur)
  • c4c1727 formatter/sort_imports: Keep comments after the last import (#27822) (leaysgur)
  • a64677e formatter: Print JSDoc embedded snippets with LF (#27821) (leaysgur)
  • 2c1cc20 formatter: Keep comment only Vue bindings as-is (#27820) (leaysgur)
  • 1bf236d formatter/sort_imports: Do not use comments as import source (#27819) (leaysgur)
  • 52ee29d formatter_yaml: Never start col-0 line with document marker or BOM (#27818) (leaysgur)
  • 81c75e7 formatter/css: Keep glued css-in-js statement placeholders glued (#27814) (leaysgur)
  • a1ef7f4 formatter: Keep typecast parens in same-operator binary and arrow chain (#27812) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

Oxc crates Version 0.154.0

Diese Version enthält mehrere bahnbrechende Änderungen an der Kommentarspeicherung und Knoten-ID-Zuweisung im Parser sowie zahlreiche Fehlerbehebungen und neue Funktionen im Minifier und Code-Generator.

💥 BREAKING CHANGES

  • 7730e14 ast: [BREAKING] Refactor comment attachment storage (#27512) (camc314)
  • c904b61 ast: [BREAKING] Add comment attachment storage (#27393) (camc314)
  • b5e8eff parser: [BREAKING] Assign node IDs during parsing (#27411) (camc314)

🚀 Features

  • 3d00bbd minifier: Add folding of delete expression (#27522) (Armano)

🐛 Bug Fixes

  • 760b60b codegen, packages/codegen: Remove extraneous space before RestElement in ArrayPattern (#27613) (overlookmotel)
  • 0353d37 packages/codegen: Support printing V8IntrinsicExpressions (#27597) (overlookmotel)
  • 1e4c6ee minifier: Preserve parameter writes through mapped arguments (#27494) (Dunqing)
  • f8e9a50 semantic: Stop arguments resolution at ordinary functions (#26929) (camc314)
  • 4b75662 transformer_plugins: Preserve optional chains through non-null assertions (#27526) (Dunqing)
  • 72bf06f crates/oxc_semantic: Decline to evaluate unary ops on strings in enum initializers (#27447) (Brooooooklyn)
  • c57d9c7 parser: Apply no-side-effects annotations after export (#27504) (camc314)
  • 02577b1 minifier: Preserve delete semantic when folding non-finite numbers (#27466) (Armano)
  • f14ead5 minifier: Eliminate unused IIFE calls with constant arguments (#27434) (Dunqing)
  • aec14bc transformer: Avoid synthetic private fields for static blocks (#27300) (Kuroda Kayn)
  • 558a890 semantic: Mark delete of optional members as MemberWriteTarget (#27430) (Bartok) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.88.0 (Version 1.88.0)

Diese Version bringt Breaking Changes bei der Speicherung von Kommentaren, neue Funktionen wie die Anzeige von Konfigurationsfehlern im LSP und die Option allowWithVariables, diverse Fehlerbehebungen und Leistungsverbesserungen.

💥 BREAKING CHANGES

  • 7730e14 ast: [BREAKING] Refactor comment attachment storage (#27512) (camc314)
  • c904b61 ast: [BREAKING] Add comment attachment storage (#27393) (camc314)

🚀 Features

  • bde9f69 oxlint/lsp: Show config errors to LSP client (#25486) (Sysix)
  • 3c361a7 linter/unicorn/prefer-query-selector: Add allowWithVariables option (#27346) (Mikhail Baev)

🐛 Bug Fixes

  • 82ecc43 linter/sort-keys: Compare natural order like ESLint (#27579) (Dunqing)
  • 598ac03 linter/unicorn/prefer-bigint-literals: Unwrap redundant constructor call; don't auto-fix for lost precision (#25690) (Jacob Bandes-Storch)
  • 2512213 linter: Prevent conflicting type import fixes (#27409) (camc314)
  • 2349a31 oxfmt: Follow symlinked configs in discovery (#27389) (leaysgur)
  • 6e573f9 oxlint,oxfmt: Set stderr blocking (#27363) (leaysgur)

⚡ Performance

  • 91b588c linter/oxc/bad-array-method-on-arguments: Check arguments references once (#26930) (camc314)
  • c5f47ed linter/plugins: Inline firstCommentAtOrAfter into call sites (#27539) (overlookmotel)
  • c5f9235 linter/plugins: Use shift over multiply for powers of 2 (#27536) (overlookmotel)
  • 8c57c5e linter: Share one source per file across type-aware diagnostics (#27462) (Max Schwenk)
  • 19c227d minifier: Use ident when checking specific id names (#27208) (Armano)

📚 Documentation

  • 98cc2b4 linter/plugins: Improve documentation for firstCommentAtOrAfter (#27538) (overlookmotel) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt v0.73.0 (Version 0.73.0)

Diese Version verbessert die Migration von Prettier-Konfigurationen, unterstützt Astro-Dateien, zeigt Konfigurationsfehler im LSP an und behebt mehrere Formatierungsfehler, insbesondere bei CSS-in-JS-Platzhaltern.

💥 BREAKING CHANGES

  • 1ef2888 oxfmt: [BREAKING] Improve --migrate prettier (#27444) (leaysgur)
  • c2e6d5f formatter_toml: [BREAKING] Add oxc_formatter_toml crate wrapping oxc-toml (#27365) (leaysgur)

🚀 Features

  • ce4e8dc oxfmt: Support overrides[].parser -> associations[].language migration (#27475) (leaysgur)
  • a495e82 oxfmt: Support associations config to specify language over filepath (#27437) (leaysgur)
  • 77f8156 oxfmt/lsp: Show root config errors to LSP client (#26014) (Sysix)
  • c1adce3 oxfmt/lsp: Support astro language (#27388) (leaysgur)
  • 4f024a1 oxfmt: Support astro plugin in --migrate prettier (#27387) (leaysgur)
  • 5db28fa oxfmt: Support Astro via prettier-plugin-astro@1.x (#27386) (leaysgur)

🐛 Bug Fixes

  • 76ec31b formatter_css: Support css-in-js placeholders in property names and conditions (#27640) (leaysgur)
  • 99bb268 formatter_css: Keep css-in-js placeholder as media type (#27639) (leaysgur)
  • 372849e formatter: Fix crash on css-in-js comment containing interpolation (#27638) (leaysgur)
  • da692b8 formatter: Wrap export default class|function consistently (#27628) (leaysgur)
  • 21dee96 formatter: Keep parens around TSInstantiationExpression before ! and export (#27626) (leaysgur)
  • b6eb914 oxfmt: Normalize symlink targets in CLI snapshots (#27498) (camc314)
  • 5dae56f oxfmt/lsp: Return error on config resolving error (#26003) (Sysix) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint 1.87.0: neue Korrekturvorschläge und Fehlerbehebungen

oxlint v1.87.0 ergänzt Korrekturvorschläge für die Regeln react/no-unescaped-entities, unicorn/no-useless-switch-case und react/jsx-no-target-blank und behebt mehrere Fehler in jsx-a11y-, unicorn-, eslint- und Parser-Regeln.

🚀 Features

  • 42dcfd2 linter/react/no-unescaped-entities: Implement suggestion (#27292) (Mikhail Baev)
  • cd4510d linter/unicorn/no-useless-switch-case: Implement suggestion (#27245) (Mikhail Baev)
  • 1a7c902 linter/react/jsx-no-target-blank: Implement suggestion (#27181) (Mikhail Baev)

🐛 Bug Fixes

  • 176b4b9 linter/jsx-a11y/label-has-associated-control: Validate label attribute values (#27302) (sama Pyb)
  • 7d381c3 linter/jsx-a11y/mouse-events-have-key-events: Handle nullish event handlers (#27306) (sama Pyb)
  • 4e09837 linter/jsx-a11y/lang: Validate lang expression strings (#27304) (sama Pyb)
  • 7d28a66 linter/unicorn/numeric-separators-style: Report misgrouped BigInt literals (#27207) (breken)
  • e928322 linter/unicorn/no-zero-fractions: Parenthesize separator and large integers in fixer (#27206) (breken)
  • 3d61a59 parser: Validate TypeScript type member separators (#27222) (camc314)
  • f08236b linter/eslint/prefer-exponentiation-operator: Preserve autofix precedence (#27150) (camc314)
  • 7d60ae3 linter/valid-title: Continue checks after allowed words (#27146) (Cameron)
  • ad5dd5d linter/eslint/no-unused-vars: Respect disabled argument checks for used ignore patterns (#26925) (camc314)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt 0.72.0: Markdown-Formatierung mit oxc_formatter_markdown

oxfmt v0.72.0 formatiert Markdown-Dateien (parser:markdown) nun mit oxc_formatter_markdown (Breaking Change), verbessert die Verarbeitung von eingebettetem CSS und behebt zahlreiche Formatierungsfehler in Markdown, CSS und JSON.

💥 BREAKING CHANGES

  • e2c68b1 oxfmt: [BREAKING] Format parser:markdown files by oxc_formatter_markdown (#27256) (leaysgur)

🚀 Features

  • b538e3c formatter_css: Parse embedded CSS as a block's contents (#27284) (leaysgur)

🐛 Bug Fixes

  • 71e400b formatter_markdown: Fixed remaining issues found by fuzz (#27334) (leaysgur)
  • 7d0e54d formatter_markdown: Preserve line breaks around Chinese/Japanese characters in all proseWrap (#27331) (leaysgur)
  • e9ae2d8 formatter_css: Fix layouts found in mdn-content repo (css-in-md) (#27326) (leaysgur)
  • df85b4c oxfmt: Keep blank lines after a line break in Prettier Doc to IR (#27325) (leaysgur)
  • 7f65b75 formatter: Format assignment target property as assignment-like (#27289) (leaysgur)
  • 6c08f2a formatter_css: Apply the url() import exception to a lone comma group (#27288) (leaysgur)
  • 1967302 formatter_css: Hug a spaced ident ( only at the at-rule prelude head (#27283) (leaysgur)
  • 2445064 formatter_markdown: Keep a preserved line break before a delimiter row that opens no table (#27278) (leaysgur)
  • dd72fbf formatter_markdown: Keep container columns as spaces under useTabs (#27277) (leaysgur)
  • 1686018 oxfmt: Make one state conditionalGroup fit up to first hardline (#27275) (leaysgur)
  • fd4ddce formatter_json: Flatten block comment only array|object (#27274) (leaysgur)
  • 267557c formatter,oxfmt: Embed only original JSDoc plugin supported languages (#27241) (leaysgur) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates 0.153.0: neue Minifier-Optimierungen, Parser-Korrekturen

oxc crates v0.153.0 bringt neue Minifier-Optimierungen wie das Zusammenführen von Import- und Export-Anweisungen und behebt viele Parser-Fehler, vor allem bei TypeScript-Syntax.

🚀 Features

  • 61003c7 minifier: Fold undefined argument in non delegating yield (#27324) (Armano)
  • 07833c0 ast: Tie debug_name return lifetime to the underlying AST node (#27295) (sadan)
  • adb1139 minifier: Merge import statements against the same module (#25534) (翠)
  • cc82598 minifier: Merge import and export statements against the same module (#25533) (翠)
  • 1c352ce minifier: Minimize bitwise binary expressions (#27107) (Armano)
  • d1a0bcc minifier: Merge statements after terminating if block branches (#26667) (Armano)
  • 7a95376 minifier: Merge adjucent if stmt with the same content (#26445) (Armano)

🐛 Bug Fixes

  • 6a7d48b parser: Report abstract private field error on modifier (#27314) (camc314)
  • 2ff6fb5 parser: Include generator marker in overload diagnostic span (#27313) (camc314)
  • 4359a66 parser: Reject TypeScript class modifiers in JavaScript (#27312) (camc314)
  • 565d75d minifier: Correct indopedency when processing nested sequences (#27273) (Armano)
  • d0b9372 parser: Remove type-dependent tuple rest diagnostics (#27234) (camc314)
  • 3d61a59 parser: Validate TypeScript type member separators (#27222) (camc314)
  • b2793fa parser: Reject module syntax in script (#27220) (leaysgur)
  • 5914a24 parser: Report TS1243 for abstract async methods (#27192) (camc314)
  • c6c6e5e parser: Report TS1242 for interfaces with abstract modifier (#27191) (camc314)
  • dd0bbb9 parser: Avoid duplicate index signature modifier diagnostic (#27190) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint 1.86.0: neue Regel und Option allowCompoundComponents

oxlint v1.86.0 unterstützt die Option allowCompoundComponents in react/only-export-components, ergänzt die Regel typescript/no-generated-empty-object-type und behebt diverse Fehler in Linter-Regeln, React Compiler und Parser.

🚀 Features

  • 9d80eed linter/react/only-export-components: Support allowCompoundComponents (#27117) (Kuroda Kayn)
  • e05b155 linter: Add typescript/no-generated-empty-object-type (#26958) (camc314)

🐛 Bug Fixes

  • 8306aa4 linter/typescript/no-unnecessary-parameter-property-assignment: Account for parameter property reassignment (#26955) (camc314)
  • 42dfbb5 linter/eslint/one-var: Keep declare when splitting declarations (#27081) (Cheolhee Lee)
  • 2ba7e33 linter/eslint/require-await: Count await using as an await (#27080) (Cheolhee Lee)
  • 611e4ed linter/plugins: Include executing selectors in JS plugin rule timings (#27111) (overlookmotel)
  • 2cac66f react-compiler: Handle recursive function expressions (#26796) (Brennan Butler)
  • e996e6c react-compiler: Treat zero-argument new Date as impure (#26894) (Boshen)
  • 571cfa3 oxlint: Skip type-aware lint rules in type-check-only mode (#27076) (camc314)
  • d0b2462 oxlint: Skip undefined children in CFG walker (#27075) (camc314)
  • 5186328 parser: Handle HTML comment values (#22933) (Boshen)
  • 0b630e8 linter/typescript/unified-signatures: Align rule with upstream (#26956) (camc314)
  • ebb22f1 linter/node/no-exports-assign: Change category from style to suspicious (#26555) (Bartok)
  • cce28a0 linter/import/no-duplicates: Distinguish import attributes (#26936) (camc314)
  • feb733b linter/unicorn/prefer-spread: Stop checking string split calls (#26935) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt 0.71.0: Prettier 3.9.9 gebündelt und Formatierungskorrekturen

oxfmt v0.71.0 aktualisiert das gebündelte Prettier auf 3.9.9 und behebt zahlreiche Fehler bei der Formatierung von Kommentaren, JSDoc und Markdown sowie bei wiederholten CLI-Aufrufen im selben Prozess.

🚀 Features

  • e0b1f9f oxfmt: Bump bundled Prettier version to 3.9.9 (#27002) (leaysgur)
  • 342527d oxfmt: Bump bundled Prettier version to 3.9.8 (#26999) (leaysgur)

🐛 Bug Fixes

  • eeba1db formatter: Skip test-call layout when arguments have comments (#27119) (leaysgur)
  • 1f7b8ad oxfmt: Allow repeated CLI calls in the same process (#27051) (Liang)
  • 7bcb807 formatter_markdown: Keep blank line between HTML and nested list (#27112) (leaysgur)
  • 10b10c5 formatter: Keep comments around = on their side and line (#27041) (leaysgur)
  • 9aad365 formatter: Keep comments deferred before an assignment operator (#26997) (waltu)
  • 8fbddb1 formatter/jsdoc: More alignment with original plugin (#27039) (leaysgur)
  • 50be18e formatter: Keep trailing spaces on normal block comments (#27037) (leaysgur)
  • 56d1880 formatter: Nestle adjacent block comments (#27036) (leaysgur)
  • 3be5d94 formatter: Treat /*** comments as JSDoc (#27035) (leaysgur)
  • cd45f71 formatter: Keep trailing double spaces on JSDoc lines (#26861) (John Costa)
  • fd695f4 formatter_markdown: Fix more mismatches found in ecosystem-ci repos (#27003) (leaysgur)
  • 4e77d59 formatter_markdown: Keep a math span after a kept line break from opening a block (#27001) (leaysgur)
  • 584b8b0 formatter_markdown: Keep a shape line after a multi-line inline node or link title (#27000) (leaysgur)
  • b939645 formatter_markdown: Keep a line break before an inline liquid tag under preserve (#26998) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates 0.152.0: neue JSStr-Typen und schnellerer Minifier

oxc crates v0.152.0 fügt unter anderem die Typen JSStr, JSChar und JSStrBuilder, Unterstützung für Buffer-Boundary-Assertions in regulären Ausdrücken, die React-Compiler-Option reportDiagnostics und threadlose WASI-Builds hinzu und verbessert die Minifier-Leistung.

🚀 Features

  • 02331c8 str: Add JSStr, JSChar and JSStrBuilder types (#26435) (Dunqing)
  • 52ae63f regular_expression: Support buffer boundary assertions (#27048) (Boshen)
  • 3255b89 transform-react: Add reportDiagnostics option to expose recoverable React Compiler diagnostics (#26624) (Jack)
  • f585cb4 napi: Add threadless WASI builds (#26898) (Boshen)

🐛 Bug Fixes

  • c380c85 minifier: Preserve iife with directives (#27060) (Armano)
  • c55b35d str: Correct clippy reason (#27013) (overlookmotel)
  • 8fbddb1 formatter/jsdoc: More alignment with original plugin (#27039) (leaysgur)
  • 5186328 parser: Handle HTML comment values (#22933) (Boshen)
  • 01ff33e parser: Reject module export names containing a lone surrogate (#26953) (Dunqing)
  • d79ad19 codegen: Remove redundant dollar escapes in minified templates (#26924) (camc314)

⚡ Performance

  • 0afbf85 minifier: Fold logical expressions in place (#26768) (Armano)
  • 3471f29 minifier: Avoid creation of empty block when folding try finally (#26971) (Armano)
  • 3893d64 minifier: Update boolean context expressions in place (#26823) (Armano)
  • de8af47 minifier: Take return argument directly when converting arrow fn (#26830) (Armano)
  • fc37ba0 minifier: Reduce allocations when minimizing assignments (#26609) (Armano)
  • dce64f6 minifier: Use ident hashes for catch var and arguments (#26907) (Armano)
  • 57610b3 minifier: Use ident hashes in label comparison (#26887) (Armano)

📚 Documentation …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint 1.85.0: keine verschachtelten Konfigurationen im Vite+-Modus

oxlint v1.85.0 sucht im Vite+-Modus keine verschachtelten Konfigurationsdateien mehr.

🚀 Features

  • 415b742 oxlint,oxfmt: Do not discover nested config in Vite+ mode (#26763) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxfmt 0.70.0: keine verschachtelten Konfigurationen im Vite+-Modus

oxfmt v0.70.0 sucht im Vite+-Modus keine verschachtelten Konfigurationsdateien mehr.

🚀 Features

  • 415b742 oxlint,oxfmt: Do not discover nested config in Vite+ mode (#26763) (leaysgur)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates 0.151.0: Fehlerbehebungen und bessere Leistung

oxc crates v0.151.0 behebt Fehler in Minifier, Transformer und Parser und verbessert die Leistung von Minifier und Semantic-Analyse.

🚀 Features

  • 1fac655 coverage: Support new TypeScript fixture layout (#26226) (camc314)

🐛 Bug Fixes

  • cd7228f minifier: Add missing negation for boolean literal (#26847) (Armano)
  • 32305e2 transformer: Skip enum reverse mappings for syntactic string initializers (#26724) (Dunqing)
  • 7811f0a parser: Preserve reparsed await tokens (#26619) (camc314)
  • 9220158 transformer: Skip recovered using loop patterns (#26722) (camc314)
  • 3130405 parser: Recover await using object binding patterns (#26721) (camc314)
  • 827fdbd parser: Reject invalid modifiers on import aliases (#26622) (camc314)

⚡ Performance

  • 3f1e3aa minifier: Preallocate stmts vec size to avoid excesive reallocs (#26856) (Armano)
  • bd3f69e semantic: Reuse identifier hashes in enum member lookups (#26773) (camc314)
  • 5f72954 minifier: Reduce allocations when processing if statements (#26666) (Armano)

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.84.0 & oxfmt v0.69.0: vite.config-Varianten und Plugin-Laufzeiten

oxlint v1.84.0 und oxfmt v0.69.0 finden alle vite.config.*-Varianten, oxlint meldet Laufzeiten von JavaScript-Plugin-Regeln und bietet einen Vorschlag für unicorn/no-unreadable-iife, dazu kommen mehrere Fehlerbehebungen und eine Leistungsverbesserung.

Table of Contents

  • Oxlint v1.84.0
  • Oxfmt v0.69.0

Oxlint v1.84.0

🚀 Features

  • 809090c oxlint,oxfmt: Find all vite.config.* variants (#26755) (leaysgur)
  • a047b67 linter: Report JavaScript plugin rule timings (#26415) (Alexander Lichter)
  • 2300898 linter/unicorn/no-unreadable-iife: Implement suggestion (#26658) (Mikhail Baev)

🐛 Bug Fixes

  • 12cb547 linter/eslint/no-unused-vars: Report private namespace bindings (#26842) (camc314)
  • 927bfa4 oxlint/lsp: Align nested config handling with configPath semantics (#26762) (leaysgur)
  • e096dfd linter/esliny/no-unused-vars: Handle comments when removing imports (#26781) (camc314)
  • 9d48bae linter/esliny/no-unused-vars: Preserve rest bindings when removing array elements (#26778) (camc314)
  • 62a2bb2 linter/eslint/preserve-caught-error: Prevent conflicting fixes with prefer-optional-catch-binding (#26726) (camc314)
  • 0d565bc linter/unicorn/consistent-function-scoping: Detect ancestor-only function captures (#26625) (camc314)
  • 3c98cde linter/vitest/prefer-to-be-truthy: Suggest assertion rewrites (#26761) (camc314)
  • 7811f0a parser: Preserve reparsed await tokens (#26619) (camc314)
  • e15f103 linter/react: Add a few more missing properties to no-unknown-property (#26572) (Connor Shea)

⚡ Performance

  • c6a00e6 linter/eslint/no-restricted-exports: Skip inactive configurations (#26772) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates v0.150.0: Math-Globals, Codegen-Option ascii_only

oxc crates v0.150.0 definiert Math-Konstanten als bekannte Globals, fügt die Codegen-Option ascii_only hinzu, negiert im Minifier Vergleiche wie typeof x < 'u' und behebt viele Parser-Fehler.

🚀 Features

  • ca649e0 ecma: Define math constants as known globals and resolve their types (#26585) (Armano)
  • 9ef028c codegen: Add ascii_only option (#25994) (Samuel Attard)
  • 80a76a0 minifier: Negate binary comparison for typeof x < 'u' (#26367) (Armano)

🐛 Bug Fixes

  • 8ca76da parser: Reject accessor modifiers on methods (#26617) (camc314)
  • 1916f31 parser: Reject readonly modifier on constructors (#26612) (camc314)
  • 1c42008 parser: Handle escaped let in for loops (#26583) (camc314)
  • d21d5cf parser: Recognize annotated empty arrows in conditionals (#26537) (camc314)
  • d7713ad parser: Classify Unicode line breaks in block comments (#26536) (camc314)
  • 75cd919 transformer: Preserve receivers in private optional chains (#26535) (camc314)
  • b32d25d parser: Reject escaped import-phase keywords (#26534) (camc314)
  • 47b8311 parser: Recognize contextual binding names in type lookaheads (#26532) (camc314)
  • d6b6705 parser: Require arrow separator in TypeScript function types (#26529) (camc314)
  • e98beef parser: Disambiguate await using in for initializers (#26527) (camc314)
  • 92afee6 parser: Allow parenthesized JSX comma expressions with preserve_parens=false (#26524) (camc314)
  • 31508b1 parser: Reject return types on constructor overloads (#26523) (camc314)
  • a091fc4 parser: Validate await context for await using declarations (#26495) (camc314)
  • 5501e86 parser: Disallow in expressions in using for-loop initializers (#26490) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.83.0 & oxfmt v0.68.0: Anpassung an React 19.3

oxlint v1.83.0 passt React-Lint-Regeln an Änderungen in React 19.3 an und behebt zahlreiche Fehler in unicorn-, eslint- und typescript-Regeln.

Table of Contents

  • Oxlint v1.83.0
  • Oxfmt v0.68.0

Oxlint v1.83.0

🚀 Features

  • afe950d linter/react: Update lint rules to accomodate changes in React 19.3 (#26571) (Connor Shea)

🐛 Bug Fixes

  • fb87ed7 linter/unicorn/prefer-array-flat-map: Report .filter().flatMap() chains (#26626) (camc314)
  • 336b654 linter/unicorn/prefer-at: Report single-character substring calls (#26623) (camc314)
  • a5bba6d linter/eslint/no-unused-vars: Respect rest params after-used option (#26579) (Bartok)
  • c1470a2 linter/eslint/no-unused-vars: Preserve ambient implicit exports (#26582) (Dex Hunter)
  • 9a469d2 linter/unicorn/prefer-global-this: Preserve window event method references (#26611) (Dex Hunter)
  • aaff758 linter/unicorn/prefer-default-parameters: Report violation for ??= and ||= (#26607) (Bartok)
  • 2bed25a linter/unicorn/prefer-array-flat: Skip plain concat normalization (#26604) (im10furry)
  • 72bc7f2 oxlint: Replace backlashes path for "no js runtime" diagnostic (#26599) (Sysix)
  • 1aa5ec1 linter/typescript/prefer-for-of: Handle computed collections (#26584) (camc314)
  • 1e90019 linter/typescript: Mark no-unnecessary-type-parameters and prefer-find suggestions as implemented (#26586) (Mikhail Baev)
  • 4231536 linter: Compare label text in runtime optimization assertion (#26526) (camc314)
  • 36d5534 linter: Include file path in diagnostic assertion (#26525) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxc crates v0.149.0: panicked wird zu fatal_error (Breaking Change)

oxc crates v0.149.0 benennt im Parser panicked in ParserReturn zu fatal_error um und reduziert MAX_LEN (beides Breaking Changes), ergänzt Minifier- und Allocator-Funktionen und behebt Fehler in Codegen, Parser und Transformer.

💥 BREAKING CHANGES

  • 66744f0 parser: [BREAKING] Rename panicked to fatal_error in ParserReturn (#26382) (overlookmotel)
  • 2c9a947 parser: [BREAKING] Reduce MAX_LEN to 256 bytes below u32::MAX (#26352) (overlookmotel)

🚀 Features

  • 32bdc5b allocator: Construct ArenaHashSet with any Default hasher (#26372) (Dunqing)
  • a17de58 minifier: Process of return/throw in non last position and fix async * inlining (#26214) (Armano)
  • bfb4c57 parser: Distinguish unapplied no-side-effects comments (#26120) (碳苯 Carbon)
  • 1d9b9d3 ast: Add GetNodeId trait (#26145) (camc314)

🐛 Bug Fixes

  • b156333 codegen: Order accessibility before abstract on accessors (#26392) (camc314)
  • 116c8b8 transformer/class-properties: Keep private methods in class-expression scope (#26308) (Changsu Seong)
  • 1400a0f parser: Require a string source after export ... from (#26389) (camc314)
  • 2da73b7 codegen: Print matching quoted import names as identifiers (#26386) (camc314)
  • 0a81d29 codegen: Preserve private-in left operand precedence (#26383) (camc314)
  • 9a02337 parser: Correctly round large nondecimal literals (#26379) (camc314)
  • 3d95477 transformer: Gate async-only rewrites by owning transform (#26326) (Dunqing)
  • f45a9ee transformer: Limit arguments capture to lowered async functions (#26317) (Dunqing)
  • 789969f transformer: Gate this capture by owning async transform (#26227) (Dunqing)
  • affeb14 minifier: Mangle class private members in Node API (#26118) (碳苯 Carbon)…

Originalquelle(öffnet in neuem Tab)Problem melden

Oxc

oxlint v1.82.0 & oxfmt v0.67.0: fatal_error statt panicked im Parser

oxlint v1.82.0 und oxfmt v0.67.0 benennen im Parser panicked in ParserReturn zu fatal_error um (Breaking Change), unterstützen die Option checkConditionalExpressions in no-unmodified-loop-condition und beheben zahlreiche Linter-Fehler.

Table of Contents

  • Oxlint v1.82.0
  • Oxfmt v0.67.0

Oxlint v1.82.0

💥 BREAKING CHANGES

  • 66744f0 parser: [BREAKING] Rename panicked to fatal_error in ParserReturn (#26382) (overlookmotel)

🚀 Features

  • 6a0e19c linter/eslint/no-unmodified-loop-condition: Support checkConditionalExpressions option (#26249) (camc314)

🐛 Bug Fixes

  • aa38ddf linter/unicorn/numeric-separators-style: Correct schema defaults (#26393) (camc314)
  • 562dd14 jsx-a11y/anchor-has-content: Allow anchors passed as custom component props (#26360) (Mikhail Baev)
  • 253cdb2 linter/eslint/id-length: Exempt TS interface/type-literal members with never (#26310) (Pearce Ropion)
  • 8c7ea76 ast_visit: Account for trimmed source offsets (#26223) (Cameron)
  • 5f9cffc linter/typescript/no-explicit-any: Fix rest parameter to unknown[] (#26279) (camc314)
  • 4de9fa3 linter/react/jsx-no-literals: Check nested JSX expression literals (#26253) (camc314)
  • 07851b9 parser: Fix debug assert failure when lexer error with tokens enabled (#26229) (overlookmotel)
  • 9cee146 oxlint/lsp: Don't try to parse fix message, always fallback (#26204) (Sysix)
  • a662c40 linter/eslint/no-useless-assignment: Handle destructuring assignments (#25925) (camc314)
  • 304bd9a linter/eslint/no-array-constructor: Handle ASI hazards in fixer (#26166) (Hamody We)
  • b41bb35 linter: Qualify rules in rules output (#26250) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden