Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 925 Bytes

CHANGELOG.md

File metadata and controls

40 lines (22 loc) · 925 Bytes

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.

[0.4.4] 2024-08-18

Added

  • Add Parameter::with().
  • Add ShapeElement::with().

Changed

  • Make ShapeElement::__construct($type) optional with types::mixed as a default value.

[0.4.3] 2024-08-06

Added

  • Add types::value() factory that creates a Type from an arbitrary value.

Deprecated

  • Deprecate types::scalar() in favor of value().

[0.4.2] 2024-08-05

Changed

  • Drop needless $type parameter PHPDoc types in TypeVisitor.
  • Return Type<int> in types::intMask() due to possibly overflowing bitmasks.

[0.4.1] 2024-08-05

Fixed

  • Replace self, parent and static type arguments in RecursiveTypeReplacer.