Skip to content

v1.5.0

Compare
Choose a tag to compare
@keithamus keithamus released this 28 Jun 11:12
· 90 commits to main since this release
629ab22

This change lays a bunch of groundwork for 2.0, mostly for things which are not related to production code, so very little has changed from 1.4.2 to 1.5.0.

The key new feature here is a temporary feature to help migration to 2.0: @attr by default comes with a data- prefix, this is being dropped in 2.0, and 1.5.0 now observed a classes attrPrefix static property (which defaults to data-). To enable an easier migration to 2.0, you can use this to refactor your code and drop the data- attr prefix:

class HelloWorldController extends HTMLElement {
  static attrPrefix = '' // defaults to 'data-'
}

What's Changed

New Contributors

Full Changelog: v1.4.2...v1.5.0