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