Releases: clj-kondo/clj-kondo
Releases · clj-kondo/clj-kondo
v2024.09.27
What's Changed
Full Changelog: v2024.09.26...v2024.09.27
v2024.09.26
What's Changed
- Update built-in cache by @borkdude in #2385
- Fix #2386: fix regression introduced in #2364 in letfn by @borkdude in #2387
- Fix #2389: expose hooks-api/callstack by @borkdude in #2390
- Fix #2392: don't skip jars that were analyzed with --skip-lint by @borkdude in #2393
- Fix #2395: enum constant call warnings by @borkdude in #2396
- Fix #2394 add option to enable require sorting with case sensitivity by @Deraen in #2399
- Fix #2400: deftype/record constructor can be used with Type/new by @borkdude in #2401
- Fix #2366: new linter:
:redundant-ignore
by @borkdude in #2402 - Fix #2384: recognize gen/fmap in cljs.spec.gen.alpha by @borkdude in #2403
Full Changelog: v2024.08.29...v2024.09.26
v2024.08.29
What's Changed
- Fix #2362: turn min-version warning into lint warning by @borkdude in #2363
- New linter: :destructured-or-binding-of-same-map by @borkdude in #2365
- Fix #2303, support array class notation of Clojure 1.12 by @borkdude in #2367
- Fix #1603: support Java classes in :analyze-call hook by @borkdude in #2368
- Fix #2369: false positive unused value in quoted list by @borkdude in #2370
- New linter: :schema-misplaced-return by @borkdude in #2377
- Metabase logo by @borkdude in #2381
- Fix #2364: performance: code that analyzed fn arity is ran twice by @borkdude in #2382
- Fix #2355: support self-require + :as-alias by @borkdude in #2383
Full Changelog: v2024.08.01...v2024.08.29
v2024.08.01
What's Changed
- Report locations for more reader errors by @yuhan0 in #2333
- Fix #2336: return type checking for do by @borkdude in #2337
- Fix #2336: doto type checking by @borkdude in #2338
- Fix #2335: read causes side effect, thus not an unused value by @borkdude in #2339
- Fix #2342: report unused maps, vectors, sets, regexes, functions as :unused-value by @borkdude in #2347
- Add SARIF test by @borkdude in #2349
- Fix #2345: SARIF output fix and some enhancements by @nxvipin in #2346
- Fix #2352: type mismatch error for
or
without arguments by @borkdude in #2353 - Fix #2344: copying configs and linting dependencies can now be done in one go with --dependencies --copy-configs by @borkdude in #2354
- Fix #2357: :discouraged-namespace can have :level per namespace by @borkdude in #2358
- Upgrade deps by @borkdude in #2360
- Fix #2359: fix deref type checking by @borkdude in #2361
New Contributors
Full Changelog: v2024.05.24...v2024.08.01
v2024.05.24
v2024.05.24
v2024.05.22
What's Changed
- Fix #2302: new linter
:equals-expected-position
by @borkdude in #2305 - Fix #2304: report unused value in defn body by @borkdude in #2306
- Fix typo, determistic -> deterministic by @dpassen in #2308
- Fix #1035: Support SARIF output by @borkdude in #2311
- Remove stray backtick by @danieroux in #2312
- Fix #2309: report unused for expression by @borkdude in #2313
- Fix #2135: regression with unused JS lib by @borkdude in #2317
- Fix #2227: allow :flds to be used in keys destructuring for ClojureDart by @borkdude in #2320
- Fix #2323: detect unused str calls by @borkdude in #2324
- False positive for #2323 by @borkdude in #2325
- Fix #2361: handle ignore hint on protocol method by @borkdude in #2326
- Fix #2322: add location to warning about invalid unicode character by @borkdude in #2327
- Split :redundant-str-call in own linter, #2323 by @borkdude in #2328
- Fix #2307: import configs to intermediate dir by @borkdude in #2329
- Document :filename-pattern by @SevereOverfl0w in #2330
- Fix #2391: support :discouraged-var on global js values by @borkdude in #2331
New Contributors
- @danieroux made their first contribution in #2312
Full Changelog: v2024.03.13...v2024.05.22
v2024.03.13
What's Changed
- Add :java-static-field-call to doc/linters.md by @NoahTheDuke in #2300
- Reduce memory usage by @borkdude in #2301
Full Changelog: v2024.03.05...v2024.03.13
v2024.03.05
What's Changed
- Eliminate warning from shadowing clojure.core/update-vals by @alexhall in #2280
- Improve help text /wrt --config by @borkdude in #2283
- Fix #2276: new class array notation may occur outside metadata by @borkdude in #2286
- Fix #2278: bigint is a known symbol in CLJS in extend-type by @borkdude in #2287
- Fix #2288: fix static method analysis and suppressing :java-static-field-call locally by @borkdude in #2290
- Docker stuff by @borkdude in #2292
- Fix #2293: fix false positive static field call for (Thread/interrupted) by @borkdude in #2294
- Docker multi-arch images by @borkdude in #2296
- Fix #2295: lint case test symbols in list by @borkdude in #2297
- Fix #1732: warn on shadowed fn param by @borkdude in #2298
New Contributors
Full Changelog: v2024.02.12...v2024.03.05
v2024.02.12
What's Changed
- #1917: detect string being called as function by @borkdude in #2247
- add datalevin.core/q to datalog syntax checking by @andersmurphy in #2248
- Add ASDF installation notes by @rynkowsg in #2250
- Add
datomic-type-extensions.api/q
to datalog syntax checking by @magnars in #2253 - Fix #2246: preserve metadata on symbol when going through :macroexpand hook by @borkdude in #2258
- Lint invalid fn name by @borkdude in #2243
- Fix #2260: calling static field as function should warn by @borkdude in #2262
- Fix #2254: lint files in absence of config dir by @borkdude in #2267
- Fix #2256: enable assert in hooks by @borkdude in #2268
- Fix #2251: support suppressing :unused-value using :config-in-call by @borkdude in #2269
- Fix #2266: suppress :not-a-function in reader tag by @borkdude in #2270
- Fix #2259: ns-unmap var defined prior in namespace by @borkdude in #2271
- Fix #2272: var is always true by @borkdude in #2273
- Fix #2274: support new clojure 1.12 type hint notations by @borkdude in #2275
New Contributors
- @andersmurphy made their first contribution in #2248
- @rynkowsg made their first contribution in #2250
- @magnars made their first contribution in #2253
Full Changelog: v2023.12.15...v2024.02.12
v2023.12.15
2023.12.15