Fork me on GitHub
#announcements
<
2021-12-01
>
tony.kay05:12:50

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

šŸ‘ 10
tony.kay05:12:46

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

Alex Miller (Clojure team)12:12:17

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

šŸ™ 1
borkdude12:12:56

Perhaps it would help if you replied to that tweet directly with this info?

robert-stuttaford14:12:48

thanks Alex! let's see what my new pal Stewart cooks up, first šŸ˜

plexus14:12:03

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.

šŸŖ„ 4
minecraft 12
bmo 2
Noah Bogart14:12:12

this is cool as hell!

plexus14:12:53

Come hang out in #minecraft or join the lambda island discord if you want to find fellow witchcrafters https://discord.gg/pCuZBDRruW

ericdallo14:12:24

clojure-lsp 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/ clojurists-together šŸ’œ clojure-lsp For more information, check #lsp

šŸ™ 12
clojure-lsp 12
šŸŽ‰ 8
šŸš€ 2
robert-stuttaford14:12:01

musical!

šŸŽ¼ 1
Stefan07:12:49

This also includes the fix for poly / mono repos right? Thatā€™s also definitely noteworthy :)

šŸ‘ 1
robert-stuttaford07:12:06

yeah that's actually pretty huge!

Alex Miller (Clojure team)15:12:57

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

šŸŽ‰ 19
clojure-spin 6
Alex Miller (Clojure team)15:12:38

Example output from core.async

Alex Miller (Clojure team)15:12:22

This list function is still a wip, so happy for any feedback if you see anything wonky

robert-stuttaford16:12:07

list is really useful, thank you for this!

Alex Miller (Clojure team)16:12:33

not really, that's asking about doing it at the repl

pez16:12:26

Yeah, I remember now that that was important for what I was doing thenā€¦ šŸ˜ƒ

Alex Miller (Clojure team)16:12:33

there will in the future be better ways to answer that question too, but this isn't it :)

pez16:12:24

Sounds great!

pez16:12:26

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?

Lukas Domagala21:12:09

@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

slipset21:12:18

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.

pez21:12:14

@U02EMBDU2JU this was also a thing to do from the REPL. But, yes, in a Calva context it might work.

Alex Miller (Clojure team)23:12:33

@U04V5VAUN the -X:deps list above has a :format :edn export option

dominicm17:12:46

Does the license code only work for maven right now?

dominicm17:12:52

I can't see an impl for, e.g. deps.edn

Alex Miller (Clojure team)17:12:15

no, will not yet work for git or local deps projects

Alex Miller (Clojure team)17:12:02

that is pending some more design work

Alex Miller (Clojure team)17:12:52

planning to avoid needing something like that :)

pez16:12:48

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.

šŸ‘ 15
calva 10
šŸ¤ž 1
1
1
robert-stuttaford16:12:44

heck, great job wrestling that pig, @U0ETXRFEW!

ā¤ļø 1
šŸ‘† 1
pez16:12:56

A note about Calvaā€™s take on Parinfer, that might be of extra importance: It is designed to be used together with Calva Paredit.

pez16:12:40

If someone wants to read about some of the pig wrestling: https://twitter.com/pappapez/status/1461018167002734592

pez12:12:10

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!

delaguardo17:12:32

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

šŸ‘ 12
1
1
borkdude19:12:23

With all those beautiful releases today, I cannot stay behind! clj-kondo 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

borkdude 23
šŸŽ‰ 21
clj-kondo 13
šŸ˜† 1
šŸ™Œ 1
pez19:12:48

Haha, you are not allowing us to keep up the slightest!

lread22:12:44

Thereā€™s no sense in even trying to keep up with the borkdudes! simple_smile

šŸ‘ 1