Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 3.85 KB

File metadata and controls

89 lines (63 loc) · 3.85 KB

Changelog

6.0.0 - 2026-02-01

Changed

  • Requires PHP 8.4
  • Innmind\Server\Status\Server is now a final class, all previous implementations are now flagged as internal
  • Innmind\Server\Status\Server\Processes::all() now returns an Innmind\Immutable\Sequence
  • Innmind\Server\Status\Server\Disk::volumes() now returns an Innmind\Immutable\Sequence
  • Innmind\Server\Status\Server\Disk is now a final class
  • Innmind\Server\Status\Server\Processes is now a final class
  • Requires innmind/time:~1.0

5.0.0 - 2025-05-08

Changed

  • Requires innmind/immutable:~5.14
  • Innmind\Server\Status\Server::cpu() now returns Innmind\Immutable\Attempt<Innmind\Server\Status\Server\Cpu>
  • Innmind\Server\Status\Server::memory() now returns Innmind\Immutable\Attempt<Innmind\Server\Status\Server\Memory>
  • Innmind\Server\Status\Server::loadAverage() now returns Innmind\Immutable\Attempt<Innmind\Server\Status\Server\LoadAverage>
  • Innmind\Server\Status\Server\Logger constructor is now private, use ::of() instead

Removed

  • Innmind\Server\Status\Exception\EmptyPathNotAllowed
  • Innmind\Server\Status\Exception\BytesCannotBeNegative
  • Innmind\Server\Status\Exception\EmptyCommandNotAllowed
  • Innmind\Server\Status\Exception\OutOfBoundsPercentage
  • Innmind\Server\Status\Exception\LowestPidPossibleIsOne
  • Innmind\Server\Status\Exception\EmptyUserNotAllowed
  • Innmind\Server\Status\Exception\LoadAverageCannotBeNegative
  • Innmind\Server\Status\Exception\DomainException
  • Innmind\Server\Status\Exception\UnsupportedOperatingSystem
  • Innmind\Server\Status\Exception\RuntimeException
  • Innmind\Server\Status\Exception\Exception

4.1.1 - 2024-09-30

Fixed

  • Networks Volumes are now listed in the Innmind\Server\Status\Server\Disk::volumes() method

4.1.0 - 2023-09-23

Added

  • Support for innmind/immutable:~5.0

Removed

  • Support for PHP 8.1

4.0.0 - 2023-01-29

Changed

  • Innmind\Server\Status\ServerFactory::build() now expects Innmind\Server\Control\Server as second argument and Innmind\Server\Status\EnvironmentPath as third argument

3.0.0 - 2022-01-23

Added

  • Innmind\Server\Status\Server\Process\Pid::equals()
  • Innmind\Server\Status\Server\Process\Pid::is()
  • Innmind\Server\Status\Server\Disk\Volume\MountPoint::equals()
  • Innmind\Server\Status\Server\Disk\Volume\MountPoint::is()

Changed

  • Innmind\Server\Status\Server\Processes::all() now returns Innmind\Immutable\Set<Innmind\Server\Status\Server\Process>
  • Innmind\Server\Status\Server\Processes::get() now returns Innmind\Immutable\Maybe<Innmind\Server\Status\Server\Process> instead of throwing an exception
  • Innmind\Server\Status\Server\Process::start() now returns Innmind\Immutable\Maybe<Innmind\TimeContinuum\PointInTime>
  • Innmind\Server\Status\Server\Memory\Bytes::of() now returns Innmind\Immutable\Maybe<Innmind\Server\Status\Server\Memory\Bytes> instead of throwing an exception
  • Innmind\Server\Status\Server\Disk::volumes() now return Innmind\Immutable\Set<Innmind\Server\Status\Server\Disk\Volume>
  • Innmind\Server\Status\Server\Disk::get() now return Innmind\Immutable\Maybe<Innmind\Server\Status\Server\Disk\Volume> instead of throwing an exception
  • Innmind\Server\Status\Server::cpu() now returns Innmind\Immutable\Maybe<Innmind\Server\Status\Server\Cpu> instead of throwing an exception
  • Innmind\Server\Status\Server::memory() now returns Innmind\Immutable\Maybe<Innmind\Server\Status\Server\Memory> instead of throwing an exception

Removed

  • Innmind\Server\Status\Servers\Decorator\CacheMemory
  • Innmind\Server\Status\Servers\Decorator\CacheLoadAverage
  • Innmind\Server\Status\Servers\Decorator\CacheCpu
  • Innmind\Server\Status\ServerFactory::__invoke()
  • Innmind\Server\Status\Server\Memory\Bytes public constants
  • Innmind\Server\Status\Server\Memory::wired()
  • Support for php 7