Skip to content

Releases: hhvm/hack-codegen

v4.5.1: support current HHVM nightlies and HHVM 4.162

06 Jun 17:07
Compare
Choose a tag to compare

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

14 Dec 17:36
Compare
Choose a tag to compare

This release:

  • adds addCoeffect() and addCoeffects() 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

01 Jun 19:36
Compare
Choose a tag to compare

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

20 Apr 21:04
6d20695
Compare
Choose a tag to compare
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+

21 Sep 21:14
329e87a
Compare
Choose a tag to compare
v4.3.12

replace $GLOBALS with \HH\global_get()

Compatibility with latest nightlies

15 Jul 20:19
Compare
Choose a tag to compare

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

09 Jun 17:05
Compare
Choose a tag to compare
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

28 Feb 16:57
d86a4e5
Compare
Choose a tag to compare
  • added $hack_builder->addReturnVoid(), which emits return;
  • support hhvm-autoload 3.0

4.3.8: clean up array literals

01 Nov 00:39
Compare
Choose a tag to compare

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

24 Oct 22:18
Compare
Choose a tag to compare
v4.3.7

fix composer.json