Skip to content

Releases: mattmilburn/strapi-plugin-preview-button

v2.2.2

08 Feb 17:02
Compare
Choose a tag to compare

💅🏻 Enhancements

  • Add Russian language translations.

⚙️ Chore

  • Implement useAPIErrorHandler in fetchClient responses.

v2.2.1

08 Nov 20:41
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix encoding method in parseUrl util.

v2.2.0

04 Nov 20:07
Compare
Choose a tag to compare

⚙️ Chore

  • Bump versions for Strapi packages to use minimum version 4.13.1.
  • Bump versions for Strapi design-system packages to use minimum version 1.9.0.
  • Bump versions for node engines to >=16.0.0 <=20.x.x.
  • Bump versions for various React packages.

v2.1.1

03 Oct 20:54
Compare
Choose a tag to compare

🐛 Bug fixes

  • Fix how param encoding is handled in parseUrl util.

⚙️ Chore

  • Update README.

v2.1.0

28 Sep 18:28
Compare
Choose a tag to compare

⚙️ Chore

  • Bump React dependency version to ^17.0.0 || ^18.0.0
  • Bump minimum Strapi dependencies version to 4.11.0

NOTE: If you continue to have issues with React 18 support, try using the following in your package.json:

"resolutions": {
  "react": "^18.0.0",
},

v2.0.0

18 Aug 04:32
Compare
Choose a tag to compare

💥 Breaking Changes! 💥

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

💅🏻 Enhancements

  • New draft.alwaysVisible option to ensure the preview button for draft mode is always visible.
  • The openTarget option can now be customized per model and published state.
  • Dev tools for eslint, prettier, jest, and pre-commit actions.

🐛 Bug fixes

  • Fixed issue where modifiedData was used instead of initialData, which was using values not saved in the db.
  • Fixed issue where list view would fail to render preview buttons due to improper use of async bootstrap.
  • Remove unnecessary Initializer component.

⚙️ Chore

  • New logo
  • Bump peer dependency for Strapi to 4.9.0.
  • Replace request usage with useFetchClient hook.
  • Install husky and lint-staged to enable pre-commit actions.
  • Add lint, format, and test scripts in package.json.
  • Some refactoring to satisfy eslint and prettier rules.

Release v1.1.3

24 Apr 21:35
Compare
Choose a tag to compare

💅🏻 Enhancements

  • Support async custom hooks.

🐛 Bug fixes

  • Fix typo in French translations.

⚙️ Chore

  • Update logo design.
  • Bump license year to 2023.

v1.1.2

12 Jan 19:07
Compare
Choose a tag to compare

💅🏻 Enhancements

  • 🇪🇸 Spanish translations.

⚙️ Chore

  • General code cleanup and naming updates.
  • Bump Strapi peer dependency version to v4.5.6.

v1.1.1

23 Dec 23:28
Compare
Choose a tag to compare

💅🏻 Enhancements

  • Add plugin/preview-button/before-build-url hook too allow modifying the config options before building the preview URL.

⚙️ Chore

  • Add "Extending" section to the README.

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.