HHVM 4.59
HHVM 4.59 is released! This release marks the end of support for 4.53; HHVM 4.54–4.58 remain supported, as does the 4.32 LTS release.
Highlights
- Improved output of
hh_clientto more accurately describe the status of the server in various cases.
Breaking Changes
- The typechecker now raises an error if any attribute arguments
(
<<Attr('arg1', 'arg2')>>) are not literal values. These had already been runtime errors.- Array, shape and tuple literals are allowed.
- The
.hhconfigoptionstronger_shape_idx_returnhas been removed. This was an experimental option that was never enabled by default, so this change should not affect most users. - If a
whereconstraint on a constructor isn’t satisfied at the point of usingnew, the typechecker would previously raise an error pointing to the constructor definition. Instead, it now points to the use (thenewconstruct).- This provides more helpful output and fixes an issue where typechecking a
file could raise an error in a different file, but it may require some
HH_FIXMEs to be moved.
- This provides more helpful output and fixes an issue where typechecking a
file could raise an error in a different file, but it may require some