Releases: TBD54566975/dwn-sdk-js
Releases · TBD54566975/dwn-sdk-js
v0.0.32
What's Changed
- #365 - RecordsDelete should return 404 if record does not exist or is already deleted by @thehenrytsai in #366
- Move protocol uri into definition by @diehuxx in #367
- Export types EncryptionProperty ProtocolsConfigureDescriptor RecordsQueryReplyEntry by @diehuxx in #368
- Export Message class by @diehuxx in #369
Full Changelog: v0.0.31...v0.0.32
v0.0.31
What's Changed
- #359 - fixed unauthorized access of data through dataCid reference in RecordsWrite by @thehenrytsai
- #245 - updated all ipfs-* deps to the latest versions by @achingbrain, @diehuxx
- Refactor Dwn#processMessage and other top level handlers (#361) by @diehuxx, @thehenrytsai
- #358 - added support for synchronizing pruned initial RecordsWrite by @thehenrytsai
- Remove records keyword from protocol definitions (#355) by @diehuxx
- #345 - Require of in protocol action rules (#354) by @diehuxx, @thehenrytsai
- Moved type declarations by @mistermoe
- Protocol rename records -> structure (#353) by @diehuxx
- #347 - implemented dataFormats key derivation scheme for encryption by @thehenrytsai
- Protocols: recordDefinitions array -> types object (#348) by @diehuxx
- #304 - removed protocol definition as an indexed property + fixed all FIXME issues by @thehenrytsai
- Add RecordsReadReply to exports (#346) by @frankhinek
- Rename and flatten protocol action rules (#344) by @diehuxx
- #333 #326 Refactor protocol recordTypes (#337) by @diehuxx
- Use Record type where applicable (#340) by @duncanmak, @diehuxx
- Replace computeCid with Message.getCid (#336) by @duncanmak
- move published === true check from handlers/records-read.ts into RecordsRead.authorize() by @vlad-timofeev
- #330 - implemented key derivation scheme for encryption by @thehenrytsai
- Refactor protocol allow rules (#329) by @diehuxx
- #312 - Validated entire message instead of parts of it by @thehenrytsai
- #147 - Added regex in JSON schema to check date-time properties accepted by DWN by @duncanmak
- Reject messages with nonnormalized schema URIs (#325) by @diehuxx
- Quality-of-life improvements for devs using the SDK for encryption by @thehenrytsai
- #319 - implemented 'protocols' key derivation scheme for encryption by @thehenrytsai
- #306 Validate data format on protocol authd writes (#320) by @diehuxx
- #310 - added protocolPath validation by @thehenrytsai
- Reject messages with nonnormalize protocol URIs (#317) by @diehuxx
- #310 - introduced protocolPath to update all affected tests by @thehenrytsai
Full Changelog: v0.0.30...v0.0.31
v0.0.30
What's Changed
- Support
author
protocols rule by @diehuxx in #283 - #276 - added utility + schema + types for
ECIES-SECP256K1
encryption by @thehenrytsai in #292 - Enable strict mode by @duncanmak in #278
- Turn on strict mode and fix tests by @duncanmak in #293
- fix cjs
package.json
by @mistermoe in #302 - #276 - added
SECP256K1
hierarchical key derivation utilities by @thehenrytsai in #294 - Introduce Event log by @mistermoe in #290
- #289 - introduced dedicated
Dwn.handleRecordsRead()
method by @thehenrytsai in #296 - #276 - added encryption support to
RecordsWrite
by @thehenrytsai in #308 - Support protocol authorized reads by @diehuxx in #307
- Introduce
EventsGet
by @mistermoe in #305 - Introduce
MessagesGet
by @mistermoe in #313
New Contributors
- @duncanmak made their first contribution in #278
Full Changelog: v0.0.28...v0.0.30
v0.0.28
- Added data deletion support for the built-in LevelDB implementation of the Data Store.
- Added a couple of utility methods for AES encryption in preparation for encryption support in DWN.
- Massive overhaul to internal code structure for storage.
- Various minor code updates such as
import type
enforcement.
v0.0.26
- major refactoring to
MessageStore
- removed dependency of
search-index
and implemented our own - data blocks are now tenant separated (but still need to be record separated)
- various IPFS library dependency updates
- introduced
dataSize
property inRecordsWrite
- added size check when returning
encodedData
in query result entries to
in date range query now is a less-than comparison
v0.0.25
- introduced RecordsRead intended for reading large binary data
- updated
ipfs-unixfs-importer
dependency to v14.0.1
v0.0.24
- fixed importing Readable from from incorrect location (node.js)
v0.0.23
- Introduced DataStore as a peer interface to MessageStore for simplest third-party store implementation.
- Added and exported some convenience CID utility methods.
- A couple of bug fixes.
v0.0.22
v0.0.21
- Added range query support for
dateCreated
property - Added a new optional
dataStream
parameter stream toprocessMessage(...)
- Removed encodedData from being allowed in "write" messages
- Added optional parameter
dataCid
toRecordsWrite
'screate(...)
andcreateFrom(...)
to improve dev experience