Skip to content

Releases: Taluu/Behapi

Behapi v0.14

27 Jan 16:32
3747f2f
Compare
Choose a tag to compare

A new release with one BC Break, hence the minor version update (as we're on 0.X...), mainly due to the fact that we are now using PSR container and updated to modern versions of php-http.

Changes since 0.13

  • Add support for PHP8 🎉 (f47070)
  • Use Shivam Mathur github actions to setup php env (#67)
  • Use PSR container instead of interop (Ban Behat < 3.7) (#67)
  • Remove support for some EOLd versions of Symfony (#68, dfb8dd1)
  • (BC BREAK) Remove the PluginClientBuilder class, as it is now maintained in the PHP-HTTP client-common package (php-http/client-common#158)

Nothing too fancy, mostly cleaning up things. :}

Behapi v0.13

18 Jun 15:05
v0.13.0
56dc556
Compare
Choose a tag to compare

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.

Behapi v0.12.0

10 Dec 23:05
v0.12.0
5673c92
Compare
Choose a tag to compare

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 of webmozart/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 into Behapi\Json\Context (#52)