Behapi v0.13.0 Release Notes
Release Date: 2020-06-18 // over 3 years ago-
๐ A new release (plagued ? :D) with some bc breaks, mainly the switch from using httplug to psr interfaces.
๐ Changes since 0.12
- โฌ๏ธ Bumped to PHP 7.3 minimum
- Switch from phpstan to psalm (#62)
- Switch from HttPlug to PSR interfaces (#59)
- โ Removed the Builder trait (#61)
- โ Removed the PhpMatcher context (you can use it yourself)
An example directory has been added, but that is highly experimental : it is used when I tinker Behapi's code, to check I'm not breaking anything else than what I am assuming I am breaking. Some features are failing but that's on purpose.
Previous changes from v0.12.0
-
๐ This release is mainly a work on contexts. It may contain a BC break or two, as some contexts were "removed", "renamed" or "changed".
๐ This release also uses beberlei's asserts instead of webmozart, because of its builders abilities for assert (Through
Assert::that()
), it has more assertions than the other one, and it seems to be more maintained too (even though @Nyholm's taken the project now).๐ Changes (BC Breaks included) since v0.11:
- Split some assertions groups into their own traits. They'll probably be on their own context in the future (#52)
- ๐ Use
beberlei/assert
instead ofwebmozart/assert
(#53 #38) - ๐ Fix the assertion on maxCount (0b999ee)
- ๐ Merged most collection / root steps (#52)
- ๐ Merged most positive / negative assertions (#52)
Removal
- BC Break (soft): The
Behapi\Json\AbstractContext
context is
๐ gone and has been merged intoBehapi\Json\Context
(#52)