Zum Inhalt springen

30 Einträge aus 1 Quelle. Zuletzt aktualisiert:

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

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.79.0 & oxfmt v0.64.0: react-compiler-Regel aufgeteilt

Oxlint v1.79.0 teilt die Regel react/react-compiler in Regeln pro Kategorie auf (Breaking Change), überspringt node_modules standardmäßig im React Compiler, ergänzt einen Vorschlag für no-empty-object-type und behebt mehrere Regelfehler; zudem erscheint oxfmt v0.64.0.

Table of Contents

  • Oxlint v1.79.0
  • Oxfmt v0.64.0

Oxlint v1.79.0

💥 BREAKING CHANGES

  • 8c4552d linter: [BREAKING] Split react/react-compiler into per-category rules (#25500) (Boshen)

See React Compiler Support for details.

🚀 Features

  • 9b7394e linter/typescript/no-empty-object-type: Implement suggestion (#25833) (Mikhail Baev)

🐛 Bug Fixes

  • 345f981 react_compiler: Skip node_modules by default (#25859) (Boshen)
  • 2f40afa linter/unicorn/no-array-callback-reference: Ignore effect library imports (#25857) (Michaël Bitard)
  • 7b565a0 linter: Align React Compiler rule categories (#25840) (Boshen)
  • 228e8e0 linter: Resolve inactive React compiler rules (#25830) (Boshen)
  • f8e4884 linter/eslint/no-useless-constructor: Allow parameter properties (#25811) (camc314)
  • e4b6993 linter: Report exhaustive effect dependencies (#25829) (Boshen)
  • 742e25f linter/eslint/no-return-assign: Anchor diagnostic on return stmt (#25803) (camc314)
  • b831ca8 react-compiler: Improve derived state diagnostic (#25804) (Boshen)
  • 5908c87 linter/jest/prefer-mock-return-shorthand: Preserve implementations using this (#25802) (camc314)
  • f6b2265 linter/eslint/no-redeclare: Run in ES modules, skipping only the globals check (#25691) (Hamody We)
  • ca9f553 linter/unicorn/prefer-default-parameters: Mark fixer as a suggestion (#25801) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.144.0: AST-Breaking-Changes und ClassHeritage

Die oxc crates v0.144.0 bringen mehrere AST-Breaking-Changes wie die Gruppierung in ClassHeritage, neue React-Transform-Optionen in napi, ArenaVec::push_mut sowie Korrekturen in Codegen, Minifier und Parser.

💥 BREAKING CHANGES

  • a33788e ast: [BREAKING] Group class heritage into ClassHeritage (#25360) (camc314)
  • 5c5cdcd ast: [BREAKING] Narrow TSInterfaceHeritage::expression to TSTypeName (#24360) (camc314)
  • 6be314f ast: [BREAKING] Remove duplicated VariableDeclarator::kind (#25319) (camc314)
  • 44fd320 ast: [BREAKING] Split TS external modules & Namespace Declarations (#25284) (camc314)

🚀 Features

  • 9a37c41 napi: Restructure React transform options (#25326) (Boshen)
  • b3c1b30 allocator: Add ArenaVec::push_mut (#25338) (overlookmotel)

🐛 Bug Fixes

  • bbd6ed3 codegen: Wrap string literal in parens after directives (#25435) (overlookmotel)
  • d07a293 codegen: Preserve cast parentheses in conditional tests (#25115) (camc314)
  • 8b7d441 codegen: Preserve satisfies parentheses before bitwise operators (#25113) (camc314)
  • e0fb2d7 minifier: Avoid unsafe return removal in labeled blocks (#25406) (Armano)
  • c49f4ce parser: Preserve terminal license comments (#25400) (camc314)
  • 9d19ab3 transform_react: Downgrade nonfatal compiler diagnostics (#25418) (Boshen)
  • 937825c react_compiler: Disable exhaustive memo validation by default (#25417) (Boshen)
  • 12937b3 parser: Reject comma expressions in class fields (#25385) (Cameron)
  • 7d8a9b5 react_compiler: Preserve hook spans for React Refresh (#25393) (Boshen)
  • 9e93ba6 parser: Reset auto-accessor initializer context (#25384) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.78.0 & oxfmt v0.63.0: Neue Regeln jsdoc/no-blank-blocks, one-var

Oxlint v1.78.0 ergänzt die Regeln jsdoc/no-blank-blocks und eslint/one-var, erweitert jsx-a11y/anchor-has-content um Optionen und behebt zahlreiche Regelfehler; zudem erscheint oxfmt v0.63.0.

Table of Contents

  • Oxlint v1.78.0
  • Oxfmt v0.63.0

Oxlint v1.78.0

🚀 Features

  • ccb8fe8 linter/jsdoc: Implement no-blank-blocks rule (#25207) (Mikhail Baev)
  • d4a897c linter/eslint: Implement one-var rule (#24470) (Cole Ellison)
  • 5ab9340 linter/jsx-a11y/anchor-has-content: Add options to match eslint (#24571) (Cole Ellison)

🐛 Bug Fixes

  • b746e00 linter/eslint/no-implicit-coercion: Preserve template coercion whitespace (#25470) (camc314)
  • a92c541 linter: Preserve source text for JS plugin ignore fixes (#25280) (Norcleeh)
  • 675c840 linter/eslint/prefer-promise-reject-errors: Handle parenthesized calls (#25378) (camc314)
  • 1703739 linter/unicorn/new-for-builtins: Ignore optional chains (#25411) (tanakalucky)
  • 95ece63 linter/unicorn/prefer-code-point: Downgrade the auto-fix to dangerous (#25412) (leemr)
  • c451a0e linter/vitest: Validate consistent-test-filename regex patterns (#25408) (Mikhail Baev)
  • 937825c react_compiler: Disable exhaustive memo validation by default (#25417) (Boshen)
  • f0f7dae linter/eslint/no-unused-vars: Report invalid regex options (#25380) (Cameron)
  • 44e73fd linter/unicorn/prefer-array-flat: Fix concat.apply suggestions (#25373) (Cameron)
  • 6846a9a linter/react/rules-of-hooks: Detect constructor callbacks (#25377) (camc314)
  • b247a9d linter/unicorn/new-for-builtins: Support Float16Array (#25382) (tanakalucky) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.143.0: React-Compiler-Binding und neue Minifier-Optimierungen

Die oxc crates v0.143.0 enthalten mehrere AST- und Allocator-Breaking-Changes, ein neues React-Compiler-Transform-Binding in napi sowie neue Minifier-Optimierungen wie das Falten von Ganzzahl-Potenzen, -Division und -Rest.

💥 BREAKING CHANGES

  • 4120da0 semantic: [BREAKING] Return borrowed JSDoc so the parse cache works (#25186) (Connor Shea)
  • f0a41c8 allocator: [BREAKING] Remove ArenaBox::dangling method (#25236) (overlookmotel)
  • 067da8c ast: [BREAKING] Store single parameter in TSIndexSignature::parameter (#25154) (camc314)
  • a0c7788 ast: [BREAKING] Change TSIndexSignatureName::name to Ident (#25150) (camc314)
  • 1bdedd1 ast: [BREAKING] Introduce ExportDeclaration, ExportFromDeclaration (#25095) (camc314)
  • c917f20 ast: [BREAKING] Introduce ArrowFunctionBody enum (#24987) (camc314)
  • 7e1199c ast: [BREAKING] Remove conversion to Box from AST builder methods (#25038) (overlookmotel)

🚀 Features

  • 3c8312e allocator: Make Box Send + Sync when the type it contains is (#25242) (overlookmotel)
  • cb5bc08 ast: Derive GetSpan for Comment (#25147) (leaysgur)
  • 8541e18 ast_tools: Generate minifier scope collector (#25088) (camc314)
  • 5acdae2 ecmascript: Skip transparent TS expressions (#25072) (camc314)
  • 85d0f4d napi: Add React Compiler transform binding (#24934) (Boshen)
  • 70d6ece minifier: Fold safe integer exponentiation (#25009) (Dunqing)
  • 73fc747 minifier: Enable termination statement optimization for do while (#24921) (Armano)
  • 5eadfdb minifier: Fold safe integer division and remainder (#24981) (Dunqing)

🐛 Bug Fixes …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.77.0 & oxfmt v0.62.0: AST-Breaking-Changes, bessere GitHub-Annotationen

Oxlint v1.77.0 bringt AST-Breaking-Changes, erweitert bad-char-at-comparison, zeigt in GitHub-Annotationen Datei, Zeile und Spalte an und behebt viele Linter-Fehler; zudem erscheint oxfmt v0.62.0.

Table of Contents

  • Oxlint v1.77.0
  • Oxfmt v0.62.0

Oxlint v1.77.0

💥 BREAKING CHANGES

  • 4120da0 semantic: [BREAKING] Return borrowed JSDoc so the parse cache works (#25186) (Connor Shea)
  • 067da8c ast: [BREAKING] Store single parameter in TSIndexSignature::parameter (#25154) (camc314)
  • 1bdedd1 ast: [BREAKING] Introduce ExportDeclaration, ExportFromDeclaration (#25095) (camc314)
  • c917f20 ast: [BREAKING] Introduce ArrowFunctionBody enum (#24987) (camc314)

🚀 Features

  • 0b9f83c linter/oxc/bad-char-at-comparison: Expand coverage (#25001) (Mikhail Baev)
  • 1fb3d70 oxlint: Show file:line:col in github format annotation messages (#25020) (Faris Tristan Fabian)

🐛 Bug Fixes

  • a64b65d linter/unicorn/new-for-builtins: Detect parenthesized member expression object (#25249) (tanakalucky)
  • 9d4592c linter: Reject duplicate JS plugin names (#25243) (camc314)
  • 3213e7a linter: Ignore unsigned shifts in prefer-math-trunc (#25240) (camc314)
  • 06579da linter/eslint/prefer-promise-reject-errors: Handle ambient error variables (#25238) (camc314)
  • 6a7cd90 linter/oxc/no-async-await: Bound token lookup (#25222) (camc314)
  • d8e390a linter/oxc/bad-bitwise-operator: Bound token lookups (#25220) (camc314)
  • 351a777 linter/import/no-duplicates: Bound token lookup (#25219) (camc314)
  • 4f70fb6 linter/import/consistent-type-specifier-style: Bound token lookup (#25218) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.142.0: AstBuild-Schranke verschärft, Visitor VisitJsMut

Die oxc crates v0.142.0 verschärfen die Schranke des AstBuild-Traits (Breaking Change), bringen viele neue Minifier-Optimierungen, den Visitor VisitJsMut und neue Parser-Fehlermeldungen sowie Minifier-Fehlerbehebungen.

💥 BREAKING CHANGES

  • 1ac5ac7 ast: [BREAKING] Tighten bound on AstBuild trait (#24925) (overlookmotel)

🚀 Features

  • c7c5696 minifier: Fold parenthesized boolean ternary tests (#24968) (Dunqing)
  • 82c5806 minifier: Fold sequence branches in boolean ternaries (#24943) (Dunqing)
  • cc623d9 ast_visit: Add VisitJsMut visitor (#24828) (Boshen)
  • b31713a minifier: Add new IsTerminated trait and use it in exit-point optimization (#24950) (Armano)
  • e9e0f24 minifier: Shorten integer zero comparisons (#24933) (Dunqing)
  • 34f5559 minifier: Convert switch with one case to if statement (#24611) (Armano)
  • 9107e74 str: Add static_str! macro (#24887) (overlookmotel)
  • 4d6f623 parser: Emit error for type args in JS files (#24896) (camc314)
  • ec08afc ast: Re-export Ident from oxc_ast crate (#24861) (overlookmotel)
  • 73cfdfa oxc: Re-export oxc_str types from oxc crate (#24860) (overlookmotel)
  • 11f5d1f ast_visit: Add Utf8ToUtf16::convert_program_and_comments (#24859) (overlookmotel)

🐛 Bug Fixes

  • cb5acfb minifier: Optimize termination statements in labeled statements (#24813) (Armano)
  • 4618300 minifier: Avoid longer numeric constant folds (#24875) (Dunqing)
  • f7971f1 minifier: Keep side effects in typeof comparisons (#24940) (sapphi-red)
  • 4597d6f minifier: Keep side effects when compressing == true to == 1 (#24939) (sapphi-red)
  • c3a48df minifier: Keep side effects values in template literals (#24938) (sapphi-red) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.76.0 & oxfmt v0.61.0: Neue Regeln und Schema-Prüfungen

Oxlint v1.76.0 ergänzt neue Regeln wie bad-match-all-arg, exports-style und id-denylist sowie Konfigurationsschema-Prüfungen und behebt zahlreiche Fehler; zudem erscheint oxfmt v0.61.0.

Table of Contents

  • Oxlint v1.76.0
  • Oxfmt v0.61.0

Oxlint v1.76.0

🚀 Features

  • 8d31dfa linter: Verify eslint/no-restricted-globals config schema (#24598) (vigneshwar)
  • 7069621 linter: Verify jest/vitest prefer-lowercase-title config schema (#24724) (Bartok)
  • 016cf2a linter/oxc: Add bad-match-all-arg rule (#24900) (camc314)
  • cdc941e linter/n: Implement exports-style rule (#24087) (Mikhail Baev)
  • 1ad6f6c linter/eslint: Implement id-denylist rule (#24632) (Mikhail Baev)
  • 678bbb5 linter/typescript-eslint: Implement suggestion for class-literal-property-style rule (#24766) (Mikhail Baev)

🐛 Bug Fixes

  • a5f3a0e linter: Mark missing suggestions as pending (#24956) (Mikhail Baev)
  • a065946 oxlint: Absolutize explicit CLI paths even with --no-ignore (#24646) (Bez Sahara)
  • 17688bb linter/jsx-a11y/interactive-supports-focus: Match eslint behavior for custom components (#24780) (Cole Ellison)
  • 0aef19e linter/typescript/no-confusing-non-null-assertion: Report in and instanceof (#24825) (Mikhail Baev)
  • 361dce9 linter: Unicorn/no-array-reverse and no-array-sort replacements should be suggestions (#24848) (klem)
  • 9213560 config: Preserve defineConfig field JSDoc (#24326) (周星星同学)
  • 334d884 linter/node/no-top-level-await: Clarify diagnostic (#24803) (camc314)
  • b9fc6af linter/eslint/func-names: Ignore overloads (#24801) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxc crates v0.141.0: MetaProperty aufgeteilt in ImportMeta und NewTarget

Die oxc crates v0.141.0 spalten MetaProperty in ImportMeta und NewTarget auf und verschieben IdentBuildHasher nach oxc_str (Breaking Changes), außerdem gibt es neue Minifier-Optimierungen sowie Verbesserungen bei Parser, Semantic und Allocator.

💥 BREAKING CHANGES

  • 5293431 str: [BREAKING] Move IdentBuildHasher to oxc_str crate (#24717) (overlookmotel)
  • 54cc121 ast: [BREAKING] Split MetaProperty into ImportMeta and NewTarget (#24557) (camc314)

🚀 Features

  • 87823d0 minifier: Merge combined assign expression in conditional expression (#24707) (sapphi-red)
  • 03a54c9 minifier: Merge assign expression against member expression in conditional expression (#24706) (sapphi-red)
  • effd3c8 allocator: Add Vec::from_raw_parts_in (#24732) (overlookmotel)
  • ddacf61 semantic: Add context notes for strict assignments (#24728) (camc314)
  • 7e9b84a data_structures: Add implements! macro (#24721) (overlookmotel)
  • 39e141b data_structures: Add const_str_eq function (#24720) (overlookmotel)
  • cc3d17f semantic: Add context notes for reserved keyword diagnostic (#24715) (camc314)
  • 4c71560 parser: More friendly error for spread element in dynamic imports (#24705) (sapphi-red)
  • 7b045cd minfier: Drop last break from last switch case (#24673) (Armano)
  • 7d3c178 minifier: Remove unreachable recursive functions (#24125) (Dunqing)
  • 94f99b3 ast: Allow NONE to be passed to AST builder methods where Option<ArenaVec> is expected (#24629) (overlookmotel)
  • 77230c5 ast: Accept arrays for ArenaVec params of AST builder methods (#24621) (overlookmotel)
  • f08b152 allocator: Implement FromIn for array to Vec conversion (#24620) (overlookmotel) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

oxlint v1.75.0 & oxfmt v0.60.0: Type-Aware Linting jetzt stabil

Oxlint v1.75.0 hebt Type-Aware Linting auf stabil, ergänzt die Regeln no-top-level-await und function-component-definition, meldet Fehler bei ungültigen Glob-Mustern und verbessert die Leistung von prefer-event-target; zudem erscheint oxfmt v0.60.0.

Table of Contents

  • Oxlint v1.75.0
  • Oxfmt v0.60.0

Oxlint v1.75.0

🏆 Highlights

🚀 Features

  • dd18383 linter/node: Implement no-top-level-await rule (#24634) (Connor Shea)
  • 16a65f2 linter/react: Implement function-component-definition rule (#24471) (Cole Ellison)
  • 7f1f585 linter: Reuse jest/padding-around-test-blocks for vitest/padding-around-test-blocks (#24519) (Mikhail Baev)
  • 99978a8 linter/import/consistent-type-specifier-style: Support prefer-top-level-if-only-type-imports option (#24502) (camc314)

🐛 Bug Fixes

  • e81b2ff oxlint,oxfmt: Report error for invalid glob patterns (#24744) (leaysgur)
  • 0184ad6 linter/unicorn/no-useless-undefined: Preserve valid parameter defaults (#24686) (camc314)
  • 8694167 linter/eslint/prefer-destructuring: Handle typed declarations (#24616) (camc314)
  • 477cf0f linter/eslint/no-throw-literal: Handle assigned errors (#24561) (Cole Ellison)
  • ac9200a linter: Detect React components from returned JSX (#24521) (camc314)
  • c0a6522 linter/eslint/no-useless-computed-key: Allow TS syntax in computed keys (#24524) (Cole Ellison)

⚡ Performance

  • 346eed1 linter/unicorn/prefer-event-target: Only run on Class and NewExpression nodes (#24685) (Mikhail Baev) …

Originalquelle(öffnet in neuem Tab)Problem melden

Angaben zum Datum

Datum aus der Quelle.

Erstmals gesehen am .

Oxc

Oxc crates Version 0.140.0 mit neuen Minifier-Optimierungen

Die oxc crates v0.140.0 bringen neue Minifier-Optimierungen wie das Entfernen unerreichbaren Codes, enableEmitHookGuards-Codegen im React Compiler und neue Semantic-Funktionen sowie mehrere Fehlerbehebungen.

🚀 Features

  • 5b20828 minifier: Extract sequence expression from expressions (#22003) (Armano)
  • 616bfa2 minifier: Remove unreachable code after terminating statements (#24441) (Dunqing)
  • ddab89a data_structures: Add likely and unlikely functions (#24368) (overlookmotel)
  • a3a39f9 react_compiler: Implement enableEmitHookGuards codegen (#24329) (Boshen)
  • b79eef7 minifier: Apply De Morgan's law to negated comparison chains in jump guards and loop tests (#24279) (Dunqing)
  • 34ff7b4 minifier: Drop write-only property assignments to unused local bindings by default (#24112) (Dunqing)
  • 1b829d8 semantic: Record const enums in EnumData (#24268) (Dunqing)
  • ba0944c semantic: Add Scoping::set_symbol_span (#24221) (camc314)

🐛 Bug Fixes

  • edf781d minifier: Keep reads of never-assigned uninitialized bindings (#24452) (Dunqing)
  • 7d33363 minifier: Preserve guaranteed throws from class heritage evaluation (#24349) (Dunqing)
  • 058a62f semantic: Track ambient contexts in SemanticBuilder (#24327) (camc314)
  • 721eb0b transformer/decorator: Scope accessor class binding (#24330) (camc314)
  • 1ebdce3 semantic: Allow reserved keywords in ambient declaration types (#24325) (camc314)
  • 460176a track-memory-allocations: Exclude arena chunks from Sys allocs (#24292) (Dunqing)
  • af4922b transformer: Clear lowered namespace redeclarations (#24300) (camc314)
  • ffd2765 semantic: Mark declared computed MethodDefinitions as type references (#24296) (camc314) …

Originalquelle(öffnet in neuem Tab)Problem melden