v3.0.0-beta.45
Version v3.0.0-beta.45Major ReleasePre-release
Release Notes
v3.0.0-beta.45 (2024-06-11)
Features
Bug Fixes
- toasts padding and button placement by 1px (#6730) (2ada6fc)
- only use
metadata.pagesfor height if animated (#6728) (10c6ffa) - create sharp file for
fileHasAdjustmentsfiles orfileIsAnimatedfiles (#6708) (6512d5c) - corrects field-paths that were incorrectly being set (#6724) (57fcc91)
BREAKING CHANGES
We now export toast fromsonnerinstead ofreact-toastify. If you send out toasts from your own projects, make sure to use ourtoastexport, or installsonner. React-toastify toasts will no longer work anymore. The Toast APIs are mostly similar, but there are some differences if you provide options to your toast CSS styles have been changed from Toastify ```css /* before */ .Toastify /* current */ .payload-toast-container .payload-toast-item .payload-toast-close-button /* individual toast items will also have these classes depending on the state */ .toast-info .toast-warning .toast-success .toast-error ``` https://github.com/payloadcms/payload/assets/70709113/da3e732e-aafc-4008-9469-b10f4eb06b35
Contributors
- Paul (@paulpopus)
- Alessio Gravili (@AlessioGr)
- Patrik (@PatrikKozak)
- Jarrod Flesch (@JarrodMFlesch)