diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f3a0dc..5ddf9bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ## [Unreleased] +### Added +- Psalm `@psalm-taint-source input` annotations on `CookieProvider` and `SessionProvider`, so Psalm taint analysis treats the injected cookie values as user input. + +### Changed +- `CookieProvider` declares its provided type as `array>`, allowing nested cookie values. +- `Cookie` and `DeleteCookie` declare `#[Attribute]` and `#[Qualifier]` as separate attributes. +- `AuraSessionInject::setSession()` declares a `void` return type. A subclass of a class using the trait that overrides `setSession()` must now declare `: void`. + +### Removed +- The package no longer requires `ircmaxell/random-lib`, which it did not use. Users who rely on it must require it themselves. + ## [1.4.0] - 2026-11-22 ### Changed diff --git a/composer.json b/composer.json index 18527b8..97200ad 100644 --- a/composer.json +++ b/composer.json @@ -7,8 +7,7 @@ "require": { "php": "^8.0", "ray/di": "^2.14", - "aura/session": "^4.0 || ^6.0 || ^7.0", - "ircmaxell/random-lib": "^1.1" + "aura/session": "^4.0 || ^6.0 || ^7.0" }, "require-dev": { "phpunit/phpunit": "^9.6"