Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 2.04 KB

CHANGELOG.md

File metadata and controls

34 lines (20 loc) · 2.04 KB

Changelog

1.4.0

Minor Changes

  • #197 e15d142 Thanks @lemonmade! - Added a number of methods that align more closely with the corresponding DOM API, and deprecated a few existing methods with overlapping functionality:

    • RemoteParent.appendChild is deprecated, with a new RemoteParent.append API recommended instead. This new API matches the Element.append DOM API: it allows you to pass multiple children, including strings that are converted to text nodes.
    • RemoteParent.insertChildBefore is deprecated, with a new RemoteParent.insertBefore API recommended instead. This matches the Node.insertBefore DOM API, including the fact that the second argument can be null (in which case, the method behaves the same as append
    • RemoteParent.replaceChildren is new, and matches the Element.replaceChildren DOM API. It allows passing any number of children/ strings, and those are used to fully replace the existing children.
    • RemoteComponent.remove and RemoteText.remove are new, and match the Element.remove DOM API.
    • RemoteText.updateText is deprecated in favor of a new RemoteText.update method, which is a little shorter.

Patch Changes

[1.0.3] - 2020-06-24

Fixed

  • Added entry point information to package.json.

[1.0.1] - 2020-06-23

Fixed

  • Fixed a build issue that caused errors when using a number of packages in projects that do not have [email protected] installed.

[1.0.0] - 2020-06-23

Initial release.