This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-23
Channels
- # announcements (7)
- # babashka (11)
- # babashka-sci-dev (1)
- # beginners (8)
- # biff (1)
- # calva (8)
- # chlorine-clover (3)
- # cider (9)
- # clj-kondo (16)
- # cljdoc (9)
- # clojure (79)
- # clojure-australia (1)
- # clojure-dev (5)
- # clojurescript (24)
- # data-science (3)
- # datomic (2)
- # emacs (54)
- # fulcro (1)
- # graalvm (1)
- # jobs (5)
- # lsp (25)
- # malli (7)
- # meander (10)
- # off-topic (44)
- # other-languages (8)
- # portal (10)
- # remote-jobs (1)
- # sci (1)
- # shadow-cljs (6)
- # vim (4)
[metosin/malli "0.8.0"]
is out! #malli is a data-driven data specification library for Clojure/Script.
Changes since 0.7.0:
• Development-time tools work now with ClojureScript 🥳
• Clj-kondo can load user-defined malli type configs automatically
•
defaults to use the pretty printer
• Support for Plumatic-style inline schema-definitions via malli.experimental/defn
• malli.destructure
for parsing and unparsing Clojure (1.11) destructuring forms
• malli.destructure/infer
to infer function schemas from Function Var arglists
• Expound-style pretty printing of validation errors via
• malli.provider
can infer :tuple
, :map-of
, :enum
& any simple schema via transformers
• BREAKING: local registries are stored as identity, not as form
• New options to define transformers via schema properties
• Small fixes and improvements
Big thanks to all contributors, and to Clojurists Together for sponsoring the development.
https://github.com/metosin/malli
In Malli, option to pass in map is basically [:alt [:map ..keys..] [:cat [:* ..kw-tuples..]]]
.
Portal https://github.com/djblue/portal/releases/tag/0.20.0 is now out! With this release, you can now specify a `:value` for portal to open. In the case of static data, portal behaves as it did previously. With atoms, it will automatically deref and update the UI when the atom changes. This new feature with the hiccup viewer make it very easy to throw together live development dashboards. Also, special thanks to https://github.com/BrianChevalier for all the awesome contributions in this release!
And the https://github.com/djblue/portal/blob/master/dev/portal/setup.cljs#L38-L59 to do it is pretty minimal.