Releases: mattmilburn/strapi-plugin-preview-button
Releases · mattmilburn/strapi-plugin-preview-button
v3.0.1
v3.0.0
Fully refactored for TypeScript and Strapi 5 compatibility 🎉
⚙️ There are no config or API changes required to use this version of the plugin. 👍🏻
💅🏻 Enhancements
- The
uidis now provided as a param passed into theplugins/preview-button/before-build-urlhook.
v2.2.2
💅🏻 Enhancements
- Add Russian language translations.
⚙️ Chore
- Implement
useAPIErrorHandlerinfetchClientresponses.
v2.2.1
🐛 Bug fixes
- Fix encoding method in
parseUrlutil.
v2.2.0
⚙️ 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
enginesto>=16.0.0 <=20.x.x. - Bump versions for various React packages.
v2.1.1
🐛 Bug fixes
- Fix how param encoding is handled in
parseUrlutil.
⚙️ Chore
- Update README.
v2.1.0
⚙️ 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
💥 Breaking Changes! 💥
Please see the Migrations Guide to keep your preview button plugin up-to-date.
💅🏻 Enhancements
- New
draft.alwaysVisibleoption to ensure the preview button for draft mode is always visible. - The
openTargetoption can now be customized per model and published state. - Dev tools for
eslint,prettier,jest, and pre-commit actions.
🐛 Bug fixes
- Fixed issue where
modifiedDatawas used instead ofinitialData, 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
Initializercomponent.
⚙️ Chore
- New logo
- Bump peer dependency for Strapi to 4.9.0.
- Replace
requestusage withuseFetchClienthook. - Install
huskyandlint-stagedto enable pre-commit actions. - Add
lint,format, andtestscripts in package.json. - Some refactoring to satisfy eslint and prettier rules.
Release v1.1.3
💅🏻 Enhancements
- Support
asynccustom hooks.
🐛 Bug fixes
- Fix typo in French translations.
⚙️ Chore
- Update logo design.
- Bump license year to 2023.
v1.1.2
💅🏻 Enhancements
- 🇪🇸 Spanish translations.
⚙️ Chore
- General code cleanup and naming updates.
- Bump Strapi peer dependency version to
v4.5.6.