Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ REDIS_URL=redis://localhost:6379
# Optional: Spamhaus Data Query Service key. Public DNSBL queries from cloud resolvers are refused, so blacklist checks report "unknown" without it.
SPAMHAUS_DQS_KEY=

# Optional: token (16+ chars) that status-page monitors send as "Authorization: Bearer <token>"
# to get full detail from /api/health/ses. Without it the endpoint returns status only.
HEALTH_CHECK_TOKEN=

# Development only: print every SQL query Prisma runs (very noisy).
# PRISMA_LOG_QUERIES=true

Expand Down
5 changes: 3 additions & 2 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
<a href="https://docs.bytesend.cloud">Docs</a> ·
<a href="https://docs.bytesend.cloud/api-reference/introduction">API reference</a> ·
<a href="https://github.com/NodeByteLTD/ByteSend/releases">Releases</a> ·
<a href="https://https://discord.gg/C2Q4GHXKQA">Discord</a>
<a href="https://status.bytesend.cloud">Status</a> ·
<a href="https://discord.gg/C2Q4GHXKQA">Discord</a>
</p>

<p align="center">
<a href="../LICENSE"><img alt="License: AGPL-3.0" src="https://img.shields.io/badge/license-AGPL--3.0-0057ff"></a>
<a href="https://github.com/NodeByteLTD/ByteSend/releases"><img alt="Latest release" src="https://img.shields.io/github/v/release/NodeByteLTD/ByteSend?color=1fb5ff"></a>
<a href="https://https://discord.gg/C2Q4GHXKQA"><img alt="Discord" src="https://img.shields.io/badge/chat-discord-00c3d6"></a>
<a href="https://discord.gg/C2Q4GHXKQA"><img alt="Discord" src="https://img.shields.io/badge/chat-discord-00c3d6"></a>
</p>

---
Expand Down
5 changes: 3 additions & 2 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Need help with ByteSend?

## Community Support

- Discord: https://https://discord.gg/C2Q4GHXKQA
- Discord: https://discord.gg/C2Q4GHXKQA
- Docs: https://docs.bytesend.cloud
- Service status: https://status.bytesend.cloud

## Commercial / Cloud Support

Expand All @@ -16,4 +17,4 @@ Need help with ByteSend?
Do not open public issues for vulnerabilities.

- See `SECURITY.md`
- Email: support@nodebyte.co.uk
- Email: security@nodebyte.co.uk
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ node_modules
.env.selfhost
.docs
.docker
apps/status

# Testing
coverage
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

---

## [0.4.1] - 2026-10-19

### Added
- **SES health endpoints** for status-page monitoring: `GET /api/health/ses/<region>` returns 200 while a region can send (with `status` of `operational` or `degraded` — sandboxed, on probation or above 90% of the 24-hour quota) and 503 when sending is disabled, the account is shut down or SES can't be reached; `GET /api/health/ses` summarises every active region. Results are cached for a minute, and enforcement and quota details are only returned to requests carrying the optional `HEALTH_CHECK_TOKEN`
- **Status links** — the dashboard sidebar, docs navigation, README and support page now link to [status.bytesend.cloud](https://status.bytesend.cloud)
- **[Examples](https://docs.bytesend.cloud/get-started/examples)** — complete, runnable examples for Node.js, TypeScript, React Email (TypeScript and JavaScript), Next.js, Express, idempotent and batch sends, Python and Go, replacing links to an examples repository that no longer exists
- The React Email guide now passes components straight to the SDK's `react` option instead of rendering them by hand

### Fixed
- Broken Discord links (`https://https://…`) in the docs navigation, docs introduction, self-hosting overview, README and support page
- The support page now lists `security@nodebyte.co.uk` for vulnerability reports, matching the security policy
- Emails move to `SENT` as soon as SES accepts them instead of staying `QUEUED` until SES's first event arrives
- SES callbacks from an unrecognised SNS topic are now logged in production; previously they were dropped silently, leaving statuses, bounces and complaints unprocessed
- Removed a per-email Stripe call that always failed (it used the meter-event *adjustment* API); usage continues to be reported by the daily usage job
- Docker Compose files now pass `SPAMHAUS_DQS_KEY` (and `ADMIN_DISCORD_WEBHOOK_URL` / `DISCORD_WEBHOOK_URL`) through to the app, so blocklist checks and platform alerts can use them
- Admin navigation no longer overlaps on narrow screens

---

## [0.4.0] - 2026-10-18

### Added
Expand Down
14 changes: 10 additions & 4 deletions apps/docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"get-started/nodejs",
"get-started/python",
"get-started/local",
"get-started/smtp"
"get-started/smtp",
"get-started/examples"
]
}
]
Expand Down Expand Up @@ -206,7 +207,7 @@
},
{
"anchor": "Discord",
"href": "https://https://discord.gg/C2Q4GHXKQA",
"href": "https://discord.gg/C2Q4GHXKQA",
"icon": "discord"
},
{
Expand Down Expand Up @@ -234,9 +235,13 @@
},
"navbar": {
"links": [
{
"label": "Status",
"href": "https://status.bytesend.cloud"
},
{
"label": "Support",
"href": "https://https://discord.gg/C2Q4GHXKQA"
"href": "https://discord.gg/C2Q4GHXKQA"
}
],
"primary": {
Expand All @@ -248,7 +253,8 @@
"footer": {
"socials": {
"x": "https://x.com/TryByteSend",
"github": "https://github.com/NodeByteLTD/ByteSend"
"github": "https://github.com/NodeByteLTD/ByteSend",
"discord": "https://discord.gg/C2Q4GHXKQA"
}
},
"contextual": {
Expand Down
Loading
Loading