What's Changed
- Fixed: mismatched surrounding quote characters in pipe-delimited role strings are now preserved instead of stripped. by @albertoarena in #2960
Fixes malformed pipe strings that start with ' or " and do not end with the same quote. Normal documented usage is unchanged:
hasAnyRole('writer|admin') // same
hasAnyRole("'writer|admin'") // same
hasAnyRole('"writer|admin"') // same
hasAnyRole("'writer|admin") // changed: mismatched apostrophe is removed
hasAnyRole("'writer|admin\"") // changed: mismatched quote is removedalso
- docs: modernize middleware usage examples by @zainphp in #2954
- Bump actions/checkout from 6 to 7 by @dependabot[bot] in #2959
New Contributors
- @zainphp made their first contribution in #2954
- @albertoarena made their first contribution in #2960
Full Changelog: 8.0.0...8.1.0