Releases: hhvm/hhast
Support current nightly builds
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
This release targets - and required - the release version of HHVM v4.1.0
Support nightly builds
This release supports current nightly builds, and should also support the upcoming 4.1 release
Updated release for v4.1 branch cut
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 replacehhvm vendor/bin/hhast-lint
with eithervendor/bin/hhast-lint
orhhvm vendor/bin/hhast-lint.hack
Support and require nightly builds of HHVM
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 replacehhvm vendor/bin/hhast-lint
with eithervendor/bin/hhast-lint
orhhvm vendor/bin/hhast-lint.hack
Add `<?hh` to `<?hh // partial` migration
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`
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
- 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
- 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
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.