Fork me on GitHub
#announcements
<
2022-02-28
>
oliy09:02:01

I'm pleased to announce a new release of martian with lots of improvements around OpenAPI handling. martian is an abstraction over HTTP that uses OpenAPI/Swagger/your own interface definitions to simplify interactions with remote systems. An interceptor chain means it can be easily extended, it has built-in support for all the most popular HTTP clients and also has companion libraries for recording/playback, generative testing and more. https://github.com/oliyh/martian This release adds support for: • OpenAPI server URLs directive https://github.com/oliyh/martian/pull/129, thanks https://github.com/bombaywalla • OpenAPI yaml definitions https://github.com/oliyh/martian/pull/132, thanks https://github.com/bombaywalla This release fixes: • Incorrect errors of disallowed keys for OpenAPI bootstrapped instances https://github.com/oliyh/martian/issues/126 • The internal martian spec of an input schema to allow optional keys https://github.com/oliyh/martian/pull/138, thanks https://github.com/chopptimus • OpenAPI parameters defined in a `$ref` https://github.com/oliyh/martian/issues/112https://github.com/oliyh/martian/issues/142 • Nested objects with optional keys in Swagger bootstrapped instances https://github.com/oliyh/martian/issues/111 • Interpretation of the `number` leaf schema https://github.com/oliyh/martian/pull/146, thanks https://github.com/bombaywalla • Interpretation of untyped schemas that have `properties` as objects https://github.com/oliyh/martian/pull/148, thanks https://github.com/bombaywalla This release improves: • The main readme and the https://github.com/oliyh/martian/tree/master/vcr, thanks https://github.com/rgkirch

🎉 15
fmnoise12:02:50

Let me introduce https://github.com/fmnoise/coldbrew - easy to use Clojure wrappers for https://github.com/ben-manes/caffeine We're already running that in production for 4 months with no issues, I hope you'll enjoy it too 🙌

🎉 18
🚅 2
🚀 1
5
dharrigan15:02:28

oooh, very nice! I used caffeine a lot when using java and kotlin

dharrigan15:02:35

nice to see it here too!

🙌 1
mbjarland12:03:58

Yes indeed, been looking for a lib for caffeine for some time. Excellent work!

🙏 1
Ben Sless17:03:57

question, (although I work at AppsFlyer, I have no particular investment in this project), why not use https://github.com/AppsFlyer/cloffeine? Were you unaware of it? was something missing? Did you dislike something about the design?

fmnoise17:03:53

@UK0810AQ2 I just needed tool for my use case, not a clojure api wrapper for Caffeine (I don't see any issues doing java interop tbh) My use case is: I have lacinia graphql resolver (or any other function) and I need to make it cacheable (with expiration and conditions) with minimum amount of code changes. And remove caching with the same minimal amount of code changes. That's how defcached was born 😎

Ben Sless17:03:32

@U4BEW7F61 I have a personal itch to write something that is compatible with core.cache and core.memoize but I haven't had a need to use caffeine yet

fmnoise17:03:32

I used caffeine previously, it's very good. core libs should be fine too I guess

roklenarcic18:03:37

I wrote my memento library to address my caching needs via guava but it seems that caffeine is superior

roklenarcic18:03:50

Wasnt aware of its existence

Alex Miller (Clojure team)20:02:01

https://clojure.org/releases/tools#v1.10.3.1087 is now available • Fix error message when git url missing or not inferred • Pass :exec-fn and :exec-args to -X/-T even when using -Scp • https://clojure.atlassian.net/browse/TDEPS-222 Make Clojure dependency in pom a compile dependency, not provided • https://clojure.atlassian.net/browse/TDEPS-203 In -X:deps prep - now takes basis settings, including aliases • https://clojure.atlassian.net/browse/TDEPS-197 -X:deps git-resolve-tags - now resolves to :git/tag and :git/sha • -X:deps tree - now takes basis settings • -X:deps mvn-pom - now takes basis settings • -X:deps list - put license abbreviation list in a resource and load on demand

👍 9
🎉 12
Carsten Behring22:02:31

https://clojars.org/scicloj/scicloj.ml 0.2.0 is now available • handling of categorical predictions targets is now fully pushed down to implementing models All plugins were updated accordingly.

🎉 2
Carsten Behring22:02:54

The DJL plugin for is available in new version 0.1.9: • initial support for fasttext was added for text classification tasks https://clojars.org/org.scicloj/scicloj.ml.clj-djl