Changelog
DefraDB v0.20 is a major pre-production release. Until the stable version 1.0 is reached, the SemVer minor patch number will denote notable releases, which will give the project freedom to experiment and explore potentially breaking changes.
To get a full outline of the changes, we invite you to review the official changelog below. This release does include a Breaking Change to existing v0.19.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://source.network/discord.
Features
- feat: Add Android build support (#4034)
- feat: Allow syncing of collection versions over P2P (#4088)
- feat: Gate DAC ops with NAC (#4083)
- feat: Gate collection doc ops with NAC (#4100)
- feat: Gate collection get op with NAC (#4075)
- feat: Gate collection patch op with NAC (#3996)
- feat: Gate collection set active version op with NAC (#4077)
- feat: Gate p2p ops with NAC (#4111)
- feat: Gate schema add op with NAC (#3905)
- feat: Gate sec. index ops with NAC (#4097)
- feat: Gate verify signature op with NAC (#4093)
- feat: Handle invalid CGO handles in C bindings (#3966)
- feat: Include query source in collection block (#4079)
- feat: Only allow zero or one query sources (#4050)
- feat: Remove LensRegistry (#4070)
- feat: Remove unused context from Txn funcs (#4056)
- feat: Rename gql fields to use consistent underscoring (#4078)
- feat: Searchable encryption (#3873)
- feat: Support Commit API on GQL Subscriptions (#4019)
Fix
- fix: Add missing composite commits for change detector (#4040)
- fix: Allow JSON variables in GQL (#3992)
- fix: Allow configuring node identity with embedded Defra (#4023)
- fix: Allow docs to contain nillable arrays of nillable types (#4061)
- fix: Default json value (#4064)
- fix: Forbid default null value for json field type (#4069)
- fix: GraphQL SSE event stream (#3975)
- fix: Passive sync with node chain (#4012)
- fix: Prevent blocking on server close (#3977)
- fix: Remove recursive issue in versioned fetcher (#4029)
- fix: Signature selection panic (#4004)
- fix: Version query with delete (#4071)
- fix: Windows build (#4124)
Documentation
- docs: Update broken docs link in Readme (#4117)
Refactoring
- refactor: Cache collections in context (#3954)
- refactor: Limit previous collection versions to one or zero (#4062)
- refactor: Make net.Host interface easier to consume (#4009)
- refactor: Move business logic out of net (#3948)
- refactor: Remove CollectionDefinition (#3939)
- refactor: Remove SchemaDescription (#3842)
- refactor: Remove
isArrayfrom field definition delta (#4121) - refactor: Remove gRPC from net (#3907)
- refactor: Remove playground source (#3914)
- refactor: Standardize errors in C bindings (#3970)
- refactor: Update CLI Examples (#4095)
- refactor: Use 64bit cid encoding in blockstore (#4047)
- refactor: Utilize CGO handles for C bindings (#3950)