Releases: milo/github-api
Releases · milo/github-api
Released version 2.0.3
Released version 2.0.2
- support PHP 8.3
Released version 2.0.1
- support PHP 8.2
Released version 2.0.0
The 2.0.0 release is the same as the 1.4.9 but it requires PHP 8.0 at least. There are no logic changes in code, only newer PHP features are used. Mainly strict types declaration, type hints, return types and promoted constructor properties.
One may hit problems with scalar typehints for HTTP return code (used to accept string, now only integer is accepted) and headers value (used to accept integers and nulls, now have to be strings).
- require PHP >= 8.0
- declare(strict_types=1);
- class Sanity replaced by trait Strict
- type hints, return types, promoted properties
Released version 1.4.9
- fixed PHP 8.1 compatibility (#33)
Released version 1.4.8
- updated bundled CA chain
Released version 1.4.7
- added getter and setter for default Accept header (#29)
Released version 1.4.6
- CachedClient:
Last-Modified
andETag
headers are sent simultaneously
Released version 1.4.5
- Colon parameters in URL can be separated by dot.
Released version 1.4.4
- Added Api::withUrl() factory
- Api accepts absolute https:// URLs with different hostname (see #18)