Skip to content

Releases: github/catalyst

v1.0.0

06 Nov 16:21
Compare
Choose a tag to compare

This release is marked as v1.0 as we consider Catalyst stable for production! It has been in GitHub production for around 8 months now and we consider it to be battle tested enough to cut the first Stable Release!

This release has a few new features. Chiefly, support for ShadowDOM!

  • listenForBind is now automatically called on the ownerDocuments of connected elements. No need to call it manually. (#75)
  • data-target[s] and data-action now work inside the ShadowDOM, exactly as you'd expect them to. ShadowDOM targets take precedence over regular DOM. (#73)
  • If an element has a single template[data-shadowroot] element, it will automatically clone it and attach it as a ShadowDOM. (#74)
  • A new guide section in the docs all about Rendering subtrees, using the ShadowDOM (https://github.github.io/catalyst/guide/rendering/)

Plus a few minor docs improvements:

  • Docs now build on a separate branch, meaning less chance of going stale if there is a build issue (#77).
  • Minor typo fixes (#72).

Future releases will adhere to SemVer 2.0; now that Catalyst is 1.0 any changes that break existing API will be released as new major versions.

v0.4.1

02 Sep 13:18
Compare
Choose a tag to compare

This release adds the following:

  • Fixes a bug where now catalyst will read attributes split across multiple lines (#67).
  • Many small documentation improvements, including typo fixes, icons, better page titles (#70, #69, #68, #66).

v0.4.0

21 Jul 14:29
Compare
Choose a tag to compare

This release adds the following:

  • @controller Elements get a data-catalyst automatically added during connectedCallback()
  • Major docs rewrite. Almost all documentation has been rewritten.
  • Bind has been rewritten for code clarity and performance. This changes are backwards compatible with the old changes.

v0.3.0

25 Jun 13:27
Compare
Choose a tag to compare
  • Change data-target to data-targets for the @targets decorator.

This is a breaking change, whereas the old style decorators did the following:

Decorator Equivalent Native Method Selector Returns
@target querySelector data-target="*" Element
@targets querySelectorAll data-target="*" Array

The breaking change is that @target now selects for data-targets (with an s) like so:

Decorator Equivalent Native Method Selector Returns
@target querySelector data-target="*" Element
@targets querySelectorAll data-targets="*" Array

v0.2.0

24 Jun 16:35
Compare
Choose a tag to compare
  • Feature: add listenForBind() to automatically bind new elements that enter the DOM

v0.1.0

22 Jun 11:42
Compare
Choose a tag to compare
  • Automatically drop Element from the name of the component's tag name
  • Clean up documentation
  • Project organisation

v0.0.8

10 Jun 16:37
Compare
Choose a tag to compare
  • Fix issue where targets weren't being matched exactly causing the wrong target to be returned in the target bound getter (#39).

v0.0.7

22 Apr 14:55
Compare
Choose a tag to compare

Fix bad build in 0.0.6

v0.0.6

09 Apr 08:42
d518345
Compare
Choose a tag to compare

fix(bind): Fix eventname and controller binding bugs. #31

v.0.0.5

27 Mar 14:26
Compare
Choose a tag to compare

fix: use wrap correctly in @controller