Skip to content

Releases: hhvm/hhast

v4.103.1: corrected 4.103 release

31 Mar 23:07
Compare
Choose a tag to compare

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

31 Mar 23:03
Compare
Choose a tag to compare

This release:

  • stops creating foo.hack.parser-cache files in the same directory as foo.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

24 Mar 20:21
bb0f044
Compare
Choose a tag to compare

Also fixes a false positive in UnusedVariableLinter (#354).

v4.101: support HHVM/Hack v4.101

16 Mar 17:22
Compare
Choose a tag to compare

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

09 Mar 22:16
02d0194
Compare
Choose a tag to compare
  • 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 and UnusedVariableLinter now better handle lambda functions (#341)
    • DontAwaitInALoopLinter no longer emits an error when await is used in a return or throw 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 of classname 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

08 Feb 20:18
3e46fa2
Compare
Choose a tag to compare

Does not break backwards compatibility, HHVM 4.94+ is still supported.

v4.95.1: support HHVM 4.96-dev

03 Feb 22:25
8a5f5cc
Compare
Choose a tag to compare

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

01 Feb 22:44
ab5248c
Compare
Choose a tag to compare

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

25 Jan 21:21
1ccdec0
Compare
Choose a tag to compare

This release adapts to backwards-incompatible changes to the schema in HHVM 4.94.

4.92.1: support 4.93, coeffects, and capabilities

21 Jan 22:03
Compare
Choose a tag to compare

This release continues to support 4.92, but adds support for 4.93 and new language features.