This repository was archived by the owner on Sep 1, 2023. It is now read-only.
Releases: hhvm/type-assert
Releases · hhvm/type-assert
3.6.5: clean up PHP-style lambdas
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
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
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)
v3.6.2 Add new FIXMEs for 4.20
3.6.1: support nightly builds (4.15-dev)
v3.6.1 Replace non-refining instaoce $what with non-refining is_a()
v3.6: support current nightly builds (4.14-dev)
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)
v3.5.1 Relax typing of dictToShapeUNSAFE
3.5.0: Support current nightly builds
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
This release:
- adds support for converting strings like
"-1.23"
to floats inTypeCoerce
- supports HHVM 2019.06.19 (4.11-dev)
Allow converting negative int-ish strings, support extra-strict Hack options
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