New https://github.com/mpenet/legba version out - 1.0.0-alpha146 - Adding support for multipart requests + bugfixes
Legba doesn't seem to have a dedicated channel, so I'll try my luck here... is it possible that Legba currently considers all response headers as mandatory, or am I holding it wrong? It seems to me that if the OpenAPI spec defines response headers, Legba currently always validates all of them, regardless of whether the headers exist in the response map or whether they're marked required. It looks to me like if the response map doesn't contain one of the response headers defined in the schema, its value is converted to "nil" here:
https://github.com/mpenet/legba/blob/59f15cf788f1ce62c7c5e9dd93390f9e1c7b1cb5/src/s_exp/legba/response.clj#L60
yes you're right, currently they are all considered mandatory, it's a bug.
I ll fix that now
An unrelated question while we're here... is parameter coercion out of scope for Legba? For example, if the OpenAPI spec specifies a query parameter limit of type integer, what is the best approach for Legba users to coerce the value from string to int?
yes, it's intentionally out of scope
it's fixed as of 1.0.0-alpha148
Wow, many thanks!
you're welcome, thanks for the report
Tried it out, works. 👍
great 🙂
New https://github.com/scicloj/scicloj.ml.xgboost version out - 6.5.0
• predict returns raw logits with a model from a custom objective (by @rschmukler)
• made dataset->dmatrix public
• upgraded to xgboost4j "3.2.0"
• minimized hadoop dependencies via exclusions
https://clojars.org/org.scicloj/scicloj.ml.xgboost
new https://github.com/scicloj/sklearn-clj version out - 0.6 - a Plugin to use sklearn models in http://metamorph.ml • fix classifiers, which do not have "predict_proba" attribute • made some internal fns private • tested with sklearn 1.8.0
Rewrite-clj v1.2.53 (the 53rd release of rewrite-clj!) - Rewrite Clojure code and edn This https://github.com/clj-commons/rewrite-clj/blob/main/CHANGELOG.adoc#v1.2.53 has one change: • @alexyakushev was kind enough to apply his https://github.com/clj-commons/rewrite-clj/pull/439#issuecomment-4048076444 from clj-kondo back to rewrite-clj. Thanks @alexyakushev! Drop by #rewrite-clj with any questions! rewrite-clj is one of the many projects under the loving care of https://github.com/clj-commons.
Exciting news: I'll likely cut another release soon with another perf tweak from @alexyakushev!
PluMCP: Clojure/ClojureScript library for building https://modelcontextprotocol.io/ Clients and Servers Version 0.2.0-beta3 is released to Clojars. This release adds server notification-handlers and fixes progress-tracking and several usability issues. • Repo: https://github.com/plumce/plumcp • Changelog: https://github.com/plumce/plumcp/blob/dev-0.2.0/CHANGELOG.md#020-beta3---2026-mar-12 Please share your feedback/questions/followup in #plumcp or in thread.