Repository navigation
Releases
Releases Β· oxc-project/tsgolint
v7.0.2006
Immutable
release. Only release title and notes can be modified.
What's Changed
- chore(deps): update npm packages by @renovate[bot] in #1324
- chore(deps): require Go 1.26.10 by @camc314 in #1332
Full Changelog: v7.0.2005...v7.0.2006
v7.0.2005
Immutable
release. Only release title and notes can be modified.
What's Changed
- chore(deps): update github actions by @renovate[bot] in #1273
- chore(deps): update gomod by @renovate[bot] in #1274
- chore(deps): update npm packages by @renovate[bot] in #1275
- chore(deps): update oxc-project/security-action action to v1.0.9 by @renovate[bot] in #1276
- fix(unbound-method): respect
this: voidon class properties by @baevm in #1277 - docs(security): inherit organization security policy by @Boshen in #1295
- chore(deps): update npm packages by @renovate[bot] in #1301
- fix(no-deprecated): avoid infinite loop on circular alias chains by @magurotuna in #1309
- feat(await-thenable): add allowMixedPromiseArrays option by @camc314 in #1307
- chore: remove
update-typescript-go.ymlby @camc314 in #1311 - ci: pin just version in setup and autofix by @camc314 in #1312
- fix(no-unnecessary-type-parameters): count generic type arguments by @farnoodma in #1297
- feat(no-unsafe-enum-assignment): add rule by @camc314 in #1316
- fix(require-array-sort-compare): report tuples by @baevm in #1317
New Contributors
- @magurotuna made their first contribution in #1309
- @farnoodma made their first contribution in #1297
Full Changelog: v7.0.2004...v7.0.2005
v7.0.2004
Immutable
release. Only release title and notes can be modified.
What's Changed
- chore(deps): update taiki-e/install-action action to v2.87.20 by @renovate[bot] in #1246
- chore(deps): update dependency dprint-json to v0.25.0 by @renovate[bot] in #1247
- fix(no-unsafe-return): preserve deferred indexed return type by @camc314 in #1248
- chore(deps): update crate-ci/typos action to v1.50.3 by @renovate[bot] in #1250
- fix(no-misused-promises): don't report comma expressions as conditionals by @geniusmonir in #1254
- chore(deps): update gomod by @renovate[bot] in #1257
- chore(deps): update dprint plugins by @renovate[bot] in #1256
- chore(deps): update taiki-e/install-action action to v2.87.22 by @renovate[bot] in #1258
- chore(deps): update npm packages by @renovate[bot] in #1259
- fix(no-floating-promises): respect safe-call declaration sources by @camc314 in #1261
- fix(no-unsafe-return): avoid panic on JSDoc callbacks without returns by @camc314 in #1264
- fix(no-deprecated): include reasons for variable declarations by @camc314 in #1266
- fix(no-unnecessary-type-parameters): parenthesize constraint in optional tuple elements by @baevm in #1267
- chore(deps): update crate-ci/typos action to v1.51.0 by @renovate[bot] in #1268
- chore(deps): update crate-ci/typos action to v1.51.1 by @renovate[bot] in #1269
- fix: restore line disable comments for type-aware diagnostics by @camc314 in #1271
New Contributors
- @geniusmonir made their first contribution in #1254
Full Changelog: v7.0.2003...v7.0.2004
v7.0.2003
Immutable
release. Only release title and notes can be modified.
What's Changed
- docs: update agent development instructions by @camc314 in #1210
- docs: refresh README benchmarks and wording by @camc314 in #1208
- chore(deps): update crate-ci/typos action to v1.50.2 by @renovate[bot] in #1213
- chore(deps): update taiki-e/install-action action to v2.87.14 by @renovate[bot] in #1216
- chore(deps): update dependency dprint-json to v0.24.0 by @renovate[bot] in #1217
- feat(no-unnecessary-condition): implement suggestion by @baevm in #1218
- fix(require-array-sort-compare): resolve string element constraints by @camc314 in #1219
- fix(no-duplicate-type-constituents): allow undefined on optional parameter properties by @camc314 in #1222
- test(no-unnecessary-type-assertion): cover Record alias assertions by @camc314 in #1226
- fix(no-misused-spread): omit invalid WeakMap suggestions by @camc314 in #1227
- fix(no-meaningless-void-operator): allow void on assignments by @camc314 in #1228
- feat: add no-generated-empty-object-type rule by @camc314 in #1229
- fix(no-useless-default-assignment): use suggestions for undefined defaults by @camc314 in #1231
- fix(unbound-method): treat Intl.Collator compare as bound by @camc314 in #1224
- fix(no-unnecessary-type-parameters): preserve suggestion type precedence by @camc314 in #1232
- fix(no-unnecessary-condition): handle union keys in nullish assignment by @camc314 in #1230
- fix: preserve expression syntax when removing await by @camc314 in #1233
- fix: match package specifiers on whole path components by @camc314 in #1225
- fix(no-useless-default-assignment): handle tuples with rest elements by @camc314 in #1223
- fix(no-deprecated): detect deprecated aliases in object shorthand by @camc314 in #1235
- fix(no-unnecessary-condition): check nested logical expressions in truthiness contexts by @camc314 in #1236
- perf: avoid singleton union type allocations in hot rules by @camc314 in #1237
- perf: speed up headless file-to-program assignment by @camc314 in #1239
- perf(no-unnecessary-type-assertion): reject incompatible types first by @tony-scio in #1181
- refactor: extract checker workload scheduling by @camc314 in #1241
- perf: add experimental checker scheduling modes by @camc314 in #1240
New Contributors
- @baevm made their first contribution in #1218
- @tony-scio made their first contribution in #1181
Full Changelog: v7.0.2002...v7.0.2003
v7.0.2002
Immutable
release. Only release title and notes can be modified.
What's Changed
- feat(no-misused-promises): improve diagnostics by @camc314 in #1101
- docs: update benchmarks by @camc314 in #1102
- docs: declare tsgolint stable by @Boshen in #1106
- ci(semgrep): add scan workflow by @Boshen in #1107
- fix(no-unnecessary-template-expression): preserve expression precedence by @camc314 in #1108
- feat(no-unsafe-assignment): improve diagnostics by @camc314 in #1105
- feat(no-unsafe-return): improve diagnostics by @camc314 in #1110
- chore: disable typescript-go renovate updates by @Boshen in #1116
- chore(deps): update github actions by @renovate[bot] in #1117
- chore(deps): update actions/setup-go action to v7 by @renovate[bot] in #1118
- chore(deps): update dependency typescript to v7 by @renovate[bot] in #1119
- chore(deps): update pnpm to v11.17.0 by @renovate[bot] in #1123
- chore(deps): update github actions by @renovate[bot] in #1124
- fix(no-misused-promises): guard nil contextual type in return statements by @connorshea in #1121
- feat(no-unsafe-type-assertion): improve diagnostics by @camc314 in #1111
- fix(prefer-readonly-parameter-types): ignore private mapped properties by @camc314 in #1125
- chore(deps): update crate-ci/typos action to v1.49.0 by @renovate[bot] in #1130
- chore(deps): update github actions by @renovate[bot] in #1135
- chore(deps): update module github.com/dlclark/regexp2/v2 to v2.6.0 by @renovate[bot] in #1136
- ci: remove Semgrep workflow by @Boshen in #1138
- chore(deps): update taiki-e/install-action action to v2.85.13 by @renovate[bot] in #1139
- chore(deps): update gomod by @renovate[bot] in #1140
- fix(consistent-type-exports): split diagnostic help text by @camc314 in #1144
- fix(no-confusing-void-expression): split diagnostic help text by @camc314 in #1145
- fix(no-implied-eval): split diagnostic help text by @camc314 in #1146
- fix(no-unsafe-type-assertion): split diagnostic help text by @camc314 in #1147
- fix(no-useless-default-assignment): split diagnostic help text by @camc314 in #1148
- fix(prefer-readonly): split diagnostic help text by @camc314 in #1149
- fix(strict-boolean-expressions): split diagnostic help text by @camc314 in #1150
- chore(deps): update github.com/go-json-experiment/json digest to c27c302 by @renovate[bot] in #1151
- chore(deps): update dependency dprint-toml to v0.8.0 by @renovate[bot] in #1152
- chore(deps): update npm packages by @renovate[bot] in #1153
- chore(deps): update taiki-e/install-action action to v2.86.4 by @renovate[bot] in #1154
- chore(deps): update crate-ci/typos action to v1.49.1 by @renovate[bot] in #1157
- chore(deps): update dependency dprint-markdown to v0.23.2 by @renovate[bot] in #1158
- chore(deps): update taiki-e/install-action action to v2.87.0 by @renovate[bot] in #1159
- chore(deps): update crate-ci/typos action to v1.50.0 by @renovate[bot] in #1162
- chore(deps): update pnpm to v11.24.0 by @renovate[bot] in #1164
- fix(no-unnecessary-boolean-literal-compare): preserve nullable boolean narrowing by @sharmila-oai in #1160
- chore(deps): update crate-ci/typos action to v1.50.1 by @renovate[bot] in #1169
- chore(deps): update github actions by @renovate[bot] in #1171
- chore(deps): update module github.com/dlclark/regexp2/v2 to v2.7.2 by @renovate[bot] in #1172
- chore(deps): update dependency dprint-markdown to v0.23.3 by @renovate[bot] in #1170
- chore(deps): update npm packages by @renovate[bot] in #1173
- chore(deps): update dependency vitest to v5 by @renovate[bot] in #1174
- chore(deps): update dependency dprint-markdown to v0.24.0 by @renovate[bot] in #1178
- chore(deps): update taiki-e/install-action action to v2.87.10 by @renovate[bot] in #1177
- chore(deps): update gomod by @renovate[bot] in #1179
- fix(require-array-sort-compare): only report array types, not tuples by @im10furry in #1180
- fix(no-unnecessary-type-assertion): preserve necessary casts and align upstream reporting by @camc314 in #1183
- fix(no-unnecessary-type-parameters): make type reference branch terminal by @connorshea in #1184
- perf: share a single NodeFactory for comment scanning by @connorshea in #1132
- test(no-misused-promises): cover callable literals and spread callbacks by @connorshea in #1133
- fix(prefer-optional-chain): preserve narrowing of falsy union members by @camc314 in #1186
- docs: update architecture documentation by @camc314 in #1187
- docs: clarify end-to-end test setup and snapshots by @camc314 in #1188
- docs: clarify shim generation workflow by @camc314 in #1189
- fix(no-unnecessary-condition): handle unchecked record properties by @camc314 in #1109
- test(no-floating-promises): re-enable recursive type argument cases by @camc314 in #977
- fix: respect filesystem casing when resolving lint files by @camc314 in #1190
- perf(switch-exhaustiveness-check): reuse default comment regex by @camc314 in #1192
- perf(restrict-plus-operands): defer diagnostic formatting by @camc314 in #1191
- perf(no-misused-promises): defer heritage type lookups by @camc314 in #1193
- perf(prefer-includes): reject complex patterns before compiling by @camc314 in #1194
- perf(strict-void-return): skip signature lookups for argument-free calls by @camc314 in #1195
- perf(no-unsafe-enum-comparison): skip analysis for identical types by @camc314 in #1196
- perf(prefer-reduce-type-parameter): defer fix construction by @camc314 in #1197
- perf(unbound-method): check native names before resolving symbols by @camc314 in #1198
- perf(no-unnecessary-template-expression): defer single-interpolation fixes by @camc314 in #1199
- perf(no-base-to-string): avoid temporary certainty slices by @camc314 in #1200
- perf(await-thenable): skip aggregator checks for empty calls by @camc314 in #1201
- perf(restrict-template-expressions): avoid unnecessary base-type checks by @camc314 in #1204
- perf(no-deprecated): skip type queries for empty allow lists by @camc314 in #1202
- perf(no-unsafe-unary-minus): skip type queries for literals by @camc314 in #1203
- perf(strict-boolean-expressions): avoid temporary variant maps by @camc314 in #1205
- perf(use-unknown-in-catch-callback-variable): defer annotation fixes by @camc314 in #1206
- perf(prefer-regexp-exec): defer argument type resolution by @camc314 in #1207
New Contributors
- @sharmila-oai made their first contribution in #1160
- @im10furry made their first contribution in #1180
Full Changelog: v7.0.2001...v7.0.2002
v7.0.2001
Immutable
release. Only release title and notes can be modified.
Highlights
Announcing Type-Aware Linting Stable
What's Changed
Full Changelog: v7.0.2000...v7.0.2001
v7.0.2000
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
Immutable
release. Only release title and notes can be modified.
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
Immutable
release. Only release title and notes can be modified.
What's Changed
- ci: run windows e2e pnpm commands outside workspace by @camc314 in #969
- test(no-deprecated): add test for only
allowby @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
nilchecks instrict-boolean-expressionsby @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.OnceValuefor 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_TIMINGSenv 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
- @swandir made their first contribution in #983
- @AlCalzone made their first contribution in #1028
Full Changelog: v0.23.0...v0.24.0
v0.23.0
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
dprintto pnpmallowBuildsby @camc314 in #968
Full Changelog: v0.22.1...v0.23.0