Releases: kwebio/kweb-core
Minor bugfix
1.1.2.1 switch back to Jetty
1.1.2 Improve components
What's Changed
Full Changelog: 1.1.1...1.1.2
1.1.1 Improved coroutines support
Provide ElementCreator.elementScope()
to create CoroutineScopes that are canceled when the relevant part of the DOM is no-longer used.
What's Changed
Full Changelog: 1.1.0...1.1.1
Improvement to element creation DSL
This release changes how Elements are configured on creation. Old approach:
button {
element {
classes("bigbutton")
this["autofocus"] = true
text("Click Me!")
}
}
New approach:
button { btnEl ->
with(btnEl) {
classes("bigbutton")
this["autofocus"] = true
text("Click Me!")
}
}
The element { }
block is now deprecated in favor of this approach.
What's Changed
Full Changelog: 1.0.2.1...1.1.0
1.0.2.1
- Use
/kweb_static
instead of/static
for static files to avoid collisions since/static
is commonly used - Improve DSL for custom elements
Full Changelog: 1.0.2...1.0.2.1
1.0.2 Managing complexity with Components
Composable components help manage complexity in a software project by allowing developers to break down a complex problem into smaller, more manageable pieces. Kweb's new Component interface is a simple but powerful abstraction to create reusable UI components in Kweb.
We also have new ways to create KVars and KVals from within the DOM builder DSL that are more resource efficient, see the new KVars and the DOM section in the Kweb Book.
For more read the new Kweb book chapter: Managing Complexity
What's Changed
- Bump selenium-chrome-driver from 4.5.2 to 4.5.3 by @dependabot in #352
- Bump kotest-bom from 5.5.1 to 5.5.2 by @dependabot in #353
- Bump selenium-java from 4.5.2 to 4.5.3 by @dependabot in #351
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.12.0 to 0.12.1 by @dependabot in #355
- Bump ktor-server-jetty from 2.1.2 to 2.1.3 by @dependabot in #357
- Bump kotest-bom from 5.5.2 to 5.5.3 by @dependabot in #356
- Bump ktor-server-caching-headers from 2.1.2 to 2.1.3 by @dependabot in #360
- Bump ktor-server-websockets from 2.1.2 to 2.1.3 by @dependabot in #358
- Bump ktor-server-default-headers from 2.1.2 to 2.1.3 by @dependabot in #359
- Bump ktor-server-compression from 2.1.2 to 2.1.3 by @dependabot in #362
- Bump ktor-network-tls-certificates from 2.1.2 to 2.1.3 by @dependabot in #363
- new kvar function and start of Renderable mechanism by @sanity in #365
Full Changelog: 1.0.1...1.0.2
1.0.1
What's Changed
- Prepare for Sonaype release by @aSemy in #324
- Bump selenium-chrome-driver from 4.5.0 to 4.5.2 by @dependabot in #342
- Bump selenium-java from 4.5.0 to 4.5.2 by @dependabot in #343
- Sonatype publishing: minor updates to maven-publish convention by @aSemy in #345
- Test Koverage by @sanity in #346
- Trying to set up autodeploy to Sonatype / Maven Central, not working yet by @sanity in #344
- fix indentation of "CSS & Style" chapter in SUMMARY.md by @Cyneath in #348
- Remove references to CDNs, tidy up bundled static files
New Contributors
Full Changelog: 1.0.0...1.0.1
1.0.0
What's Changed
- Bump kotlin-logging from 3.0.0 to 3.0.2 by @dependabot in #331
- Bump kotest-bom from 5.5.0 to 5.5.1 by @dependabot in #333
- Bump kotlinx-serialization-json from 1.4.0 to 1.4.1 by @dependabot in #334
- implement API binary compatibility validator by @sanity in #337
- Bump com.github.ben-manes.versions from 0.42.0 to 0.43.0 by @dependabot in #339
- Add integration docs with Spring Boot example by @BenjaminFaal in #340
- Bump org.jetbrains.kotlinx.binary-compatibility-validator from 0.11.1 to 0.12.0 by @dependabot in #341
New Contributors
- @BenjaminFaal made their first contribution in #340
Full Changelog: 0.12.7...1.0.0
1.0.0-rc.2: Minor tweaks and bugfixes
What's Changed
- implement API binary compatibility validator by @sanity in #337
- Bump com.github.ben-manes.versions from 0.42.0 to 0.43.0 by @dependabot in #339
- Add integration docs with Spring Boot example by @BenjaminFaal in #340
New Contributors
- @BenjaminFaal made their first contribution in #340
Full Changelog: 1.0.0-rc.1...1.0.0-rc.2
Kweb 1.0.0-rc.1
What is Kweb?
Kweb is a web application framework written in Kotlin for backend developers. It's designed to be lightweight and easy to use, with a focus on efficiency, simplicity, and flexibility.
Read The Kweb Book to learn more and to begin using Kweb.
What does the 1.0.0 release mean?
- After almost 6 years and 23 different contributors, Kweb has been used by enough people that we think the API is right and the code is reliable enough
- We will try very hard to avoid breaking API changes, making full use of Kotlin's deprecation system
- We think the documentation is of acceptable quality
- We think our build and testing infrastructure is of acceptable quality
This means increased confidence that Kweb will work well for you and Kweb version releases won't break your code (without a good reason).
Is Kweb ready for a 1.0.0 release?
The purpose of this release candidate is to find out. Whether you're new to Kweb or an existing user, please let us know what you think!
What has changed since 0.12.7
- Bump kotlin-logging from 3.0.0 to 3.0.2 by @dependabot in #331
- Bump kotest-bom from 5.5.0 to 5.5.1 by @dependabot in #333
- Bump kotlinx-serialization-json from 1.4.0 to 1.4.1 by @dependabot in #334
Full Changelog: 0.12.7...1.0.0-rc.1