Repository navigation
chore(SCR-764): remove google.shopping.product() and click() (0.87.0) - #107
Merged
Merged
Conversation
…, SCR-764)
GET /v1/google/shopping/product and GET /v1/google/shopping/product/click
were retired (monorepo migrations 059/060) and answer 404, so both methods
could only fail. A customer called them from our examples (SB-001278).
- ShoppingClient loses product() and click(); offers() and search() stay.
- ShoppingProductParams and ShoppingClickParams are removed from the
types and from both export lists.
- The GoogleClient doc example now chains shopping.search() into
products.detail({ product_id: gpcid, q, include_offers: true }).
- docs/google.md: shopping example, method tables, type list, credit table
and the "Shopping Click Enrichment" section updated or removed.
- Version 0.87.0 and a CHANGELOG entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET /v1/google/shopping/productandGET /v1/google/shopping/product/clickwere retired and answer 404, sogoogle.shopping.product()andgoogle.shopping.click()could only fail. A customer called them from our examples (SB-001278). Linear: SCR-764.ShoppingClient.product()and.click()are removed.search()andoffers()are unchanged.ShoppingProductParamsandShoppingClickParamsare removed fromsrc/google/types.tsand from both export lists. This is a type-level break for anyone who imported them.GoogleClientdoc example now chainsshopping.search()intoproducts.detail({ product_id: gpcid, q, include_offers: true }).docs/google.md: the Shopping example, the method tables, the type list and the credit table are updated, and the "Shopping Click Enrichment" section is removed.package.json,package-lock.json,src/internal/version.ts), with a CHANGELOG entry under "Removed".Merge order: merge the monorepo PR (surface manifests) first, together with the Python SDK PR.
Release contents:
compare/v0.86.0...mainis empty today (ahead_by=0). Open PRs #103 (SCR-712), #97 (codegen-v2) and #95 (SB-001247) are not on main. If #97 merges before a release, its generated code would ride along.Checks: vitest 536/536 passed.
tsc --noEmit, eslint andtsupbuild pass. Prettier is clean on the touched files exceptsrc/google/types.ts, which was already unformatted on main.Related PRs (SCR-764), merge in this order:
🤖 Generated with Claude Code