v1.1.0 [21 Jan 2020]
- Add support for rendering using the shadow DOM (thanks @mdevlamynck)
v1.0.0 [10 May 2019]
- Released the breaking changes in 0.7-beta as a v1.
- Allow passing an
onSetupError
function to handle errors registering Elm web components. Thanks @PChambino for this PR.
v0.7.0-beta [14 Feb 2019]
- BREAKING: this version supports the new Web Components V1 spec and removes support for the V0 spec. If you need to stay on the V0 spec, please stick to v0.6.1. Thanks @PChambino for the pull request implementing this.
v0.6.1 [17 Sept 2018]
- Fix a bug where pre-rendered HTML wasn't being cleared with Elm 0.19 - thanks @isaacseymour
v0.6.0 [14 Sept 2018]
- fully support Elm 0.19 and 0.18. This was released as
0.5.0-beta
but is now fully released as 0.6.0. - This is a breaking change: You must now configure the library before using it:
elmWebComponents.configure('0.18')
orelmWebComponents.configure('0.19')
. - add
mapFlags
option, to transform flags before passing them to Elm (thanks @isaacseymour)
v0.5.0 [28 Aug 2018] (in beta)
- Breaking change: we now support Elm 0.19 and 0.18! You must now configure the library before using it:
elmWebComponents.configure('0.18')
orelmWebComponents.configure('0.19')
.
v0.4.0 [22 Aug 2018]
- Breaking change: we now convert kebab case properties into camelCase. So
<foo-bar first-name="Jack" />
will be given to Elm asfirstName: "Jack"
.
v0.3.0 [3 May 2018]
- You can now pass
onDetached
as an option. This is a callback function that will be run when component is removed from the DOM.
v0.2.0 [1 May 2018]
- Added support for static flags via the
staticFlags
option. - Breaking change: third argument to
register
now takes an object with two (optional) properties:setupPorts
andstaticFlags
, rather than just a function for setting up the ports.