Fork me on GitHub
#releases
<
2022-04-23
>
Matthew Davidson (kingmob)09:04:49

https://clojars.org/net.modulolotus/truegrit/versions/1.0.7 is out. The primary change is to remove some of the unneeded deps. It no longer depends on the Resilience4j cache or decorator modules or slf4j-api.

borkdude20:04:47

clj-kondo v2022.04.23https://github.com/clj-kondo/clj-kondo/issues/1653: new linter :keyword-binding - warns when a keyword is used in a :keys binding vector. This linter is :off by default. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#keyword-in-binding-vector. • https://github.com/clj-kondo/clj-kondo/issues/996: new linter :discouraged-var. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#discouraged-var. • https://github.com/clj-kondo/clj-kondo/issues/1618: new :config-in-ns configuration option. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#config-in-ns. • Support :ns-groups configuration option. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#namespace-groupshttps://github.com/clj-kondo/clj-kondo/issues/1657: support bindings with same name in clojure.core.matchhttps://github.com/clj-kondo/clj-kondo/issues/1659: fix false positive unused import • https://github.com/clj-kondo/clj-kondo/issues/1649: dot (`.`) should be unresolved when not in fn position

🎉 4
seancorfield21:04:18

I'm surprised :keyword-binding is :off by default -- that seems uncontroversial?

borkdude21:04:36

@U04V70XH6 I've worked in a company on a large code base where that style is being used extensively, I didn't want to do that to them. :) There might even be a few of those in clj-kondo itself since I adapted to the style of that company when I worked there.

seancorfield22:04:48

Fair enough. Once LSP is updated to include at least this version, I'll definitely turn this one on at work 🙂

👍 2
borkdude22:04:49

I think I'll turn it on in my home dir config so I'll get the warnings during development, but CI won't complain

borkdude22:04:04

@U04V70XH6 you can also try the clj-kondo vscode extension while lsp isn't updated yet

seancorfield23:04:58

Doesn't that cause conflicts with Calva and its LSP/kondo setup?

borkdude06:04:56

I don't think so, but you might get duplicate lint warning if enable both.

seancorfield23:04:00

com.github.seancorfield/honeysql {:mvn/version "2.2.891"} -- SQL as Clojure data structures: • Address https://github.com/seancorfield/honeysql/issues/404 by documenting PostgreSQL's ARRAY constructor syntax and how to produce it. • Address parts of https://github.com/seancorfield/honeysql/issues/403 by improving the documentation for :array and also improving the exception that was thrown when it was misused. • Fix https://github.com/seancorfield/honeysql/issues/402 by allowing for expressions in :insert-into table. • Address https://github.com/seancorfield/honeysql/issues/400 by adding :table clause. • Address https://github.com/seancorfield/honeysql/issues/399 by correcting multi-column RETURNING clauses in docs and tests. • Fix https://github.com/seancorfield/honeysql/issues/398 by adding honey.sql.pg-ops namespace that registers PostgreSQL JSON and regex operators and provides symbolic names for "unwritable" operators (that contain @, #, or ~). • Address https://github.com/seancorfield/honeysql/issues/396 by throwing an exception if you try to cache a SQL statement that includes an IN () expression, using a named parameter for the IN values. • Fix https://github.com/seancorfield/honeysql/issues/394 by restoring HoneySQL 1.x's behavior when quoting. • Fix https://github.com/seancorfield/honeysql/issues/387 again. • Update CI to reflect Clojure 1.11 release (master -> 1.11; new master is 1.12). • Update build-clj to v0.8.0. Follow-up in #honeysql

🎉 3