Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Releases: hhvm/fbexpect

v2.9.1

06 Jun 19:41
5ad14d4
Compare
Choose a tag to compare

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

  • Let ExpectObj be non-final for backward compatibility by @Atry in #43

Full Changelog: v2.9.0...v2.9.1

v2.9.0

06 Jun 19:05
Compare
Choose a tag to compare

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

17 Nov 21:50
c1fb447
Compare
Choose a tag to compare

What's Changed

  • Update difflib to 1.3.0 by @Atry in #39

New Contributors

  • @Atry made their first contribution in #39

Full Changelog: v2.8.0...v2.8.1

v2.8.0: Require HHVM 4.56, support future coercion changes

13 Aug 15:32
2b83fa1
Compare
Choose a tag to compare

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

11 Dec 21:58
Compare
Choose a tag to compare

This release:

  • adds support for current nightly builds of HHVM, and is expected to support v4.88
  • uses print_r() instead of var_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

11 Sep 17:18
dcf1beb
Compare
Choose a tag to compare

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+

17 Aug 19:32
1282974
Compare
Choose a tag to compare
  • replace all is_array() calls
  • requies HHVM 4.45 or newer (for HH\is_php_array())

2.7.5: support recent HHVM releases

29 Jul 17:18
62e2c39
Compare
Choose a tag to compare
  • list allowed FIXME codes in .hhconfig (required since HHVM 4.62)
  • migrate array type annotations to varray or darray (required since HHVM 4.68)
  • expect($obj)->toContain(...) no longer supports SplObjectStorage 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)

23 Apr 21:19
Compare
Choose a tag to compare
add HH_FIXME for error from latest HHVM nightlies

I don't see any other way to fix it :(

Usability improvements

04 Nov 22:23
Compare
Choose a tag to compare

This release:

  • only outputs $x if expect($x)->toNotBeSame($y) fails, as $x and $y are the same
  • shows diffs for some non-string inputs