Version 0.9.1
Bug fixes: - Nix builds no longer fail on missing sqlite for `import-reference` - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) -----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgi861hz5ohv3xbIisYorQpfQ4Ss TuHCowl9DzWzgSU5AAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQFeFwRSKxZpa3Tw8onGbHvlhYzp3UfKyFUez8RP4SUr75U6/aUIpKkaWB5bjkssnmi 058i/1qBDDB8T53W5gCQQ= -----END SSH SIGNATURE-----
Version 0.9.0
Security fixes: - Repeat or concurrent use of refresh token revokes session - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Check the client during refresh matches the client that creates the session - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - App passwords on delegated accounts no longer get the controller's scopes - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Breaking changes: - Tranquil no longer accepts PAR with empty scopes - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Confidential clients have a maximum lifetime of 2 years - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Scope serialization is now consistent but may differ from earlier versions of Tranquil - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - `rpc:*` is not accepted as a scope, bare `repo` is rejected, `blob` no longer grants `blob:*`, collection wildcards like `repo:app.bsky.*` are rejected. Tranquil is now compliant with the specification on scopes - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Features and noteworthy implementation changes: - Assets and client requests return cache headers, making the Tranquil frontend faster to load - quilling.dev (did:plc:jrtgsidnmxaen4offglr5lsh) - Endpoints support etags, letting clients check if something has changed before making a request - quilling.dev (did:plc:jrtgsidnmxaen4offglr5lsh) - Groundwork for typed notifications - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - direnv loads faster for nix develop - bitbloxhub.tngl.sh (did:plc:opkzqnnibclv3nt7rcksgj3p) - Import an entire reference PDS into Tranquil using `import-reference` - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - Split out 15 new crates to reduce compilation dependencies and speed up builds - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Lthash implementation as a first step towards spaces support - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Type-safe scope implementation means Tranquil should no longer have scope related bugs - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Each dashboard endpoint is now associated with a specific Tranquil management scope extension attribute - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Ports in `PDS_HOSTNAME` are validated - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - `DATABASE_URL` is no longer required when using tranquil store - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - `importRepo` rejects corrupt CAR files - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - Confidential client idle time raised from 30 days to 90 days - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Bug fixes: - Confidential clients are no longer demoted to public clients on refresh - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Public clients can no longer be permanently refreshed, enforcing 14 day max lifetime - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Don't revoke sessions on failure to fetch JWKs during refresh - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Password sessions now return email on `getSession` - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Multi-byte characters in refresh tokens can no longer cause panics on refresh - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Configured PLC is used when fetching permission sets - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Fail consent when scopes can't be saved - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Rejecting a scope and ticking remember no longer causes the scope to be accepted on the next login - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Creating an app password with an invalid scope is rejected - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) -----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAg0OM9OHvQdeJ4ihvAmkE4aO5MMr sU9+tJ4IMXScm2i8UAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQJTgvqIrZXe/mkP/gehsROn0ORxuxSWge4CEL4kKJIMbGg//6I7+m+tjp2R6B1L2vJ vEhH9XOiuRPM742RRLZQg= -----END SSH SIGNATURE-----
Version 0.8.0
Security fixes: - Scopes are now properly enforced for app passwords. Read-only app passwords can no longer write, and account management (including creating app passwords, passkeys, TOTP, delegation, notification preferences, and more) now requires a proper admin page OAuth session - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Service auth requests without `lxm` are rejected unless the token has `transition:generic` - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Limit max HTTP/3 header size to mitigate QPACK attacks. Only affects instances with `http3 = true` - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Breaking changes: - Blobs are only returned on `listBlobs` and `getBlob` if the blob has a live reference in a record. Unreferenced blobs are never returned. Creating a record that references a non-existent blob returns 400. All existing data is migrated on the first startup after upgrade - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Unreferenced blobs are garbage collected after a 6 hour grace period. The default GC schedule is `3600` seconds. Set `BLOB_GC_INTERVAL_SECS` to `0` to disable GC - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Records referencing a blob that has been taken down are now rejected - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Features and noteworthy implementation changes: - Clean dev builds are now about 10-20% faster - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Tranquil now has a local S3 dev setup, with Garage - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Bug fixes: - Use the system libzstd and update nixpkgs - nel.pet (did:plc:h5wsnqetncv6lu2weom35lg2) - Show reserved handle error when registering with a reserved handle - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr)
Version 0.7.1
Security fixes: - Upgrade `rustls-webpki` to latest to reject insecure certificates - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz)
Version 0.7.0
Breaking changes: - Tranquil no longer uses the AWS crates for S3 support, instead using a pure S3 crate. This means you must pass `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` on start up to use S3 - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - `subscribeRepos` is now rate limited, allowing 1 request per minute per IP, with a burst of 5 - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Tranquil now enforces a maximum record size of 1MB for the CBOR record. Additionally, a batch of records where the total bytes of the combined commit event surpass 2MB is also rejected. - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) Features and noteworthy implementation changes: - Tranquil now produces container images automatically from main, tagging each revision. There's also a `main` tag for those who wish to live dangerously - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - There's an alpine linux installation guide! - koi.rip (did:plc:b26ewgkrnx3yvsp2cdao3ntu) - We have CI workflows for test+lint, and tests and compilation is much faster - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Support for scrypt passwords is in - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) and scanash.com (did:plc:3i6uzuatdyk7rwfkrybynf5j) - We now have a "light" LLM policy - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) - Add notification templates capability for customizing notifications with examples - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz) and straiforos.tngl.sh (did:plc:bomby4msfvfsco4rno2yfpg7) Bug fixes: - Actually pass the scope's aud with the service fragment - lou.gg (did:plc:w64dlsa4zwjv2wljlvmymldc) - Handle wildcard + aud in OAuth scopes - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - During migration, log in to the new PDS by DID and not email - okami.mom (did:plc:3rwz3xfw2crswgifqgc3g7zh) - A whole series of auth fixes - quilling.dev (did:plc:jrtgsidnmxaen4offglr5lsh) - Don't ask for a verification code if the account has no email - steffo.eu (did:plc:6l7xbgjswn2oauofpz3xagvg) - Fix case where iOS client cookies are stripped during OAuth redirect - natalie.sh (did:plc:k644h4rq5bjfzcetgsa6tuby) - Stop showing clear text password after revoking - hayden.moe (did:plc:puvaym5ytsvejx3rwjrnxhvb) - Stop buffering streaming blob uploads - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr) - Correctly abort multipart uploads on error, prevent leaving incomplete parts in bucket - jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr)
Version 0.6.7 Features and noteworthy implementation changes: - OAuth tokens now get their scopes, collapsed into the minimal equivalent set and brotli compressed to minimise the size of tokens. Thanks lou.gg (did:plc:w64dlsa4zwjv2wljlvmymldc)! - Update getServiceAuth to support the new aud parameter as per proposal 0014 (https://github.com/bluesky-social/proposals/tree/main/0014-service-auth-revised). Thanks lou.gg (did:plc:w64dlsa4zwjv2wljlvmymldc)! - Second OAuth flow and consent screen overhaul to better support transitional scopes, and to be more robust to erroneous or nonsensical scope requests. Thanks trezy.codes (did:plc:4jrld6fwpnwqehtce56qshzv)! - The S3 blob storage backend now supports a path config parameter. Thanks calico.lgbt (did:plc:qthgnl7ryv5fmh6lnssdmo6w)! - Unified various in-mem caches into the PDS cache. - Tranquil now serves on-demand TLS responses suitble for Caddy under `/.well-known/caddy/ask`.
Bug fixes: - Fix the URI parsing to support non-authority URIs. Thanks jack.is (did:plc:cwdkf4xxjpznceembuuspt3d)! - Restore RPC scopes for delegation presets. Thanks trezy.codes (did:plc:4jrld6fwpnwqehtce56qshzv)! - Keep blob ownership per user so we don't risk deleting an in-use blob that's used by multiple people. Thanks jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr)! - Add MIME version to out going emails as mandated by RFC 2045. Thanks luna.pds.devcat.one (did:plc:qij7bjzgwlshfr2fljkjd7gc)! - Loosen CORS header requirements to be more flexible to apps adding unexpected headers. Thanks jola.dev (did:plc:bvraa6gajy4tfr3eh2sisdkr)! - Don't accidentally block migrations by denying signPlcOperation requests that remove the PDSs rotation keys.
Version 0.6.6
Major changes: - Permission sets now work properly with delegated accounts and the permission consent screen has gotten a face lift. Thanks trezy.codes (did:plc:4jrld6fwpnwqehtce56qshzv)! - To support Bluesky Tranquil has to implement a variety of non-spec behaviours. These can now be disabled at compile time with the `bsky-support` Cargo feature. Additionally the `bsky` Cargo feature can now be used to disable Bluesky specific features like the age assurance override. - Postgres now also supports the kind of structural repair that was added to tranquil-store last version. - Tranquil can now also serve HTTP/3 traffic on it's own. - The ripple cache backend now uses QUIC instead of TCP. Notable bug fixes and smaller best practice or compatibility changes: - Inter service auth tokens are now minted with uppercase `JWT` instead of lowercase `jwt` in the `typ` header claim. Thanks ave.zone (did:plc:mchrltkrhuzpxleiwpmmvpar)! - At least for now cred auth token expiry time now matches the higher expirys of the ref impl. Thanks ave.zone (did:plc:mchrltkrhuzpxleiwpmmvpar)! - At least for now cred auth token reuse has been given a 2 hour grace period to match the ref impl behaviour. Thanks ave.zone (did:plc:mchrltkrhuzpxleiwpmmvpar)! - did:web accounts are no longer required to have the bogus #atproto_reserved verification method in their DID document during sign up. - tranquil-store has recieved a variety of op related bug fixes. - autocomplete is now no longer blocked for the TOTP field during login. Thanks igneousflock.dev (did:plc:mwpubvpiaddthywa6tqvg7kv)!
Version 0.6.5
- (PR#175) Authenticated Bluesky feedgens now work properly. Thank you to @ave.zone (did:plc:mchrltkrhuzpxleiwpmmvpar). - (PR#162) putRecord without a $type now pulls the type off of the collection instead of failing. - tranquil-store now has some MST self healing features.
- Firehose no longer drops events when sequence numbers commit out of order. - Migration follows the oauth account:* spec (ie. *don't* use that lol) and supports p256 keys. - Nix data storage paths now default off the dataDir option. - TlsConfig rejects unknown keys, and the toolchain moves to rust 1.96.