Skip to content

Releases: LinusBorg/portal-vue

Maintenance release: 1.1.1

27 Aug 10:06
Compare
Choose a tag to compare

This is a very small release that just fixes a few minor bugs. I will hopefully find time for a feature release soon, but time is a problem lately...

Things we fixed

  • add portal-vue.js.map to package files in package.json (#60)
  • fix Wormhole API example (#63)
  • replace use of ES6 Array.prototype.includes with Array.prototype.indexOf so IE doesn't require a polyfill. (#64)

1.1.0 - Programmatic API and overhauled internals

17 Jun 14:05
Compare
Choose a tag to compare

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.

1.0.1 released

15 Jun 16:18
Compare
Choose a tag to compare

We fixed one thing and pushed this change out as a patch release before some new functionality comes with v1.1, because we think this should arrive for anyone, not just people upgrading all minor versions.

Things we fixed

  • #23 refs were not available on $nextTick

To fix that, we had to make the update process of the wormhole between Portal and Portal-Target sync instead of async (#39)

1.0.0 - first stable version

20 May 08:44
Compare
Choose a tag to compare

So here's the first stable release!

Nothing has really changed from 1.0.0-beta.5. I mainly improved the documentation - rewriting some paragraphs, removing a lot of typos, adding some codepen examples.

Fixes

  • Now generates a valid string as a "to" name when none was provided (#45)

1.0.0-beta.5

14 May 13:34
Compare
Choose a tag to compare
1.0.0-beta.5 Pre-release
Pre-release

Changes

  • Portal and PortalTarget are now abstract components. See the Caveats section in the docs for implications (#24)
  • to is now optional if targetEl is specified. (#34)

Fixes

  • Portal doesn't throw an error when not slot content is provided.
  • When using targetEl, the Portal component is set as the parent of the PortalTarget. This also ensures that <route-link> elements in portal content work (fix #34, fix #35)
  • Fix wrong dependency (babelplugin for stage 3) (fix #32)

1.0.0-beta.3

18 Mar 11:32
Compare
Choose a tag to compare
1.0.0-beta.3 Pre-release
Pre-release

FIX: Don't throw error when <portal> has no slot content.

1.0.0-beta.2

24 Feb 21:25
Compare
Choose a tag to compare
1.0.0-beta.2 Pre-release
Pre-release

Fix

  • broken main file path in package.json

Beta-Release: 1.0.0-beta-1

24 Feb 20:51
Compare
Choose a tag to compare
Pre-release