diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..ab8832c --- /dev/null +++ b/changelog.md @@ -0,0 +1,20 @@ + +# Changelog + +> 📖 back to [readme](readme.md) + +Auth-middleware follows semantic versioning.\ +Any issues should be reported. + + +## v1.1 + +Improved default injector: +- `TokenManipulators::attributeInjector` now accepts a callable +with signature `fn(Throwable): mixed` for producing a value to be written to the error attribute. +- The default injector will no longer prefix the exception messages with `Token Error: ` prefix. + + +## v1.0 + +The initial release. diff --git a/readme.md b/readme.md index e56efd0..1260286 100644 --- a/readme.md +++ b/readme.md @@ -8,6 +8,8 @@ Modern and highly flexible PSR-15 authentication and authorization middleware. > 💿 `composer require dakujem/auth-middleware` +> +> 📒 [Changelog](changelog.md) ## Default Usage