Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 14:15
· 2 commits to master since this release
1863374
  • Fixed: the JSON Schema export of requireAnyOf() demanded a key that a defaulted member satisfies without being present, so the export rejected input parse() accepts. A group with a defaulted member is left out of the export now (#43).
  • Changed: the Psalm plugin targets Psalm 7. On Psalm 7 it crashed (Call to private Psalm\Type\Atomic\TKeyedArray::__construct()); it builds shapes through TKeyedArray::make() now (#41). vimeo/psalm in require-dev is ^7.0. Psalm 6 is no longer tested; before 6.19 it has no TKeyedArray::make(), so the plugin fails there.
  • Mutation testing now counts uncovered code (composer mutation runs Infection with --with-uncovered), and tests were added for the code it exposed: parseOrThrow() on every schema type, NonRepresentable, toWire() branches, JSON Schema export fragments, generator bounds, and #[Covers] targets on the tests that already exercised them. No src/ changes.