Skip to content

v0.6.0

Compare
Choose a tag to compare
@chrislopresto chrislopresto released this 09 Jul 23:35
· 753 commits to master since this release

BREAKING CHANGE - CONTEXTUAL COMPONENTS

With our recent decision to support two trailing Ember LTS releases, we're now able to simplify some freestyle patterns by making use of contextual components.

  • Updates the freestyle-section component to yield contextual freestyle-subsection components
  • Updates the freestyle-collection component to yield contextual freestyle-variant components

You will need to change freestyle-subsection and freestyle-variant usages in your freestyle templates as follows:

Before

{{#freestyle-section as |section|}}
  {{#freestyle-subsection section=section}}
    {{#freestyle-collection as |collection|}}
      {{#freestyle-variant colleciton=collection}}
        {{!-- ... --}}
      {{/freestyle-variant}}
    {{/freestyle-collection}}
  {{/freestyle-subsection}}
{{/freestyle-section}}

After

{{#freestyle-section as |section|}}
  {{#section.subsection}}
    {{#freestyle-collection as |collection|}}
      {{#collection.variant}}
        {{!-- ... --}}
      {{/collection.variant}}
    {{/freestyle-collection}}
  {{/section.subsection}}
{{/freestyle-section}}

Full Changelog

Merged Pull Requests ✨ 🤘 🙏

Credits

Thanks to @dajk and @knownasilya for their contributions!