-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
LIBVER does not reflect the correct version in google/apiclient 2.18.2
The LIBVER
constant in google/apiclient
does not update correctly when a new version is released.
Currently, in google/apiclient
version 2.18.2
, the LIBVER
constant still shows "2.12.6"
, which causes confusion regarding the actual installed version.
Steps to Reproduce
- Install
google/apiclient
using Composer:
composer require google/apiclient
- Check the installed version:
composer show google/apiclient
Expected output (for example):
google/apiclient 2.18.2
- Run the following PHP script:
use Google\Client;
echo Client::LIBVER;
Actual output:
2.12.6
Even though the installed version is 2.18.2, LIBVER does not reflect the correct version.
Expected Behavior
The LIBVER constant in src/Client.php should be updated to reflect the actual package version in each new release.
Environment
google/apiclient: 2.18.2
PHP Version: 8.2.12
Laravel Version: 11.44.1
Suggested Fix
Update the LIBVER constant in src/Client.php whenever a new version is released.
Thank you for your work on this library! π
Metadata
Metadata
Assignees
Labels
No labels