v0.15.1 #380
bitspittle
announced in
Announcements
v0.15.1
#380
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a minor release that addresses some technical issues and features which, while important to do, probably won't apply to most users.
Planning to upgrade? Review instructions in the README.
Frontend
Backend
Markdown
link to [some markdown](https://some.example.site.com/path/to/some/markdown.md)
, that would crash when running on Windows. ("Cross platform" path APIs are fun....)Gradle
The library plugin now generates a
module.json
file for all of its artifacts. This allows the application plugin to detect that an artifact was build by the Kobweb library plugin as well as which version it was built by, in case that matters in the future.resources/public
folder in any library into your final site's public resources. That logic has been updated to only copy files from libraries we are sure were built with Kobweb.If you are a library author who wants to write code that requires the user add script includes into their site's
<head>
block, you can now specify them yourself in the library'sbuild.gradle.kts
file and they will be included in the user's site automatically.Notes
Specifying head elements from the library plugin
A concrete example will help here. In v0.0.6 of the Kotlin Bootstrap library, the user is asked to add some code into their build script in order for the library to work.
The author of that library can now do this in their own build script:
and with that, they can publish their library, and anyone using Kobweb v0.15.1 or newer will have those head tags automatically added for them.
If a user wanted to opt out of adding these dependencies automatically, they would add the following into their own application build script:
Full Changelog: v0.15.0...v0.15.1
This discussion was created from the release v0.15.1.
Beta Was this translation helpful? Give feedback.
All reactions