chadtmiller.com/monolith
An atproto PDS
0
0
Release 0.6.0
.changeset/getblob-log.mddeleted+0−7
| @@ -1,7 +0,0 @@ | ||
--- | ||
default: minor | ||
--- | ||
| ||
# getBlob's log line names the blob and the bytes sent | ||
| ||
The `request` line of a `com.atproto.sync.getBlob` answered `200`, or `500` when the store failed to read the blob, has `repo` and `cid`, the account's DID and the blob's CID; one answered `200` has `bytes` too, the bytes of the blob the server handed to the connection: the blob's size when it was sent whole, fewer when the client left first or the store's read failed partway. `did` stays the account whose token the request carried. `pds admin logs --method com.atproto.sync.getBlob` shows which blobs are fetched, and which fetches were cut short. | ||
.changeset/lettre-0-11-24.mddeleted+0−7
| @@ -1,7 +0,0 @@ | ||
--- | ||
default: patch | ||
--- | ||
| ||
# Email sending takes lettre 0.11.24's fixes | ||
| ||
The server sends email with lettre 0.11.24, which fixes four advisories in 0.11.23. RUSTSEC-2026-0564: a CR or LF in a display name made formatting a message panic. RUSTSEC-2026-0565: an SMTP server could make the client buffer a never-ending reply until memory ran out. RUSTSEC-2026-0560: a man-in-the-middle could slip replies of its own in after `STARTTLS`. RUSTSEC-2026-0561: a message with bare line endings could end early and smuggle SMTP commands after it. | ||
.changeset/refused-body-connection-close.mddeleted+0−9
| @@ -1,9 +0,0 @@ | ||
--- | ||
default: patch | ||
--- | ||
| ||
# A request answered before its body is read keeps its connection | ||
| ||
When the server answers a request before reading its whole body, the connection now stays usable for the next request. Examples are an OAuth sign-in or PAR body past 100 KiB, a sign-in refused for its CSRF token, an upload past its limit, or a path not served. If at most 4 MiB of the body is left, the server reads and discards the rest after answering. If more is left, or the body is chunked, the answer says `Connection: close`. | ||
| ||
Before, the server closed such connections without saying so. A client that keeps connections open could then send its next request on the closed connection and get "socket hang up" or a reset instead of an answer. | ||
Cargo.lock+7−7
| @@ -1324,7 +1324,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"pds-cli", | ||
"pds-server", | ||
| @@ -1334,7 +1334,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-cli" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"pds-lexicon", | ||
"reqwest", | ||
| @@ -1343,7 +1343,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-lexicon" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"pds-repo", | ||
"pds-space", | ||
| @@ -1353,7 +1353,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-repo" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"base64 0.22.1", | ||
"bs58", | ||
| @@ -1366,7 +1366,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-server" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"axum", | ||
"base64 0.22.1", | ||
| @@ -1401,7 +1401,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-space" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"base64 0.22.1", | ||
"blake3", | ||
| @@ -1416,7 +1416,7 @@ dependencies = [ | ||
| ||
[[package]] | ||
name = "pds-store" | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
dependencies = [ | ||
"rustix", | ||
"serde_json", | ||
Cargo.toml+1−1
| @@ -3,7 +3,7 @@ resolver = "3" | ||
members = ["crates/*"] | ||
| ||
[workspace.package] | ||
version = "0.5.1" | ||
version = "0.6.0" | ||
edition = "2024" | ||
publish = false | ||
license = "MIT OR Apache-2.0" | ||
CHANGELOG.md+20−0
| @@ -2,6 +2,26 @@ | ||
| ||
What changed in each version of Monolith for those who run it or call it, | ||
from the change files in `.changeset/` (see `knope.toml`). | ||
## 0.6.0 (2026-11-20) | ||
| ||
### Features | ||
| ||
#### getBlob's log line names the blob and the bytes sent | ||
| ||
The `request` line of a `com.atproto.sync.getBlob` answered `200`, or `500` when the store failed to read the blob, has `repo` and `cid`, the account's DID and the blob's CID; one answered `200` has `bytes` too, the bytes of the blob the server handed to the connection: the blob's size when it was sent whole, fewer when the client left first or the store's read failed partway. `did` stays the account whose token the request carried. `pds admin logs --method com.atproto.sync.getBlob` shows which blobs are fetched, and which fetches were cut short. | ||
| ||
### Fixes | ||
| ||
#### Email sending takes lettre 0.11.24's fixes | ||
| ||
The server sends email with lettre 0.11.24, which fixes four advisories in 0.11.23. RUSTSEC-2026-0564: a CR or LF in a display name made formatting a message panic. RUSTSEC-2026-0565: an SMTP server could make the client buffer a never-ending reply until memory ran out. RUSTSEC-2026-0560: a man-in-the-middle could slip replies of its own in after `STARTTLS`. RUSTSEC-2026-0561: a message with bare line endings could end early and smuggle SMTP commands after it. | ||
| ||
#### A request answered before its body is read keeps its connection | ||
| ||
When the server answers a request before reading its whole body, the connection now stays usable for the next request. Examples are an OAuth sign-in or PAR body past 100 KiB, a sign-in refused for its CSRF token, an upload past its limit, or a path not served. If at most 4 MiB of the body is left, the server reads and discards the rest after answering. If more is left, or the body is chunked, the answer says `Connection: close`. | ||
| ||
Before, the server closed such connections without saying so. A client that keeps connections open could then send its next request on the closed connection and get "socket hang up" or a reset instead of an answer. | ||
| ||
## 0.5.1 (2026-11-17) | ||
| ||
### Fixes | ||