pedestal

hlship 2025-02-12T00:33:06.270949Z

Yes, I don't think there's been a snapshot of 0.8.0 pushed to clojars.

hlship 2025-02-12T00:33:20.273809Z

You may have to build from source.

hlship 2025-02-12T00:33:50.794379Z

Do you want to try new stuff from 0.8.0? If not, 0.7.2 is the latest stable.

Jon Hancock 2025-02-12T00:36:31.343799Z

I want jetty 12. From looking at the deps in 0.7.2, it still uses 11.

hlship 2025-02-12T00:36:45.934569Z

This is true.

hlship 2025-02-12T00:36:56.604429Z

You may have to build from source.

Jon Hancock 2025-02-12T00:37:46.352599Z

I haven't done that before...any pointers?

hlship 2025-02-12T00:37:47.775999Z

The code is in significant flux right now; I'm splitting apart the servlet-oriented code from the rest, which will ultimately make it easier to support HttpKit and perhaps other containers, such as netty.

hlship 2025-02-12T00:38:14.863089Z

from the root: clojure -T:build deploy-all :dry-run true :force true

Jon Hancock 2025-02-12T00:40:24.936849Z

that would be nice. I am trying to move on from reitit and ring. Pedestal seems a good choice for that. I only want jetty if I can use 12. I've used netty and HttpKit and am happy with either. Is it possible to use 0.7.2 with jetty 12? Or is there a "stable" git commit for 0.8.0 I can target?

hlship 2025-02-12T00:40:56.220659Z

No, 0.7.2 is not compatible with Jetty 12. Jetty changes a lot between major revisions.

tothemax 2025-02-12T11:51:25.305409Z

BTW if you deploy as a WAR the Jetty version does not matter much and with Jetty 12 it is possible to deploy in a range of EE versions (from EE8, the old javax.* stuff; to EE10, the latest). That's what we use here at Nubank for now and in the upcoming months we will be moving to a Jetty 12 + Pedestal 0.6 setup (we have not updated to 0.7 yet because of complications with the metrics - we are kind of stuck on a older prometheus client version because it will be a lot of pain to deal with the two breaking changes they made in the metrics model, in version 0.10.0 and 1.0.0 of the java client)

hlship 2025-02-12T21:48:13.644199Z

The way I'm splitting up Pedestal currently (dividing the more generic code from the code that works only in the context of the Servlet API) will actually make deploying a WAR easier w/o having to hack the classpath when building the WAR.

Jon Hancock 2025-02-13T04:06:30.749729Z

@hlship do you have a rough estimate for when 0.8 might be usable? If I start with 0.7.2 will there be a path to migrate? I have a production app on aleph/reitit now. I'm building a new app and want to try a more batteries included approach and stick with core.async throughout my app instead of manifold.

hlship 2025-02-13T16:34:27.935149Z

A lot of things you use in 0.7 will be deprecated, but still working, in 0.8.