Releases: mattmilburn/strapi-plugin-preview-button
Releases · mattmilburn/strapi-plugin-preview-button
v3.0.0
v2.2.2
💅🏻 Enhancements
- Add Russian language translations.
⚙️ Chore
- Implement
useAPIErrorHandler
infetchClient
responses.
v2.2.1
🐛 Bug fixes
- Fix encoding method in
parseUrl
util.
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
engines
to>=16.0.0 <=20.x.x
. - Bump versions for various React packages.
v2.1.1
🐛 Bug fixes
- Fix how param encoding is handled in
parseUrl
util.
⚙️ 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.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 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
Initializer
component.
⚙️ Chore
- New logo
- Bump peer dependency for Strapi to 4.9.0.
- Replace
request
usage withuseFetchClient
hook. - Install
husky
andlint-staged
to enable pre-commit actions. - Add
lint
,format
, andtest
scripts in package.json. - Some refactoring to satisfy eslint and prettier rules.
Release v1.1.3
💅🏻 Enhancements
- Support
async
custom 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
.
v1.1.1
💅🏻 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.