Releases: hhvm/hack-codegen
Releases · hhvm/hack-codegen
v4.5.1: support current HHVM nightlies and HHVM 4.162
What's Changed
- Bump nokogiri from 1.12.5 to 1.13.3 in /docs by @dependabot in #143
- Fix lint in HackfmtFormatter.hack by @alexeyt in #145
- Bump nokogiri version in docs/ by @alexeyt in #147
- Bump nokogiri from 1.13.4 to 1.13.6 in /docs by @dependabot in #149
- Require hhvm 4.128 and support autoloading with ext_watchman by @lexidor in #144
- Add
.hack
extension to the temporary file by @Atry in #150
New Contributors
Full Changelog: v4.5.0...v4.5.1
4.5.0: coeffects support, permit strict executables
This release:
- adds
addCoeffect()
andaddCoeffects()
to functions and methods - permits strict-mode files with shebangs (e.g.
#!/usr/bin/env bash
) - pseudomain functions remain banned in strict files; instead, use
<<_Entrypoint>>
functions in strict mode executables - requires Hack/HHVM 4.93 or above
4.4.1: support current nightlies
This release adds an explicit constraint for regex generics; this was already requires in practice, but makes the generic declarations consistent.
This release supports current nightly builds of HHVM/Hack, and is expected to support 4.112
4.4: support XHP codegen, require HHVM 4.80, support HSL 4.53
Add support for codegen xhp classes (#138) * Add support for codegen xhp classes Adds xhp attribute codegen to traits and classes. No error is thrown when attributes are added to non-xhp classes. This syntax is valid, but not useful in the current class. Inheritance maybe? * Fix broken copy paste * Compatibility with older hsl versions * Whitespace lint * Update xhp attribute doc I copy pasted property and did not touch up the doc well enough.
4.3.12: support HHVM 4.76+
v4.3.12 replace $GLOBALS with \HH\global_get()
Compatibility with latest nightlies
This updates the hh-codegen-verify-signatures
executable to be compatible with recent nightly builds of HHVM.
There is no change to the minimum supported version.
4.3.10: use varray/darray, reducing warning spam on recent HHVM versions
Replace PHP arrays with varray and darray Grepped for \barray\b , fixed all call sites. No log spew on test run
4.3.9: `addReturnVoid`, support hhvm-autoload 3.0
- added
$hack_builder->addReturnVoid()
, which emitsreturn;
- support hhvm-autoload 3.0
4.3.8: clean up array literals
No longer depends on the disallow_array_literal
setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.
4.3.7: fixed composer.json bug
v4.3.7 fix composer.json