Skip to content

Releases: leafsphp/csrf

v0.5.4

15 Nov 16:57
a4be0d6
Compare
Choose a tag to compare

v0.5.4 - 15 Nov 2024

Fixed

  • Patched up secretKey error
  • Fixed route exception definition with expressions @ibnsultan

v0.5.2

02 Oct 13:06
cd8afdc
Compare
Choose a tag to compare

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

22 Aug 23:31
736e409
Compare
Choose a tag to compare

v0.4.2 - 23 Aug 2024

Fixed

  • Premanute initialization of the CSRF Verifier

v0.4.1

08 Oct 11:50
7cb875a
Compare
Choose a tag to compare

v0.4.1 - 8 Oct 2023

Fixed

  • Patched up session already started error

v0.4.0

19 May 07:43
Compare
Choose a tag to compare

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

17 Sep 20:49
Compare
Choose a tag to compare

v0.3.0 - 17 Sep 2022

Fixed

  • Updated dependency versions

v0.2.0

20 Dec 19:40
Compare
Choose a tag to compare

Added

  • Added _csrfField global
  • Added better typing

Changed

  • Refactored files
  • Updated minimum stability

v0.1.0

07 Nov 09:55
Compare
Choose a tag to compare

v0.1.0 - 7 Nov, 2021