Skip to content

v2.0.0

Compare
Choose a tag to compare
@mattmilburn mattmilburn released this 18 Aug 04:32
· 55 commits to staging since this release

💥 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.