github oxc-project/oxc apps_v1.36.0
oxlint v1.36.0 & oxfmt v0.21.0

7 hours ago

Table of Contents

  • Oxlint v1.36.0
  • Oxfmt v0.21.0

Oxlint v1.36.0

🚀 Features

  • 5988dfa vscode: Show language server version inside sidebar status item tooltip (#17360) (Sysix)
  • 71ead34 linter/no-nonoctal-decimal-escape: Implement suggestion (#17319) (GRK)
  • d9aa426 vscode: Support diagnostic pull mode (#17211) (Sysix)
  • 220e8e8 oxlint/lsp: Support textDocument/diagnostic (#17209) (Sysix)
  • 267e255 linter/react: Implement react/no-did-mount-set-state (#17313) (Kenzo Wada)
  • c813582 linter/react: Implement react/jsx-max-depth (#17279) (Kenzo Wada)
  • 94a482b linter/node: Implement n/global-require (#17283) (Mikhail Baev)
  • 5cc7c90 linter/plugins: Pass env from Rust to JS (#17291) (overlookmotel)
  • ed79fca linter/eslint-plugin-vitest: Implement consistent-test-filename (#17284) (Said Atrahouch)
  • e031056 codegen: Add sourcemap feature flag (#17305) (Boshen)
  • b97101a linter: Implement aria/proptypes (#17253) (mehm8128)
  • a5ef127 linter: Auto-fixer for prefer-destructuring (#17235) (Hamir Mahal)

🐛 Bug Fixes

  • 786a505 lsp: Fmt.configPath empty string handling (#17425) (copilot-swe-agent)
  • 97aef58 language_server: Treat empty string config path as None in language server (#17415) (copilot-swe-agent)
  • fec2863 linter: Respect .gitignore regardless of if a git repo is initialized (#17375) (copilot-swe-agent)
  • b7e8bca lsp: Do not sent de-registrations for watched files on shutdown request (#17318) (Sysix)
  • c6690d1 rust: Remove unsupported tokio io-std feature for WASM compatibility (#17311) (Boshen)
  • 7eaa660 linter/plugins: Set up global scope correctly (#17293) (overlookmotel)
  • 79b83b0 linter/no-unused-vars: Handle non-null assertion in update expressions (#17281) (camc314)
  • b547335 linter/import-first: Correctly respect all relative path imports (#17268) (Mohit Karekar)

⚡ Performance

  • c27514c linter/only-used-in-recursion: Improve skip_to_next_char slicing (#17374) (camchenry)
  • eecee5d linter: Inline is_function_node into run functions (#17373) (camchenry)
  • d2abc78 linter: No-multi-str: skip searching strings when in jsx attribute (#17327) (camchenry)
  • 687ffd6 linter: Jest/no-confusing-set-timeout: do not lowercase import name (#17324) (camchenry)

📚 Documentation

  • e8444bf linter: Fix grammar and typos in consistent_test_filename rule (#17359) (camc314)

Oxfmt v0.21.0

🚀 Features

  • 4df8063 oxfmt: Respect .gitignore in sub directries (#17352) (leaysgur)
  • 7c3dae3 formatter: Support Vitest test functions (#17340) (leaysgur)
  • b00da37 formatter: Normalize line break for directive (#17303) (Dunqing)

🐛 Bug Fixes

  • 1bf0ffc formatter: Incorrect JSX text wrapping when the expression container is an arrow function that will break (#17445) (Dunqing)
  • 42ad9d6 formatter: JSXFragment missed a leading semicolon when semicolon is disabled (#17386) (Dunqing)
  • c8c5341 formatter: Complete is_complex_type_arguments() (take2) (#17362) (leaysgur)
  • 745bc5d formatter: Do not consider rest param as simple (#17354) (leaysgur)
  • e836f37 formatter: Fix Deno() to not detect as test functions (#17339) (leaysgur)
  • 09848b3 formatter: Handle more test functions (#17337) (leaysgur)
  • a55bfc1 formatter: Count emoji sequences correctly (#17331) (leaysgur)
  • c6690d1 rust: Remove unsupported tokio io-std feature for WASM compatibility (#17311) (Boshen)
  • 0a39cba oxfmt: Update wrong doc comment (#17288) (leaysgur)
  • 2d556cb formatter: Should treat TSMappedType as a complex type in assignment-like formatting (#17257) (Dunqing)
  • fa5cef3 formatter: Shouldn't treat TaggedTemplateExpression as a simple argument in the member chain (#17256) (Dunqing)
  • 6ad3951 formatter: Trailing comments of JSX in call arguments are moved out the of call (#17255) (Dunqing)

Don't miss a new oxc release

NewReleases is sending notifications on new releases.