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

Releases: hhvm/type-assert

3.6.5: clean up PHP-style lambdas

22 Nov 01:17
Compare
Choose a tag to compare

No longer depends on the error_php_lambdas setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.

3.6.4: clean up array literals

01 Nov 00:28
Compare
Choose a tag to compare

No longer depends on the disallow_array_literal setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.

3.6.3: support HHVM 4.29+ and current nightlies

24 Oct 17:09
Compare
Choose a tag to compare
explicit "as arraykey" in UntypedArraySpec

required by new HHVM versions which have stronger typing for untyped `array` values

3.6.2: support current nightly builds (4.20-dev)

23 Aug 20:59
Compare
Choose a tag to compare
v3.6.2

Add new FIXMEs for 4.20

3.6.1: support nightly builds (4.15-dev)

18 Jul 18:29
Compare
Choose a tag to compare
v3.6.1

Replace non-refining instaoce $what with non-refining is_a()

v3.6: support current nightly builds (4.14-dev)

12 Jul 22:00
Compare
Choose a tag to compare

This release is targeting 4.13 and above, and adapts to changes required in 4.14-dev. Some dependencies still need updating for 4.14-compatibility.

Support current nightly builds (4.13-dev)

08 Jul 21:58
Compare
Choose a tag to compare
v3.5.1

Relax typing of dictToShapeUNSAFE

3.5.0: Support current nightly builds

27 Jun 16:22
Compare
Choose a tag to compare

This release supports current nightly builds of HHVM (4.12-dev), and requires HHVM 4.10 or above.

No other substantial changes.

3.4.2: support negative-floats from string coercions, and HHVM nightly builds

19 Jun 17:37
Compare
Choose a tag to compare

This release:

  • adds support for converting strings like "-1.23" to floats in TypeCoerce
  • supports HHVM 2019.06.19 (4.11-dev)

Allow converting negative int-ish strings, support extra-strict Hack options

31 May 16:39
Compare
Choose a tag to compare

Thanks to @lexidor and @aloiret for these changes:

  • negative integer strings (e.g. "-123") are now supported; any string can now be converted to an int if - ignoring leading zeroes - the int converts back to the same string.
  • the disallow_ambiguous_lambda typechecker option no longer raises errors in type-assert
  • the disable_lval_as_an_expression typechecker option no longer raises errors in type-assert