Skip to content

chore(SCR-764): remove google.shopping.product() and click() (0.87.0) - #107

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-764-shopping-cleanup
Dec 1, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-764-shopping-cleanup

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

GET /v1/google/shopping/product and GET /v1/google/shopping/product/click were retired and answer 404, so google.shopping.product() and google.shopping.click() could only fail. A customer called them from our examples (SB-001278). Linear: SCR-764.

  • ShoppingClient.product() and .click() are removed. search() and offers() are unchanged.
  • ShoppingProductParams and ShoppingClickParams are removed from src/google/types.ts and from both export lists. This is a type-level break for anyone who imported them.
  • The GoogleClient doc example now chains shopping.search() into products.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.
  • The README Shopping blurb is updated.
  • Version is 0.87.0 (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...main is 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 and tsup build pass. Prettier is clean on the touched files except src/google/types.ts, which was already unformatted on main.

Related PRs (SCR-764), merge in this order:

  1. Monorepo (surface manifests, catalog, portal, BadgerBot): https://github.com/scrape-badger/scrapebadger/pull/3666
  2. Python SDK 0.87.0: chore(SCR-764): remove google.shopping.product() and click() (0.87.0) scrapebadger-python#115
  3. Node SDK 0.87.0: chore(SCR-764): remove google.shopping.product() and click() (0.87.0) #107
  4. Docs (after the TODO(SCR-764) wording is final): chore(SCR-764): remove retired Shopping product/click docs, add Shopping offers API reference docs#222

🤖 Generated with Claude Code

…, 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

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@0xGhostCasper
0xGhostCasper merged commit a91bd00 into main Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants