Skip to content

Releases: github/catalyst

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

v0.0.4

18 Mar 12:09
Compare
Choose a tag to compare

fix(bind): call controller method for any event target
fix(controller): apply function to prototype if it doesn't exist