-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update readme with info on services repo #1823
Conversation
README.md
Outdated
@@ -41,6 +41,18 @@ Finally, be sure to include the autoloader: | |||
require_once '/path/to/your-project/vendor/autoload.php'; | |||
``` | |||
|
|||
This library relies on `google/apiclient-services`. That library provides up-to-date API wrappers for a large number of Google APIs. In order that users may make use of the latest API clients, this library does not pin to a specific version of `google/apiclient-services`. **In order to prevent the accidental installation of API wrappers with breaking changes**, it is highly recommended that you pin to the latest version yourself prior to using this library in production. | |||
|
|||
If you're installing this library for authentication or other purposes which do not require the API wrappers, you may prevent their installation by adding the following to your project's `composer.json` file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is confusing to me, as it does not actually prevent their installation. Also, what is the use case for preventing their installation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is wrong place for this comment/question, sorry, it seemed to close to what I needed, so.... |
@veperr You can find the latest release of the https://github.com/googleapis/google-api-php-client-services/releases Then you can pin to the latest version by running the following command:
|
This change adds a warning to users to pin to a specific version of
google/apiclient-services
and also a guide to how they can skip installation of services if they don't need them.