Skip to content

Releases: mattmilburn/strapi-plugin-preview-button

Release v1.1.0

21 Dec 20:50
Compare
Choose a tag to compare

⚙️ Chore

  • Bump peer dependencies for Strapi to v4.5.3.
  • Bump peer dependencies for Strapi design system to v1.4.0.
  • Bump node engines versions to >=14.19.1 <=18.x.x.

v1.0.1

17 Nov 21:43
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix issue where preview URL does not update after saving with new slug value.

💅🏻 Enhancements

  • Add openTarget config option to allow opening multiple tabs instead of re-using the same tab.
  • Replace unmatched vars in URL templates with empty string instead of ignoring them.

⚙️ Chore

  • Add explanation of openTarget option to the README.

v1.0.0

27 Sep 20:59
Compare
Choose a tag to compare

💥 Breaking Changes! 💥

Please see the Migrations Guide to keep your preview button plugin up-to-date.

  • Refactor how the plugin is configured for draft and published URLs.
  • Environment vars are no longer required, but can still be used.
  • New feature to map values from an entry's data into the preview URLs.
  • Refactor admin so preview URLs do not need to be queried from the API.
  • Introduce copy link button below the preview button, which can be disabled.
  • Add preview and copy buttons to content manager list view.

v0.3.6

17 Aug 17:22
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix bug where single types would return null if they were in draft state or have draftAndPublish disabled - #40

v0.3.5

01 Aug 19:13
Compare
Choose a tag to compare

💅🏻 Enhancements

  • Custom targetField values for draft and published props in config.

v0.3.4

01 Aug 19:08
Compare
Choose a tag to compare

Consider this the first official stable release for this plugin.

💅🏻 Enhancements

  • Add Japanese translations

🐛 Bug Fixes

  • Refactor usePreviewData hook so it executes during each render
  • Correction to French translation