Skip to content

v0.17.3

Compare
Choose a tag to compare
@bitspittle bitspittle released this 16 Apr 22:44

This small release fixes two regression with routes introduced in v0.17.2 -- one subtle dealing with trailing slashes, and another significant one that broke dynamic routes.

Important

Planning to upgrade? Review instructions in the README.

The release also adds a handful of misc. features that are coming along for the ride.

Changes

Frontend

  • Fixed regression where dynamic routes stopped capturing values correctly
    • For example, the dynamic route "/{folder}/{page}" should match "/example/route" providing params["folder"] == "example" and params["page"] == "route"
  • Fixed regression where missing slashes wouldn't get auto-appended.
    • For example, if you've registered the route "/a/b/" and the user visits "/a/b" (no trailing slash), Kobweb will automatically suffix the "/" for you at the end.
  • Added tests for route logic so that we don't break subtle route features again...
  • Added :focus-within psuedo-class
  • Updated FA icons to v6.5.2, which adds about a dozen or two new icons, including FaThreads for Meta's "Threads" logo.

Markdown

  • Added support for surfacing the optional title of an image link, e.g. ![example](/some-image.png 'This is a title')

Full Changelog: v0.17.2...v0.17.3