Skip to content

Releases: socketsupply/tonic

v15.1.2

11 Oct 20:12
v15.1.2
14d6d24
Compare
Choose a tag to compare

Fix async functions getting stringified: #113

v15.1.1

17 Jan 15:47
Compare
Choose a tag to compare

The package size is optimized

Full Changelog: v15.1.0...v15.1.1

v15.1.0

12 Jan 21:15
Compare
Choose a tag to compare

What's Changed

  • add support for passing Map, Set, and WeakMap instances as props by @achou11 in #102

Full Changelog: v15.0.0...v15.1.0

v13.3.5

03 Mar 11:49
Compare
Choose a tag to compare
13.3.5

v12.0.3

13 Jul 09:25
Compare
Choose a tag to compare

Stable

9.0.0

05 Mar 09:24
Compare
Choose a tag to compare

DESCRIPTION

This is a major release with breaking changes. Please read the following notes.

NEW FEATURES

  • Tonic is now backed by Web Components given that all major browsers finally support them.
  • A minified version will now be included in the package for each release.
  • Allows NodeList and HTMLCollection and NamedNodeMap (attributes) as values in this.html.
  • Adds property-spread to render function.
render () {
  this.html`<div ...${o}></div>`
}

BREAKING CHANGES

  • Component tag names must be compliant with web-component spec. Basically this just means they require at least one dash, so x-foo, foo-bar, quxx-z, are valid. But not foobear, for example.
  • this.children property exists still, but you should use childElements for only element nodes (a collection that does not contain non-element nodes) and you should use childNodes, a collection of all/any nodes (this includes whitespace/text-nodes, etc).
render () {
  this.html`
    <div>
      ${this.childNodes}
    </div>
  `
}

v8.0.0

29 Jan 13:01
1f15a0b
Compare
Choose a tag to compare
  • Improves performance
  • Reduces number of calls to initialize all components
  • Adds explicit ability to initialize all components

Initial

14 Sep 01:12
Compare
Choose a tag to compare

Initial stable release