Skip to content
This repository has been archived by the owner on Aug 10, 2024. It is now read-only.

Releases: kwebio/kweb-core

1.3.2 Bugfixes

23 Dec 21:30
54a9879
Compare
Choose a tag to compare

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

10 Dec 19:30
4f213f4
Compare
Choose a tag to compare

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

04 Dec 19:22
2860898
Compare
Choose a tag to compare

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

03 Dec 16:41
Compare
Choose a tag to compare

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

Full Changelog: 1.2.1...1.2.2

Minor API visibility change, documentation

02 Dec 17:10
bd4ac5b
Compare
Choose a tag to compare

What's Changed

  • doc fix typo by @sunyuyangg555 in #398
  • make Kweb.clientState public again per #399

New Contributors

  • @sunyuyangg555 made their first contribution in #398

Full Changelog: 1.2.0...1.2.1

1.2.0 Make components less verbose

25 Nov 03:47
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 1.1.6...1.2.0

1.1.6 Documentation and minor bugfixes

20 Nov 19:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.5...1.1.6

1.1.5 select and textarea improvement

12 Nov 03:13
Compare
Choose a tag to compare

What's Changed

  • Add initialValue support for select and textarea by @tokuhirom in #382

New Contributors

Full Changelog: 1.1.4...1.1.5

1.1.4 Minor bugfixes and documentation

11 Nov 21:43
Compare
Choose a tag to compare

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

Full Changelog: 1.1.3...1.1.4

1.1.3 Add urlPathPrefix config option and related changes

06 Nov 18:47
487d33f
Compare
Choose a tag to compare

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