# Changelog of Reddit Subreddit Users Scraper (`w3crawler/reddit-subreddit-users-scraper`) Actor

- **URL**: https://apify.com/w3crawler/reddit-subreddit-users-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/w3crawler/reddit-subreddit-users-scraper.md

## Changelog

All notable changes to the Reddit Subreddit Users Scraper are documented here.

### \[Unreleased]

#### Added

- Actor metadata now records `meta.generatedBy` as `Codex with GPT-5.6 Luna` and references the active output schema.
- Dataset schema metadata for every emitted top-level field, including descriptions, nullable values, anonymized examples, open root and nested objects, and a nine-field overview.
- Output schema for the default dataset link.
- Fail-closed run diagnostics with explicit `found: false` and `dataAvailable: false` values. Diagnostics are logged through Apify and are never counted as successful dataset records.
- Bounded runtime input handling for `maxPosts` and public-data behavior documentation.
- Schema and dataset contract validation with support for an isolated `APIFY_LOCAL_STORAGE_DIR`, plus tests covering metadata and diagnostic-count behavior.

#### Changed

- README output documentation now describes Reddit user records rather than the old generic listing template.
- The architecture description now reflects public-page and structured public-response extraction through `PuppeteerCrawler`.
- The Actor declares only its active dataset storage; no inactive key-value-store schema was added.

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

#### Added

- Initial production release of the Reddit Subreddit Users Scraper.
- `PuppeteerCrawler`-based architecture using public Reddit pages and structured public responses.
- Files:
  - `src/main.js` - entry point with subreddit scan configuration.
  - `src/scraper.js` - crawler factory with user collection and optional profile enrichment.
  - `src/parser.js` - structured response parser for post and comment authors.
  - `src/utils.js` - browser controls, launch options, and bounded delays.
- Extracts all unique post authors and comment authors from a subreddit feed.
- Optional `fetchProfileDetails` flag to enrich each user with public profile fields.
- `.actor/actor.json`, `input_schema.json`, and `dataset_schema.json` for Apify platform compatibility.
- `validate-datasets.js` for local dataset and Actor contract validation.
- `Dockerfile` based on `apify/actor-node-puppeteer-chrome`.
- `README.md` with the Actor input, output, and public-data behavior guide.
