Repository navigation
Releases
v1.2.0 Release
Changelog
DefraDB v1.2.0 is a minor release of our stable v1 line. It adds deferred maintenance for vector indexes, a docID filter on the truncate mutation, a configurable P2P block-sync timeout, and import/export in the C bindings, along with a large set of P2P replication and sync fixes.
To get a full outline of the changes, we invite you to review the official changelog below. This release does not include a Breaking Change to existing v1.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://source.network/discord.
Features
- feat: Add BasicImport, BasicExport, PrintDump to C bindings (#5283)
- feat: Add deferred maintenance for vector indexes (#5326)
- feat: Add docID filter to truncate mutation (#5267)
- feat: Configurable P2P block-sync timeout (#5035)
Fix
- fix: Bump AMI Go download to 1.26.10 (#5346)
- fix: Bump Go to 1.26.10 for eMudhra CA compromise (#5344)
- fix: Close p2p handler streams and finish the retry sweep (#5266)
- fix: Count a merged counter increment once (#5274)
- fix: Enforce groupBy restriction on relation fields (#5081)
- fix: Filter subscription events by collection (#4909)
- fix: Group by field dependency without selection (#4966)
- fix: Handle filters on secondary relation ID (#5332)
- fix: Handle replicator message errors (#5299)
- fix: Improve CLI index list help text (#5244)
- fix: Make C binding P2P functions properly handle txns (#5277)
- fix: Make SaveDocument atomic across clients (#5331)
- fix: Prevent LevelDB deadlock on document creation (#5339)
- fix: Prevent leak during partial node creation (#5275)
- fix: Prevent point-updates from conflicting with adjacent (#5298)
- fix: Release js funcs when closing the js client (#5335)
- fix: Remove panics from Java client wrapper (#5290)
- fix: Replicator backfill drops documents (#4823)
- fix: Report peer rejections without blocking replication (#5302)
- fix: Resolve p2p collections by version id (#5304)
- fix: Resolve race, panic, and retry drops in replicator (#5200)
- fix: Retry collection blocks in replicator (#5307)
- fix: Return store open errors instead of panicking (#5340)
- fix: Separate commit heads and links schema descriptions (#5351)
- fix: Stop losing sync requests after connecting (#5286)
- fix: Timeout on concurrent doc-sync for the same doc (#5021)
- fix: Two lost-update bugs in peer sync (#5276)
- fix: Validate actor in acp relationships (#5342)
- fix: Validate group fields in commit queries (#5315)
Documentation
- docs: Correct commit fieldName description (#5312)
- docs: Describe running defra against Vera (#5158)
Refactoring
- refactor: Make each index kind own its fields (#5235)
Testing
- test: Fix wizard system keyring tests (#5336)
- test: Introduce Java Test Client (#5099)
- test: Isolate wizard config files (#5207)
- test: Move tests for commits with cid and field name (#5294)
- test: Raise CLI integration test timeout (#5306)
- test: Resolve cli client hitting different nac gates (#5292)
- test: Resolve materialized view refresh nac gates (#5301)
- test: Restore IndexBuildGate after DB close in index tests (#5297)
- test: Run cross-version jobs per release (#5318)
v1.1.1 Release
Changelog
DefraDB v1.1.1 is a patch release of v1.1.0 with security updates.
To get a full outline of the changes, we invite you to review the official changelog below. This release does not include a Breaking Change to existing v1.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://source.network/discord.
Fix
v1.1.0 Release
Changelog
Features
- feat: Add HTTP client options (#5156)
- feat: Add extensions to GraphQL responses (#5189)
- feat: Add filtered collection truncate (#5097)
- feat: Add index type to C bindings NewEncryptedIndex (#5131)
- feat: HNSW vector index for embedding fields (#5096)
- feat: Index list collection name (#5062)
- feat: Vector distance metrics L2 and dot product (#5169)
- feat: Wire format drift detection (#5078)
Fix
- fix: Assure int64 precision preservation in lens migration (#5162)
- fix: Cache P2P access decisions to stop sync stalls (#5041)
- fix: Collection field Kind and Typ in OpenAPI (#5234)
- fix: Consolidate client NAC gates within harness (#5054)
- fix: Correct transaction retries typo (#5242)
- fix: Explain what SIMILARITY and vector indexes accept (#5253)
- fix: Finalize GraphQL schema before use (#5178)
- fix: Fix lens config bug in C bindings' PatchCollection (#5155)
- fix: Handle potentially corrupted store reading actions (#5018)
- fix: Handle typed Go slices in nillable array parsers (#5033)
- fix: Isolate document short ID allocation (#5101)
- fix: Keep vector distances in float64 to avoid overflow (#5224)
- fix: Make AddCollection discards txn on failure in C wrapper (#5153)
- fix: Make C binding CreateTransaction safer (#5172)
- fix: Make CollectionFieldDescription unmarshal JSON properly (#5139)
- fix: Make ExecuteQuery preserve int64 precision (#5166)
- fix: Make blank CID in AddView consistent across clients (#5160)
- fix: Make skipBackupTests behave with multiple clients (#5114)
- fix: P2P connect & disconnect OpenAPI request body (#5051)
- fix: Preserve filter type/int precision in doc updates (#5192)
- fix: Prevent DB.Connect from panicking with P2P disabled (#5227)
- fix: Prevent NAC re-enable from leaking permissions (#5017)
- fix: Prevent node from leaking during C binding CloseNode (#5221)
- fix: Properly handle blank timeout strings in C bindings (#5141)
- fix: Reject a direction on a vector index (#5233)
- fix: Rename misspelled http context helper (#5246)
- fix: Render field Kind and Typ as strings on collection (#5231)
- fix: Return an error for SIMILARITY without arguments (#5222)
- fix: Set version and CID in C wrapper's ExistsDocument (#5187)
- fix: Use correct constant in parse kind error (#5243)
- fix: Validate empty p2p cli address args (#5069)
Documentation
- docs: Add version policy (#5212)
- docs: Clarify licensing terms in README.md (#5214)
- docs: Document C bindings in the readme (#5157)
Refactoring
v1.0.0 Release
Changelog
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 pre v1.0.0 databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://source.network/discord.
Features
- feat: Add Action system (#4922)
- feat: Add GetNodeOptions functionality to C bindings/CLI (#4876)
- feat: Add disconnect peer operation (#4879)
- feat: Add identity export/recovery to c bindings (#4839)
- feat: Add missing node options to C bindings (#4857)
- feat: Add support for building C bindings on Windows (#4691)
- feat: Add syntax sugar DeleteCollection cmd (#4688)
- feat: Branchable collection ACP (#4990)
- feat: Bump explorer version to v1.0.0 (#5015)
- feat: Create a .deb file when building C bindings for Linux (#4850)
- feat: DocID based on genesis CID (#4838)
- feat: Fetch orphan parent docs with exhaustive (#4454)
- feat: Gate commit queries with DAC (#4809)
- feat: Interactive secret prompt (#4928)
- feat: JS client p2p (#4793)
- feat: Render field Kind and Typ as strings (#4945)
- feat: Support comma-separated lists for connect/disconnect (#5000)
- feat: Support querying with multiple cids (#4794)
- feat: Support secondary index backfill (#4942)
- feat: Swap playground for explorer (#4919)
- feat: Transaction TTL Cache for HTTP API (#4994)
Fix
- fix: Add SkipChangeDetector mechanism for tests (#4975)
- fix: Add exhaustive directive to npx test fixtures (#4634)
- fix: Apply parent filter to pipe source in groupBy queries (#4955)
- fix: Bump api version to v1 (#4642)
- fix: Cap P2P stream length (#4728)
- fix: Clean schema heads on collection deletion/patch (#4805)
- fix: Clear stale errors in multiScanNode per accessor cycle (#4910)
- fix: Decrypt blocks during versioned-fetcher replay (#4790)
- fix: Derive CLI auth token audience from the API URL (#4929)
- fix: Enable auto tls again (#4979)
- fix: Encrypted index patch tests and validation (#4611)
- fix: Ensure list p2p replicator nac gate works (#4675)
- fix: Exit CLI on API server errors (#4740)
- fix: Fallback to scanNode if index can't handle (#4633)
- fix: Finalize DateTime inline array support (#4915)
- fix: Fix HTTP default address bug (#4941)
- fix: Fix LensVM stackoverflow (#4908)
- fix: Fix broken transaction behavior (#4587)
- fix: Fix change detector's behavior with commitTransaction (#4647)
- fix: Fix cli commands markdown output (#4681)
- fix: Fix duplicate relation groupBy (#4995)
- fix: Fix index and ACP bugs related to doc deletes (#4991)
- fix: Fix net relay bug in CLI (#4887)
- fix: Fix syncing of collections with no inactive version (#4926)
- fix: Fix transactional behavior in updateWithFilter (#4643)
- fix: GQL operation execution order (#5013)
- fix: Handle multi-layered self referencing relations (#4712)
- fix: Handle the refresh of views larger than 11MB (#4889)
- fix: Handle truncation of more than 11MB (#4877)
- fix: Improve wizard hint text visibility on dark terminals (#4875)
- fix: Inject release version in docker image build (#4930)
- fix: Introspection test bug (#4631)
- fix: KMS lookup under NAC for encrypted DAG sync (#4778)
- fix: Make COUNT work with groupBy (#4986)
- fix: Make DAC enabled by default (#4862)
- fix: Make GROUP respect result limit in ordered root object (#4958)
- fix: Make auth token rejection 403s describe their cause (#4934)
- fix: Make change detector skip transactional isolation tests (#4649)
- fix: Make non-existent transactions return an error (#4987)
- fix: Make silent build tag work on Android and Linux builds (#4761)
- fix: Make startup succeed if TLS is enabled for HTTP API (#4973)
- fix: Multi-peer KMS encryption-key fetch race (#4812)
- fix: Normalize trailing slashes on HTTP API routes (#4856)
- fix: OpenAPI optional bearerToken security scheme (#4980)
- fix: Orphan scan @exhaustive + relation ordering (#4662)
- fix: P2P KMS response key CID verification (#4961)
- fix: P2P-merged ACP doc with @index no corrupt index (#4835)
- fix: Parse schemas with multi-byte chars in SDL comments (#4836)
- fix: Patching of new fields on cols with sec. relations (#4709)
- fix: Persist test state for change detector (#4755)
- fix: Prevent doc writes after collection deleted (#4657)
- fix: Prevent txn-actions from executing concurrently (#4763)
- fix: Record view refresh errors against the refresh action (#4969)
- fix: Reduce telemetry logs (#4639)
- fix: Reject duplicate relation names without directive (#4861)
- fix: Reject nested list SDL with clear error (#4800)
- fix: Remove 'concurrent' transaction concept (#4692)
- fix: Remove ability to disable DAC (#4903)
- fix: Resolve the identity panic when no keyring (#4680)
- fix: Return ExecRequest errors correctly over http (#4730)
- fix: Sec. index edge cases in subscriptions and inv. joins (#4684)
- fix: Seed CollectionVersions from DB (#4750)
- fix: Subscription handler iterator leak on join collections (#4827)
- fix: Support field kind for non-nillable array scalars (#4895)
- fix: TopLevelNode.Close accumulates child errors (#4911)
- fix: Treat multiple filters as AND when join is inverted (#4656)
- fix: Truncate signed documents (#4672)
- fix: Use testing.Testing() for test mode detection (#4585)
Documentation
- docs: Better categorizing of HTTP ACP endpoints (#5010)
- docs: Clarify
keyring newcommand behavior (#4932) - docs: Clarify behavior of backup command (#4931)
- docs: Document soft delete behavior on CLI delete command (#4665)
- docs: Expand test suite documentation (#4699)
- docs: Rename leftover operator references (#4825)
- docs: Update DefraDB logo (#4664)
- docs: Update README to emphasize zero-trust (#4925)
- docs: Update link to ACP with new docs page (#4956)
Refactoring
- refactor: Default directive argument types (#4938)
- refactor: Inconsistent cli flags (#5006)
- refactor: Remove badger namespace from CLI path config (#5008)
- refactor: Remove collection cache from context (#4651)
- refactor: Remove txnMapHandle from C Binding wrapper (#4725)
- refactor: Separate cbindings to one function per file (#4786)
- refactor: Use JS txn directly instead of context (#4775)
Testing
- test: Add encrypted-docs test multiplier (#4914)
- test: Add signed-docs test multiplier (#4746)
- test: Cover GraphQL subscriptions on ACP-gated collections (#4852)
- test: Cover HTTP auth middleware rejection paths (#4892)
- test: Cover re-adding a deleted doc (#4854)
- test: Document incremental lens migration bug under indexes (#4737)
- test: Encrypt docs in replicator test (#4801)
- test: Extend CRDT tests (#4603)
- test: Introduce C binding smoke test (#4765)
- test: Introduce DeleteWithFilter test action (#4993)
- test: Migrate UpdateDoc action to new system (#4749)
- test: Migrate commit txn action to testo (#4754)
- test: Nil-guard collection slot before mutation (#4776)
- test: Track multiple expected DAG heads per doc (#4609)
v1.0.0-rc1 Release
Changelog
DefraDB v1.0.0-rc1 is the first release candidate for our stable v1.0 release. This milestone marks the project's transition from pre-production to production readiness. Any subsequent release candidates will address issues identified during this phase before the final v1.0 release.
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.20.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://source.network/discord.
Features
- feat: Accept arrays of CIDs for GQL queries (#4571)
- feat: Add ActivePeers function (#4206)
- feat: Add _in/_nin to _commits filter (#4230)
- feat: Add ability to bypass DAC for performance (#4115)
- feat: Add collection truncate (#4326)
- feat: Add keyring overwrite protection (#4290)
- feat: Add methods AddLens and ListLenses (#4264)
- feat: Add optional file flags for cli view add command (#3314)
- feat: Add optional health check to setup wizard (#4313)
- feat: Add secp256r1 support (#4202)
- feat: Add support for
_eqand_neqto inline scalar arrays (#4293) - feat: Allow C binding view functions to take in identities (#4241)
- feat: Allow deletion of collections via PatchCollection (#4200)
- feat: Change GQL commits.docId param to list (#4578)
- feat: Consolidate node options (#4501)
- feat: Create unique index for 1-to-1 relations (#4218)
- feat: Create view from cid (#4278)
- feat: Enable filter on commit's fieldName (#4216)
- feat: Gate PeerInfo with NAC & Add Context (#4282)
- feat: Gate SyncBranchableCollection with NAC (#4522)
- feat: Gate active peers op with NAC (#4499)
- feat: Gate encrypted index create op with NAC (#4532)
- feat: Gate encrypted index delete op with NAC (#4534)
- feat: Gate lens add op with NAC (#4492)
- feat: Gate lens list op with NAC (#4491)
- feat: Gate list encrypted indexes op with NAC (#4540)
- feat: Gate migration set op with NAC (#4530)
- feat: Gate sync collection versions op with NAC (#4507)
- feat: Gate sync documents op with NAC (#4528)
- feat: Gate view add op with NAC (#4504)
- feat: Gate view refresh op with NAC (#4505)
- feat: Improve NotAuthorizedToPerformOperation errors (#4373)
- feat: Introduce options package for public methods (#4335)
- feat: Introduce setup wizard (#4273)
- feat: LevelDB store (#4298)
- feat: Make explain recursive for nested joins (#4471)
- feat: Push topic peer events to event bus (#4247)
- feat: Refresh materialized views on create (#4379)
- feat: Remove _latestCommits (#4169)
- feat: Rename foreign keys to _ID (#4274)
- feat: Rename schema version id (#4299)
- feat: Require dev-mode for import/export (#4569)
- feat: Serverless client side schema generation (#4263)
- feat: Support UTC_NOW as a DateTime value (#4210)
- feat: Sync branchable collection (#4188)
- feat: Upgrade CommitLink with full Commit object support (#4217)
Fix
- fix: Add missing return after successful merge execution (#4356)
- fix: Aggregates on indexed relations (#4438)
- fix: Allow Lenses to pull docs from source (#4143)
- fix: Async context use (#4455)
- fix: Bump sonic to version 14.2 with Go 1.24 support (#4167)
- fix: Connect peers with retries in tests (#4289)
- fix: Correctly refresh views with already cached data (#4382)
- fix: Encode identity as hex in commit query (#4104)
- fix: Ensure commit subscriptions filter by docID (#4436)
- fix: Field short ID retrieval (#4457)
- fix: Filter on top-level indexed JSON field (#4406)
- fix: Fix identity-related bugs in c bindings (#4145)
- fix: Flaky SourceHub tests (#4416)
- fix: Glibc error with Docker container (#4129)
- fix: Grouping by indexed field (#4409)
- fix: Handle _version alongside type joins (#4174)
- fix: Handle _version property in time travel queries (#4147)
- fix: Handle queries with _version prop and order param (#4146)
- fix: Index on JSON _geq and _leq null filter ops (#4415)
- fix: Index-based order for nested queries (#4342)
- fix: Introspection error and badly formatted GQL types (#4175)
- fix: Lens file reading in collection patch command (#4564)
- fix: Lens-migrations-aware secondary indexes (#4114)
- fix: Lint issues in gendocs_test.go (#4203)
- fix: Make CBinding NewNode attach identity to context (#4519)
- fix: Make Wazero the lens runtime for C bindings (#4524)
- fix: Make node apply a default store path (#4186)
- fix: Make resolution of UTC_NOW the same across transaction (#4248)
- fix: Migrations with filtering (#4254)
- fix: Mutation of branchable collection (#4187)
- fix: Null json index panic (#4338)
- fix: On doc-sync wait for docs from all peers (#4296)
- fix: Only scan relevant doc-commits in commit queries (#4512)
- fix: Ordering by multiple fields (#4238)
- fix: Prevent database operations after close (#4435)
- fix: Propagate unmarshal errors (#4563)
- fix: Reject index on accumulated CRDT fields (#4447)
- fix: Remove duplicate filter on update/upsert operations (#4283)
- fix: Remove enabling NAC option from config (#4225)
- fix: Remove extraneous comment in C Binding header (#4481)
- fix: Return error from CLI when collection not found (#4592)
- fix: Sec. side relation via patch and AddSchema (#4221)
- fix: Secondary index handle neq and nin filters (#4433)
- fix: Secondary index on sub query filter (#4344)
- fix: Set FieldID when syncing collections (#4142)
- fix: Skip index for complex JSON filter values (#4426)
- fix: Solve cyclic-dependency stack overflow bug (#4332)
- fix: Suppress error log on timeout in pubsub handler (#4292)
- fix: Sync DAG (#4270)
- fix: Test matcher subscription bug (#4429)
- fix: Unify docID type to ID in graphql schema (#4291)
- fix: Update to WebTransport 0.10.0 (#4589)
- fix: Use index with _or conditions on same field (#4423)
Documentation
Refactoring
- refactor: Introduce collection lock system (#4276)
- refactor: KMS sync ordering (#4214)
- refactor: Make P2P collection names consistent (#4464)
- refactor: Make P2P document names consistent (#4469)
- refactor: Move identity context funcs to internal (#4549)
- refactor: Pass identity consistently in C binding functions (#4180)
- refactor: Remove GetAllDocIDs/docIDs from collection api (#4579)
- refactor: Remove p2p transactions (#4212)
- refactor: Rename 'Schema' to 'Collection' terminology (#4591)
- refactor: Rename CreateEncryptedIndex (#4553)
- refactor: Rename GetCollectionsOptions.GetInactive (#4543)
- refactor: Rename SyncCollections to SyncCollectionVersions (#4183)
- refactor: Rename certain GQL operators (#4357)
- refactor: Rename document-level cmds under collection api (#4581)
- refactor: Rename encrypted index add to encrypted index new (#4604)
- refactor: Rename index add to index new (#4605)
- refactor: Rename index commands (#4555)
- refactor: Rename keyring commands (#4560)
- refactor: Rename operations from
createtoaddterminology (#4561) - refactor: Rename options enumerable (#4527)
- refactor: Rename to have action verb first (#4600)
- refactor: Rename txn create to txn new (#4594)
- refactor: Replace SE key collection root cid with short id (#4226)
- refactor: Replace string literals with constants (#4301)
- refactor: Update ACP Policy DSL (#4237)
- refactor: Wrap Datastore in key-typed wrapper (#4242)
Testing
- test: Add test for lensed views after restart (#4445)
- test: Add tests for truncation of views (#4432)
- test: Add truncate parallel test (#4420)
- test: Enable all TestSignature tests for C client (#4166)
- test: Enable marking tests as flaky (#4582)
- test: Introduce secondary index test multiplier (#4387)
- test: Migrate CreateDoc action to testo (#4407)
- test: Migrate GetCollections test action to action package (#4389)
- test: Migrate index related actions to new framework (#4349)
- test: Migrate patch collection test action (#4395)
- test: Migrate request test actions to new framework (#4359)
- test: Migrate view test actions to action package (#4368)
Exhaustive Rename Changelog: v0.20.0 → v1.0.0-rc1
All renames, removals, and restructurings to public API surface since release v0.20.0.
Only final renames are shown (A→C, not A→B→C).
PRs That Contributed Renames
| PR | Title |
|---|---|
| #4169 | Remove _latestCommits |
| #4183 | Rename SyncCollections to SyncCollectionVersions |
| #4217 | Upgrade CommitLink with full Commit object support |
| #4237 | Update ACP Policy DSL |
| #4264 | Add methods AddLens and ListLenses |
| #4274 | Rename foreign keys to _<rel>ID |
| #4299 | Rename schemaVersionId to collectionVersionId |
| #4301 | Replace string literals with constants (internal only) |
| #4357 | Rename certain GQL operators |
| #4448 | Use operator constants in schema definitions (internal only) |
| #4464 | Make P2P collection names consistent |
| #4469 | Make P2P document names consistent |
| #4472 | Make P2P replicator names consistent |
| #4496 | Rename GraphQL Aggregates |
| #4527 | Rename options Lister to Enumerable |
| #4543 | Rename GetCollectionsOptions.IncludeInactive |
| #4544 | Rename P2P commands from Create to Add |
| #4553 | Rename CreateEncryptedIndex |
| #4555 | Rename index commands (Drop→Delete, Get→List) |
| #4560 | Rename keyring commands |
| #4561 | Rename operations from create to add |
| #4578 | Change GQL commits.docId param to list |
| #4579 | Remove GetAllDocIDs/docIDs from collection API |
| #4581 | Rename document-level cmds under collection API |
| #4591 | Rename Schema to Collection terminology |
| #4594 | Rename tx create to tx new |
| #4600 | Rename to have action verb first |
| #4604 | Rename encr... |
v0.20.0 Release
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 hello@source.network 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)
Testing
v0.19.0 Release
Changelog
DefraDB v0.19 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.18.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://discord.gg/w7jYQVJ/.
Features
- feat: Add WASM support for Playground (#3813)
- feat: Add explicit p2p doc subscription (#3822)
- feat: Add node access control (nac) system (#3758)
- feat: Enable range queries for secondary indexes (#3788)
- feat: JavaScript event system (#3794)
- feat: Playground ACP (#3871)
- feat: Provide C Bindings (#3787)
- feat: SourceHub ACP JS (#3863)
- feat: Sync documents on demand (#3834)
Fix
- fix: Allow operations on _similarity results (#3927)
- fix: Playground keypair reset (#3922)
- fix: Race condition on connection access (#3814)
Refactoring
v0.18.0 Release
Changelog
DefraDB v0.18 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.17.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://discord.gg/w7jYQVJ/.
Features
- feat: JS client (#3658)
- feat: Make Collection.Name immutable (#3671)
- feat: Replace commit query fieldID with fieldName (#3701)
- feat: Utilize secondary indexes for ordering (#3652)
Fix
- fix: Bypass composite index ordering on order mismatch (#3781)
- fix: Check if collection exists in index cli commands (#3777)
- fix: Correct index fetching order (#3776)
- fix: Enable doc encryption for embedded client (#3755)
- fix: Get indexes for a specific collection (#3643)
Documentation
- docs: Add data flow documentation (#3736)
- docs: Update outdated disclaimer about lack of encryption (#3647)
Refactoring
- refactor: Allow retrieval of txn from ctx everywhere (#3705)
- refactor: Remove collection field id (#3710)
- refactor: Rename CollectionDescription to CollectionVersion (#3676)
- refactor: Rename CollectionDescription.ID to VersionID (#3677)
- refactor: Replace Collection ID with SchemaVersionID (#3640)
- refactor: Replace CollectionDescription.Root with ColID (#3644)
- refactor: Replace schema-only collections with boolean (#3653)
- refactor: Store index description in collection version (#3716)
- refactor: Unify crdt packages (#3679)
Testing
- test: Update test Lens modules to latest SDK (#3773)
v0.17.0 Release
Changelog
DefraDB v0.17 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.16.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://discord.gg/w7jYQVJ/.
Features
- feat: Enable block verification by clients (#3591)
- feat: Introduce digital signatures (#3505)
- feat: JS build support (#3548)
- feat: Make DAC write permission more granular (#3218)
- feat: Make replicator retry intervals configurable (#3574)
- feat: Make signing algorithm configurable (#3545)
Fix
Refactoring
- refactor: Changed paths for lens migration in CLI (#3510)
- refactor: Make validator return joined errors (#3513)
- refactor: Replace datastore package with corekv (#3508)
Testing
v0.16.0 Release
Changelog
DefraDB v0.16 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.15.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://discord.gg/w7jYQVJ/.
Features
- feat: Add 'keyring list' command to CLI (#3331)
- feat: Add contraints and embedding directives (#3405)
- feat: Add cosine similarity query (#3464)
- feat: Add open telemetry metrics and traces (#3404)
- feat: Add special encoding of json array elements (#3368)
- feat: Enable secondary index for compound filter conditions (#3417)
- feat: Multiple schema file support in schema add (#3352)
- feat: P2P ACP (#3317)
- feat: Purge ACP state on DB purge (#3363)
- feat: Sec. index on json (#3330)
Fix
- fix: Consistent version query semantics (#3477)
- fix: Ensure no ACP doc check when action is node specific (#3387)
- fix: Maintain indexes across schema versions (#3366)
- fix: Maintain indexes across schema versions (#3367)
- fix: Make --no-encryption flag work without keyring (#3466)
- fix: Updating of document via cli (#3474)