Skip to content

1.1.0 - Programmatic API and overhauled internals

Compare
Choose a tag to compare
@LinusBorg LinusBorg released this 17 Jun 14:05
· 240 commits to develop since this release

Release notes

This release had two goals:

  1. Rewrite the internal transport mechanism to send content from a Portal to a PortalTarget
  2. Open up the API for this mechanism to allow programmatic access to it.

This lays the foundation for introducing additional features in the next version.

Things we added

  • (#42) Wormhole export of the package offers programmatic access to the transport mechanism. Its API is documented here.
  • (#40) The PortalTarget component emits an event whenever it receives new content (docs).
  • (#41) The PortalTarget now accepts slot content and renders it when there's no content so show from a Portal. This allows displaying default content.

Things we fixed

No bugfixes in this release

Things we broke

No breaking changes.