Skip to content

Releases: oxc-project/tsgolint

v7.0.2001

Choose a tag to compare

@github-actions github-actions released this 21 Jul 14:33
Immutable release. Only release title and notes can be modified.
482dcf7

Highlights

Announcing Type-Aware Linting Stable

What's Changed

  • fix(release): preserve binary executable permissions by @camc314 in #1104

Full Changelog: v7.0.2000...v7.0.2001

v7.0.2000

Choose a tag to compare

@github-actions github-actions released this 21 Jul 13:40
Immutable release. Only release title and notes can be modified.

What's Changed

  • feat(no-unnecessary-condition): improve diagnostics by @camc314 in #1092
  • ci: use pnpm publish and drop global npm install by @Boshen in #1095
  • feat(no-floating-promises): improve diagnostics by @camc314 in #1093
  • fix(no-unnecessary-type-assertion): preserve type-changing assertions by @camc314 in #1097
  • chore(deps): update github actions by @renovate[bot] in #1098
  • chore(deps): update module github.com/dlclark/regexp2/v2 to v2.5.2 by @renovate[bot] in #1099
  • chore(deps): update npm packages by @renovate[bot] in #1100
  • fix(ci): disable pnpm git checks for generated release packages by @camc314 in #1103

Full Changelog: v0.25.0...v7.0.2000

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 16 Jul 20:53
Immutable release. Only release title and notes can be modified.
1abf9a5

What's Changed

  • chore(deps): update pnpm to v11.9.0 by @renovate[bot] in #1043
  • perf(no-unnecessary-type-parameters): reuse AST-walk visitor closure by @connorshea in #1034
  • perf(strict-void-return): reuse function-body walk visitor closure by @connorshea in #1033
  • chore: update typescript-go submodule by @camc314 in #1048
  • docs: normalize README sponsor section by @Boshen in #1050
  • chore: strip symbols from release binary by @Boshen in #1049
  • chore: add -trimpath to release build by @Boshen in #1051
  • chore(deps): update crate-ci/typos action to v1.48.0 by @renovate[bot] in #1052
  • chore(deps): update github actions by @renovate[bot] in #1056
  • chore(deps): update npm packages by @renovate[bot] in #1057
  • fix(no-deprecated): avoid contextual union property false positives by @camc314 in #1059
  • fix(prefer-optional-chain): preserve negated optional guard by @camc314 in #1061
  • perf(linter): gate reportNodeWithSuggestions on FixSuggestions by @connorshea in #1067
  • fix(switch-exhaustiveness-check): honor default case comment patterns by @camc314 in #1070
  • perf(strict-void-return): skip type queries for never-callable expressions by @connorshea in #1068
  • perf(no-unsafe-argument): skip type queries for never-unsafe arguments by @connorshea in #1066
  • Revert "perf(strict-void-return): skip type queries for never-callable expressions" by @camc314 in #1071
  • chore: update typescript-go submodule by @camc314 in #1072
  • chore(deps): update dependency dprint-json to v0.23.0 by @renovate[bot] in #1080
  • chore(deps): update taiki-e/install-action action to v2.83.0 by @renovate[bot] in #1082
  • chore(deps): update gomod by @renovate[bot] in #1081
  • perf(no-unnecessary-type-arguments): skip signature resolution when node has no type arguments by @connorshea in #1064
  • refactor: miscellaneous code cleanup by @connorshea in #1077
  • refactor: remove dead code from rules by @connorshea in #1079
  • refactor: drop dead isFunction guards built on a bitwise ast.Kind mask by @connorshea in #1078
  • chore: update Node.js to 26.5.0 by @camc314 in #1087
  • fix(no-unnecessary-type-assertion): avoid recursive unknown checks by @camc314 in #1086
  • fix(no-unnecessary-type-assertions): generic array false positive by @camc314 in #1045
  • fix(no-unnecessary-type-assertion): preserve generic write casts by @camc314 in #1089
  • docs: update sponsor section by @Boshen in #1090

Full Changelog: v0.24.0...v0.25.0

v0.24.0

Choose a tag to compare

@github-actions github-actions released this 30 Jun 12:14
Immutable release. Only release title and notes can be modified.
5a37e89

What's Changed

  • ci: run windows e2e pnpm commands outside workspace by @camc314 in #969
  • test(no-deprecated): add test for only allow by @camc314 in #970
  • fix(no-deprecated): report contextual object literal properties by @camc314 in #944
  • Update README with PRs note on new rules by @camchenry in #972
  • fix(strict-boolean-expressions): guard invalid predicate indexes by @camchenry in #971
  • fix(no-deprecated): fix crash when getting prop name for non-literal by @camchenry in #973
  • test(no-deprecated): add non-literal computed key regression by @camc314 in #974
  • test(no-floating-promises): sync tests with typescript-eslint by @camc314 in #975
  • fix(no-floating-promises): handle spread arguments before rejection handlers by @camc314 in #976
  • chore(deps): update crate-ci/typos action to v1.46.2 by @renovate[bot] in #979
  • refactor: remove unneeded nil checks in strict-boolean-expressions by @camchenry in #980
  • perf(no-unsafe-assignment): add fast-path for sender type by @camchenry in #981
  • feat: add per-rule debug timings by @camchenry in #960
  • chore: update typescript-go submodule by @camc314 in #982
  • chore(deps): update dprint plugins by @renovate[bot] in #984
  • chore(deps): update github actions by @renovate[bot] in #985
  • chore(deps): update gomod by @renovate[bot] in #986
  • chore(deps): update crate-ci/typos action to v1.46.3 by @renovate[bot] in #988
  • test(no-deprecated): cover call and jsx deprecated properties by @camc314 in #989
  • chore: update typescript-go submodule by @camc314 in #991
  • chore(deps): update github actions by @renovate[bot] in #993
  • chore(deps): update crate-ci/typos action to v1.47.0 by @renovate[bot] in #995
  • chore(deps): update module github.com/dlclark/regexp2/v2 to v2.1.1 by @renovate[bot] in #994
  • fix(prefer-optional-chain): suggest unsafe nullish rewrite by @camc314 in #996
  • chore(deps): update pnpm to v11.4.0 by @renovate[bot] in #997
  • refactor: cache suppress program diagnostics env by @camc314 in #999
  • refactor: use sync.OnceValue for logLevel by @camc314 in #1000
  • test(no-unnecessary-type-assertion): sync tests with typescript-eslint by @camc314 in #998
  • fix(no-unnecessary-type-assertion): enable skipped upstream cases by @camc314 in #1001
  • fix(justfile): use --ignore-workspace for e2e pnpm commands by @swandir in #983
  • test(no-unnecessary-type-arguments): sync tests with typescript-eslint by @camc314 in #1003
  • test(no-unnecessary-type-assertion): cover nullable literal assertion by @camc314 in #1002
  • fix(no-unnecessary-type-arguments): preserve constructor inference by @camc314 in #1004
  • refactor: remove OXLINT_TSGOLINT_TIMINGS env var by @camc314 in #1005
  • chore: update typescript-go submodule by @camc314 in #1007
  • fix(prefer-optional-chain): optional chain type assertion handling by @camc314 in #1009
  • chore(deps): update typos to v1.47.1 by @renovate[bot] in #1010
  • chore(deps): update typos to v1.47.2 by @renovate[bot] in #1012
  • chore(deps): update github actions by @renovate[bot] in #1013
  • chore(deps): update gomod by @renovate[bot] in #1014
  • chore(deps): update github actions to v2.81.5 by @renovate[bot] in #1015
  • chore: update typescript-go submodule by @camc314 in #1016
  • chore(deps): update github actions by @renovate[bot] in #1017
  • chore(deps): update gomod to v0.46.0 by @renovate[bot] in #1018
  • chore(deps): update gomod to v2.2.2 by @renovate[bot] in #1021
  • chore(deps): update github actions to v2.82.0 by @renovate[bot] in #1023
  • chore(deps): update dprint plugins to v0.22.0 by @renovate[bot] in #1022
  • chore(deps): update github actions to v7 by @renovate[bot] in #1024
  • chore: remove Copilot setup workflow by @Boshen in #1030
  • chore: update typescript-go submodule by @camc314 in #1029
  • chore(deps): update actions/cache action to v6 by @renovate[bot] in #1037
  • chore(deps): update github actions by @renovate[bot] in #1036
  • chore(deps): update gomod by @renovate[bot] in #1035
  • refactor(no-unnecessary-condition): remove dead containsUnguardedElementAccess by @connorshea in #1039
  • perf(prefer-optional-chain): lazily allocate chain-processor caches by @connorshea in #1041
  • perf(no-unnecessary-type-conversion): hoist constant builtin-name slices by @connorshea in #1040
  • perf(no-confusing-void-expression): check ancestor position before type query by @connorshea in #1038
  • perf(no-unnecessary-qualifier): skip symbol resolution outside namespaces. by @connorshea in #1032
  • perf(consistent-return): defer per-function type resolution by @connorshea in #1031
  • fix(dot-notation): determine the relevant accessor by @AlCalzone in #1028

New Contributors

Full Changelog: v0.23.0...v0.24.0

v0.23.0

Choose a tag to compare

@github-actions github-actions released this 18 May 08:17
Immutable release. Only release title and notes can be modified.

What's Changed

  • chore(deps): update crate-ci/typos action to v1.45.2 by @renovate[bot] in #915
  • feat: add skill for upgrading typescript-go by @camc314 in #918
  • chore(deps): update pnpm to v10.33.2 by @renovate[bot] in #921
  • chore: update typescript-go submodule by @camc314 in #922
  • fix: attach tsconfig path to diagnostics by @camc314 in #923
  • fix(prefer-nullish-coalescing): parenthesize mixed logical fixes by @camc314 in #924
  • tests(return-await): cover non-async arrow functions by @camc314 in #926
  • chore(deps): update github.com/go-json-experiment/json digest to b6187a3 by @renovate[bot] in #927
  • chore(deps): update github actions by @renovate[bot] in #928
  • chore(deps): update crate-ci/typos action to v1.46.0 by @renovate[bot] in #929
  • chore(deps): update module github.com/dlclark/regexp2 to v2 by @renovate[bot] in #930
  • chore: update typescript-go submodule by @camc314 in #931
  • chore(deps): update typescript-go digest to 48e2953 by @renovate[bot] in #933
  • chore(deps): update typescript-go digest to 5eb880f by @renovate[bot] in #936
  • fix(no-misused-promises): handle empty JSX attributes by @camc314 in #938
  • fix(no-unsafe-enum-comparison): flag string literal unions by @camc314 in #937
  • chore(deps): update typescript-go digest to e1f8f97 by @renovate[bot] in #939
  • chore(deps): update typescript-go digest to 092b34f by @renovate[bot] in #940
  • chore: configure typescript-go renovate schedule by @camc314 in #941
  • chore(deps): update github actions by @renovate[bot] in #945
  • chore(deps): update dependency dprint-typescript to v0.96.0 by @renovate[bot] in #947
  • chore(deps): update gomod by @renovate[bot] in #946
  • chore(deps): update crate-ci/typos action to v1.46.1 by @renovate[bot] in #948
  • fix(prefer-nullish-coalescing): emit suggestion over fix by @camc314 in #951
  • chore: update packageManager to pnpm 11.0.4 by @Boshen in #953
  • chore: update typescript-go submodule by @camc314 in #955
  • fix(no-nullable-type-assertion-style): use suggestion instead of fix by @camc314 in #956
  • docs: Update Go version requirement to 1.26 in CONTRIBUTING.md. by @connorshea in #957
  • fix: allow safe promise intersection members by @camc314 in #959
  • ci: switch security workflow to ubuntu-latest by @Boshen in #962
  • chore(deps): update dependency vitest to v4.1.6 by @renovate[bot] in #963
  • chore(deps): update module github.com/dlclark/regexp2/v2 to v2.0.3 by @renovate[bot] in #964
  • chore(deps): update dependency dprint-markdown to v0.22.0 by @renovate[bot] in #965
  • chore(deps): update github actions by @renovate[bot] in #966
  • perf(no-unnecessary-type-parameters): stop counting settled candidates by @camc314 in #967
  • chore: add dprint to pnpm allowBuilds by @camc314 in #968

Full Changelog: v0.22.1...v0.23.0

v0.22.1

Choose a tag to compare

@github-actions github-actions released this 27 Apr 15:00
Immutable release. Only release title and notes can be modified.

What's Changed

  • fix: clarify AGENTS.md submodule guidance by @camc314 in #909
  • feat(no-unsafe-enum-comparison): implement suggestion by @camc314 in #910
  • feat(no-unnecessary-template-expression): implement fix by @camc314 in #911
  • chore(deps): update dependency vitest to v4.1.5 by @renovate[bot] in #912
  • chore(deps): update github-actions by @renovate[bot] in #913
  • fix(prefer-optional-chain): avoid access comparison false positive by @camc314 in #914

Full Changelog: v0.22.0...v0.22.1

v0.22.0

Choose a tag to compare

@github-actions github-actions released this 25 Apr 09:41
Immutable release. Only release title and notes can be modified.

What's Changed

  • chore: convert renovate config to json by @Boshen in #893
  • chore: update typescript-go submodule by @camc314 in #895
  • ci: replace OXC_BOT_PAT with GitHub App tokens by @Boshen in #894
  • ci: add security analysis workflow by @Boshen in #898
  • chore(deps): update github-actions by @renovate[bot] in #899
  • chore(deps): update module github.com/dlclark/regexp2 to v1.12.0 by @renovate[bot] in #900
  • chore(deps): update dependency typescript to v6.0.3 by @renovate[bot] in #901
  • ci: make security analysis required-check friendly by @Boshen in #902
  • feat(require-await): implement suggestions by @younggglcy in #896
  • fix: add warning for unsupported tsgolint CLI entrypoint by @camc314 in #903
  • fix: resolve ancestor tsconfig for excluded nearest config by @camc314 in #904
  • chore: update typescript-go submodule by @camc314 in #905
  • fix: handle UTF-16 diagnostics by @camc314 in #906
  • fix(no-useless-default-assignment): make default assignment removal a suggestion by @camc314 in #907
  • fix(no-unnecessary-type-arguments): preserve shadowed type arguments by @camc314 in #908

Full Changelog: v0.21.1...v0.22.0

v0.21.1

Choose a tag to compare

@github-actions github-actions released this 16 Apr 12:37

What's Changed

  • fix(no-unnecessary-condition): handle null overlap in narrowed generic intersections by @camc314 in #891
  • revert(no-unnecessary-type-arguments): drop inference reporting by @camc314 in #892

Full Changelog: v0.21.0...v0.21.1

v0.21.0

Choose a tag to compare

@github-actions github-actions released this 14 Apr 10:45

What's Changed

  • chore: migrate gen-json-schemas to TS by @camc314 in #874
  • chore: update typescript-go submodule by @camc314 in #879
  • chore(deps): update github-actions by @renovate[bot] in #883
  • chore(deps): update gomod by @renovate[bot] in #884
  • chore(deps): update npm packages by @renovate[bot] in #885
  • feat: improve consistent-type-exports diagnostics quality by @camchenry in #880
  • chore(deps): update softprops/action-gh-release action to v3 by @renovate[bot] in #886
  • feat: enrich the no-array-delete diagnostic by @camchenry in #881
  • feat: enrich no-duplicate-type-constituents diagnostic by @camchenry in #882
  • fix(no-meaningless-void-operator): align with typescript-eslint union handling by @camc314 in #887
  • chore(deps): update crate-ci/typos action to v1.45.1 by @renovate[bot] in #888
  • fix(no-deprecated): avoid false positive on array destructuring bindings by @camc314 in #890

Full Changelog: v0.20.0...v0.21.0

v0.20.0

Choose a tag to compare

@github-actions github-actions released this 06 Apr 12:18

What's Changed

  • chore(deps): update crate-ci/typos action to v1.45.0 by @renovate[bot] in #863
  • fix(no-unnecessary-type-arguments): handle Partial aliases in default-type checks by @camc314 in #862
  • feat: enrich await-thenable diagnostics by @camc314 in #865
  • feat: enrich no-unsafe-enum-comparison diagnostics by @camc314 in #867
  • chore(deps): update github-actions by @renovate[bot] in #870
  • chore(deps): update extractions/setup-crate action to v2 by @renovate[bot] in #871
  • chore(deps): update dependency dprint to v0.53.2 by @renovate[bot] in #869
  • fix(prefer-optional-chain): ignore non-access OR comparison by @camc314 in #872
  • chore: update typescript-go submodule by @camc314 in #873

Full Changelog: v0.19.0...v0.20.0