HHVM 3.26.3
HHVM 3.26.3 is released! This release contains several bugfixes, and improvements to IDE support:
- CVE-2018-6337: clear
folly::secureRandom
(random_bytes()
andrandom_int()
) buffer on fork. This does not affect 3.25 or below. - HackC: narrower parsing of bracketed expressions as casts
- HackC: fix PHP classes with the same name as special Hack classes
- LSP: use
hackfmt
instead ofhh_format
for IDE code formatting features (hh_format
fails on most modern Hack code) - LSP: respect IDE-provided indent width and tabs-or-spaces preferences when formatting code
- LSP: fix support for as-you-type formatting in VSCode
- LSP:
use
statements in classes autocomplete should only suggest traits - Improve detection, handling, and errors for magic functions where
yield
andawait
are unsupported; this improves handling ofIDisposable
,IAsyncDisposable
,__callStatic
, and increases PHP compatibility. - Add an
extra_paths=
option to.hhconfig
to include dependencies outside of the project root. This is experimental, and may be removed at any time.