···11----
22-'@atcute/car': minor
33----
44-55-adds `RepoReader.repoEntryTransform` and `CarReader.carEntryTransform` functions for conveniently
66-piping a readable stream into archive entries.
77-88-```ts
99-import { RepoReader } from '@atcute/car/v4';
1010-1111-const response = await fetch('https://example.com/xrpc/com.atproto.sync.getRepo?did=...');
1212-1313-const entries = response.body!.pipeThrough(RepoReader.repoEntryTransform());
1414-for await (const entry of entries) {
1515- entry;
1616- // ^? RepoEntry { ... }
1717-}
1818-```
1919-2020-thanks [@nperez0111](https://github.com/nperez0111) for this contribution!
-39
.changeset/few-kings-lose.md
···11----
22-'@atcute/car': minor
33----
44-55-add streaming support for `CarReader` and `RepoReader`, which should allow for efficient reading of
66-CAR archives.
77-88-```ts
99-import { CarReader, RepoReader } from '@atcute/car/v4';
1010-1111-// read AT Protocol repository exports
1212-{
1313- await using repo = RepoReader.fromStream(stream);
1414-1515- for await (const entry of repo) {
1616- entry;
1717- // ^? RepoEntry { collection: 'app.bsky.feed.post', rkey: '3lprcc55bb222', ... }
1818- }
1919-2020- repo.missingBlocks;
2121- // ^? []
2222-}
2323-2424-// read generic CAR archives
2525-{
2626- await using car = CarReader.fromStream(stream);
2727-2828- const roots = await car.roots();
2929-3030- for await (const entry of car) {
3131- entry;
3232- // ^? CarEntry { cid: CidLink {}, bytes: Uint8Array {}, ... }
3333- }
3434-}
3535-```
3636-3737-please note that the reference PDS implementation does not yet support the Sync v1.1 proposal, which
3838-would enable more efficient streaming. additionally, some PDSes may send valid but heavily
3939-out-of-order archives that could impact streaming performance.
-9
.changeset/hip-zoos-smile.md
···11----
22-'@atcute/identity-resolver': minor
33----
44-55-XRPC-based DID document resolver (`XrpcDidDocumentResolver`)
66-77-worth noting that the reference PDS implementation hasn't implemented
88-`com.atproto.identity.resolveDid` yet so this is currently only useful when you have an XRPC server
99-implementing this procedure.
-62
.changeset/silver-waves-grow.md
···11----
22-'@atcute/car': minor
33----
44-55-reorganized the exported functions, the new exports should be inline with other utility packages
66-from atcute.
77-88-normally this would be considered a breaking change, but because the change doesn't exactly change
99-any of the API, I've decided to turn this into a minor change.
1010-1111-to migrate, you'd need to change your imports from `@atcute/car` to `@atcute/car/v4` subpath.
1212-1313-```ts
1414-// before (v3)
1515-import { readCar, iterateAtpRepo } from '@atcute/car';
1616-1717-// read AT Protocol repository exports
1818-for (const entry of iterateAtpRepo(buffer)) {
1919- entry;
2020- // ^? RepoEntry { ... }
2121-}
2222-2323-// read generic CAR archives
2424-{
2525- const car = readCar(buffer);
2626- const header = car.header;
2727-2828- for (const entry of car.iterate()) {
2929- entry;
3030- // ^? CarEntry { ... }
3131- }
3232-}
3333-```
3434-3535-```ts
3636-// after (v4)
3737-import { CarReader, RepoReader } from '@atcute/car/v4';
3838-3939-// alternatively
4040-import * as CarReader from '@atcute/car/v4/car-reader';
4141-import * as RepoReader from '@atcute/car/v4/repo-reader';
4242-4343-// read AT Protocol repository exports
4444-{
4545- for (const entry of RepoReader.fromUint8Array(buffer)) {
4646- entry;
4747- // ^? RepoEntry { ... }
4848- }
4949-}
5050-5151-// read generic CAR archives
5252-{
5353- const car = CarReader.fromUint8Array(buffer);
5454- const header = car.header;
5555-5656- // use for..of on `car` directly, `.iterate()` is deprecated
5757- for (const entry of car) {
5858- entry;
5959- // ^? CarEntry { ... }
6060- }
6161-}
6262-```
+10
packages/identity/identity-resolver/CHANGELOG.md
···11# @atcute/identity-resolver
2233+## 1.1.0
44+55+### Minor Changes
66+77+- 95e4cc1: XRPC-based DID document resolver (`XrpcDidDocumentResolver`)
88+99+ worth noting that the reference PDS implementation hasn't implemented
1010+ `com.atproto.identity.resolveDid` yet so this is currently only useful when you have an XRPC
1111+ server implementing this procedure.
1212+313## 1.0.2
414515### Patch Changes