Releases: kwebio/kweb-core
1.3.2 Bugfixes
What's Changed
- Bump selenium-java from 4.7.0 to 4.7.2 by @dependabot in #414
- Bump selenium-chrome-driver from 4.7.0 to 4.7.2 by @dependabot in #415
- Fix "Received event callback with JsonNull" warning by adding a value the callback can read by @alkoclick in #417
- ValueElement.value wasn't propagating KVar changes from server to browser by @sanity in #418
Full Changelog: 1.3.1...1.3.2
1.3.1 Ktor updated, viewport improvements
What's Changed
- Bump ktor-server-caching-headers from 2.1.3 to 2.2.1 by @dependabot in #406
- Upgrade Ktor to version 2.2.1 by @sanity in #411
- remove shadow plugin, not needed by @sanity in #412
- deprecate viewport plugin, replace with extension function by @sanity in #413
Full Changelog: 1.3.0...1.3.1
1.3.0: Remove hardwired <meta> declaration
We have fixed a minor bug in Kweb where a meta tag was hardwired into all HTML documents. This meta tag should have been user-configurable, either through the DSL or the ViewportPlugin. The meta tag has now been removed.
This is what it was adding:
<head>
...
<meta id="K_head"
name="viewport"
content="width=device-width, initial-scale=1.0">
...
</head>
This change should not have any effect on your website, as the values in the meta tag were the default values anyway.
However, if you do notice any adverse effects of the change you can use the ViewportPlugin with its default settings to add the meta tag back.
To do this use the following code:
import kweb.plugins.viewport.ViewportPlugin
Kweb(port = 1235, plugins = listOf(ViewportPlugin())) { // ...
1.2.2
Changing the visibility of Kweb.clientState was the purpose of the previous release but seems like I screwed up the git push. This should really fix it.
What's Changed
- Bump selenium-java from 4.6.0 to 4.7.0 by @dependabot in #400
- Bump kotlin-gradle-plugin from 1.7.21 to 1.7.22 by @dependabot in #402
- Bump selenium-chrome-driver from 4.6.0 to 4.7.0 by @dependabot in #401
Full Changelog: 1.2.1...1.2.2
Minor API visibility change, documentation
What's Changed
New Contributors
- @sunyuyangg555 made their first contribution in #398
Full Changelog: 1.2.0...1.2.1
1.2.0 Make components less verbose
Thanks to @sigmadeltasoftware for suggesting a more concise syntax for components, the old Component interface has been deprecated. See Components in the user manual.
What's Changed
- Add CSSPlugin which enables the usage of custom CSS files by @Cyneath in #395
- Changed Component class into ElementCreator typealias by @sigmadeltasoftware in #397
New Contributors
- @sigmadeltasoftware made their first contribution in #397
Full Changelog: 1.1.6...1.2.0
1.1.6 Documentation and minor bugfixes
What's Changed
- Bump com.github.ben-manes.versions from 0.43.0 to 0.44.0 by @dependabot in #388
- remove old code by @sanity in #387
- Bump logback-classic from 1.4.4 to 1.4.5 by @dependabot in #393
Full Changelog: 1.1.5...1.1.6
1.1.5 select and textarea improvement
What's Changed
- Add initialValue support for select and textarea by @tokuhirom in #382
New Contributors
- @tokuhirom made their first contribution in #382
Full Changelog: 1.1.4...1.1.5
1.1.4 Minor bugfixes and documentation
What's Changed
- fix #include of KVar input binding example by @Cyneath in #378
- Fix example in style.md by @AndrewCrowe in #379
- ObservableList.listIterator() should disallow list modifications through MutableIterator by @sanity in #386
New Contributors
- @AndrewCrowe made their first contribution in #379
Full Changelog: 1.1.3...1.1.4
1.1.3 Add urlPathPrefix config option and related changes
What's Changed
- Bump selenium-java from 4.5.3 to 4.6.0 by @dependabot in #372
- Bump kotlin-logging from 3.0.2 to 3.0.4 by @dependabot in #374
- Bump kotest-bom from 5.5.3 to 5.5.4 by @dependabot in #375
- Bump selenium-jupiter from 4.3.1 to 4.3.2 by @dependabot in #373
- Bump selenium-chrome-driver from 4.5.3 to 4.6.0 by @dependabot in #376
- add urlPathPrefix configuration parameter by @sanity in #377
- WebSocket callback listen path changed from
/ws
to/kweb_ws
to avoid collisions
Full Changelog: 1.1.2.1...1.1.3