Releases: hhvm/fbexpect
v2.9.1
Note that previous version v2.9.0 breaks major backward compatibility and should not be used. This version still breaks backward compatibility to 2.8 in some less likely cases so it should be OK. Feel free to file an issue if it is not the case.
What's Changed
Full Changelog: v2.9.0...v2.9.1
v2.9.0
Note that this version breaks backward compatibility because previous non-final classes are turned into final classes.
What's Changed
- Update dependencies to support latest HHVM by @Atry in #40
- Require hhvm 4.128 and support autoloading with ext_watchman by @lexidor in #41
- Fix lint errors by @Atry in #42
Full Changelog: v2.8.1...v2.9.0
v2.8.1
v2.8.0: Require HHVM 4.56, support future coercion changes
This release is compatible with the enable_strict_string_concat_interp option.
v2.7.8: Improved support for large objects, support current HHVM nightly builds
This release:
- adds support for current nightly builds of HHVM, and is expected to support v4.88
- uses
print_r()
instead ofvar_dump()
when printing information on objects, to avoid stack overflows on deep objects, e.g. HHAST nodes
2.7.7: support HHVM 4.75-dev
Support current nightly builds (HHVM 4.75-dev).
This removes a call to the newly deprecated function call_user_func_array
. As a consequence, expect($callable)->toThrow()
and similar methods now no longer support raw strings/tuples as $callable
. Use a lambda, fun
, class_meth
or inst_meth
instead. This change will be required everywhere soon, as HHVM is replacing raw strings/tuples with a native function pointer type.
2.7.6: support HHVM 4.71+
- replace all
is_array()
calls - requies HHVM 4.45 or newer (for
HH\is_php_array()
)
2.7.5: support recent HHVM releases
- list allowed FIXME codes in .hhconfig (required since HHVM 4.62)
- migrate
array
type annotations tovarray
ordarray
(required since HHVM 4.68) expect($obj)->toContain(...)
no longer supportsSplObjectStorage
as a special case- added
expect($callable)->toTriggerAnError(...)
to support legacy code that raises errors/warnings/notices instead of throwing exceptions
2.7.4: support current nightlies (HHVM 4.55-dev)
add HH_FIXME for error from latest HHVM nightlies I don't see any other way to fix it :(
Usability improvements
This release:
- only outputs
$x
ifexpect($x)->toNotBeSame($y)
fails, as$x
and$y
are the same - shows diffs for some non-string inputs