Skip to content

v1.0.1

Latest
Compare
Choose a tag to compare
@toranb toranb released this 06 Jul 02:07
· 36 commits to master since this release

Release v1.0.1

ember-cli-hot-loader is now v1.0! Here is a short list of what's changed since the v0.4.4 release

Actions

This update solved a critical (unhappy) path for people with controller actions that were then passed to components. The previous wrapper component had tagName: '' resulting in the runtime error

Assertion Failed: You can not define a function that handles DOM events in the "<dummy@component:foo::ember451>" tagless component since it doesn't have any DOM element

To unlock this use case we decided to remove the tagName property and although this didn't technically break any of the apps we tested visually, it felt like a big enough change to warrant a major version bump of some kind (hence the v1.0 release).

Supported versions

This update may still work with older versions of ember/ember-cli but the "officially supported" versions are now 2.18LTS, 3.0, 3.1, 3.2, 3.3 (beta+). As a side effect we've also dropped support for bower and now only pull in the template compiler from ember-source via npm. One noticeable upside of this change is that all those targetObject deprecation warnings from the pre 1.0 hot loader are a thing of the past :)

Template compiler path issue resolved

In prior versions of ember-cli-hot-loader it was possible the template compiler import would fail resulting in a runtime error. This issue has finally been solved (Thanks to Luke Melia for his triage effort)!

Changelog

  • [RELEASE]: component is no longer tagless, remove targetObject deprecation, refactor cache break
    (#80)
  • [BUILD]: update npmPath to use path.relative
    (#81)