This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-31
Channels
- # announcements (22)
- # asami (19)
- # aws-lambda (4)
- # babashka (42)
- # beginners (43)
- # calva (28)
- # cider (1)
- # clerk (79)
- # clj-kondo (12)
- # clojure (47)
- # clojure-berlin (1)
- # clojure-brasil (1)
- # clojure-dev (12)
- # clojure-europe (40)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (3)
- # clojurescript (56)
- # clr (12)
- # conjure (8)
- # cursive (4)
- # datomic (78)
- # dev-tooling (6)
- # exercism (1)
- # fulcro (9)
- # hoplon (3)
- # jobs (3)
- # jobs-discuss (4)
- # lambdaisland (3)
- # leiningen (1)
- # london-clojurians (1)
- # lsp (125)
- # malli (32)
- # matcher-combinators (3)
- # nrepl (1)
- # off-topic (6)
- # pathom (39)
- # re-frame (13)
- # releases (2)
- # remote-jobs (3)
- # sci (7)
- # shadow-cljs (117)
- # sql (6)
- # squint (7)
- # tools-build (15)
- # tools-deps (12)
Fulcro 3.6.0 https://github.com/fulcrologic/fulcro
• Support for React 18
• Added batched processing.
• Added with-batched-reads
helper.
• Improved batching docstrings.
• Synchronous processor can use batching (batching off by default)
• Reduced logging
• Fixed abort in sync tx processing
• Added defnc
macro to raw.components
• Added react.context ns with helpers
• Fixed shouldComponentUpdate default with context
• Added wrappers for new react hooks
• Improved hooks docstrings
• Simplified denormalize time so most usages don’t need to bind it
• Added React.memo
wrapper in components ns.
First release of the Bosquet LLM operations library with support for prompt composition and completion via OpenAI API. It is built on top of Selmer to get great templating functionality, and Pathom to resolve dependencies between prompt components. https://github.com/zmedelis/bosquet
My https://darkleaf.github.io/di/ is now in its second release (2.0.0). Check out https://darkleaf.github.io/di/notebooks/integrant.html with Integrant.
https://github.com/borkdude/lein2deps: A leiningen project.clj
to Clojure CLI deps.edn
converter.
0.1.0
• lein lein2deps
plugin. See https://github.com/borkdude/lein2deps#lein-plugin.
• https://github.com/borkdude/lein2deps/issues/7: maintain order of deps in project.clj
and no namespacing of maps
• https://github.com/borkdude/lein2deps/issues/2: accept regex in project.clj
when safe-parsing
• https://github.com/borkdude/lein2deps/issues/3: add clojure -Ttool support
• https://github.com/borkdude/lein2deps/issues/4: convert :repositories
to :mvn/repos
• Add "resources"
automatically to :paths
• Improve quality of generated deps.edn
(https://github.com/jeroenvandijk)
You can now use the leiningen plugin to automatically synchronize your project.clj
with a deps.edn
.
Add:
:plugins [[io.github.borkdude/lein-lein2deps "0.1.0"]]
to your project.clj
and then run:
lein lein2deps --write-file deps.edn --print false
To run the plugin on any invocation of lein
, add it to :prep-tasks
:
(defproject my-project "0.1.0"
:plugins [[io.github.borkdude/lein-lein2deps "0.1.0"]]
:dependencies [[org.clojure/clojure "1.11.1"]]
:prep-tasks [["lein2deps" "--write-file" "deps.edn" "--print" "false"]])
Ok, it would be cool. A lot of defaults for dev profile I keep there (also some credentials and other common configs). Maybe I expect too much but it would be great to have complete lein to deps.edn migration tool.
Mostly for libraries that you want to manage with lein but also expose to deps.edn users (or as a first step for migrating towards deps.edn)
If you have ideas on what a tool like this should do with profiles, I'm still interested
Generally speaking I would be interested in kind of drop-in replacement for lein (let's say a vanilla version without plugins). So not only pure deps but also building, compiling (also with java), installation, jar, deploy, test run, etc... I know all of this is doable with current tooling but migration is not as easy as it should be.
@U1EP3BZ3Q In that case I would take a look at this: https://blog.michielborkent.nl/new-clojure-project-quickstart.html I can set up a new project with uberjar + deploy in seconds using #C03KCV7TM6F
Thanks, I know that. It's still a subset of my needs and is better for a new project than existing one with lein.
New: Coding on the fly, from take-off to landing, with a tool.deps build library:
1. Power up your deps.edn
aliases:
◦ Run multiple concurrent functions via merged deps aliases in the same runtime
◦ A simple way to load extra namespaces
◦ Merge in environment variables (opt-in via peer dependency)
2. Rock-solid live reloading of code and your running application:
◦ Fork of clojure.tools.namespace
that fixes https://clojure.atlassian.net/browse/TNS-6 which greatly improves c.t.n robustness (a patch has been submitted)
◦ Choose how to reload dependent namespaces: eagerly or lazily
◦ More robust error handling, recovery and logging during component lifecycle methods
◦ Cleanly shutdown your application on interrupt signals
Hope it is helpful! :rightwards_hand: 🎁
https://github.com/zalky/runway
Is TNS-6 something that could just be moved forward? No one is really actively looking at TNS stuff right now. Would be happy to do so if that means not needing to fork
I've been using it regularly for a couple of years with no issues. And it's a one-liner.
The documentation seems quite extensive, full of value-laden tips. Thanks for sharing!
[com.wsscode/pathom3 "2023.01.31-alpha"]
is out!
This release contains some significant bug fixes, specially around batching and nested inputs! Thanks for all the community for sending and helping with the debug of those!
• Fix map container handling on runner (issue #176)
• pf.eql/data->shape
now takes ::pcr/map-container?
into account
• Disregard ident values on cache keys for the planner (issue #182)
• Fix stack overflow on planning nested attribute cycles on dynamic resolvers (issue #179)
• Fix name reporting on invalid config for resolvers and mutations (issue #181)
• Fix missing data on nested batches (issues #173 & #177)
• Fix planning issue when optimizing OR
subpaths (issue #170)
• Index nested attributes (issue #167)
https://clojars.org/com.wsscode/pathom3
{nubank/matcher-combinators {:mvn/version "3.8.0"}}
is out!
Thanks to @phillipmates and @dpassen1 for some nice improvements:
- Add seq-of
matcher, which takes a matcher, successfully matching when each element matches the provided matcher.
- Add any-of
matcher, which takes any number of matchers, successfully matching when at least one matches.
- Add all-of
matcher, which takes any number of matchers, successfully matching when all match.
- Add 2-arity pred
matcher where the second argument is a description text.
- Useful for mismatch messages when the pred is an anonymous function.
- Allow globally configuring ANSI color emission via newly added enable!
and disable!
functions in matcher-combinators.ansi-color
- Export clj-kondo config to silence unresolved-symbol warnings on match? and thrown-match?
New release: #hop now deploys on-premises too: https://www.gethop.dev/post/hop-on-premises On the previous version of HOP CLI, users could only choose AWS as the deployment target. Now, when you open the settings editor using the latest version of HOP CLI, you will also have the option to choose On-premises.