malli

https://github.com/metosin/malli :malli:
steveb8n 2020-09-22T08:13:03.041400Z

I just started using Malli for json-schema. this lib is becoming a swiss army knife for me 🙂

👍 1
ts1503 2020-09-22T08:54:26.044600Z

Hello guys. Any ideas when a stable version of malli will arrive? I’m using the malli for a while in production but the latest release broke my app because the transitive dependency doesn’t work with Java 11 (https://github.com/borkdude/sci) 😢

borkdude 2020-09-22T08:56:58.045200Z

@sergey.tkachenko sci is optional with malli since a couple of releases, so if you aren't using it, it should not be a problem

borkdude 2020-09-22T08:57:20.045800Z

if you are using it, then there are instructions in the README of sci what should be done with java 11

ts1503 2020-09-22T08:57:53.046300Z

I’m not using it directly I’m using only a malli

borkdude 2020-09-22T08:58:09.046700Z

then depending on a newer version of malli should automatically fix this

ts1503 2020-09-22T08:58:49.047300Z

what is the latest version? I see only a 0.0.1-SNAPSHOT

ikitommi 2020-09-22T08:59:30.048500Z

0.0.1-20200920.124124-25

ts1503 2020-09-22T08:59:32.048800Z

and it worked fine for a months but after the latest release/override it broke my build

ikitommi 2020-09-22T08:59:48.049100Z

all SNAPSHOTs have immutable versions behind them.

ikitommi 2020-09-22T09:00:09.049400Z

that version has these deps:

<dependencies>
    <dependency>
      <groupId>borkdude</groupId>
      <artifactId>dynaload</artifactId>
      <version>0.1.0</version>
    </dependency>
    <dependency>
      <groupId>borkdude</groupId>
      <artifactId>edamame</artifactId>
      <version>0.0.11-alpha.13</version>
    </dependency>
    <dependency>
      <groupId>org.clojure</groupId>
      <artifactId>test.check</artifactId>
      <version>1.0.0</version>
    </dependency>
  </dependencies>

ts1503 2020-09-22T09:00:59.050500Z

is this version (0.0.1-20200920.124124-25) in the clojars?

ikitommi 2020-09-22T09:01:03.050700Z

so, you can use the “previous” SNAPSHOT too, just need to find the full version, e.g. .m2/repository/metosin/malli/0.0.1-SNAPSHOT

ikitommi 2020-09-22T09:01:09.050900Z

yes

ikitommi 2020-09-22T09:01:12.051100Z

… should be.

borkdude 2020-09-22T09:01:41.051600Z

I used to have a way of seeing these fully qualified snapshot versions on clojars. forgot

borkdude 2020-09-22T09:01:50.052Z

I usually look it up in CI when it is pushed

ikitommi 2020-09-22T09:01:53.052100Z

➜  0.0.1-SNAPSHOT ls -l
total 304
-rw-r--r--  1 tommi  staff    405 Sep 21 08:02 _remote.repositories
-rw-r--r--  1 tommi  staff  19391 Sep 21 08:02 malli-0.0.1-20200305.102752-13.jar
-rw-r--r--  1 tommi  staff     40 Sep 21 08:02 malli-0.0.1-20200305.102752-13.jar.sha1
-rw-r--r--  1 tommi  staff   1692 Sep 21 08:02 malli-0.0.1-20200305.102752-13.pom
-rw-r--r--  1 tommi  staff     40 Sep 21 08:02 malli-0.0.1-20200305.102752-13.pom.sha1
-rw-r--r--  1 tommi  staff  24437 Sep 21 07:37 malli-0.0.1-20200715.082439-21.jar
-rw-r--r--  1 tommi  staff     40 Sep 21 07:37 malli-0.0.1-20200715.082439-21.jar.sha1
-rw-r--r--  1 tommi  staff   1692 Sep 21 07:37 malli-0.0.1-20200715.082439-21.pom
-rw-r--r--  1 tommi  staff     40 Sep 21 07:37 malli-0.0.1-20200715.082439-21.pom.sha1
-rw-r--r--  1 tommi  staff  27727 Sep 20 15:43 malli-0.0.1-20200920.124124-25.jar
-rw-r--r--  1 tommi  staff     40 Sep 20 15:43 malli-0.0.1-20200920.124124-25.jar.sha1
-rw-r--r--  1 tommi  staff   1547 Sep 20 15:43 malli-0.0.1-20200920.124124-25.pom
-rw-r--r--  1 tommi  staff     40 Sep 20 15:43 malli-0.0.1-20200920.124124-25.pom.sha1
-rw-r--r--  1 tommi  staff  24437 Sep 21 07:37 malli-0.0.1-SNAPSHOT.jar
-rw-r--r--  1 tommi  staff   1692 Sep 21 07:37 malli-0.0.1-SNAPSHOT.pom
-rw-r--r--  1 tommi  staff    765 Sep 20 15:43 maven-metadata-clojars.xml
-rw-r--r--  1 tommi  staff     40 Sep 20 15:43 maven-metadata-clojars.xml.sha1
-rw-r--r--  1 tommi  staff    370 Sep 20 15:43 resolver-status.properties

ts1503 2020-09-22T09:01:56.052400Z

there is only a snapshot

ts1503 2020-09-22T09:02:24.053200Z

or I’m missing something?

borkdude 2020-09-22T09:03:14.053400Z

btw @ikitommi please bump dynaload to 0.2.2 :)

ikitommi 2020-09-22T09:04:16.054Z

will do + publish a new version out.

ikitommi 2020-09-22T10:02:42.054800Z

updated dynaload and pushed to clojars, ping @sergey.tkachenko

ikitommi 2020-09-22T10:02:49.055200Z

Downloading: metosin/malli/0.0.1-SNAPSHOT/malli-0.0.1-20200922.100025-26.pom from clojars

ikitommi 2020-09-22T10:02:57.055500Z

that’s the immutable version handle to it.

ts1503 2020-09-22T10:11:37.055700Z

Thanks