Releases: AstrobaseTech/Astrobase
Releases · AstrobaseTech/Astrobase
v0.5.0-beta.2
Added
- Identity: Added
getNextIdentityfunction.
Changed
- Identity: Changed the error thrown by
getIdentitytoRangeError. - Identity: Changed
bip32peer dependency version.
Fixed
- Identity: Fixed
putIdentitynot using first available new identity.
v0.5.0-beta.1
Big update, added a lot of new functionality and redesigned much of the project. As a result, this changelog is probably not exhaustive.
Added
- Added modules
ascii,bip39,common,ecdsa,encrypt,events,fs,http/client,http/server,identity,in-memory,instance,keyrings,media-types,sqlite,varint, andwraps. - Added
validateRequestfunction for runtime validation of RPC request messages. - Added request handlers for content procedures.
- Added
MaybePromisesupport forRPCClientStrategyprocedure implementations. - Added
FileBuilderinstance serialization.
Changed
- Changed middleware processing to recurse on arrays and simple objects only.
- Changed middleware processing to skip number and boolean primitive types.
- Removed type parameter from
decodeWithCodec. - Removed
LocalFallbackClient. - Comments (including JSDoc) are stripped from transpiled JS. They are still available in declaration files.
- Renamed
FiletoFileBuilder. - Changed File format.
- Changed instance system.
- Changed Content Identifier format to bech32.
Fixed
- Fixed
ContentIdentifierinstance serialization. - Fixed a rogue conditional
&&where it should have been||while checking for null content ingetContent.
v0.4.0
Added
- Added remote procedure call (RPC) system.
- Added registry for hash functions.
- Add support for codec-scoped middleware.
Changed
- Removed the channels system in favour of more powerful RPC system. IndexedDB and S3 have been upgraded to use this system.
- Binary middleware is now scoped only to the JSON codec.
- Renamed
deleteOne,getOne,putOnetodeleteContent,getContent,putContentrespectively. - Separate module for hashes.
- Improvements to make
Registryconstruction nicer.
v0.3.1
Added
- Added experimental (untested) support for the mutable
ContentIdentifierScheme.
Changed
- Renamed
IdentifierRegistrytoSchemeRegistry.IdentifierRegistrystill works, but is deprecated.
Deprecated
- Deprecated usage of
getImmutablewithout passing a type parameter. - Deprecated
IdentifierRegistryin favour ofSchemeRegistry.
v0.3.0
Added
- Added
ContentIdentifierLikeconvenience type.
Changed
- Renamed
IdentiferSchematoContentIdentifierScheme. - Replaced
IdentifierwithContentIdentifier.- The constructor now accepts only a single argument.
.typenow returns aVarintparser..valueis now.rawValue..toStringis now an alias of.toBase58.
- Changed
Hash:- The constructor now accepts only a single argument.
- Replaced
toBytes()with.bytes. .algorithmnow returns aVarintparser.
Fileis now generic and accepts the type argument. ThegetValue&setValuemethods no longer need a type argument.- Immutable scheme now parses and returns a
Fileinstance. getImmutablenow returns aFileinstance.putImmutablenow returns aContentIdentifierinstead ofHash.
v0.2.0
🌱 Initial release as Astrobase.
Added
Channels
- IndexedDB
- S3 (and S3-compatible APIs)
Codecs
- Binary (
application/octet-stream) - JSON (
application/json)
Content Identifier Schemes
- Immutable
Other
- Implement core functionality
- Add channels system
- Add codecs system
- Add identifiers system
- Add middleware system
- Add ASCII, media type, and varint parsers
- Support file protocol version 1