# Changelog of Send Dataset Rows to Webhook, Slack or Discord: Only New Rows (`humble-echidna/dataset-to-webhook`) Actor

- **URL**: https://apify.com/humble-echidna/dataset-to-webhook/changelog.md
- **Full Actor documentation**: https://apify.com/humble-echidna/dataset-to-webhook.md

## Changelog

Versions follow MAJOR.MINOR.PATCH (`src/version.py`); Apify shows MAJOR.MINOR from `.actor/actor.json`.
Every run logs its version and records it in the `RUN_STATS` key-value record.

### 0.1.1 (2026-11-04)

- Discord webhooks work: the user's own webhook address is exempt from Discord's robots.txt `/api` rule (Michael's yes,
  ACTOR-CHECKLIST 2b). Every other destination still honours robots.txt. Title and listing name Discord.

### 0.1.0 (2026-11-04)

First release.

- Sends an Apify dataset's rows (or rows typed into the input) to a webhook as JSON, or to Slack as messages: one row per
  request or in batches. Runs under limited permissions (dataset declared READ in the input's picker). In an integration, set
  `"datasetId": "{{resource.defaultDatasetId}}"`; a run that can't read the dataset ends with that instruction in the status, the
  log row and SUMMARY.
- Discord messages are built and tested from Discord's docs, but a run with a Discord address is refused: discord.com/robots.txt
  disallows `/api` and this actor honours robots.txt. Same for any destination whose robots.txt disallows the address (Make).
- Only rows not delivered by earlier runs: fingerprints in a named key-value store, per destination, written only after the
  destination accepted the rows.
- Retries: 429 always, waiting as the destination asks (up to 90 s); 5xx, timeouts and dropped connections up to 2 more times unless
  `retryIfUnsure` is off, flagged `duplicatePossible`. No clear answer ends `unknown`, not delivered and not charged.
- Redirects: 301/302/303 aren't followed (they'd lose the POST); 307/308 only on the same host. The shared network guard applies
  to every attempt: no internal or metadata addresses, ports 80 and 443.
- The webhook address and headers are secret inputs, kept out of logs, status, dataset, SUMMARY and RUN_STATS.
- Row values are escaped in chat messages (Slack control sequences, Discord markup and mentions).
- A restarted run (Apify server migration) carries on after what it sent.
- Charged per delivered request (`request-delivered`); the dataset log rows are free. Max rows, max requests and the maximum cost per
  run stop the run cleanly.
