# Changelog of Amazon Tracker (`vivid.travelogue/amazon-tracker`) Actor

- **URL**: https://apify.com/vivid.travelogue/amazon-tracker/changelog.md
- **Full Actor documentation**: https://apify.com/vivid.travelogue/amazon-tracker.md

## Changelog

All notable changes to this project are documented in this file.

### 0.0.1- 2025-11-26

- Refactor: switched search scraping to `CheerioCrawler` from the `crawlee` package for faster, HTTP-based crawling of Amazon search pages. See `src/main.js`.
- Feature: added output control via input — `outputFormat` (`json|csv|both`) and `outputFileName` (base key/name). The actor writes JSON and/or CSV to the key-value store depending on input.
- Schema: added and corrected `.actor` schemas:
  - `.actor/input_schema.json` — added `maxRequestsPerCrawl`, `waitForPageLoadMs`, `outputFormat`, `outputFileName`, and aligned `retries` default to `3`.
  - `.actor/dataset_schema.json` — ensured `fields` is a JSON Schema object (`type: object`, `properties: {...}`) so Apify Console validation works correctly.
  - `.actor/actor.json` — bumped actor `version` to `0.1` and added a `meta.generatedBy` placeholder for model attribution.
- Docs: updated `README.md` and `AGENTS.md` with:
  - `crawlee` import guidance (do not import `CheerioCrawler` from `apify`).
  - Configuration Summary expanded to include proxy groups, timeouts, output options, and other new input fields.
  - Local run commands and schema tips for Apify Console.
- Robustness: kept existing `axios`-based `getTopReview` helper (with `fetchWithRetry`) and routed axios through the Apify proxy when enabled (via `https-proxy-agent`).
- Export: actor now supports writing JSON and CSV with configurable key names and logs sizes on write.

### Previous (notes)

- Initial scaffolding and helper code for Amazon scraping (earlier commits).

***
