Skip to content

fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListUserPackageVersions#4014

Merged
gmlewis merged 4 commits intogoogle:masterfrom
Not-Dhananjay-Mishra:packageversion
Feb 16, 2026
Merged

fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListUserPackageVersions#4014
gmlewis merged 4 commits intogoogle:masterfrom
Not-Dhananjay-Mishra:packageversion

Conversation

@Not-Dhananjay-Mishra
Copy link
Contributor

@Not-Dhananjay-Mishra Not-Dhananjay-Mishra commented Feb 15, 2026

BREAKING CHANGE: PackageGetAllVersions is now divided into ListPackageVersions and ListUserPackageVersions.

PackageGetAllVersions handles two endpoints one of them doesn't support pagination acc to docs also its Iterator doesn't get generated because its method name does not contain List as prefix.

  • ListPackageVersions docs
  • ListUserPackageVersions docs

Updates : #3976

@gmlewis gmlewis added NeedsReview PR is awaiting a review before merging. Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s). labels Feb 15, 2026
@gmlewis gmlewis changed the title fix!: Divided PackageGetAllVersions into two separate methods ListPackageVersions and ListPackageVersionsForUser fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListPackageVersionsForUser Feb 15, 2026
@codecov
Copy link

codecov bot commented Feb 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.04%. Comparing base (e3c4fb5) to head (d828771).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4014   +/-   ##
=======================================
  Coverage   94.04%   94.04%           
=======================================
  Files         207      207           
  Lines       19151    19174   +23     
=======================================
+ Hits        18010    18033   +23     
  Misses        939      939           
  Partials      202      202           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @Not-Dhananjay-Mishra!
LGTM.
Awaiting second LGTM+Approval from any other contributor to this repo before merging.

cc: @stevehipwell - @alexandear - @zyfy29

@Not-Dhananjay-Mishra Not-Dhananjay-Mishra changed the title fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListPackageVersionsForUser fix!: Divide PackageGetAllVersions into two separate methods ListPackageVersions and ListUserPackageVersions Feb 16, 2026
@gmlewis gmlewis removed the NeedsReview PR is awaiting a review before merging. label Feb 16, 2026
@gmlewis
Copy link
Collaborator

gmlewis commented Feb 16, 2026

Thank you, @alexandear!
Merging.

@gmlewis gmlewis merged commit b7cf18f into google:master Feb 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking API Change PR will require a bump to the major version num in next release. Look here to see the change(s).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants