Releases: hhvm/hhvm-autoload
3.1.2: support recent HHVM releases
- list allowed FIXME codes in .hhconfig (required since HHVM 4.62)
- migrate
array
type annotations tovarray
ordarray
(required since HHVM 4.68)
3.1.1: do not raise varray notices on 4.58
v3.1.1 Don't raise varray notices on HHVM 4.58
3.1: stop interacting with the SPL autoload system
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
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+)
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
Fixes multiple issues where we relied on deprecated or no longer supported HHVM features.
2.0.11: clean up PHP-style lambdas
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
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
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
- 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