Skip to content

v2.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 12:34
62986fc

2.1.2 (2026-11-16)

Bug Fixes

  • apply Pattern, Range and Length only to compatible types (#56) (acaf86f)
  • ignore tuple array shapes instead of throwing TypeError (#44) (dbd3e67)
  • keep native nullability when the PHPDoc type omits null (#52) (5ebec21)
  • render unconstrained properties as {} instead of [] (#53) (4d2035f)
  • serialize an empty default of an object schema as {} (#54) (45bb74d)
  • stop non-positive-int and non-negative-int from matching their shorter counterparts (#41) (8f03625)

Documentation

  • fix README schema examples that drifted from the generator output (dc5bbe5)
  • restructure README header and badges (#47) (ff9373f)

Styles

  • php-cs-fixer: fix coding standards (87c055f)

Dependencies

  • require symfony/type-info explicitly (#45) (2cf1692)

Code Refactoring

  • make Psalm level 1 pass without a baseline (#43) (f473a19)

Tests

  • check README examples in an Acceptance suite (#51) (dc5bbe5)
  • cover PHPDoc constraints, transitive definitions and property filtering (#39) (77cc74a)
  • migrate from PHPUnit to Testo (#29) (2405eec)

Continuous Integration

  • add composer audit workflow (#33) (134f5d0)
  • install spiral/code-style as a bamarni-bin tool (#34) (86523b1)
  • run cs-fix on the minimum supported PHP (#27) (9fffe9f)
  • run mutation tests with Infection (#40) (58b979d)
  • tighten workflow triggers and permissions (#35) (decd918)
  • upload coverage to Codecov (77cc74a)