datomic 2026-11-12

Howdy folks! A small Datomic Cloud and Ion-dev release mostly moving fixes and deps updates. More to come! https://forum.datomic.com/t/datomic-cloud-1255-9438/2676

☁️ 2
2
👀 1
❤️ 4
🎉 2

The release notes mention an upgrade of the http-client dependency to 1.0.151. We previously had this pinned at 1.0.148 due to a compatibility issue with aws-api. I assume it is safe to remove the pin but I can’t seem to find a record here of the discussion were the pin was recommended.

Ugh… I’m fighting the transitive dependency battle again. After updating ion-dev to the 1.0.359 and updating all the documented cloud dependencies (from the above release notes) I still get conflicts on push:

:deps
  {org.eclipse.jetty/jetty-http #:mvn{:version "12.1.10"},
   org.eclipse.jetty/jetty-util #:mvn{:version "12.1.10"},
   com.cognitect/http-endpoint #:mvn{:version "1.0.109"},
   org.eclipse.jetty/jetty-security #:mvn{:version "12.1.10"},
   com.cognitect/http-client #:mvn{:version "1.0.151"},
   org.eclipse.jetty/jetty-io #:mvn{:version "12.1.10"},
   org.eclipse.jetty/jetty-server #:mvn{:version "12.1.10"}},
Some of these seem to be insurmountable. org.eclipse.jetty/jetty-{http,io,security,server,util => none of this stuff is even in our deps tree so I’m not sure how they can be conflicts. In the past I have whitelisted these exceptions and I can again but it would be nice to get confirmation that the conflicts are false-positives. com.cognitect/http-endpoint => also not in our deps tree and this version is not available in maven or the datomic repo. In the past I have whitelisted this one too. Can I get confirmation that the conflict is a false-positive? com.cognitect/http-client => this is a legit conflict with our transitive dependency via client-cloud but it can’t be pinned to the new version (it’s not published anywhere either) and pinning to the old version or letting resolution pick up the old version is going to give me a false positive on the conflict report.

aws-api hasn’t used cog.http-client in a while

The conflict with com.cognitect/http-client is coming via the latest com.datomic/client-cloud (1.0.137). It wants 1.0.148 while the runtime wants 1.0.151.

@cch1 at the very least I failed to release 1.0.151 http-client. I am fixing that now. I think we may also need a new client-cloud that relies on it, but once I release 1.0.151 I’d love to validate with your deps.edn. Can you shoot that to me over DM? looking into the white listing questions as well.

Sure thing. I’ll get you that data here in a second.

OK, here is the value of the acceptable-conflicts var that I use at deploy to determine if a conflict can be ignored (I compare the value to those in the conflicts report of the push op):

#{[com.cognitect/http-client #:mvn{:version "1.0.151"}]
  [com.cognitect/http-endpoint #:mvn{:version "1.0.109"}]
  [org.eclipse.jetty/jetty-security #:mvn{:version "12.1.10"}]
  [org.eclipse.jetty/jetty-util #:mvn{:version "12.1.10"}]
  [org.eclipse.jetty/jetty-server #:mvn{:version "12.1.10"}]
  [org.eclipse.jetty/jetty-io #:mvn{:version "12.1.10"}]
  [org.eclipse.jetty/jetty-http #:mvn{:version "12.1.10"}]}

http-client 1.0.151 is published on maven now if you pin that dep and push again what is left that you need to suppress (assuming you revert your conflict list to pre this release?

Ok, in addition to releasing http-client 1.0.151 to maven (oversight on my part) we have released client-cloud 1.0.138 which includes a bump to rely on http-client 1.0.151. https://docs.datomic.com/changes/cloud.html#client-1-0-138

Here’s the value I would need (the reported conflicts) after updating client-cloud to 1.0.138):

{org.eclipse.jetty/jetty-http #:mvn{:version "12.1.10"},
  org.eclipse.jetty/jetty-util #:mvn{:version "12.1.10"},
  com.cognitect/http-endpoint #:mvn{:version "1.0.109"},
  org.eclipse.jetty/jetty-security #:mvn{:version "12.1.10"},
  com.datomic/client #:mvn{:version "1.0.146"},
  com.datomic/client-impl-shared #:mvn{:version "1.0.113"},
  org.eclipse.jetty/jetty-io #:mvn{:version "12.1.10"},
  com.datomic/client-cloud #:mvn{:version "1.0.137"},
  org.eclipse.jetty/jetty-server #:mvn{:version "12.1.10"}}
Yeah, the conflicted set grew.

Yes, the transitive deps (client, impl shared) are required to move to support http-client 151 which we deemed we needed to resolve from your previous report. However the runtime/manifest was released under the notion we did not need to cut a new client-cloud release and thus it will still show client-cloud 1.0.137 as it is running client-cloud 1.0.137, but it also pins the http-client dep separately. This conflict map is what I expected and you should not have issues utilizing ions and those dep conflicts can be ignored. A new release of cloud templates/ion dev would squash most of these but we aren't going to cut a new release of cloud just to fix the conflict map reported and it will instead get addressed when we release the next batch of features/fixes on cloud and properly move client-cloud in concert. Sorry for my mistake on this. would have been avoided if when cutting cloud i recognized we needed to move client-cloud.

Sorry I just re-read my statements here and I think its worth trying to rephrase. I responded that “we aren’t going to cut a new release just to” and I think that’s tone def to the issues you are facing. I dont want this to come off as “we know it’s busted but it isn’t important to fix right now.” We needed to fix and release http-client. That was missing from maven and could cause actual issues. To do that, we released it to maven and then bumped client-cloud so users could get it and the other required deps were released on maven to facilitate that. The cloud cfts and specifically the ion-dev version (which has the manifest maintaining this conflict map) were cut without that version of client cloud (because we made them before) so this report is a false positive in that those versions you have aren’t written in the ion-dev conflict map, but what is running on your node is correct (http-client is released to maven). We could release another Cloud Template and a new version of ion-dev to address the conflict map, but the core issue with http-client being available is now resolved and you should have no functionality issues. I am going to discuss with dev tomorrow to see if we could actually cut another release that addresses the conflict map and updates the templates to run on the recent version of client cloud.

Thanks for the clarity, Jaret. Don’t worry I didn’t take the first version in a way that reflects poorly on you. But I do hope somehow that the process could become easier for you. There is no doubt that the conflict report is a distant second to proper functionality.

Is there a recommended way to run a transactor with a newer version of Clojure than it is packaged with? (My motivation is to use new language features in transaction functions/code called from transaction functions)

what do you want to use, in particular?

The new destructuring stuff. (I know it’s alpha, this isn’t in production yet, just during dev.)

oh, I thought you meant 1.12

I think we are ready to raise the floor from 1.11 to 1.12

Wait… cloud beat peer’s transactor to 1.12?

Yep

🤩 1
😝 1