Autoload classes, functions, enums, constants, and typedefs on HHVM
Full Changelog: https://github.com/hhvm/hhvm-autoload/compare/v3.2.1...v3.3.2
This is a maintenance release primarily aimed for uses of 4.102 LTS
This release:
vendor/bin/
This release supports using HHVM's built-in autoloader in repo-authoritative mode or when using ext_facts(). You can enable this mode by adding "useFactsIfAvailable": true
to hh_autoload.json
.
In this mode, the Facebook\AutoloadMap\initialize()
does not need to be called, and the other APIs pass through to ext_facts
. --no-facts
can be passed to vendor/bin/hh-autoload
to disable this behavior (ignoring the configuration option), and we recommend this when building for repo-authoritative mode when the definitions will change.
When using this mode, other configuration options will be ignored.
This release requires HHVM 4.109 or above.
This release:
Backports Composer 2.0 support into the 2.0.x branch of hhvm-autoload.
This release should only be used by projects that can't use hhvm-autoload v3.x. Otherwise, use the latest hhvm-autoload release instead (currently v3.1.5).
Preserves compatibility with Composer 1.x
is_array()
calls