Valinor/CHANGELOG.md
2022-01-07 13:50:26 +01:00

5.4 KiB

Changelog

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

0.4.0 (2022-01-07)

⚠ BREAKING CHANGES

  • Add access to root node when error occurs during mapping (54f608)
  • Allow mapping to any type (b2e810)
  • Allow object builder to yield arguments without source (8a7414)
  • Wrap node messages in proper class (a805ba)

Features

  • Introduce automatic union of objects inferring during mapping (79d7c2)
  • Introduce helper class MessageMapFormatter (ddf69e)
  • Introduce helper class MessagesFlattener (a97b40)
  • Introduce helper NodeTraverser for recursive operations on nodes (cc1bc6)

Bug Fixes

  • Handle nested attributes compilation (d2795b)
  • Treat forbidden mixed type as invalid type (36bd36)
  • Treat union type resolving error as message (e834cd)
  • Use locked package versions for quality assurance workflow (626f13)

Other

  • Ignore changelog configuration file in git export (85a6a4)
  • Raise PHPStan version (0144bf)

0.3.0 (2021-12-18)

Features

  • Handle common database datetime formats (#40) (179ba3)

Other

  • Change Composer scripts calls (0b507c)
  • Raise version of friendsofphp/php-cs-fixer (e5ccbe)

0.2.0 (2021-12-07)

Features

  • Handle integer range type (9f99a2)
  • Handle local type aliasing in class definition (56142d)
  • Handle type alias import in class definition (fa3ce5)

Bug Fixes

  • Do not accept shaped array with excessive key(s) (5a578e)
  • Handle integer value match properly (9ee2cc)

Other

  • Delete commented code (4f5612)
  • Move exceptions to more specific folder (185edf)
  • Rename GenericAssignerLexer to TypeAliasLexer (680941)
  • Use marcocesarato/php-conventional-changelog for changelog (178aa9)

0.1.1 (2021-12-01)

⚠ BREAKING CHANGES

  • Change license from GPL 3 to MIT (a77b28)

Features

  • Handle multiline type declaration (d99c59)

Bug Fixes

  • Filter type symbols with strict string comparison (6cdea3)
  • Handle correctly iterable source during mapping (dd4624)
  • Handle shaped array integer key (5561d0)
  • Resolve single/double quotes when parsing doc-block type (1c628b)

Other

  • Change PHPStan stub file extension (8fc6af)
  • Delete unwanted code (e3e169)
  • Syntax highlight stub files (#9) (9ea95f)
  • Use composer runtime API (1f754a)