Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 1.84 KB

CHANGELOG.md

File metadata and controls

71 lines (48 loc) · 1.84 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.1.4 - 2024-06-20

Changed

  • Composer
    • allows PHP 8.3

1.1.3 - 2023-04-08

Changed

  • Composer
    • allows PHP 8.2 (now for real)

1.1.2 - 2022-12-09

Changed

  • Composer
    • allows PHP 8.2

1.1.1 - 2022-11-03

Fixed

  • Message
    • with() parameter $title expects non-empty-string

1.1.0 - 2021-07-22

Added

  • Message
    • Configurable line length via Message::$lineLength
    • with('title', 'content') for custom fields
  • ConfigurableException
    • Suppressed exceptions
      • withSuppressed(), getSuppressed()
      • Suppressed exceptions messages are appended to main exception message
        • Can be disabled by ConfigurableException::$addSuppressedToMessage = false;

Removed

  • Message
    • Public properties $context, $problem, $solution (technically a BC break, but in a never documented and impractical to use feature)

1.0.0 - 2020-11-10

Added

  • CheckedException interface
    • base DomainException
  • UncheckedException interface
    • base LogicalException
    • Deprecated
    • InvalidArgument
    • InvalidState
    • MemberInaccessible
    • NotImplemented
    • ShouldNotHappen
  • ConfigurableException trait