This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
Releases: hhvm/hack-router
Releases · hhvm/hack-router
Support current nightlies
This release supports HHVM 4.0, current nightlies, and should support the upcoming HHVM 4.1 release
Support HHVM 4.0 and 4.1
This release contains changes to be compatible with the upcoming HHVM 4.1 release, while retaining 4.0 compatibility.
Exclude testing utilities from releases, add `// partial`
- add
// partial
where missing. This will be required in 4.1, and is currently required by nightly builds - exclude the
bin/
directory from release tarballs. This includes several files that were previously missing// partial
Support hack-http-request-response-interfaces v0.2
This release contains updated dependency information.
Support HHVM 4.0
v0.18 Depend on HHVM 4
Migrate from PSR7
This release uses hack-http-request-response-interfaces instead of PSR-7; this brings more type-safety, and is generally more suited for Hack than for PHP.
hackttp is an implementation of these interfaces.
Example usage:
<<__Entrypoint>>
async function main(): Awaitable<noreturn> {
$request = Usox\HackTTP\ServerRequest\createFromGlobals();
$responder = (new MyRouter())->routeRequest($request);
// ...
exit(0);
}
Support HHVM 3.29
v0.16 Support 3.29
Support HHVM 3.28
This release:
- adds support for HHVM 3.28
Relicense, updated dependencies
This release:
- is available under the MIT license
- allows usage with HSL v3.26
Remove full dependency on hhast
Only a dev dependency.