Skip to content

Releases: jfyne/live

v0.7.3

11 Feb 12:02
Compare
Choose a tag to compare

patch

  • Adds search and hash to the websocket connect URL

v0.7.2

11 Feb 11:03
Compare
Choose a tag to compare

patch

More npm package fun.

v0.7.1

11 Feb 10:41
Compare
Choose a tag to compare

patch

  • Fixes npm module issue with mismatched module types

v0.7.0

31 Jan 13:48
4a8d36a
Compare
Choose a tag to compare

Live Components

This release brings components to live. Components are a great way to encapsulate logic in a repeatable manner. The examples have also moved to their own repository in order to keep the library clean. There have been no breaking changes, and feedback on the component API would be greatly appreciated.

v0.6.2

30 Jan 12:38
Compare
Choose a tag to compare

patch

We now prune the html render trees to remove irrelevant white space. This simplifies the tree comparison and the update in the browser.

v0.6.1

28 Jan 22:22
Compare
Choose a tag to compare

patch

Scoped event handlers

A handler can now be added with a prefix of the Session ID, this will then be cleaned up when the socket associated with the session disconnects. This enables us to support components per session.

v0.6.0

16 Jan 12:10
fbaa00a
Compare
Choose a tag to compare

feat

Removes the dependency a Handler has on html/template. Provided by default is the config WithTemplateRenderer.

Breaking changes

  • Handler no longer takes a template as its first argument.
  • The default Render function on a handler will now error, and a user is required to provide one.
    • WithTemplateRenderer can be used to handle html/template as seen in the examples.

v0.5.0

15 Jan 18:10
d770db5
Compare
Choose a tag to compare

feat

There is now a standalone npm package available for import. This will allow better integration into more complex web applications.

> npm i @jfyne/live

v0.4.0

05 Jan 23:52
5c7dabc
Compare
Choose a tag to compare

feat

  • Binding loading classes
  • Client event ack from the backend

v0.3.0

04 Jan 23:12
cdc3dc0
Compare
Choose a tag to compare

feat

Adds an Event method on the handler which can be used to handle http errors.