Releases: leafsphp/csrf
Releases · leafsphp/csrf
v0.5.4
v0.5.4 - 15 Nov 2024
Fixed
- Patched up secretKey error
- Fixed route exception definition with expressions @ibnsultan
v0.5.2
v0.5.2 - 2 Oct 2024
Added
- Added support for
X-CSRF-TOKEN
header by @milosPavic - Added a new
onError
config to manually handle failures - Added support for dynamic route exclusion
- Added support for custom error messages for failures
- Added singleton for functional mode
Fixed
- Fixed inconsistencies loading the CSRF token by @mychidarko
- Initialization of the config method @ibnsultan
Changed
- Updated CSRF config
Deleted
- Removed existing global functions
v0.4.2
v0.4.1
v0.4.1 - 8 Oct 2023
Fixed
- Patched up session already started error
v0.4.0
v0.4.0 - 19 May 2023
Added
- Added scripts to run on Leaf init
Fixed
- Patched up $_SESSION error
Removed
- Removed unused code
v0.3.0
v0.3.0 - 17 Sep 2022
Fixed
- Updated dependency versions
v0.2.0
Added
- Added
_csrfField
global - Added better typing
Changed
- Refactored files
- Updated minimum stability