Releases

3.2.0 5/1/2022

Added

  • Added support for Craft 4 #70

Changed

  • Updated components to use apply tags instead of filter.
    • NOTE: guides that use filter tags will need to be manually updated.

Removed

  • Removed depreceated UI Element class, wbrowar\guide\fieldlayoutelements\GuideInclude.

3.1.1 3/28/2022

Added

  • Guides now support emoji đź‘€

Fixed

  • Removed unused function that was causing install to fail (thanks, @internetztube) #49
  • Fixed an issue where you couldn’t copy Guide export data #59
    • A new textarea includes your export data, so you can choose to copy it out of the textarea or use the button to copy it to your clipboard (when available).

3.1.0 9/4/2021

Added

  • Added new Changelog snippet.
    • Spiritual successor to the Changelog widget from the Communicator plugin.
  • Added new Incorrect File Type snippet.
    • Find Assets in a volume that don’t match the desired file extensions.
  • The current page hash is now tracked and available in guide templates as a Vue data variable, called hash.
  • Individual guides can be selected when exporting guides in the Guide utility.
  • A new widget option allows you to display the Guide title as the widget header.

Changed

  • The Organizer has a new responsive layout—making it easier to use on smaller screen sizes.
  • Low-Res Image Check and Missing Focal Points snippets now display as tables.
  • Minor UI changes.

Fixed

  • Fixed an issue where migrations between Guide 2 and 3 could have errored out when upgrading via the CP.

3.0.0 8/25/2021

Added

  • The Organizer has been rewritten so a single guide can be displayed in multiple areas around the CP.
  • Guides can be placed in unique places, based on CSS selector.
  • Guides can be added to a specific page in the CP, based on page URI and CSS selector.
  • Guides can be placed on Global edit pages.
  • A variable, guideDisplayArea, can be used to modify guides based on what area they are placed in.
  • When grouped together, guides can be navigated via a menu in the top-right side of the guide display.
  • A new Guide Variable setting has been for Project Name and it can be rendered using {{ craft.guide.var('projectName') }}.
  • A button, labeled TL;DR, has been added to let you hide or show portions of guides.
  • The guide editor groups components by tabs when using the code editor.
  • Snippet components have been added to the Editor.
  • Tailwind CSS-based utility classes have been added to assist in styling.
  • Vue 3 variables—along with Twig helpers—have been added so that guides can make some template-based state changes.
  • An on-load Vue component has been added to set Vue variables upon guide render.

Changed

  • Guides no longer need to be selected for UI elements when in an environment where allowAdminChanges is enabled.
    • A Guide UI element can be placed in the field layout designer, then the guide that is populated there can be picked from within one of pages that use that field layout.
  • Guides added to the Guide CP area now live together at /guide, instead of the Guide CP Section starting at the first guide’s individual page URI.
  • When added to element edit pages, guides now live above or below the edit fields, instead of in the sidebar as buttons that open up modals.
  • All guides are in the Twig format and the guide format setting has been removed.
    • You can use the {% filter markdown('gfm') %} filter around markdown content to render it in a guide.
  • Tip Callout guide component has been replaced by Tip and Warning components that look more like native Craft info boxes.
  • Guides are now rendered in Vue 3.
  • Guide now welcomes you in three dimensions.

Fixed

  • Guide template syntax errors are now caught in try/catch blocks and throw an error.
  • Fixed times where the Guide code editor sometimes didn’t load correctly.
  • Fixed some Guide 2 UI styling issues.

Removed

  • See Upgrading from Guide 2 for suggestions around removed features.
  • Rebrand settings have been removed.
  • Per-guide user permissions have been removed.
  • The <grid> tag has been removed.
    • To eventually be replaced by container query utility variants.
  • Removed the craft.guide.getAllForUser() Twig variable.
  • Guide no longer supports using .md templates.
  • Guides no longer imports guide data and assets from an external repo.

2.2.1 8/12/2021

Fixed

  • Composer 2 compatibility #34

2.1.5 7/27/2020