:spider_web: Latest Kobweb v0.20.1 :spider_web: <h...
# kobweb
d
🕸️ Latest Kobweb v0.20.1 🕸️ https://github.com/varabyte/kobweb/releases/tag/v0.20.1 ⚠️ NOTE: while you should read on to see what's new, please use v0.20.2 which is the same release with a nasty bug fixed. A bunch of stuff in this one. Check out the release notes! Biggest announcements: • Some users are mentioning decent reductions in their site output sizes. • Artifacts are now hosted on Maven Central and the Gradle Plugin Portal. This could be useful for folks who work at companies that block custom repository URLs they don't recognize. • We now support catch-all dynamic routes (e.g.
"/a/b/c/{...slug}"
+
"/a/b/c/d/e/f"
-->
slug = "d/e/f"
) • On the backend, you can now annotate a method with
@ApiInterceptor
and be given a chance to intercept every incoming request / outgoing response. • We now provide
CanvasGl2
for people who want to use a webgl2 context instead of a webgl context.
🎉 8
kodee happy 1
👍 1
⚠️ Heads up, there may be a potentially bad bug in this one for sites that use query parameters / fragments due to an incomplete refactoring that went into 0.20.1
We are investigating now to confirm.
r
Artifacts are now hosted on Maven Central and the Gradle Plugin Portal. This could be useful for folks who work at companies that block custom repository URLs they don't recognize.
This is HUGE! It will be possible for me to use kobweb for some of my clients because of this.
d
Ah that's right, I think I recall you mentioning that before @Ryan Scott. I'm really happy to hear that! Sorry it took so long, and thanks for your patience. Definitely posting artifacts on maven central is a little stressful -- for example, trying to get quick turnaround on the emergency fix yesterday was mostly waiting for maven central to propagate -- but at this point it's overall worth it.
r
Interestingly, I actually posted an article on my site (which uses Kobweb) on how to do this.
Anyways--glad you got that figured out and were able to deploy the fix.
d
Oh I've used maven central for my other projects for a while! I was just putting it off in Kobweb because dealing with sonatype was often a pain. That said, their web interface was solid this time -- a year ago I kept getting random errors all the time when trying to publish stuff. So maybe things are much better over there now.
But feel free to link your article here if you'd like!
r
Sure. If anyone is interested, I have a 6-article series on creating and deploying a Compose Multiplatform library to Maven Central that starts here: https://www.fsryan.com/blogs/ryan/en/making-a-compose-multiplatform-ui-library
👍 1
It culminates here with the guide to publishing to maven central: https://www.fsryan.com/blogs/ryan/en/releasing-to-maven-central
👍 1
I'm interested in what the community has to say. Feel free to comment on any of the articles in the series.