Skip to content

3.0.0

Choose a tag to compare

@Baptouuuu Baptouuuu released this 14 Jan 10:48
· 38 commits to develop since this release
3.0.0
1d5bae6

Added

  • Innmind\HttpSession\Session::maybe()

Changed

  • Innmind\HttpSession\Manager\Native constructor is now private, use ::of() named constructor instead
  • Innmind\HttpSession\Session is now immutable
  • Innmind\HttpSession\Session\Id is now immutable
  • Innmind\HttpSession\Session\Name is now immutable
  • Innmind\HttpSession\Sesssion::set() has been renamed to ::with()
  • Innmind\HttpSession\Manager::start() now returns Innmind\Immutable\Maybe<Innmind\HttpSession\Session> instead of throwing
  • Innmind\HttpSession\Manager::save()
    • now expects the Session instead of the Innmind\Http\Message\ServerRequest
    • now returns Innmind\Immutable\Maybe<Innmind\Immutable\SideEffect> instead of throwing
  • Innmind\HttpSession\Manager::close()
    • now expects the Session instead of the Innmind\Http\Message\ServerRequest
    • now returns Innmind\Immutable\Maybe<Innmind\Immutable\SideEffect> instead of throwing
  • Require php 8.1

Removed

  • Innmind\HttpSession\Manager::get()
  • Innmind\HttpSession\Manager::contains()