[ANN] Cognitect Labs' aws-api 0.8.335

338 views
Skip to first unread message

David Chelimsky

unread,
Jul 5, 2019, 3:37:40 PM7/5/19
to Clojure
Cognitect Labs' aws-api 0.8.335 is now available!

CHANGES
  • use clojure.data.xml instead of clojure.xml
    • resolves Illegal Reflective Access warnings in java 11 #19
  • upgrade cognitect http-client
    • upgrades jetty to 9.4 #81
    • resolves Illegal Reflective Access warnings in java 11 #19
  • support shared http-client across aws-api clients #80
  • add Content-Type header for rest-json requests #84

David Chelimsky

unread,
Jul 6, 2019, 7:11:09 AM7/6/19
to Clojure
Unfortunately, 0.8.335 introduced a bug in the iam client. Fortunately, release 0.8.342 fixes it, so use that instead!

Matching Socks

unread,
Jul 6, 2019, 7:19:06 AM7/6/19
to Clojure
David, what's wrong with clojure.xml that pushed cognitect-labs/aws-api to try another library, and is there a Jira issue for it?

Alex Miller

unread,
Jul 6, 2019, 11:57:41 AM7/6/19
to Clojure
clojure.xml is a ns built into Clojure core that dates from very early days of Clojure. At a later point, it almost certainly would have been in clojure-contrib or a separate library. It is not a good choice for anything more than one-off code. In particular, it will cause reflection/illegal access warnings because it has an api that truly is reflective (in passing through objects of many possible types).

org.clojure/data.xml is a full xml library, using modern jdk conveniences and providing many more features. As such, it’s a much better choice to build on.

David Chelimsky

unread,
Jul 6, 2019, 3:13:32 PM7/6/19
to Clojure
Unfortunately, 0.8.335 introduced two bugs! One in the iam client, and one in pretty much everything because the pom.xml didn't get updated with the new deps.

Please use 0.8.345, which fixes both issues.
Reply all
Reply to author
Forward
0 new messages