Hack Codegen Versions Save

Library to programatically generate Hack code and write it to signed files

v4.5.1

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/hhvm/hack-codegen/compare/v4.5.0...v4.5.1

v4.5.0

2 years ago

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

v4.4.1

2 years ago

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

v4.4.0

3 years ago

v4.3.12

3 years ago

v4.3.11

3 years ago

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.

v4.3.10

3 years ago

v4.3.9

4 years ago
  • added $hack_builder->addReturnVoid(), which emits return;
  • support hhvm-autoload 3.0

v4.3.8

4 years ago

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.

v4.3.7

4 years ago