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

Releases: hhvm/hhvm-autoload

3.1.2: support recent HHVM releases

29 Jul 17:13
44a2597
Compare
Choose a tag to compare
  • list allowed FIXME codes in .hhconfig (required since HHVM 4.62)
  • migrate array type annotations to varray or darray (required since HHVM 4.68)

3.1.1: do not raise varray notices on 4.58

20 May 17:53
Compare
Choose a tag to compare
v3.1.1

Don't raise varray notices on HHVM 4.58

3.1: stop interacting with the SPL autoload system

08 Apr 15:52
Compare
Choose a tag to compare

Prior releases will unregister any SPL autoloaders; this behavior was added a time when it was normal for Composer's PHP autoloader to be registered first. Removing as:

  • Composer's PHP autoloader has not been usable in HHVM for some time
  • The SPL autoload mechanism has been removed from current nightly builds of HHVM; attempting to unregister SPL autoloaders is now a type error

3.0.0: remove support for composer.json autoload declarations

07 Feb 21:31
645a83c
Compare
Choose a tag to compare

We supported autoload declarations in composer.json files for compatibility with PHP projects, but most PHP files can no longer be parsed by HHVM, so this support is no longer useful and usually results in parsing errors.

Any Hack projects that relied on autoload declarations in their composer.json files will now have to provide a hh_autoload.json file instead.

2.0.13: support current nightlies (expected to support HHVM 4.44+)

07 Feb 21:21
816e33c
Compare
Choose a tag to compare
move ComposerPlugin.php out of src/ (#49)

`bin/hh-autoload` tries to parse everything under `src/`, but this file is PHP, not Hack, so it can't be parsed. It was actually parseable until a few days ago, but that was just luck.

Also removing `ComposerImporterTest` which relies on that file being parseable. New major release will remove all ComposerImporter stuff, but we want to release at least one more unbroken minor release.

2.0.12: support recent HHVM versions

05 Feb 23:46
Compare
Choose a tag to compare

Fixes multiple issues where we relied on deprecated or no longer supported HHVM features.

2.0.11: clean up PHP-style lambdas

22 Nov 01:12
Compare
Choose a tag to compare

No longer depends on the error_php_lambdas setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.

2.0.10: clean up error @silencing

01 Nov 00:34
Compare
Choose a tag to compare

No longer depends on the disallow_silence setting being turned off, so it can now be used from projects with stricter settings without causing Hack errors.

2.0.9: support HHVM 4.29+ and current nightlies

24 Oct 17:01
Compare
Choose a tag to compare
v2.0.9

is_string($file) -> $file is string

2.0.8: fix hh_client fallback handler in 4.20, support `HH_FORCE_IS_DEV` environment variable

28 Aug 15:20
Compare
Choose a tag to compare
  • hhvm-autoload supports using hh_client to find definitions from the autoload map; this is intended for development environments. This was broken under HHVM 4.20
  • add an HH_FORCE_IS_DEV environment variable to force the return value of \Facebook\AutoloadMap\Generated\is_dev(); this is intended for unit testing functionality that has different default behavior in prod vs dev