Skip to content

Releases: varabyte/kobweb

v0.7.4

08 Dec 06:50
Compare
Choose a tag to compare
v0.7.4 Pre-release
Pre-release
  • kobweb commands will no longer fail silently if they can't find gradlew
  • kobweb commands will search their ancestor path for gradlew if not in the current directory
    • This will allow users to organize their kobweb project in a submodule of some parent gradle project
  • Updated how ComponentStyle works under the hood so you can chain pseudo elements
    • e.g. (Breakpoint.MD + hover + firstLetter) { Modifier.color(Red) }
  • You can now use your build.gradle's kobweb block to extend the generated index.html's head block.
    • This is useful if you want to add extra stylesheets or scripts for example
  • Now only add the Font Awesome script if the user is using the "kobweb-silk-icons-fa" artifact

v0.7.3

04 Dec 20:09
Compare
Choose a tag to compare
v0.7.3 Pre-release
Pre-release

A very minor release, tagged a bit early mostly to update the kobweb binary.

  • Code cleanup around how Kotlin and HTML files are generated
  • For Kobweb commands that supported it, the --headless option has been removed and replaced with --mode dumb
    • The default value for mode is --mode interactive
    • The reason behind the change is headless implies the same software but without access to a GUI (for example, it could still handle input). However, this option is strictly more about whether we expect a user to be sitting there interacting with the kobweb commands or if they're running in a "fire and forget" environment. It's a terminal UI both ways.

v0.7.2

03 Dec 17:01
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release
  • Fixed a bug with Modifier.padding not working
  • Added APIs to improve working with ComponentStyle
    • listOf(Style1, Style2, Style3).toModifier()
    • New cssRule function for defining custom rules not currently covered by our API
  • Added --headless mode for appropriate kobweb CLI commands
    • Added kobweb stop which can stop a running server (especially useful if you used kobweb run --headless)
  • No longer overtagging elements with unecessary classnames (e.g. "silk-text silk-text-dark silk-text-light")
    • Instead, we only tag an element with classes that actually affect the final style. This often results in more than half of the tags being removed.
  • Compiles against Compose 1.0.0

v0.7.1

02 Dec 06:08
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

A quick patch this time since we've changed the API around component styling in a fairly invasive way, so best to get it done quickly.

  • Component styling now uses a DSL-like syntax instead of an assignment syntax. See 732b5b2 for more details.
  • Cleaned up web modifier behavior around margin and padding
    • Previously, in an attempt to emulate Jetpack Compose, we swapped these two concepts around (because, unfortunately, what Jetpack Compose introduces as padding is margin in CSS). However, due to confusion between Modifier.padding(10.px) and styleModifier { padding(10.px) } doing different things, we decided to make the function always act more consistently with the web.

v0.7.0

30 Nov 05:41
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

MVP Release 🎉

  • Web Breakpoints are now supported (specify sm, md, lg, xl, and xxl boundary sizes)
  • Add initial support for OpenGL canvases
  • Improve Gradle plugin behavior to automatically delect ComponentStyles and ComponentVariants
    • @InitSilk annotations no longer required
  • New SimpleGrid widget for specifying a container with a responsive number of columns
  • Extracted silk widgets to a standalone artifact ( com.varabyte.kobweb:kobweb-silk-widgets) that can be used without Kobweb

v0.6.4

19 Nov 06:43
Compare
Choose a tag to compare
v0.6.4 Pre-release
Pre-release
  • Tweaks to @InitSilk functionality
    • SilkConfig is now only exposed through this API
    • You can now register style variants directly, useful for adding variants to base styles
  • Update Color API to be explicit about creating RGB colors
    • Add the full list of CSS colors to the Colors object.
  • Move text and link styling to Surface, allowing intermediate divs to override those colors for local behavior
  • Add a new Link class to Kobweb core. Unlike Silk's Link, this one in a thin wrapper around A that handles
    links within the same domain without needing to leave the page.
  • Fixed a crash when exporting sites that don't have API routes.

v0.6.3

13 Nov 06:14
Compare
Choose a tag to compare
v0.6.3 Pre-release
Pre-release
  • Update Router so it's no longer an object but now an instance accessible through rememberPageContext
  • Completely revamp the way components are styled (ComponentModifier -> ComponentStyle)
    • See this document for more details
    • SilkTheme now must be initialized at startup time, and can be done via @InitSilk annotated methods

v0.6.2

05 Nov 00:25
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release
  • New Canvas component
  • Updated default Link component style
  • Updated the Surface component to use the Silk styles

v0.6.1

29 Oct 00:32
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release
  • Windows is no longer fundamentally broken

v0.6.0

26 Oct 05:17
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

The initial release of Kobweb! 🎉

This first version includes a base set of functionality that demonstrate the general capabilities of the framework.

  • A binary for executing several commands: version, list, create, export, and run
  • A gradle plugin for generating boilerplate code for your Kobweb project (routing, index.html)
  • A gradle plugin for extending server code around easily defined API routes
  • A live reloading experience built from the ground up for both client and server code
  • A gradle plugin for converting Markdown files to Kotlin code
  • Extensions built on top of Web Compose (a Modifier class and Column/Row layouts)
  • The beginnings of a UI library (called Silk) with powerful styling support inspired by Chakra UI