Releases: Palindrom/palindrom-redirect
Releases · Palindrom/palindrom-redirect
Make it work while disconnected from DOM
Make it work in shadow DOM
Autonomous Custom Element v1
- Changed the API to use Custom Elements V1,
- Changed to autonomous elements, due to lack of polyfill support for customized built-ins,
⚠️ Please update your code to use<palindrom-redirect>
instead of<link is="palindrom-redirect">
. - Dropped backward compatibility with
puppet-redirect
, - Updated behavior for
url
property set tonull
(same asremoveAttribute
).
See #9
Dispatch proper event upon redirect
palindrom-redirect
used to dispatch two events (palindrom-redirect-pushstate
and puppet-redirect-pushstate
) and this trigger Palindrom redirection twice causing a redundant request. From now on, it will dispatch a single event that matches its is
attribute (palindrom-redirect-pushstate
or puppet-redirect-pushstate
).
Redirection after redirection fix
Release after merge with 0.6.0 version of Juicy/juicy-redirect
Rename to palindrom-redirect and deprecate puppet-redirect
0.5.0 Version 0.5.0
`target` attribute
was added, to open pages in new tabs