Releases: hhvm/hhast
v4.103.1: corrected 4.103 release
v4.103.0 was created against the wrong commit; no current HHVM meets its' constraints, so shouldn't present problems.
v4.103: cache location change, support and require HHVM 4.103
This release:
- stops creating
foo.hack.parser-cache
files in the same directory asfoo.hack
; instead, they are created in$REPO_ROOT/.var/hhvm/hhast
. This provides a cleaner experience for many IDEs and tools, but may need an updated .gitignore - supports and requires HHVM and Hack 4.103
v4.102: support and require HHVM 4.102
Also fixes a false positive in UnusedVariableLinter (#354).
v4.101: support HHVM/Hack v4.101
This release supports HHVM 4.94-4.101; there are no changes since 4.100 except for compatibility with the next HHVM release.
v4.100.0: support HHVM 4.100, new linters, fixes
- This release is partially backwards compatible. HHVM 4.94+ is still supported, however there's a minor breaking change in HHAST's API—the following classes gained a new constructor argument:
ClosureParameterTypeSpecifier
ClosureTypeSpecifier
- New linters:
NoNewlineAtStartOfControlFlowBlockLinter
DontHaveTwoEmptyLinesInARowLinter
- Removed linters (both of these are typechecker errors in all supported HHVM versions):
MethodCallOnConstructorLinter
NoBasicAssignmentFunctionParameterLinter
- Fixes:
UnusedParameterLinter
andUnusedVariableLinter
now better handle lambda functions (#341)DontAwaitInALoopLinter
no longer emits an error whenawait
is used in areturn
orthrow
statement inside a loop (#280)NoEmptyStatementLinter
now correctly handless braceless conditionals/loops (#146)- Calling
var_dump
on any HHAST node now provides more useful output (#352)
- Methods like
getDescendantsOfType
on HHAST nodes now have alternatives (e.g.getDescendantsByType
) that use reified generics instead ofclassname
arguments, e.g.$body->getDescendantsByType<LambdaExpression>()
Thanks @lexidor for contributing most of the changes in this HHAST release!
v4.95.2: support HHVM 4.96
Does not break backwards compatibility, HHVM 4.94+ is still supported.
v4.95.1: support HHVM 4.96-dev
Support current nightly builds (HHVM 4.96-dev).
Does not break backwards compatibility, HHVM 4.94+ is still supported.
v4.95.0: support HHVM 4.95
This release is partially backwards compatible. HHVM 4.94 is still supported, however there's a minor breaking change in HHAST's API—the following classes gained a new constructor argument:
AnonymousFunction
FunctionDeclarationHeader
LambdaSignature
ParameterDeclaration
v4.94.0: support and require HHVM 4.94
This release adapts to backwards-incompatible changes to the schema in HHVM 4.94.
4.92.1: support 4.93, coeffects, and capabilities
This release continues to support 4.92, but adds support for 4.93 and new language features.