Our Personal Data Server from scratch! tranquil.farm
tranquil-pds CHANGELOG.md
4.4 kB · 60 lines
Markdown
at main

Changelog #

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)

0.7.1 #

Security fixes #

  • Upgrade rustls-webpki to latest to reject insecure certificates - oyster.cafe (did:plc:3fwecdnvtcscjnrx2p4n7alz)

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)