# Changelog of RedNote (Xiaohongshu) Comments Scraper + Replies (`jcgonz/social-note-comments-scraper`) Actor

- **URL**: https://apify.com/jcgonz/social-note-comments-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/jcgonz/social-note-comments-scraper.md

## Changelog

### 1.0 final Store metadata

- No scraper, TikHub request, pagination, reply, retry, rate-limit, or dataset logic changed from the live-verified 1.0.4 release code.
- Updated the Actor technical name to `social-note-comments-scraper` to match the renamed existing Actor.
- Updated the public title to `Social Note Comments Scraper`.
- Added a Store automated-test `prefill` using the live-verified public post URL and a 10-comment test limit.

### 1.0 release candidate

- Kept the existing Actor identity `rednote-comments-scraper` and source version `1.0` so deployment updates the same Actor.
- Prefer extracted Xiaohongshu `note_id`; fall back to `share_text` only for supported share links that cannot be decoded locally.
- Corrected top-level pagination handoff so cursor, index, and pageArea are preserved from the previous TikHub response.
- Corrected sub-comment pagination to use empty cursor/index 1 initially and the returned cursor/index thereafter.
- Preserve already emitted results if a later pagination page is rejected.
- Expanded bounded reply-metadata detection and prevented duplicate comments from triggering duplicate paid reply requests.
- Added conservative detection of wrapped upstream service errors.
- Added TikHub 401/403/429 circuit breakers, non-retryable 400 handling, bounded transient retries, request serialization, rate limiting, and a per-run request cap.
- Stop additional upstream work when Apify reports that the run spending limit has been reached.
- Reject unsupported input URLs before upstream calls.
- Require at least one post URL in the Apify input schema.
- Safer defaults: 100 top-level comments, replies off, 20 replies per comment when enabled.
- Removed raw TikHub-response output from the public Actor; output is normalized only.
- Expanded release self-test to 20 contract, integration, safety, and schema checks.
