- Remove support for browsers that do not have
fetch
(IE 11)
{warning} Visor 3 is a full rewrite of the plugin to play nicely with full-page static caching solutions like Blitz. Please ensure you are familiar with the caveats to providing full-page static caching support
- Support for full-page static caching
- Support for Category detection
- Support for Solspace Events detection
- When Visor hook is used, a network request is made to fetch the controls. Please ensure you are familiar with the caveats introduced in 3.0 to provide full-page static caching support
- Update Node packages to address vulnerabilities provided by GitHub
- Call template hook in
EVENT_REGISTER_SITE_URL_RULES
to prevent potential race condition where Visor did not render - Use
getIsGuest()
to determine if the user is signed in or not - Require Craft
3.1.20
or higher
- Corrected issue where only admins saw the "Edit entry" option (#7)
- Remove source maps from build
- Ensure Visor only fires if a user is logged in
- Corrected issue where missing $entry would cause the plugin to break
- Altered styles to better match Craft 2.x variant
- Craft 3 support
- Replace close button with an SVG icon to make customization and positioning easier
- Added !important to some typography so your site's CSS doesn't cascade down into Visor and cause visual issues. If you want to use your custom font in Visor you still may override styles using the 'craft-visor--override' class
Initial release.