Skip to content

Tags: Taluu/Behapi

Tags

v0.14.1

Toggle v0.14.1's commit message

Verified

This tag was signed with the committer’s verified signature.
Taluu Baptiste Clavié
v0.14.1

Support Symfony 6 components (Original upgrade done by @dgoosens in #72)

v0.14.0

Toggle v0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #69 from Taluu/remove-client-builder

v0.13.0

Toggle v0.13.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Taluu Baptiste Clavié
v0.13.0

- BREAK: Remove support for PHPMatcher (trivial enough to add it on your own)
- Add Static Analysis on the Project
- Bump support for Behat 3.5
- Use PSR interfaces instead of PHP-HTTP (should not be a bc break)

v0.12.0

Toggle v0.12.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Taluu Baptiste Clavié
Behapi 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:
-----------------------------------------
- BC BREAK (soft): The `AbstractJson` context is gone and has been
merged into `Json` context.
- Split some assertions groups into their own traits. They'll probably
be on their own context in the future.
- Use `beberlei/assert` instead of `webmozart/assert`
- Fix the assertion on maxCount
- Merged most collection / root steps
- Merged most positive / negative assertions

Removal
-------
- BC Break (soft): The `Behapi\Json\AbstractContext` context is
gone and has been merged into `Behapi\Json\Context`

v0.11.0

Toggle v0.11.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Taluu Baptiste Clavié
v0.11

=====
Some changes and some bc breaks, explaining why it's a new "0-major"
version.

It also bumps the behat version required to 3.5, as a fix on array
parameters in context was released in there, which is needed for the
json context

Changes (BC breaks included)
----------------------------
- BC BREAK (soft) :: Removed the `ResponseTrait`, using the history directly
- BC BREAK (soft) :: The `getLastResponse` in history throws an exception if no
  response found
- BC BREAK (soft) :: The getContentTypes method in Json context has been
  removed. and isn't called anymore in the content type check. Inject
  your prefered content-types in the json context call instead.

Removals
--------
- The formatter section for the debug, as it was deprecated in 0.10.0.

v0.10.0

Toggle v0.10.0's commit message
v0.10

=====

Additions
---------
Add the notion of introspection and a few introspection adapter that
goes along with it.

Refactors
---------
Refactored and fixed how the debug works for outline
scenarios (relying on example tested events rather than the outline
ones)

Deprecated the formatter option of the debugger. Should be gone in next
release (1.0 probably ?)

v0.9.1

Toggle v0.9.1's commit message
v0.9.1

Fix background and outlines debugging

v0.9.0

Toggle v0.9.0's commit message
v0.9.0

- Split the Http Context in two : `RequestContext` and `ResponseContext`
- Made most assertion methods final (BC BREAK)
- Transformed most assertion methods to snake_case (BC BREAK), because
  readability.
- Introduced `Builder` trait
- Moved the validity response json step to Json context rather than the
  abstract context (less mess)
- Removed check for json validity on getJson.. check it with the
  appropriate step instead.

v0.8.2

Toggle v0.8.2's commit message
v0.8.2

If there is a charset or whatever in the content-type header, the json
would not recognize it as a valid json. This is now fixed.

v0.8.1

Toggle v0.8.1's commit message
v0.8.1

Fix bug on the container and the plugin client builder