Repository navigation
2.0.0-alpha.40
Pre-release
Pre-release
·
4 commits
to main
since this release
Breaking
- Writing CWA content (pages, layouts, routes, component groups and their order, component positions, every component including
/move, and every page data class, project classes included) requirespublishable.permission(or the class's#[Publishable(isGranted:)]), ANDed with anysecuritythe operation already has; opt an operation or resource out withextraProperties: ['publishable_permission' => false]. Form/submitstays public (#579) - An email change's confirmation link goes to the new address instead of the current one, and setting
newEmailAddressneeds the signed-in user's current password asoldPasswordon API writes and inNewEmailAddressType(a super admin enters their own; a cancel needs none) (#580)
Added
emails.logo(a Twig path, default the bundle's logo) andemails.logo_width(pixels, optional) set the logo at the top of every email the bundle sends, whose alt text is now thewebsite_nameinstead ofLogo(#576)- A notice to the current address when an email change is requested, with the new address masked and no link;
user.emails.change_email_noticesets its subject or disables it (#580)
Fixed
- A user referenced by IRI from another resource's write is no longer processed as a new registration, which reset their
emailAddressVerified(#575) - A
plainPasswordset through the API is validated (6 to 4096 characters, 422 onplainPassword) before it is hashed, and setting a password no longer marks the email address verified; only a password reset does (#577) - User lookups trim the identifier, so a username or email address with a trailing space (a mobile keyboard's) still signs in and still finds the user for password reset and resend verification (#578)