This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-01
Channels
- # adventofcode (93)
- # announcements (44)
- # asami (23)
- # aws (1)
- # babashka (48)
- # beginners (112)
- # calva (26)
- # cider (57)
- # clj-kondo (17)
- # cljfx (5)
- # cljs-dev (21)
- # clojure (124)
- # clojure-europe (19)
- # clojure-hungary (40)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (3)
- # clojurescript (3)
- # cursive (81)
- # datalog (11)
- # events (21)
- # exercism (1)
- # fulcro (37)
- # graalvm (1)
- # introduce-yourself (8)
- # jobs (1)
- # lsp (1)
- # malli (5)
- # membrane-term (17)
- # minecraft (3)
- # nextjournal (5)
- # off-topic (14)
- # other-lisps (14)
- # polylith (58)
- # reagent (16)
- # reclojure (3)
- # reitit (6)
- # remote-jobs (1)
- # shadow-cljs (55)
- # spacemacs (15)
- # testing (2)
- # tools-build (7)
- # tools-deps (191)
Guardrails 1.1.9 released to clojars. This release includes clj-kondo configuration for improved source-level checking, thanks to @mroerni https://github.com/fulcrologic/guardrails
Fulcro RAD 1.1.0-RC8 Released. This release modifies the provided network request transform to make things work better with Pathom 2 and 3 out of the box. https://github.com/fulcrologic/fulcro-rad
https://twitter.com/stewart/status/1465938156977463301 holding thumbs, folks!
If it would help to connect to Nubank somehow (we have a large corporate Slack account), I'm happy to try to find the right connnection
thanks Alex! let's see what my new pal Stewart cooks up, first đ
New releases of Witchcraft (https://github.com/lambdaisland/witchcraft) and Witchcraft-plugin (https://github.com/lambdaisland/witchcraft-plugin). Plug your REPL into Minecraft and go! This makes things compatible with Minecraft 1.18 which came out yesterday.
Demonstration: https://www.youtube.com/watch?v=ZP4KEPziObA
this is cool as hell!
Come hang out in #minecraft or join the lambda island discord if you want to find fellow witchcrafters https://discord.gg/pCuZBDRruW
New https://clojure-lsp.io/ version released: https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.12.01-12.28.16 đ
A lot of new features and improvements, the main highlights are:
⢠Stub generation using new https://github.com/clj-easy/stub library, making it possible to clojure-lsp know about closed source libraries, like for example, datomic.api
â¨
⢠Check the gif of one of the new code actions: Sort map
This release was supported by https://www.clojuriststogether.org/ đ
For more information, check #lsp
This also includes the fix for poly / mono repos right? Thatâs also definitely noteworthy :)
yeah that's actually pretty huge!
Clojure CLI https://clojure.org/releases/tools#v1.10.3.1040 is now available
⢠Add clj -X:deps list
for listing the full transitive set of deps and license info - see https://clojure.github.io/tools.deps.alpha/clojure.tools.cli.api-api.html#clojure.tools.cli.api/list
⢠Improved error handling for unknown tool with -T
or -X:deps find-versions
⢠Use https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md 0.12.1084
Example output from core.async
This list function is still a wip, so happy for any feedback if you see anything wonky
list
is really useful, thank you for this!
Do I understand correctly that this calls for an update of this answer? https://ask.clojure.org/index.php/11268/tools-deps-how-list-dependencies-and-their-versions-from-repl
not really, that's asking about doing it at the repl
there will in the future be better ways to answer that question too, but this isn't it :)
We had a question in #calva about how to list all namespaces, also from transitive deps. Maybe those future better ways will make that easier?
@U0ETXRFEW can't you already get that info from clj-kondo? It's running in lsp anyway and lsp is dumping that info to disk on startup
There is a lein plugin that does the license thing and it allows for export to edn and csv. The latter was really useful once as I could just use that to send off a excel file to a PHB.
@U02EMBDU2JU this was also a thing to do from the REPL. But, yes, in a Calva context it might work.
@U04V5VAUN the -X:deps list above has a :format :edn
export option
no, will not yet work for git or local deps projects
that is pending some more design work
https://github.com/licensee/licensee ported to clojure? đ
planning to avoid needing something like that :)
Calva v2.0.227 just out. It contains a fix for finding test symbols with +
(and other regex special characters) in them, signed @marc-omorain. Thanks! â¤ď¸ It also contains the fruits of my rather heavy labour of the last month or so, trying to convince VS Code that it can do Parinfer. https://calva.io/parinfer/ It is disabled by default and considered experimental. As part of it, there is a new âaggressiveâ format-as-you-type setting which is part of Parinfer mode, but it can be used separately. It is also considered experimental and disabled by default. See https://calva.io/formatting/#configuration for how to enable.
A note about Calvaâs take on Parinfer, that might be of extra importance: It is designed to be used together with Calva Paredit.
If someone wants to read about some of the pig wrestling: https://twitter.com/pappapez/status/1461018167002734592
The wrestling continues: https://twitter.com/pappapez/status/1466371655840763911?s=20 > TL;DR: Version .228 replaces .227, keeping the non-Parinfer-experiment improvements, but removing the experiment. There was a worrying error report in the #calva channel, and I decided that asking people to please stay on .227 has to suffice for now. Please stay on .227 unless you see experience blocking issues that you think has to do with the experiment code. And if you run into such problems, please report in #calva or on Github. I need clues!
https://github.com/DeLaGuardo/setup-clojure new release of setup-clojure GitHub action. ⢠Use install-linux.sh script for Ubuntu and MacOS ⢠Use action version as a part of cache key
With all those beautiful releases today, I cannot stay behind!
clj-kondo 2021.12.01 â¨
⢠Improve linting in `extend-protocol`, `extend-type`, `reify`, `specify!` https://github.com/clj-kondo/clj-kondo/issues/1333, https://github.com/clj-kondo/clj-kondo/issues/1447
⢠Support `:context` in nodes in hooks for adding context to analysis https://github.com/clj-kondo/clj-kondo/issues/1211
⢠goog.object
, `goog.string` etc must be required before use in newer releases of CLJS https://github.com/clj-kondo/clj-kondo/issues/1422
⢠Resume linting after invalid keyword https://github.com/clj-kondo/clj-kondo/issues/1451
⢠Fix install script for relative dir opts https://github.com/clj-kondo/clj-kondo/issues/1444
⢠Fix type mismatch error with auto-qualified keyword https://github.com/clj-kondo/clj-kondo/issues/1467
⢠String type hint causes false error report https://github.com/clj-kondo/clj-kondo/issues/1455
⢠Fix false positive with cljs/specify! https://github.com/clj-kondo/clj-kondo/issues/1450
⢠Improve analysis for ns-modifying destructuring key https://github.com/clj-kondo/clj-kondo/issues/1441
⢠CLJS `(exists? foo.bar/az)` complains about require https://github.com/clj-kondo/clj-kondo/issues/1472
clj-kondo 2021.12.16
A pretty big release with several new linters, options and improvements!
New
⢠Automatically load configurations from `.clj-kondo///config.edn`. This can be disabled with `:auto-load-configs false`. https://github.com/clj-kondo/clj-kondo/issues/1492
⢠Add linter `:duplicate-case-test-constant`: detect duplicate case test constants. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#duplicate-case-test-constant. https://github.com/clj-kondo/clj-kondo/issues/587 (https://github.com/mknoszlig)
⢠Add linter `:unexpected-recur`: warn on `recur` in unexpected (non-tail) position. https://github.com/clj-kondo/clj-kondo/issues/1126
⢠Add linter `:used-underscored-binding`: warn on used bindings that start with underscore. Disabled by default. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#used-underscored-bindings. https://github.com/clj-kondo/clj-kondo/issues/1149 (https://github.com/mknoszlig)
⢠Add linter `:docstring-blank` for checking empty docstring. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#docstring-blank. https://github.com/clj-kondo/clj-kondo/issues/805 (https://github.com/joodie)
⢠Add linter `:docstring-leading-trailing-whitespace` for checking leading and trailing whitespace in docstring. Disabled by default. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#docstring-leading-trailing-whitespace. https://github.com/clj-kondo/clj-kondo/issues/805 (https://github.com/joodie)
⢠Add linter `:docstring-no-summary` for checking the absence of summary of args in docstring. Disabled by default. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#docstring-no-summary. https://github.com/clj-kondo/clj-kondo/issues/805 (https://github.com/joodie)
⢠Add `:exclude-defmulti-args` option for `:unused-bindings` linter. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md. https://github.com/clj-kondo/clj-kondo/issues/1188 (https://github.com/mknoszlig)
⢠Support `:config-in-comment` https://github.com/clj-kondo/clj-kondo/issues/1473. See https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#override-config-in-comment-forms.
Enhanced
⢠Bump built-in cache for clojure 1.11.0-alpha3 and `clojure.data.json`
⢠Reword `:refer` suggestion so you can copy paste it https://github.com/clj-kondo/clj-kondo/issues/1293 (https://github.com/vemv)
⢠Add re-frame analysis output https://github.com/clj-kondo/clj-kondo/issues/1465 (https://github.com/benedekfazekas)
⢠Qualified map causes too many arguments in type checker https://github.com/clj-kondo/clj-kondo/issues/1474
⢠Handle reader conditional with unknown language https://github.com/clj-kondo/clj-kondo/issues/970