Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Releases: hhvm/hhast

Support current nightly builds

17 Apr 20:50
Compare
Choose a tag to compare

This release contains updated AST definitions, required for current nightly builds. It is also expected to support HHVM 4.2.0

Support HHVM v4.1.0

09 Apr 19:32
Compare
Choose a tag to compare

This release targets - and required - the release version of HHVM v4.1.0

Support nightly builds

26 Mar 19:54
Compare
Choose a tag to compare
Pre-release

This release supports current nightly builds, and should also support the upcoming 4.1 release

Updated release for v4.1 branch cut

25 Mar 22:47
Compare
Choose a tag to compare
Pre-release

v4.1.0 has been unpublished from packagist due to incorrect dependency information.

Combined, these releases:

  • support and require HHVM 4.1
  • moves hhast-lint, hhast-inspect, hhast-migrate to .hack files, with small wrappers. You will need to replace hhvm vendor/bin/hhast-lint with either vendor/bin/hhast-lint or hhvm vendor/bin/hhast-lint.hack

Support and require nightly builds of HHVM

11 Mar 21:49
Compare
Choose a tag to compare

This release:

  • requires HHVM 4.1, or a recent nightly build
  • moves hhast-lint, hhast-inspect, hhast-migrate to .hack files, with small wrappers. You will need to replace hhvm vendor/bin/hhast-lint with either vendor/bin/hhast-lint or hhvm vendor/bin/hhast-lint.hack

Add `<?hh` to `<?hh // partial` migration

06 Mar 19:11
Compare
Choose a tag to compare

HHVM 4.1 will require a mode to be explicitly specified; this release adds bin/hhast-migrate --explicit-partial-mode to add the // partial where required.

Allow overrides to change `builtinLinters`

20 Feb 23:58
Compare
Choose a tag to compare

This allows you to run part of the project on a whitelist, but the rest of a project on a blacklist.

For example:

{
  "roots": [ "src/", "tests/" ],
  "builtinLinters": "all",
  "overrides": [
    {
      "patterns": [ "tests/data/*" ],
      "builtinLinters": "none",
      "extraLinters": [
        "Facebook\\HHAST\\Linters\\LicenseHeaderLinter"
      ]
    }
  ]
}

Improved namespace resolution, update export-ignore

19 Feb 22:43
Compare
Choose a tag to compare
  • release tarballs included a file that should have been excluded - .gitattributes listed CodegenCLI.php, but that file is now CodegenHack
  • fix namespace name resolution for multiple classes in a namespace block

Fully support `.hack` files

15 Feb 18:41
Compare
Choose a tag to compare
  • fix issue where they would sometimes be parsed as PHP files
  • fix the license header linter always expecting a <?hh section
  • fix a deprecation notice in hhast-inspect

Bug fix for await precedence migration

12 Feb 23:34
Compare
Choose a tag to compare

In HHVM 4.1, the parsing of statements like $foo = await $bar ? $baz : $bat will change. hhast-migrate --await-precedence can be used to add parentheses where required.