Skip to content

Releases: milo/github-api

Released version 2.0.3

24 Nov 13:49
Compare
Choose a tag to compare

Released version 2.0.2

06 Dec 11:07
Compare
Choose a tag to compare
  • support PHP 8.3

Released version 2.0.1

11 Jan 14:26
Compare
Choose a tag to compare
  • support PHP 8.2

Released version 2.0.0

04 Dec 21:13
Compare
Choose a tag to compare

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

30 Nov 09:27
Compare
Choose a tag to compare
  • fixed PHP 8.1 compatibility (#33)

Released version 1.4.8

12 Mar 21:47
Compare
Choose a tag to compare
  • updated bundled CA chain

Released version 1.4.7

03 Jan 17:22
Compare
Choose a tag to compare
  • added getter and setter for default Accept header (#29)

Released version 1.4.6

11 Dec 11:45
f1a6a86
Compare
Choose a tag to compare
  • CachedClient: Last-Modified and ETag headers are sent simultaneously

Released version 1.4.5

12 Jul 05:16
Compare
Choose a tag to compare
  • Colon parameters in URL can be separated by dot.

Released version 1.4.4

27 Oct 06:43
Compare
Choose a tag to compare
  • Added Api::withUrl() factory
  • Api accepts absolute https:// URLs with different hostname (see #18)