Releases: clj-kondo/clj-kondo
Releases · clj-kondo/clj-kondo
v2025.02.20
What's Changed
- Fix #2465, :discouraged-var linter with fixed arities by @borkdude in #2468
- Fix #2467: add :exclude option for redundant-ignore by @borkdude in #2470
- Fix #2277: prefer array class symbol in defprotocol by @borkdude in #2471
- Fix #2466: false positive with tagged literal in macroexpand hook by @borkdude in #2478
- Fix #2475: add :do-template linter by @imrekoszo in #2476
- Fix #2473: :unknown-ns-option linter by @borkdude in #2479
- Fix #2463: false positive when min-clj-kondo-version is specified by @imrekoszo in #2480
- linux static build more ram by @borkdude in #2485
- Fix #2464: set min-clj-kondo-version finding location when applicable by @imrekoszo in #2481
- Fix #2472: unresolved symbol by @borkdude in #2486
- Fix #90: upgrade graalvm by @borkdude in #2488
- Fix #2490: restore unofficial support for ignore hints via metadata by @borkdude in #2491
- Add
quote-node
andquote-node?
to hooks API by @camsaul in #2489
Full Changelog: v2025.01.16...v2025.02.20
v2025.01.16
What's Changed
- docs: minor: update linters.md: new default levels by @lread in #2430
- Document :cljc config option by @NoahTheDuke in #2436
- Fix #2433: false positive redundant ignore with hook by @borkdude in #2437
- Fix #2431: only apply redundant-nested-call linter for nested exprs by @borkdude in #2438
- Include if-not in :condition-always-true linter by @tomdl89 in #2434
- Help devs without the cli at hand by adding cli help option output to docs by @grahamcarlyle in #2442
- Fix #2439: uneval applies to next form which may depend on reader features by @borkdude in #2443
- Include if-let etc in :condition-always-true linter by @tomdl89 in #2441
- Fix :keyword-binding linter example by @tomdl89 in #2445
- Fix #2446: false positive redundant ignore by @borkdude in #2447
- Fix #2448: redundant nested call in hook gen'ed code by @borkdude in #2449
- Add printf to vars linted by analyze-format by @tomdl89 in #2453
- If nil return by @tomdl89 in #2452
- Fix #2424: combination of config-in-ns and discouraged-namespace by @borkdude in #2454
- Fix #2457: :equals-float linter by @borkdude in #2461
- Fix #2219: allow arity config for :discouraged-var by @borkdude in #2462
New Contributors
- @grahamcarlyle made their first contribution in #2442
Full Changelog: v2024.11.14...v2025.01.16
v2024.11.14
v2024.11.14
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