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

Releases: hhvm/hhast

4.64.4: migration for array typehints

03 Aug 17:49
64782a5
Compare
Choose a tag to compare

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 pass array typehints but don't pass varray_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

20 Jul 19:56
Compare
Choose a tag to compare

Large output could be incorrectly truncated on prior releases.

v4.64.2: Support HHVM v4.65.0

07 Jul 17:18
Compare
Choose a tag to compare

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

02 Jul 23:46
Compare
Choose a tag to compare

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

02 Jul 20:29
Compare
Choose a tag to compare

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

17 Jun 18:07
Compare
Choose a tag to compare

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

21 May 16:01
Compare
Choose a tag to compare

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

06 May 18:50
Compare
Choose a tag to compare

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)

23 Apr 21:17
Compare
Choose a tag to compare

Does not break backwards compatibility, HHVM 4.53+ is still supported.

4.53.1: support current nightlies (HHVM 4.54-dev)

16 Apr 23:20
64badd6
Compare
Choose a tag to compare

Does not break backwards compatibility, HHVM 4.53 is still supported.