Repository navigation
v0.5.0
Added
- The migration walk migrates chunked Resources in encrypted app collections.
was-client reassembles each one from the archive's chunk files through a
chunkSource, and the sink receives it whole asbytes. A missing chunk, a
chunked envelope with no chunk directory, and a stray chunk directory count as
unopenableunderNotFoundError; a pending stub or a chunk bound to another
Resource or epoch underEncryptionError.
Changed
-
BREAKING: an encrypted collection's Resource reaches
appCollections.importResourceby what it decrypts to. JSON arrives as
{ json }underapplication/json. A binary or text Resource, small or
chunked, arrives as{ bytes }under its sealed content type
(application/octet-streamwhen none), including a chunked Resource sealed as
application/json. Small binary Resources previously arrived as aBlobin
jsonunderapplication/json. -
BREAKING: the
@interop/was-clientpeer range is now>=0.80.0, the release
that carrieschunkSourceand exportsblobBytesfrom./edv/core. -
ChunkedResourceUnsupportedErrornow covers only a chunked Resource in a
plaintext app collection or a standard collection. -
BREAKING: the sink port names the migrated unit a Resource.
AppCollectionRow
is nowAppCollectionResource, andappCollections.importRowis now
appCollections.importResource. The parsed JSON payload field isjson(was
row) on every sink method, so app collections take{ json }or
{ bytes }.