This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
Releases: hhvm/fbexpect
Releases · hhvm/fbexpect
Allow HackTest v2.0
This release permits either HackTest 1.x or 2.x
2.6.2: permit hacktest 2
v2.6.2 allow hacktest 2
Permit HackTest 2.0
HackTest supports HHVM 4.8 - but recent fbexpects don't. Allow in 2.5.x so there's a hacktest 2 + HHVM 4.8 combo that works
2.7.1: clean up error @silencing
No longer depends on the disallow_silence
setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.
2.6.1: add `toContainSubstring()` and `toNotContainSubstring()`
This adds the new methods in 2.7 without changing existing methods.
In 2.7 and above, toContain()
and toNotContain()
are restricted to containers/traversables.
2.7.0: type safety, feature improvements (breaking changes)
- added
toContainSubstring()
andtoNotContainSubstring()
toContain()
can now only be used onTraversable
s; use the newtoContainSubstring()
on stringstoNotContain()
can now only be used onKeyedContainer
s; use the newtoNotContainSubstring()
on stringstoThrowWhenCalledWithArgs()
has been removed; usetoThrow()
with a lambda insteadtoThrow()
can now only be called if a callable with no arguments is providedtoThrow()
now returns the exception, making it more straightforward and readable to make additional assertions about the exception (such as the message or error code)toThrow()
now supportsThrowable
s instead of justException
s
2.6: target HHVM 4.13+, support currently nightlies (4.14-dev)
v2.6.0 remove accidentally-added hhconfig option
Un-deprecate `toEqual` and `toNotEqual`, using `===`
Undeprecate toEqual / toNotEqual (#14) * Undeprecate toEqual / toNotBeEqual These functions are back in style now, apparently. * shim to Same instead of PHPEqual * Add docblocks
v2.5.8: Support HHVM 4.10 and current nightlies (4.11-dev)
replace UNSAFE_EXPR with FIXME
Support HHVM 4.1 and current nightlies (4.7-dev)
- increase minimum version from 4.0 to 4.1
- remove direct usage of
empty()
which is no longer supported in 4.7-dev