Skip to content

v0.200.0

Compare
Choose a tag to compare
@bshaffer bshaffer released this 18 Jun 16:42
0375af4

v0.200.0

Improvements

  • Generated classes now use namespaces
  • Generated classes have been moved from src/Google/Service to src
  • Modern [] array syntax is used instead of array()
  • Service classes now accept an optional Google\Client|array $clientOrConfig parameter as their constructor instead of requiring an instance of Google\Client
  • ::class is used for evaluating class names

Backwards-Compatibility

  • The autoloader in autoload.php ensures backwards compatibility with google/apiclient
  • Every class file calls class_alias to create an alias for the legacy class name.
  • Tests have been added to check forward and backwards compatibility (see tests/VendorTest.php)