# Changelog of Google Patents Scraper (`searchapi/google-patents-scraper`) Actor

- **URL**: https://apify.com/searchapi/google-patents-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/searchapi/google-patents-scraper.md

## Changelog

All notable changes to the Google Patents Scraper are documented here.

### \[3.1.0] - 2026-10-29

#### Added

- Request-level `cpc` classification restriction, sent as Google Patents' own `cpc:` query operator. Measured on `machine learning`: baseline `total_num_results` 122,797 vs 82 for `cpc:G06N`, with a different result set. The API's separate `cpc=` request parameter is ignored by the target (it returned 123,547), so it is not used.
- Request-level `filingDateFrom`/`filingDateTo` (`after:filing:` / `before:filing:`) and `publicationDateFrom`/`publicationDateTo` (`after:publication:` / `before:publication:`). Measured on `machine learning`: baseline 122,797 results vs 40 with `after:filing:20240101` and 17 with `after:publication:20240101`, whose sampled publication dates were all on or after 2024-06-18.
- Input validation for the new date ranges (format, ordering) and the CPC shape, plus unit assertions on the exact outgoing `q` parameter.

### \[3.0.1] - 2026-09-23

#### Changed

- Removed the public debug input because it had no effect on extraction or logging.

### \[3.0.0] - 2026-08-29

#### Changed

- Rebuilt the Actor around validated Google Patents structured search plus optional public detail-page enrichment.
- Added single-search, fair concurrent batch-search, and single-patent modes.
- Added search, metadata, and full detail levels with an 85-field source-backed dataset contract.
- Added stable IDs, canonical URLs, typed counts/booleans/dates, recursive empty omission, global deduplication, and run summaries.
- Added country/language, assignee, inventor, priority-date, status, sorting, pagination, concurrency, retry, timeout, and proxy controls.
- Added current detail extraction for claims, description, classifications, citations, legal events, status/expiry, assignees/inventors, images, PDF, and application metadata.
- Replaced the Playwright Chrome image with a smaller HTTP-only Node image and a deterministic production install.
- Pinned patched dependencies; production audit now reports zero vulnerabilities.

#### Removed

- Removed the ten-retry Playwright Google Search fallback and unused generated browser modules.
- Removed an unsafe helper that read proxy authentication from local files.
- Removed ignored legacy inputs and unsupported/fabricated output claims.
- Explicitly rejected the incompatible `GOOGLE_SERP` transport for patents.google.com endpoints.

### \[2.0.0] - 2026-06-12

#### Added

- **Schema expanded** from 30 to **51 fields**.
- **New fields**: `type`, `resultType`, `titleHtml`, `link`, `patentId`, `publicationNumber`, `publicationDateRaw`, `filingDateRaw`, `grantedDate`, `priorityDate`, `expiryDate`, `inventors`, `assignees`, `applicant`, `owner`, `patentOfficeCountry`, `patentType`, `applicationType`, `kind`, `snippet`, `description`, `abstract`, `claims`, `claimsCount`, `citedBy`, `cites`, `familySize`, `imageUrl`, `pdfUrl`, `category`, `cpc`, `ipc`, `tags`, `query`.
- **New view**: `fullDetails` — all 51 fields.
- **INPUT.json** added at project root for local validation.

### \[1.0.0] - 2025-05-20

#### Added

- Initial production release of the Google Patents Scraper.
- `PlaywrightCrawler`-based architecture using Chrome.
- Modular project structure.
- `validate-datasets.js` for local dataset output validation.
- `Dockerfile` using `apify/actor-node-playwright-chrome` image.
- `README.md` with full Apify usage guide.
