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
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/1211goog.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-constanthttps://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-bindingshttps://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-blankhttps://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-whitespacehttps://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-summaryhttps://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.mdhttps://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