Fork me on GitHub
#announcements
<
2023-01-31
>
tony.kay05:01:04

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.

🎉 28
fulcro 20
❤️ 2
Žygimantas Medelis05:01:15

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

👌 10
🔥 3
pathom 2
kuzmin_m06:01:48

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.

🎉 10
borkdude11:01:36

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"]])

🎉 20
genmeblog10:02:33

Cool! Does it include contents of ~/.lein/profiles.clj?

borkdude10:02:43

No it doesn't

genmeblog10:02:44

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.

borkdude10:02:02

This is for managing a project, not for managing a system with global config

borkdude10:02:44

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)

borkdude10:02:38

If you have ideas on what a tool like this should do with profiles, I'm still interested

genmeblog11:02:26

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.

borkdude12:02:27

@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

genmeblog19:02:23

Thanks, I know that. It's still a subset of my needs and is better for a new project than existing one with lein.

zalky15:01:46

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

🎉 16
clojure-spin 14
gratitude 8
Alex Miller (Clojure team)15:01:26

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

zalky15:01:10

I've been using it regularly for a couple of years with no issues. And it's a one-liner.

Alex Miller (Clojure team)15:01:33

Fogus or I can take a look at it on Friday

👍 6
Daniel Jomphe15:01:21

The documentation seems quite extensive, full of value-laden tips. Thanks for sharing!

🙌 2
2
zalky15:01:58

Happy to do it, hope people find it useful!

wilkerlucio16:01:13

[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

pathom 18
dchelimsky16:01:20

{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?

🎉 46
Irati16:01:10

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.

🎉 12