Fork me on GitHub

Hi everyone, martian 0.1.20 has been released. martian is a library providing abstraction over your http client, supporting Swagger, OpenAPI and your own custom definitions. This release adds support for: • martian-cljs-http-promise - support for the http client for cljs • Specifying options for the Swagger GET request when bootstrapping, thanks This release fixes: • Bump cheshire and fix jackson thanks

🎉 7
👍 3
🚀 1
🙇 1

what a coincidence. Was looking for this library and couldn't recall the name...something with m.....;)

🙂 1

Here's a project repository meant to lure you into the rewarding world of Clojure prime sieving. Will we meet down the rabbit hole?

🐇 7
Alex Miller (Clojure team)18:02:03

Created #transit for discussion of the transit format and its implementations...

👍 11

pod-babashka-buddy: a babashka pod around the buddy library v0.1.0 - this allows you to use the buddy library directly from #babashka scripts. This is the first update since a little over a year. A lot more namespace were exposed now, with the help with @cap10morgan. An example:

(require '[babashka.pods :as pods])
(pods/load-pod 'org.babashka/buddy "0.1.0")
(require '[pod.babashka.buddy.core.hash :as hash])
(hash/md5 "foo")
Check for other available pods.

🚀 7
Alex Miller (Clojure team)21:02:06 is now available • Improve iteration docstring and arg names • Fix clojure.math tests to be more tolerant of floating point comparisons • Fix iteration generative test failure • Fix incorrect reporting of runtime errors as compiler errors in calls through Compiler.load() Fix asymmetric handling of :exception :vals in prepl • Fix resolution of class type hints in defprotocol Make order of emitted protocol methods in generated classes reproducible • Rolled back prior change for - Fix browse-url hanging on call to xdg-open (new change is more targeted and addresses more cases) As usual, we request your help in getting feedback about this release! If you run your test suite with it, please tag this post with or and leave feedback if the latter.

🎉 21
🚀 1

FWIW, all bb tests are passing with beta1 and you can get it with:

$ bash <(curl ) --version 0.7.5-SNAPSHOT --dir .

$ ./bb doc iteration
([step & {:keys [somef vf kf initk], :or {vf identity, kf identity, somef some?, initk nil}}])


Successful test run. Warnings about: • abs: java-time, clojure.math.numeric-tower,medley, taoensso.encore, kixi.stats.match • update-keys & vals:,, (just providing information about warnings we got in case those libs need to be patched.)

Alex Miller (Clojure team)22:02:39

there is a new version of numeric-tower out there with that warning fixed (0.0.5) - but really you should be substantially better off not using numeric-tower for this

👍 1
Alex Miller (Clojure team)22:02:54

and ditto tools.analyzer in 1.1.0


Our test suite passes with Beta 1 -- so no regressions from Alpha 4 (which we have in production). Beta 1 will go into production whenever our next production build happens.

👍 1

The new CLJ-2493 works for me! Thankyou @U050WRF8X, @U064X3EF3, and @U04V70XH6. [email protected]:~/apps/clean2$ clj Downloading: org/clojure/clojure/1.11.0-beta1/clojure-1.11.0-beta1.pom from central Downloading: org/clojure/clojure/1.11.0-beta1/clojure-1.11.0-beta1.jar from central Clojure 1.11.0-beta1 user=> [email protected]:~/apps/clean2$ clj -M --main cljs.main --repl ClojureScript 1.10.844 cljs.user=> (+ 1 1) 2 cljs.user=> (js/alert "hi") nil cljs.user=>


I think the iteration docstring could be further improved. If k is not a key but a “token”, why not use names like tokf and init-tok? The use of k for something that’s not a key seems non-idiomatic.


@U0ETXRFEW, I note only for completeness, for an Ubuntu on WSL system like mine, the browser still needs to be open before running "Fire up the ClojureScript Quick Start Browser REPL", but that is no problem, at least for a user on that system who knows to have a browser open beforehand. Edit: Um, it seemed ok to continue my comment on CLJ-2493 here, but sorry, I now think not.


Does help with Debian reproducible builds of Clojure ?

Alex Miller (Clojure team)13:02:18

Possibly, but that was not tested

👍 1
Alex Miller (Clojure team)21:02:04

Clojure CLI is now available • - Built-in :deps alias should remove project paths from classpath • Improve error if git sha is not found in git repo • Improve prep error if transtive dep’s prep function is unresolvable • Bump AWS deps to latest versions • Use 0.12.1135

🎉 13

@U064X3EF3 I updated to and I'm not sure that TDEPS-216 was included? I looked in the brew-install project and didn't see any relevant update (the root deps.edn file does not have this change). I do see it in tools.deps.alpha so I guess it is included but now the root deps.edn file in brew-install doesn't match the resource in t.d.a?


The confusion:

(! 514)-> clojure -Sdescribe
{:version ""
 :config-files ["/usr/local/Cellar/[email protected]/" "/Users/sean/.clojure/deps.edn" "deps.edn" ]
 :config-user "/Users/sean/.clojure/deps.edn"
 :config-project "deps.edn"
 :install-dir "/usr/local/Cellar/[email protected]/"
 :config-dir "/Users/sean/.clojure"
 :cache-dir ".cpcache"
 :force false
 :repro false
 :main-aliases ""
 :repl-aliases ""}
(! 515)-> cat /usr/local/Cellar/[email protected]/
  :paths ["src"]

  :deps {
    org.clojure/clojure {:mvn/version "1.10.3"}

  :aliases {
    :deps {:replace-deps {org.clojure/tools.deps.alpha {:mvn/version "0.12.1135"}
                          org.slf4j/slf4j-nop {:mvn/version "1.7.25"}}
           :ns-aliases {help }}
    :test {:extra-paths ["test"]}

  :mvn/repos {
    "central" {:url ""}
    "clojars" {:url ""}
No :replace-paths [] in there.


Not sure how it's set up but the case I reported for TDEPS-216 works now


; clojure -Srepro -version
Clojure CLI version
; echo '{:paths ["src"] :deps{org.clojure/java.classpath {:mvn/version "1.0.0"}}}' > deps.edn
; mkdir src && echo '(ns user (:require' > src/user.clj
; clojure -Srepro -X:deps list :license :none
org.clojure/clojure 1.10.3
org.clojure/core.specs.alpha 0.2.56
org.clojure/java.classpath 1.0.0
org.clojure/spec.alpha 0.2.194


Thanks for the fix @U064X3EF3

Alex Miller (Clojure team)14:02:10

@U04V70XH6 I can update that one too but it's not used anymore, it's just there for any legacy tools that pulled it explicitly. the root deps.edn is used as a resource from the tools.deps lib

Alex Miller (Clojure team)14:02:49

maybe I should just extract the resource so there's no "copy" there


Hey folks! Yet is doing some SSO-related work and we’ve just released two small libs for use with OpenID Connect and (certain) Clojure(Script) stacks: • 0.0.1 - A re-frame wrapper for 0.0.2 - Pedestal interceptor + utils for handling OIDC tokens & discovery re-oidc contains an where you can spin up a Keycloak instance, API server and Figwheel front-end to see it all working in concert.

🔑 11
clojure-spin 4
🙏 2
👍 1