# Changelog of AliExpress Scraper: Products, Prices, Discounts & Deals (`mjohnson7cd/aliexpress-scraper`) Actor

- **URL**: https://apify.com/mjohnson7cd/aliexpress-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/mjohnson7cd/aliexpress-scraper.md

### 0.1.7 - 2026-11-20

**Your max cost per run is now enforced by the Actor itself, before every charge.**
Each batch of products is cut to what your remaining budget pays for, and no page is
fetched once nothing more can be billed. The run then finishes cleanly as SUCCEEDED.

- Run memory is limited to 512 MB-1 GB. Above 1 GB Apify bills extra start events,
  and a run at the minimum max cost could deliver nothing.
- A platform migration now saves progress and restarts the run straight away; no
  product is delivered or charged twice across it.
- At most 200 keywords and 100 product URLs or ids per run.
- A run whose fetches are blocked 5 times in a row stops itself and says so in its
  status message, instead of spending time on pages that will not load.
- The README now says exactly what the optional cache stores, where
  (`aliexpress-cache` in your account) and for how long.
- New output links open the Products and Deals tables directly.

### 0.1.6 - 2026-11-20

**A product is now charged once per run, whichever keyword finds it.** Two keywords
returning the same product used to deliver and charge it twice.

- A run resumed after a crash, restart or resurrect no longer re-delivers or
  re-charges the page it was writing when it died.
- A run whose budget is already spent stops before fetching, instead of charging one
  product past the max cost.
- A results page that comes back with most prices missing is skipped, not delivered
  and charged as priceless rows.
- Pricing section now quotes each plan's price; Starter is $0.00297, not $0.0035.

### 0.1.4 - 2026-11-20

**Billing is now migration-safe.** A platform migration used to re-deliver and
re-charge every row pushed since the last 60-second state save; one reproduction
delivered and billed 277 rows for 165 unique products. Progress is now saved after
every delivery and the Actor stops pushing when the platform signals a migration.

- Prices published: `product-scraped` at $0.0035 per product (was listed under an
  event name the Actor never emitted, which meant successful runs billed $0).
- Redirects are restricted to AliExpress hosts, and response bodies are capped at
  8 MiB.
- `cacheMaxAgeHours` is clamped to 0-6 hours and no longer crashes the run when set
  to infinity; a TTL of 0 now stores nothing instead of caching for ever.
- Expired cache entries are deleted by a bounded end-of-run sweep, not just when
  something happens to read them again.
- Pinned `apify>=4.0.0,<5.0.0`, the SDK range that actually has charge-on-push.

### 0.1.0 - 2026-11-19

First release. AliExpress search scraping with discount and units-sold filters,
pinned currency and ship-to country, optional short-lived cache, and one charged
event per delivered product.
