Fork me on GitHub
#announcements
<
2022-02-02
>
oliy14:02:25

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. https://github.com/oliyh/martian This release adds support for: • martian-cljs-http-promise - support for the https://github.com/oliyh/cljs-http-promise http client for cljs • Specifying options for the Swagger GET request when bootstrapping, https://github.com/oliyh/martian/pull/123 thanks https://github.com/AndreaCrotti This release fixes: • Bump cheshire and fix jackson https://github.com/advisories/GHSA-xmc8-26q4-qjhxhttps://github.com/oliyh/martian/pull/127 thanks https://github.com/RickMoynihan

🎉 7
👍 3
🚀 1
🙇 1
beders18:02:03

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

🙂 1
pez15:02:25

Here's a project repository meant to lure you into the rewarding world of Clojure prime sieving. Will we meet down the rabbit hole? https://github.com/PEZ/on-the-code-again-eratosthenes

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

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

👍 11
borkdude19:02:13

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. https://github.com/babashka/pod-babashka-buddy 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 https://github.com/babashka/pod-registry for other available pods.

🚀 7
Alex Miller (Clojure team)21:02:06

https://clojure.org/releases/devchangelog#v1.11.0-beta1 is now available • https://clojure.atlassian.net/browse/CLJ-2690 Improve iteration docstring and arg names • https://clojure.atlassian.net/browse/CLJ-2689 Fix clojure.math tests to be more tolerant of floating point comparisons • https://clojure.atlassian.net/browse/CLJ-2685 Fix iteration generative test failure • https://clojure.atlassian.net/browse/CLJ-2529 Fix incorrect reporting of runtime errors as compiler errors in calls through Compiler.load()https://clojure.atlassian.net/browse/CLJ-2620 Fix asymmetric handling of :exception :vals in prepl • https://clojure.atlassian.net/browse/CLJ-1180 Fix resolution of class type hints in defprotocolhttps://clojure.atlassian.net/browse/CLJ-1973 Make order of emitted protocol methods in generated classes reproducible • Rolled back prior change for https://clojure.atlassian.net/browse/CLJ-2493https://clojure.atlassian.net/browse/CLJ-2493 clojure.java.browse - 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
9
🚀 1
borkdude22:02:50

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
-------------------------
clojure.core/iteration
([step & {:keys [somef vf kf initk], :or {vf identity, kf identity, somef some?, initk nil}}])
...

dpsutton22:02:19

Successful test run. Warnings about: • abs: java-time, clojure.math.numeric-tower,medley, taoensso.encore, kixi.stats.match • update-keys & vals: clojure.tools.analyzer.utils, clojure.tools.analyzer, clojure.tools.analyzer.passes.uniquify (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

seancorfield23:02:37

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
brendnz08:02:42

The new CLJ-2493 works for me! Thankyou @U050WRF8X, @U064X3EF3, and @U04V70XH6. brendnz@SurfaceBook:~/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=> brendnz@SurfaceBook:~/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=>

Matthew Davidson (kingmob)09:02:18

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.

brendnz09:02:58

@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.

Eugen11:02:07

Does https://clojure.atlassian.net/browse/CLJ-1973 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 https://clojure.org/releases/tools#v1.10.3.1075 is now available • https://clojure.atlassian.net/browse/TDEPS-216 - 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 https://github.com/clojure/tools.deps.alpha/blob/master/CHANGELOG.md 0.12.1135

🎉 13
seancorfield07:02:54

@U064X3EF3 I updated to 1.10.3.1075 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?

seancorfield07:02:08

The confusion:

(! 514)-> clojure -Sdescribe
{:version "1.10.3.1075"
 :config-files ["/usr/local/Cellar/[email protected]/1.10.3.1075/deps.edn" "/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]/1.10.3.1075"
 :config-dir "/Users/sean/.clojure"
 :cache-dir ".cpcache"
 :force false
 :repro false
 :main-aliases ""
 :repl-aliases ""}
(! 515)-> cat /usr/local/Cellar/[email protected]/1.10.3.1075/deps.edn
{
  :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-default clojure.tools.cli.api
           :ns-aliases {help }}
    :test {:extra-paths ["test"]}
  }

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

imre14:02:31

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

1
imre14:02:03

; clojure -Srepro -version
Clojure CLI version 1.10.3.1075
; echo '{:paths ["src"] :deps{org.clojure/java.classpath {:mvn/version "1.0.0"}}}' > deps.edn
; mkdir src && echo '(ns user (:require clojure.java.classpath))' > 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

imre14:02:12

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

milt22:02:21

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: • https://github.com/yetanalytics/re-oidc 0.0.1 - A re-frame wrapper for https://github.com/IdentityModel/oidc-client-jshttps://github.com/yetanalytics/pedestal-oidc 0.0.2 - Pedestal interceptor + utils for handling OIDC tokens & discovery re-oidc contains an https://github.com/yetanalytics/re-oidc/blob/main/README.md#interactive-development--demo 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