# Changelog of Child Care Licensing Data: TX, DE, CT, CO, PA (`araluma/child-care-licensing-data`) Actor

- **URL**: https://apify.com/araluma/child-care-licensing-data/changelog.md
- **Full Actor documentation**: https://apify.com/araluma/child-care-licensing-data.md

## Changelog

Versions follow [Semantic Versioning](https://semver.org/).

### 2.0.0 (2026-11-23)

Breaking: the output record changed (new fields, new value formats). The Actor had not been published before this version.

#### Added

- Four states: Delaware, Connecticut, Colorado and Pennsylvania join Texas (five in total, 44,510 source rows on 2026-11-23).
- Output fields: `facilityCategory`, `statusCategory`, `latitude`, `longitude`, `licenseExpirationDate`, `qualityRating`, `inspectionCount`.
- Filters: `cities`, `counties`, `zipCodes`, `minCapacity`, `childcareOnly`, `includeInactive`.
- Optional `socrataAppToken` input, stored as a secret and never logged.
- Resume after a migration or restart: the run continues from the last finished page and does not write or charge the same records twice.
- A `RUN_SUMMARY` record with the number of records, source rows and the stop reason per state.
- Offline test suite (`npm test`, 68 tests) and a live source check (`npm run check:live`).

#### Fixed

- Texas temporarily closed facilities were never flagged: the source value is `YES`, the code compared with `Y`.
- Texas city, ZIP and phone were always null although the dataset has columns for them. The address field held the full string "601 BIGGS TER ARLINGTON TX- 76010 4432"; it now holds the street only.
- Capacity: values such as "N/A" or "School Age Provider" became 0. They are now null. Capacity is always an integer or null.
- ZIP codes are 5-character strings, also when the source stores a number (9 digits, leading zero lost) or ZIP+4.
- Dates are ISO 8601 (`YYYY-MM-DD`), phones are E.164 (`+15182293900`).
- Paging now uses `$order=:id` with a larger page size, retries 429 and 5xx with back-off (honouring `Retry-After`), and no longer retries a 404 or 400 four times before failing.
- `maxRecords` no longer forces a download of the whole dataset when a filter is active; the run stops as soon as enough records match. A default run returns 100 records in a few seconds.
- A mid-run charge limit now stops the run cleanly instead of continuing to fetch.
- Unknown state codes stop the run with a clear error instead of being skipped silently.
- Charging: the custom `actor-start` event was replaced by the platform's `apify-actor-start` event.

#### Changed

- New York, Washington and Vermont are not offered in this version, because their portals do not state a licence that clearly allows redistribution (New York and Washington declare none, Vermont uses ODbL share-alike). Their mappers were removed.
- Default `maxRecords` is 100 per state (was 0, unlimited). Set 0 for no limit.
- `violationCount` for Texas now includes low-severity deficiencies.
- Texas residential operations and child-placing agencies (675 rows) and summer camps are dropped by default (`childcareOnly`).
- Facilities whose published expiry date is in the past are labelled `expired` in `statusCategory`.
- Base image `apify/actor-node:24`, `apify` 3.8.0, `got-scraping` 4.2.2.

### 1.0.0 (2026-06-29)

First private build: Texas and New York (New York is no longer offered, see 2.0.0).
