Skip to content

Releases: sourcenetwork/defradb

v1.0.0 Release

Choose a tag to compare

@github-actions github-actions released this 29 Jun 21:05
3de0148

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 new command 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

Choose a tag to compare

@github-actions github-actions released this 05 Mar 04:07
668b59d

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 _eq and _neq to 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

  • docs: Add build requirements documentation (#4224)
  • docs: Switch git clone URL to use https (#4177)

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 create to add terminology (#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 (DropDelete, GetList)
#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...
Read more

v0.20.0 Release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 04:26
d27b83f

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 isArray from 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

  • test: Add many-to-many integration tests (#4045)
  • test: Test blocking off of patching secondary indexes (#4044)

v0.19.0 Release

Choose a tag to compare

@github-actions github-actions released this 08 Aug 21:37
9d048c0

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

  • refactor: ACP Identity (#3808)
  • refactor: Configure P2PCollections with names instead of IDs (#3815)
  • refactor: Simplify interfaces usage (#3739)

v0.18.0 Release

Choose a tag to compare

@github-actions github-actions released this 13 Jun 19:12
497a5c7

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

Choose a tag to compare

@github-actions github-actions released this 18 Apr 01:44
68d5bf9

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

  • fix: Only give badger a path if not in-memory (#3552)
  • fix: PeerInfo sync issue (#3606)

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

  • test: Add example CLI integration tests (#3550)
  • test: Incorporate gomega matchers (#3489)

v0.16.0 Release

Choose a tag to compare

@github-actions github-actions released this 24 Feb 14:31
20eed95

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)

v0.15.0 Release

Choose a tag to compare

@github-actions github-actions released this 13 Dec 22:32
6da615e

Changelog

DefraDB v0.15 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.14.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 ACP to pubsub KMS (#3206)
  • feat: Add ability to add/delete relationship for all actors (#3254)
  • feat: Add node identity (#3125)
  • feat: Add support for branchable collection time-traveling (#3260)
  • feat: Add support for branchable collections (#3216)
  • feat: Add support for cid-only time travel queries (#3256)
  • feat: Aggregate filter alias targeting (#3252)
  • feat: Aggregate order alias targeting (#3293)
  • feat: Error if purge request made with dev mode disabled (#3295)
  • feat: Filter alias target (#3201)
  • feat: Order alias target (#3217)
  • feat: Support for descending fields CLI index creation (#3237)

Fix

  • fix: Add Authorization header to CORS allowed headers (#3178)
  • fix: Add support for operationName and variables in HTTP GET (#3292)
  • fix: Adjust OpenAPI index POST example request body (#3268)
  • fix: Make requests with no identity work with "*" target (#3278)
  • fix: Prevent over span (#3258)
  • fix: Resolve CORS errors in OpenAPI tab of Playground (#3263)

Documentation

  • docs: Update discord link (#3231)

Refactoring

  • refactor: Add unified JSON interface (#3265)
  • refactor: Breakup core/keys.go file (#3198)
  • refactor: Consolidate node-related fields into a struct (#3232)
  • refactor: Remove indirection from crdt packages (#3192)
  • refactor: Rework core.Spans (#3210)
  • refactor: Simplify merkle/crdt code (#3200)

Testing

  • test: Allow soft-referencing of Cids in tests (#3176)

v0.14.0 Release

Choose a tag to compare

@fredcarle fredcarle released this 20 Oct 02:52
47d38a8

Changelog

DefraDB v0.14 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.13.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: JSON type filter (#3122)
  • feat: Add replicator retry (#3107)
  • feat: Inherit read permission if only write access (#3108)
  • feat: JSON type coercion (#3098)
  • feat: Ability to unrelate private documents from actors (#3099)
  • feat: Enable Indexing of array fields (#3092)
  • feat: Min and max numerical aggregates (#3078)
  • feat: Ability to relate private documents to actors (#2907)
  • feat: GraphQL upsert mutation (#3075)
  • feat: GraphQL fragments (#3066)
  • feat: Secure document encryption key exchange (#2891)
  • feat: Inline array filters (#3028)
  • feat: CLI purge command (#2998)
  • feat: Add support for one sided relations (#3021)
  • feat: Add materialized views (#3000)
  • feat: Default scalar field values (#2997)
  • feat: GQL variables and operation name (#2993)

Fixes

  • fix: Make GraphQL errors spec compliant (#3040)
  • fix: Ignore badger path if in-memory (#2967)
  • fix: Rework relation field kinds (#2961)
  • fix: Panic with filter on unique composite index on relation (#3020)
  • fix: Handle missing type in an SDL (#3023)
  • fix: GraphQL null argument parsing (#3013)
  • fix: Prevent mutations from secondary side of relation (#3124)
  • fix: Treat explicitly set nil values like omitted values (#3101)
  • fix: Remove duplication of block heads on delete (#3096)
  • fix: Log GQL endpoint correctly on node start (#3037)
  • fix: Panic with different composite-indexed child objects (#2947)
  • fix: Validate GraphQL schemas (#3152)
  • fix: Queries with filter on 2 rel fields of composite index (#3035)

Documentation

  • doc: Rename _key to _docID in docs (#2989)

Refactoring

  • refactor: Change from protobuf to cbor for gRPC (#3061)
  • refactor: GraphQL order input (#3044)
  • refactor: Merge duplicate input args (#3046)
  • refactor: Index field directive (#2994)
  • refactor: Make SourceHub dep internal-only (#2963)

Testing

  • test: Add bug bash tests for gql fragments (#3136)

Chore

  • chore: Make keyring non-interactive (#3026)
  • chore: Change from ipld traversal to direct link access (#2931)
  • chore: Bump to GoLang v1.22 (#2913)

v0.13.0 Release

Choose a tag to compare

@github-actions github-actions released this 23 Aug 19:53
495c456

Changelog

DefraDB v0.13 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.12.x databases. If you need help migrating an existing deployment, reach out at hello@source.network or join our Discord at https://discord.source.network/.

Features

  • feat: Doc encryption with symmetric key (#2731)
  • feat: Doc field encryption (#2817)
  • feat: Enable indexing for DateTime fields (#2933)
  • feat: Handle P2P with SourceHub ACP (#2848)
  • feat: Implement SourceHub ACP (#2657)
  • feat: Remove IsObjectArray (#2859)

Fix

  • fix: Add ns precision support to time values (#2940)
  • fix: Allow querying of 9th, 19th, 29th, etc collections (#2819)
  • fix: Create mutation introspection (#2881)
  • fix: Enable filtering doc by fields of JSON and Blob types (#2841)
  • fix: Filter with date and document with nil date value (#2946)
  • fix: Handle index queries where child found without parent (#2942)
  • fix: Handle multiple child index joins (#2867)
  • fix: No panic if filter condition on indexed field is empty (#2929)
  • fix: Panic with different composite-indexed child objects (#2947)
  • fix: Support one-many self joins without primary directive (#2799)

Refactoring

  • refactor: Decouple client.DB from net (#2768)
  • refactor: GQL responses (#2872)
  • refactor: Network test sync logic (#2748)

Testing

  • test: Add assert on DocIndex for child documents (#2871)
  • test: Fix refreshing of docs in change detector (#2832)
  • test: Remove hardcoded test identities (#2822)