This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-03
Channels
- # announcements (3)
- # asami (4)
- # aws (1)
- # babashka (22)
- # beginners (111)
- # calva (3)
- # cider (1)
- # clj-kondo (55)
- # clj-on-windows (9)
- # cljsrn (1)
- # clojure (13)
- # clojure-europe (35)
- # clojure-losangeles (3)
- # clojure-nl (2)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (5)
- # clojurescript (51)
- # conjure (5)
- # cursive (5)
- # datascript (1)
- # datomic (27)
- # deps-new (8)
- # depstar (41)
- # emacs (4)
- # fulcro (24)
- # graphql (4)
- # gratitude (8)
- # helix (36)
- # jobs (2)
- # leiningen (2)
- # lsp (11)
- # off-topic (24)
- # pathom (23)
- # pedestal (2)
- # polylith (27)
- # re-frame (12)
- # reagent (7)
- # reitit (1)
- # releases (3)
- # remote-jobs (1)
- # rewrite-clj (4)
- # sci (1)
- # shadow-cljs (27)
- # spacemacs (12)
- # tools-deps (31)
- # web-security (2)
Released https://github.com/clojure-lsp/clojure-lsp/releases/tag/2021.09.03-00.42.46 with mostly fixes and doc/logs improvements, also preparation for some big changes on next releases 👀 As you may know, Clojurists Together https://www.clojuriststogether.org/news/ for Q3 2021 🚀, I'm really looking forward to see the results of this funding on this project! Also, I'm really grateful for everyone that supported and helped clojure-lsp somehow to become what it is today, without your support that would not be possible, thank you! As a first step from the funding, clojure-lsp has a new (easier to read) domain/webpage https://clojure-lsp.io 😃 Changelog: • General ◦ Improve logging during startup for better troubleshooting. ◦ Refactor allowing calls to `clojure-lsp.main/run!` for manually passing args, useful for `lein-clojure-lsp` for example. ◦ Internal: Move graalvm configuration to sqlite-jdbc. ◦ Recognize `deftest` as function definition form for refactoring features like `extract-function`. ◦ Bump Graalvm from 21.1.0 to 21.2.0 • API/CLI ◦ Use clj-kondo custom lint for API as well, required for correct diagnostics API feature. • Editor ◦ Fix regression, custom `source-paths` from initializationOptions were not being parsed correctly. https://github.com/clojure-lsp/clojure-lsp/issues/537 • Documentation ◦ New domain for documentation and webpage https://clojure-lsp.io
happy for you @UKFSJSM38! well deserved
Thank you very much @U45T93RA6 😄
> also preparation for some big changes on next releases Ooh, any docs on this?
Looking forward to it! 😄
Can clojure-lsp statically analyze a re-frame codebase looking for registrations and dispatches, and finding mismatches?
That's exciting. I'll try it out.
Quick sanity check before I go further. This thows no errors (assuming I've got my setup right). I was hoping for errors like the comments below.
(ns example.b-reframe
(:require [re-frame.core :as rf]))
(rf/reg-event-db ::an-event (fn [_ [_ v]] {:val v}))
(rf/dispatch [::an-event 1])
(rf/dispatch [::an-event]) ; Incorrect arity
(rf/dispatch [:an-event]) ; No handler registered with :an-event
Yeah, clj-kondo doesn't have those lint's for re-frame, but it would be possible via custom-lints on the reframe lib, or even a built-in support WDYT @U04V15CAJ ?