HHVM 4.136
HHVM 4.136 is released! HHVM 4.131–4.135 remain supported, as do the 4.102 and 4.128 LTS releases.
Highlights
- Add IDE quickfix for missing interface methods.
- The
readonlyfeature is no longer considered unstable.- The
readonlymodifier is now also visible to the reflection API via theisReadonly()orreturnsReadonly()functions.
- The
- The WriteHandle::truncate method is added to HSL to truncate files.
- Various APIs in HSL are now considered pure or
controlledand no longer require the defaults capabilities. - The
noreturntype now can be upcasted todynamic.
Breaking Changes
- Methods with a
private finalmodifier are not supported any more. Useprivateinstead. - The
partialtyping mode is removed. This includes both support for<?hh // partialin.phpfiles, and for.hackpartialfiles. - Raise an error when a trait is
<<__ConsistentConstruct>>but does not declare an explicit constructor.