Releases: hhvm/hhast
4.64.4: migration for array typehints
The array
type was removed in HHVM 4.68. This provides the related automated migrations.
You will need HHVM 4.62 to 4.67 to run these migrations, except --harden-varray-or-darray-typehints
which also works on HHVM 4.68+.
--php-array-typehints-soft
Migrate array typehints to <<__Soft>> varray_or_darray (safe)
--php-array-typehints-hard
Migrate array typehints to varray_or_darray (safe only in HHVM 4.68+)
--harden-varray-or-darray-typehints
Remove <<__Soft>> from varray_or_darray typehints (recommended after migrating to HHVM 4.68+)
--php-array-typehints-best-guess
Migrate array typehints to <<__Soft>> varray or <<__Soft>> darray (likely to cause runtime warnings)
Recommended migration paths:
- if upgrading straight to HHVM 4.68+:
--php-array-typehints-hard
- this is not safe before HHVM 4.68 because while the
array
type exists, it is possible to have values that passarray
typehints but don't passvarray_or_darray
- otherwise:
--php-array-typehints-soft
- then after upgrading to HHVM 4.68+:
--harden-varray-or-darray-typehints
- beware: this may also harden typehints that were originally
<<__Soft>>
, as that information is lost during the first part
- for smaller projects where some amount of runtime warnings is acceptable:
--php-array-typehints-best-guess
4.64.3: Fix bug with output handling on HSL IO v0.2
Large output could be incorrectly truncated on prior releases.
v4.64.2: Support HHVM v4.65.0
This release supports HHVM v4.65.0; there is no change to the minimum version requirement.
4.64.1: support current nightly builds of HHVM
This release supports current nightly builds of HHVM, and is expected to support HHVM 4.65
4.64.0: support HSL-IO v0.2 from hsl-experimental v4.58
This release contains no API changes, however internals are now compatible with (and require) a more recent version of hsl-experimental.
4.62.0: support and require HHVM 4.62
With 4.62, the Hack parse tree has changed, requiring a breaking change to HHAST.
4.53.4: skip PHP files, support type-assert v4
This release:
- will safely skip PHP files rather than raising errors
- will permit either type-assert v3 or v4
4.53.3: support hsl-experimental v4.56
This release supports newer versions of hsl-experimental; it does not drop support for any older versions of HHVM or the HSL
4.53.2: support current nightlies (HHVM 4.55-dev)
Does not break backwards compatibility, HHVM 4.53+ is still supported.
4.53.1: support current nightlies (HHVM 4.54-dev)
Does not break backwards compatibility, HHVM 4.53 is still supported.