# Changelog of Douyin Topic Radar (`opspilot.cc/douyin-topic-radar`) Actor

- **URL**: https://apify.com/opspilot.cc/douyin-topic-radar/changelog.md
- **Full Actor documentation**: https://apify.com/opspilot.cc/douyin-topic-radar.md

## Changelog

### \[0.6] - 2026-10-12

- The run can no longer be killed by the key-value store. Under
  `LIMITED_PERMISSIONS` — how Apify's automated QA and every API-triggered run
  starts an Actor — opening the store is refused with HTTP 403
  (`KeyValueStoreCollectionClient.getOrCreate`, path `/v2/key-value-stores`).
  That call sat in a `||` fallback chain and was never inside a `try/catch` of
  ours, so the throw ended the run with exit code 91 and a reported FAILED run
  with zero items. Every store open now goes through a wrapper that returns a
  no-op store instead of throwing, so the free-run counter and the run SUMMARY
  degrade and the actual work proceeds.
- The gate store's name-to-id lookup no longer depends on the store still being
  on the first page. There is no GET-by-name endpoint, so the lookup pages
  through `/v2/key-value-stores`; it used a fixed `limit=50`, which silently
  stopped containing gate stores once the account passed 50 of them — and the
  account creates a new default store on every run, so that list grows on its
  own. The lookup now pages (100 per page, up to 20 pages).

### \[0.5] - 2026-10-09

#### Changed

- README: added three sections before Quick start - what you can use it for, who it fits, and who it does **not** fit. The last section now names the Actor's real limits (what it cannot reach, which field is unavailable, which reading of a metric is wrong), so a buyer can tell whether it is the wrong tool before paying.

### 0.1.0 (2026-10-02)

- Initial release: hot-search board (top-50), 14d trend per word, momentum sort, niche matching, tracked-keyword index curves (multi-keyword leg uses POST+query-params form, fixed upstream usage).

### \[0.4] - 2026-10-08

- KV writes and status messages can no longer hang the run. Under
  `LIMITED_PERMISSIONS` these calls do not merely fail — they can return a
  promise that never resolves. Measured on a live run of a sibling Actor:
  results were fetched successfully, then the following `setValue` never
  returned and the run sat for 49 minutes before being aborted with an empty
  dataset and a paid bill, and not one error in the log. `try/catch` cannot
  help there — it catches a rejection, not a promise that never settles. Every
  bookkeeping write now races a 15s timeout and reports the failure as
  non-fatal, so a stuck store costs one summary field instead of the whole run.

### \[0.3] - 2026-10-03

#### Fixed

- Free-tier gate counter now persists across runs (moved to a named KV store). The default KV store is run-scoped on the Apify platform, so the previous 5 runs/day counter silently reset on every run.

### \[0.2] - 2026-10-03

#### Fixed

- Free-tier gate KV key now includes APIFY_USER_ID (per-user quota isolation instead of one shared counter).
- Runtime error/log wording sweep: upstream provider names removed from user-visible messages.
