2024-08-23
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 [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Enable indexing for DateTime fields (#2933)
- Remove IsObjectArray (#2859)
- Handle P2P with SourceHub ACP (#2848)
- Implement SourceHub ACP (#2657)
- Doc field encryption (#2817)
- Doc encryption with symmetric key (#2731)
- Filter with date and document with nil date value (#2946)
- Handle index queries where child found without parent (#2942)
- Add ns precision support to time values (#2940)
- Panic with different composite-indexed child objects (#2947)
- No panic if filter condition on indexed field is empty (#2929)
- Create mutation introspection (#2881)
- Handle multiple child index joins (#2867)
- Enable filtering doc by fields of JSON and Blob types (#2841)
- Allow querying of 9th, 19th, 29th, etc collections (#2819)
- Support one-many self joins without primary directive (#2799)
- Allow primary field declarations on one-many (#2796)
- Add assert on DocIndex for child documents (#2871)
- Fix refreshing of docs in change detector (#2832)
- Remove hardcoded test identities (#2822)
- Allow assertion of AddSchema results (#2788)
- Bump grpc version (#2824)
- Update dependencies (bulk dependabot PRs) 21-08-2024 (#2939)
- Update dependencies (bulk dependabot PRs) 20-08-2024 (#2932)
- Update dependencies (bulk dependabot PRs) 12-08-2024 (#2904)
- Bump eslint from 8.57.0 to 9.9.0 in /playground (#2903)
- Bump golang.org/x/term from 0.22.0 to 0.23.0 (#2890)
- Update dependencies (bulk dependabot PRs) 06-08-2024 (#2889)
- Update dependencies (bulk dependabot PRs) 18-07-2024 (#2846)
- Update dependencies (bulk dependabot PRs) 05-07-2024 (#2811)
- Bump github.com/cometbft/cometbft from 0.38.7 to 0.38.8 (#2794)
2024-06-28
DefraDB v0.12 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.11.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Ability to generate a new identity (#2760)
- Add async transaction callbacks (#2708)
- Allow lens runtime selection via config (#2684)
- Sec. indexes on relations (#2670)
- Add authentication for ACP (#2649)
- Inject ACP instance into the DB instance (#2633)
- Keyring (#2557)
- Enable sec. indexes with ACP (#2602)
- Race condition when testing CLI (#2713)
- Remove shared mutable state between database instances (#2777)
- Change new identity keys to hex format (#2773)
- Return slice of correct length from db.AddSchema (#2765)
- Use node representation for Block (#2746)
- Add version check in basicTxn.Query (#2742)
- Merge retry logic (#2719)
- Resolve incorrect merge conflict (#2723)
- Keyring output (#2784)
- Incorporate schema root into docID (#2701)
- Make node options composable (#2648)
- Remove limit for fetching secondary docs (#2594)
- Remove reference to client ping from readme (#2793)
- Add http/openapi documentation & ci workflow (#2678)
- Streamline cli documentation (#2646)
- Document Event Update struct (#2598)
- Use events to test network logic (#2700)
- Change local_acp implementation to use acp_core (#2691)
- Rework definition validation (#2720)
- Extract definition stuff from collection.go (#2706)
- Change counters to support encryption (#2698)
- DAG sync and move merge outside of net package (#2658)
- Replace subscription events publisher (#2686)
- Extract Defra specific logic from ACPLocal type (#2656)
- Change from protobuf to cbor for IPLD (#2604)
- Reorganize global CLI flags (#2615)
- Move internal packages to internal dir (#2599)
- Remove duplicate test (#2787)
- Support asserting on doc index in test results (#2786)
- Allow test harness to execute benchmarks (#2740)
- Add relation substitute mechanic to tests (#2682)
- Test node pkg constructor via integration test suite (#2641)
- Cache dependencies to speed up test runs (#2732)
- Update dependencies (bulk dependabot PRs) 24-06-2024 (#2761)
- Bump @typescript-eslint/parser from 7.13.0 to 7.13.1 in /playground (#2733)
- Bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 in /playground (#2734)
- Update dependencies (bulk dependabot PRs) 06-17-2024 (#2730)
- Bump braces from 3.0.2 to 3.0.3 in /playground (#2716)
- Update dependencies (bulk dependabot PRs) 06-10-2024 (#2705)
- Bump @typescript-eslint/eslint-plugin from 7.11.0 to 7.12.0 in /playground (#2675)
- Bump @typescript-eslint/parser from 7.11.0 to 7.12.0 in /playground (#2676)
- Update dependencies (bulk dependabot PRs) 03-06-2024 (#2674)
- Update dependencies (bulk dependabot PRs) 01-06-2024 (#2660)
- Bump @typescript-eslint/parser from 7.9.0 to 7.10.0 in /playground (#2635)
- Bump @typescript-eslint/eslint-plugin from 7.9.0 to 7.10.0 in /playground (#2637)
- Bump swagger-ui-react from 5.17.10 to 5.17.12 in /playground (#2636)
- Bump google.golang.org/protobuf from 1.33.0 to 1.34.1 (#2607)
- Update dependencies (bulk dependabot PRs) 05-20-2024 (#2631)
- Update dependencies (bulk dependabot PRs) 05-14-2024 (#2617)
2024-05-03
DefraDB v0.11 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.10.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Update corelog to 0.0.7 (#2547)
- Move relation field properties onto collection (#2529)
- Lens runtime config (#2497)
- Add P Counter CRDT (#2482)
- Add Access Control Policy (#2338)
- Force explicit primary decl. in SDL for one-ones (#2462)
- Allow mutation of col sources via PatchCollection (#2424)
- Add Defra-Lens support for branching schema (#2421)
- Add PatchCollection (#2402)
- Return correct results from one-many indexed filter (#2579)
- Handle compound filters on related indexed fields (#2575)
- Add check to filter result for logical ops (#2573)
- Make all array kinds nillable (#2534)
- Allow update when updating non-indexed field (#2511)
- Add data definition document (#2544)
- Merge collection UpdateWith and DeleteWith (#2531)
- DB transactions context (#2513)
- Add NormalValue (#2404)
- Clean up client/request package (#2443)
- Rewrite convertImmutable (#2445)
- Unify Field Kind and Schema properties (#2414)
- Replace logging package with corelog (#2406)
- Add flag to skip network tests (#2495)
- Update dependencies (bulk dependabot PRs) 30-04-2024 (#2570)
- Bump @typescript-eslint/parser from 7.7.0 to 7.7.1 in /playground (#2550)
- Bump @typescript-eslint/eslint-plugin from 7.7.0 to 7.7.1 in /playground (#2551)
- Bump swagger-ui-react from 5.16.2 to 5.17.0 in /playground (#2549)
- Update dependencies (bulk dependabot PRs) 23-04-2023 (#2548)
- Bump go.opentelemetry.io/otel/sdk/metric from 1.24.0 to 1.25.0 (#2499)
- Bump typescript from 5.4.3 to 5.4.5 in /playground (#2515)
- Bump swagger-ui-react from 5.14.0 to 5.15.0 in /playground (#2514)
- Update dependencies (bulk dependabot PRs) 2024-04-09 (#2509)
- Update dependencies (bulk dependabot PRs) 2024-04-03 (#2492)
- Update dependencies (bulk dependabot PRs) 03-04-2024 (#2486)
- Bump github.com/multiformats/go-multiaddr from 0.12.2 to 0.12.3 (#2480)
- Bump @types/react from 18.2.66 to 18.2.67 in /playground (#2427)
- Bump @typescript-eslint/parser from 7.2.0 to 7.3.1 in /playground (#2428)
- Update dependencies (bulk dependabot PRs) 19-03-2024 (#2426)
- Update dependencies (bulk dependabot PRs) 03-11-2024 (#2399)
2024-03-08
DefraDB v0.10 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.9.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add case insensitive
like
operator (#2368) - Reverted order for indexed fields (#2335)
- Rework GetCollection/SchemaByFoo funcs into single (#2319)
- Add support for views with Lens transforms (#2311)
- Model Col. SchemaVersions and migrations on Cols (#2286)
- Replace FieldDescription.RelationType with IsPrimary (#2288)
- Multiple docs with nil value on unique-indexed field (#2276)
- Allow setting null values on doc fields (#2273)
- Add JSON scalar (#2254)
- Generate OpenAPI command (#2235)
- Add composite indexes (#2226)
- Add
latest
image tag for ghcr (#2340) - Move field id off of schema (#2336)
- Make returned collections respect explicit transactions (#2385)
- Update GetCollections behaviour (#2378)
- Add missing directive definitions (#2369)
- Add validation to JSON fields (#2375)
- Make peers sync secondary index (#2390)
- Load root dir before loading config (#2266)
- Mark docs as deleted when querying in delete mut (#2298)
- Add missing logs at startup (#2391)
- Add missing delta payload (#2306)
- Fix compound relational filters in aggregates (#2297)
- Generate field ids using a sequence (#2339)
- Make config internal to CLI (#2310)
- Node config (#2296)
- HTTP config (#2278)
- Remove unused Delete field from client.Document (#2275)
- Decouple net config (#2258)
- Make CollectionDescription.Name Option (#2223)
- Bump to GoLang v1.21 (#2195)
- Update dependencies (bulk dependabot PRs) 05-02-2024 (#2372)
- Update dependencies (bulk dependabot PRs) 02-27-2024 (#2353)
- Bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.1 in /playground (#2331)
- Bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#2320)
- Update dependencies (bulk dependabot PRs) 2024-02-19 (#2330)
- Bump vite from 5.1.1 to 5.1.2 in /playground (#2317)
- Bump golang.org/x/net from 0.20.0 to 0.21.0 (#2301)
- Update dependencies (bulk dependabot PRs) 2023-02-14 (#2313)
- Update dependencies (bulk dependabot PRs) 02-07-2024 (#2294)
- Update dependencies (bulk dependabot PRs) 30-01-2024 (#2270)
- Update dependencies (bulk dependabot PRs) 23-01-2024 (#2252)
- Bump vite from 5.0.11 to 5.0.12 in /playground (#2236)
- Bump github.com/evanphx/json-patch/v5 from 5.7.0 to 5.8.1 (#2233)
2024-01-18
DefraDB v0.9 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.8.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Mutation typed input (#2167)
- Add PN Counter CRDT type (#2119)
- Allow users to add Views (#2114)
- Add unique secondary index (#2131)
- New cmd for docs auto generation (#2096)
- Add blob scalar type (#2091)
- Add entropy to counter CRDT type updates (#2186)
- Handle multiple nil values on unique indexed fields (#2178)
- Filtering on unique index if there is no match (#2177)
- Switch LensVM to wasmtime runtime (#2030)
- Add strong typing to document creation (#2161)
- Rename key,id,dockey to docID terminology (#1749)
- Simplify Merkle CRDT workflow (#2111)
- Add auto-doc generation (#2051)
- Add windows test runner (#2033)
- Update Lens to v0.5 (#2083)
- Bump @types/react from 18.2.47 to 18.2.48 in /playground (#2213)
- Bump @typescript-eslint/eslint-plugin from 6.18.0 to 6.18.1 in /playground (#2215)
- Update dependencies (bulk dependabot PRs) 15-01-2024 (#2217)
- Bump follow-redirects from 1.15.3 to 1.15.4 in /playground (#2181)
- Bump github.com/getkin/kin-openapi from 0.120.0 to 0.122.0 (#2097)
- Update dependencies (bulk dependabot PRs) 08-01-2024 (#2173)
- Bump github.com/bits-and-blooms/bitset from 1.12.0 to 1.13.0 (#2160)
- Bump @types/react from 18.2.45 to 18.2.46 in /playground (#2159)
- Bump @typescript-eslint/parser from 6.15.0 to 6.16.0 in /playground (#2156)
- Bump @typescript-eslint/eslint-plugin from 6.15.0 to 6.16.0 in /playground (#2155)
- Update dependencies (bulk dependabot PRs) 27-12-2023 (#2154)
- Bump github.com/spf13/viper from 1.17.0 to 1.18.2 (#2145)
- Bump golang.org/x/crypto from 0.16.0 to 0.17.0 (#2144)
- Update dependencies (bulk dependabot PRs) 18-12-2023 (#2142)
- Bump @typescript-eslint/parser from 6.13.2 to 6.14.0 in /playground (#2136)
- Bump @types/react from 18.2.43 to 18.2.45 in /playground (#2134)
- Bump vite from 5.0.7 to 5.0.10 in /playground (#2135)
- Update dependencies (bulk dependabot PRs) 04-12-2023 (#2133)
- Bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.13.2 in /playground (#2109)
- Bump vite from 5.0.2 to 5.0.5 in /playground (#2112)
- Bump @types/react from 18.2.41 to 18.2.42 in /playground (#2108)
- Update dependencies (bulk dependabot PRs) 04-12-2023 (#2107)
- Bump @types/react from 18.2.38 to 18.2.39 in /playground (#2086)
- Bump @typescript-eslint/parser from 6.12.0 to 6.13.0 in /playground (#2085)
- Update dependencies (bulk dependabot PRs) 27-11-2023 (#2081)
- Bump swagger-ui-react from 5.10.0 to 5.10.3 in /playground (#2067)
- Bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 in /playground (#2068)
- Update dependencies (bulk dependabot PRs) 20-11-2023 (#2066)
2023-11-14
DefraDB v0.8 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.7.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add means to fetch schema (#2006)
- Rename Schema.SchemaID to Schema.Root (#2005)
- Enable playground in Docker build (#1986)
- Change GetCollectionBySchemaFoo funcs to return many (#1984)
- Add Swagger UI to playground (#1979)
- Add OpenAPI route (#1960)
- Remove CollectionDescription.Schema (#1965)
- Remove collection from patch schema (#1957)
- Make queries utilise secondary indexes (#1925)
- Allow setting of default schema version (#1888)
- Add CCIP Support (#1896)
- Fix test module relying on closed memory leak (#2037)
- Make return type for FieldKind_INT an int64 (#1982)
- Node private key requires data directory (#1938)
- Remove collection name from schema ID generation (#1920)
- Infinite loop when updating one-one relation (#1915)
- CRDT merge direction (#2016)
- Reorganise collection description storage (#1988)
- Add peerstore to multistore (#1980)
- P2P client interface (#1924)
- Deprecate CollectionDescription.Schema (#1939)
- Remove net GRPC API (#1927)
- CLI client interface (#1839)
- Update dependencies (#2044)
- Bump @typescript-eslint/parser from 6.10.0 to 6.11.0 in /playground (#2053)
- Update dependencies (bulk dependabot PRs) 13-11-2023 (#2052)
- Bump axios from 1.5.1 to 1.6.1 in /playground (#2041)
- Bump @typescript-eslint/eslint-plugin from 6.9.1 to 6.10.0 in /playground (#2042)
- Bump @vitejs/plugin-react-swc from 3.4.0 to 3.4.1 in /playground (#2022)
- Update dependencies (bulk dependabot PRs) 08-11-2023 (#2038)
- Update dependencies (bulk dependabot PRs) 30-10-2023 (#2015)
- Bump eslint-plugin and parser from 6.8.0 to 6.9.0 in /playground (#2000)
- Update dependencies (bulk dependabot PRs) 16-10-2023 (#1998)
- Update dependencies (bulk dependabot PRs) 16-10-2023 (#1976)
- Bump golang.org/x/net from 0.16.0 to 0.17.0 (#1961)
- Bump @types/react-dom from 18.2.11 to 18.2.12 in /playground (#1952)
- Bump @typescript-eslint/eslint-plugin from 6.7.4 to 6.7.5 in /playground (#1953)
- Bump combined dependencies 09-10-2023 (#1951)
- Bump @types/react from 18.2.24 to 18.2.25 in /playground (#1932)
- Bump @typescript-eslint/parser from 6.7.3 to 6.7.4 in /playground (#1933)
- Bump @vitejs/plugin-react-swc from 3.3.2 to 3.4.0 in /playground (#1904)
- Bump combined dependencies 19-09-2023 (#1931)
- Bump graphql from 16.8.0 to 16.8.1 in /playground (#1901)
- Update combined dependabot PRs 19-09-2023 (#1898)
2023-09-18
DefraDB v0.7 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.
This release has focused on robustness, testing, and schema management. Some highlight new features include notable expansions to the expressiveness of schema migrations.
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.6.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Allow field indexing by name in PatchSchema (#1810)
- Auto-create relation id fields via PatchSchema (#1807)
- Support PatchSchema relational field kind substitution (#1777)
- Add support for adding of relational fields (#1766)
- Enable downgrading of documents via Lens inverses (#1721)
- Correctly handle serialisation of nil field values (#1872)
- Compound filter operators with relations (#1855)
- Only update updated fields via update requests (#1817)
- Error when saving a deleted document (#1806)
- Prevent multiple docs from being linked in one one (#1790)
- Handle the querying of secondary relation id fields (#1768)
- Improve the way migrations handle transactions (#1737)
- Add Akash deployment configuration (#1736)
- Convert and move out of place explain tests (#1878)
- Update mutation tests to make use of mutation system (#1853)
- Test top level agg. with compound relational filter (#1870)
- Skip unsupported mutation types at test level (#1850)
- Extend mutation tests with col.Update and Create (#1838)
- Add tests for multiple one-one joins (#1793)
- Update Badger version to v4 (#1740)
- Update go-libp2p to 0.29.2 (#1780)
- Bump golangci-lint to v1.54 (#1881)
- Bump go.opentelemetry.io/otel/metric from 1.17.0 to 1.18.0 (#1890)
- Bump @tanstack/react-query from 4.35.0 to 4.35.3 in /playground (#1876)
- Bump @typescript-eslint/eslint-plugin from 6.5.0 to 6.7.0 in /playground (#1874)
- Bump @typescript-eslint/parser from 6.6.0 to 6.7.0 in /playground (#1875)
- Combined PRs 2023-09-14 (#1873)
- Bump @typescript-eslint/eslint-plugin from 6.4.0 to 6.5.0 in /playground (#1827)
- Bump go.opentelemetry.io/otel/sdk/metric from 0.39.0 to 0.40.0 (#1829)
- Bump github.com/ipfs/go-block-format from 0.1.2 to 0.2.0 (#1819)
- Combined PRs (#1826)
- Bump @typescript-eslint/parser from 6.4.0 to 6.4.1 in /playground (#1804)
- Combined PRs (#1803)
- Combined PRs (#1791)
- Combined PRs (#1778)
- Bump dependencies (#1761)
- Bump vite from 4.3.9 to 4.4.8 in /playground (#1748)
- Bump graphiql from 3.0.4 to 3.0.5 in /playground (#1730)
- Combined bumps of dependencies under /playground (#1744)
- Bump github.com/ipfs/boxo from 0.10.2 to 0.11.0 (#1726)
- Bump github.com/libp2p/go-libp2p-kad-dht from 0.24.2 to 0.24.3 (#1724)
- Bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#1725)
2023-07-31
DefraDB v0.6 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.
There are several new and powerful features, important bug fixes, and notable refactors in this release. Some highlight features include: The initial release of our LensVM based schema migration engine powered by WebAssembly (#1650), newly embedded DefraDB Playround which includes a bundled GraphQL client and schema manager, and last but not least a relation field (_id) alias to improve the developer experience (#1609).
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.5.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add
_not
operator (#1631) - Schema list API (#1625)
- Add simple data import and export (#1630)
- Playground (#1575)
- Add schema migration get and set cmds to CLI (#1650)
- Allow relation alias on create and update (#1609)
- Make fetcher calculate docFetches and fieldFetches (#1713)
- Add lens migration engine to defra (#1564)
- Add
_keys
attribute toselectNode
simple explain (#1546) - CLI commands for secondary indexes (#1595)
- Add alias to
groupBy
related object (#1579) - Non-unique secondary index (no querying) (#1450)
- Add ability to explain-debug all nodes (#1563)
- Include dockey in doc exists err (#1558)
- Better wait in CLI integration test (#1415)
- Return error when relation is not defined on both types (#1647)
- Change
core.DocumentMapping
to pointer (#1528) - Fix invalid (badger) datastore state (#1685)
- Discard index and subscription implicit transactions (#1715)
- Remove duplicated
peers
in peerstore prefix (#1678) - Return errors from typeJoinOne (#1716)
- Document change detector breaking change (#1531)
- Standardise
schema migration
CLI errors (#1682) - Introspection OrderArg returns null inputFields (#1633)
- Avoid duplicated requestable fields (#1621)
- Normalize int field kind (#1619)
- Change the WriteSyncer to use lock when piping (#1608)
- Filter splitting and rendering for related types (#1541)
- Improve CLI command documentation (#1505)
- Schema list output to include schemaVersionID (#1706)
- Reuse lens wasm modules (#1641)
- Remove redundant txn param from fetcher start (#1635)
- Remove first CRDT byte from field encoded values (#1622)
- Merge
node
intonet
and improve coverage (#1593) - Fetcher filter and field optimization (#1500)
- Rework transaction test framework capabilities (#1603)
- Expand backup integration tests (#1699)
- Disable test (#1675)
- Add tests for 1-1 group by id (#1655)
- Remove CLI tests from make test (#1643)
- Bundle test state into single var (#1645)
- Convert explain group tests to new explain setup (#1537)
- Add tests for foo_id field name clashes (#1521)
- Resume wait correctly following test node restart (#1515)
- Require no errors when none expected (#1509)
- Add workflows to push, pull, and validate docker images (#1676)
- Build mocks using make (#1612)
- Fix terraform plan and merge AMI build + deploy workflow (#1514)
- Reconfigure CodeCov action to ensure stability (#1414)
2023-05-16
- Add collection response information on creation (#1499)
- CLI client request from file (#1503)
- Add commits fieldName and fieldId fields (#1451)
- Add allowed origins config (#1408)
- Add descriptions to all system defined GQL stuff (#1387)
- Strongly type Request.Errors (#1364)
- Skip new test packages in change detector (#1495)
- Make nested joins work correctly from primary direction (#1491)
- Add reconnection to known peers (#1482)
- Rename commit field input arg to fieldId (#1460)
- Reference collectionID in p2p readme (#1466)
- Handling SIGTERM in CLI
start
command (#1459) - Update QL documentation link and replicator command (#1440)
- Fix typo in readme (#1419)
- Limit the size of http request bodies that we handle (#1405)
- Improve P2P event handling (#1388)
- Serialize DB errors to json in http package (#1401)
- Do not commit if errors have been returned (#1390)
- Unlock replicator lock before returning error (#1369)
- Improve NonNull error message (#1362)
- Use ring-buffer for WaitForFoo chans (#1359)
- Guarantee event processing order (#1352)
- Explain of _group with dockeys filter to be []string (#1348)
- Use
int32
for proper gql scalar Int parsing (#1493) - Improve rollback on peer P2P collection error (#1461)
- Improve CLI with test suite and builder pattern (#928)
- Add DB/Node Restart tests (#1504)
- Provide tests for client introspection query (#1492)
- Convert explain count tests to new explain setup (#1488)
- Convert explain sum tests to new explain setup (#1489)
- Convert explain average tests to new explain setup (#1487)
- Convert explain top-level tests to new explain setup (#1480)
- Convert explain order tests to new explain setup (#1478)
- Convert explain join tests to new explain setup (#1476)
- Convert explain dagscan tests to new explain setup (#1474)
- Add tests to assert schema id order independence (#1456)
- Capitalize all integration schema types (#1445)
- Convert explain limit tests to new explain setup (#1446)
- Improve change detector performance (#1433)
- Convert mutation explain tests to new explain setup (#1416)
- Convert filter explain tests to new explain setup (#1380)
- Retry test doc mutation on transaction conflict (#1366)
- Remove secret ssh key stuff from change detector wf (#1438)
- Fix the SSH security issue from AMI scan report (#1426)
- Add a separate workflow to run the linter (#1434)
- Allow CI to work from forked repo (#1392)
- Bump go version within packer for AWS AMI (#1344)
- Enshrine defra logger names (#1410)
- Remove some dead code (#1470)
- Update graphql-go (#1422)
- Improve logging consistency (#1424)
- Makefile tests with shorter timeout and common flags (#1397)
- Move to gofrs/uuid (#1396)
- Move to ipfs boxo (#1393)
- Document collection.txn (#1363)
- Bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#1497)
- Bump golang.org/x/net from 0.9.0 to 0.10.0 (#1496)
- Bump google.golang.org/grpc from 1.54.0 to 1.55.0 (#1464)
- Bump github.com/ipfs/boxo from 0.8.0 to 0.8.1 (#1427)
- Bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#1398)
- Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1399)
- Bump github.com/ipfs/go-blockservice from 0.5.0 to 0.5.1 (#1300)
- Bump github.com/ipfs/go-cid from 0.4.0 to 0.4.1 (#1301)
2023-04-12
DefraDB v0.5 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.
There many new features in this release, but most importantly, this is the first open source release for DefraDB. As such, this release focused on various quality of life changes and refactors, bug fixes, and overall cleanliness of the repo so it can effectively be used and tested in the public domain.
To get a full outline of the changes, we invite you to review the official changelog below. Some highlights are the first iteration of our schema update system, allowing developers to add new fields to schemas using our JSON Patch based DDL, a new DAG based delete system which will persist "soft-delete" ops into the CRDT Merkle DAG, and a early prototype for our collection level peer-to-peer synchronization.
This release does include a Breaking Change to existing v0.4.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add document delete mechanics (#1263)
- Ability to explain an executed request (#1188)
- Add SchemaPatch CLI command (#1250)
- Add support for one-one mutation from sec. side (#1247)
- Store only key in DAG instead of dockey path (#1245)
- Add collectionId field to commit field (#1235)
- Add field kind substitution for PatchSchema (#1223)
- Add dockey field for commit field (#1216)
- Allow new fields to be added locally to schema (#1139)
- Add
like
sub-string filter (#1091) - Add ability for P2P to wait for pushlog by peer (#1098)
- Add P2P collection topic subscription (#1086)
- Add support for schema version id in queries (#1067)
- Add schema version id to commit queries (#1061)
- Persist schema version at time of commit (#1055)
- Add ability to input simple explain type arg (#1039)
- API address parameter validation (#1311)
- Improve error message for NonNull GQL types (#1333)
- Handle panics in the rpc server (#1330)
- Handle returned error in select.go (#1329)
- Resolve handful of CLI issues (#1318)
- Only check for events queue on subscription request (#1326)
- Remove client Create/UpdateCollection (#1309)
- CLI to display specific command usage help (#1314)
- Fix P2P collection CLI commands (#1295)
- Dont double up badger file path (#1299)
- Update immutable package (#1290)
- Fix panic on success of Add/RemoveP2PCollections (#1297)
- Fix deadlock on memory-datastore Close (#1273)
- Determine if query is introspection query (#1255)
- Allow newly added fields to sync via p2p (#1226)
- Expose
ExplainEnum
in the GQL schema (#1204) - Resolve aggregates' mapping with deep nested subtypes (#1175)
- Make sort stable and handle nil comparison (#1094)
- Change successful schema add status to 200 (#1106)
- Add delay in P2P test util execution (#1093)
- Ensure errors test don't hard expect folder name (#1072)
- Remove potential P2P deadlock (#1056)
- Rework the P2P integration tests (#989)
- Improve DAG sync with highly concurrent updates (#1031)
- Update docs for the v0.5 release (#1320)
- Document client interfaces in client/db.go (#1305)
- Document client Description types (#1307)
- Improve security policy (#1240)
- Add security disclosure policy (#1194)
- Correct commits query example in readme (#1172)
- Improve p2p collection operations on peer (#1286)
- Migrate gql introspection tests to new framework (#1211)
- Reorganise client transaction related interfaces (#1180)
- Config-local viper, rootdir, and logger parsing (#1132)
- Migrate mutation-relation tests to new framework (#1109)
- Rework integration test framework (#1089)
- Generate gql types using col. desc (#1080)
- Extract config errors to dedicated file (#1107)
- Change terminology from query to request (#1054)
- Allow db keys to handle multiple schema versions (#1026)
- Extract query schema errors to dedicated file (#1037)
- Extract planner errors to dedicated file (#1034)
- Extract query parser errors to dedicated file (#1035)
- Remove test reference to DEFRA_ROOTDIR env var (#1328)
- Expand tests for Peer subscribe actions (#1287)
- Fix flaky TestCloseThroughContext test (#1265)
- Add gql introspection tests for patch schema (#1219)
- Explicitly state change detector split for test (#1228)
- Add test for successful one-one create mutation (#1215)
- Ensure that all databases are always closed on exit (#1187)
- Add P2P tests for Schema Update adding field (#1182)
- Migrate P2P/state tests to new framework (#1160)
- Remove sleep from subscription tests (#1156)
- Fetch documents on test execution start (#1163)
- Introduce basic testing for the
version
module (#1111) - Boost test coverage for collection_update (#1050)
- Wait between P2P update retry attempts (#1052)
- Exclude auto-generated protobuf files from codecov (#1048)
- Add P2P tests for relational docs (#1042)
- Add workflow that builds DefraDB AMI upon tag push (#1304)
- Allow PR title to end with a capital letter (#1291)
- Changes for
dependabot
to be well-behaved (#1165) - Skip benchmarks for dependabot (#1144)
- Add workflow to ensure deps build properly (#1078)
- Runner and Builder Containerfiles (#951)
- Fix go-header linter rule to be any year (#1021)
- Add Islam as contributor (#1302)
- Update go-libp2p to 0.26.4 (#1257)
- Improve the test coverage of datastore (#1203)
- Add issue and discussion templates (#1193)
- Bump libp2p/go-libp2p-kad-dht from 0.21.0 to 0.21.1 (#1146)
- Enable dependabot (#1120)
- Update
opentelemetry
dependencies (#1114) - Update dependencies including go-ipfs (#1112)
- Bump to GoLang v1.19 (#818)
- Remove versionedScan node (#1049)
- Bump github.com/multiformats/go-multiaddr from 0.8.0 to 0.9.0 (#1277)
- Bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#1233)
- Bump github.com/multiformats/go-multibase from 0.1.1 to 0.2.0 (#1230)
- Bump github.com/ipfs/go-libipfs from 0.6.2 to 0.7.0 (#1231)
- Bump github.com/ipfs/go-cid from 0.3.2 to 0.4.0 (#1200)
- Bump github.com/ipfs/go-ipfs-blockstore from 1.2.0 to 1.3.0 (#1199)
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#1198)
- Bump github.com/ipfs/go-libipfs from 0.6.1 to 0.6.2 (#1201)
- Bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#1197)
- Bump libp2p/go-libp2p-gostream from 0.5.0 to 0.6.0 (#1152)
- Bump github.com/ipfs/go-libipfs from 0.5.0 to 0.6.1 (#1166)
- Bump github.com/ugorji/go/codec from 1.2.9 to 1.2.11 (#1173)
- Bump github.com/libp2p/go-libp2p-pubsub from 0.9.0 to 0.9.3 (#1183)
2023-12-23
DefraDB v0.4 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.
There are various new features in this release - some of which are breaking - and we invite you to review the official changelog below. Some highlights are persistence of replicators, DateTime scalars, TLS support, and GQL subscriptions.
This release does include a Breaking Change to existing v0.3.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add basic metric functionality (#971)
- Add thread safe transactional in-memory datastore (#947)
- Persist p2p replicators (#960)
- Add DateTime custom scalars (#931)
- Add GraphQL subscriptions (#934)
- Add support for tls (#885)
- Add group by support for commits (#887)
- Add depth support for commits (#889)
- Make dockey optional for allCommits queries (#847)
- Add WithStack to the errors package (#870)
- Add event system (#834)
- Correct errors.WithStack behaviour (#984)
- Correctly handle nested one to one joins (#964)
- Do not assume parent record exists when joining (#963)
- Change time format for HTTP API log (#910)
- Error if group select contains non-group-by fields (#898)
- Add inspection of values for ENV flags (#900)
- Remove panics from document (#881)
- Add __typename support (#871)
- Handle subscriber close (#877)
- Publish update events post commit (#866)
- Make rootstore require Batching and TxnDatastore (#940)
- Conceptually clarify schema vs query-language (#924)
- Decouple db.db from gql (#912)
- Merkle clock heads cleanup (#918)
- Simplify dag fetcher (#913)
- Cleanup parsing logic (#909)
- Move planner outside the gql directory (#907)
- Refactor commit nodes (#892)
- Make latest commits syntax sugar (#890)
- Remove commit query (#841)
- Add event tests (#965)
- Add new setup for testing explain functionality (#949)
- Add txn relation-type delete and create tests (#875)
- Skip change detection for tests that assert panic (#883)
- Bump all gh-action versions to support node16 (#990)
- Bump ssh-agent action to v0.7.0 (#978)
- Add error message format check (#901)
- Extract (events, merkle) errors to errors.go (#973)
- Extract (datastore, db) errors to errors.go (#969)
- Extract (connor, crdt, core) errors to errors.go (#968)
- Extract inline (http and client) errors to errors.go (#967)
- Update badger version (#966)
- Move Option and Enumerable to immutables (#939)
- Add configuration of external loggers (#942)
- Strip DSKey prefixes and simplify NewDataStoreKey (#944)
- Include version metadata in cross-building (#930)
- Update to v0.23.2 the libP2P package (#908)
- Remove
ipfslite
dependency (#739)
2022-09-23
DefraDB v0.3.1 is a minor release, primarily focusing on additional/extended features and fixes of items added in the v0.3.0
release.
- Add cid support for allCommits (#857)
- Add offset support to allCommits (#859)
- Add limit support to allCommits query (#856)
- Add order support to allCommits (#845)
- Display CLI usage on user error (#819)
- Add support for dockey filters in child joins (#806)
- Add sort support for numeric aggregates (#786)
- Allow filtering by nil (#789)
- Add aggregate offset support (#778)
- Remove filter depth limit (#777)
- Add support for and-or inline array aggregate filters (#779)
- Add limit support for aggregates (#771)
- Add support for inline arrays of nillable types (#759)
- Create errors package (#548)
- Add ability to display peer id (#719)
- Add a config option to set the vlog max file size (#743)
- Explain
topLevelNode
like aMultiNode
plan (#749) - Make
topLevelNode
explainable (#737)
- Order subtype without selecting the join child (#810)
- Correctly handles nil one-one joins (#837)
- Reset scan node for each join (#828)
- Handle filter input field argument being nil (#787)
- Ensure CLI outputs JSON to stdout when directed to pipe (#804)
- Error if given the wrong side of a one-one relationship (#795)
- Add object marker to enable return of empty docs (#800)
- Resolve the extra
typeIndexJoin
s for_avg
aggregate (#774) - Remove _like filter operator (#797)
- Remove having gql types (#785)
- Error if child _group selected without parent groupBy (#781)
- Error nicely on missing field specifier (#782)
- Handle order input field argument being nil (#701)
- Change output to outputpath in config file template for logger (#716)
- Delete mutations not correct persisting all keys (#731)
- Clarify meaning of url param, update in-repo CLI docs (#814)
- Disclaimer of exposed to network and not encrypted (#793)
- Update logo to respect theme (#728)
- Replace all
interface{}
withany
alias (#805) - Use fastjson to parse mutation data string (#772)
- Rework limit node flow (#767)
- Make Option immutable (#769)
- Rework sum and count nodes to make use of generics (#757)
- Remove some possible panics from codebase (#732)
- Change logging calls to use feedback in CLI package (#714)
- Add tests for aggs with nil filters (#813)
- Add not equals filter tests (#798)
- Fix
cli/peerid_test
to not clash addresses (#766) - Add change detector summary to test readme (#754)
- Add tests for inline array grouping (#752)
- Reduce test resource usage and test with file db (#791)
- Add makefile target to verify the local module cache (#775)
- Allow PR titles to end with a number (#745)
- Add a workflow to validate pull request titles (#734)
- Fix the linter version to
v1.47
(#726)
- Remove file system paths from resulting executable (#831)
- Add goimports linter for consistent imports ordering (#816)
- Improve UX by providing more information (#802)
- Change to defra errors and handle errors stacktrace (#794)
- Clean up
go.mod
with pruned module graphs (#756) - Update to v0.20.3 of libp2p (#740)
- Bump to GoLang
v1.18
(#721)
2022-08-02
DefraDB v0.3 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.
There are several new features in this release, and we invite you to review the official changelog below. Some highlights are various new features for Grouping & Aggregation for the query system, like top-level aggregation and group filtering. Moreover, a brand new Query Explain system was added to introspect the execution plans created by DefraDB. Lastly we introduced a revamped CLI configuration system.
This release does include a Breaking Change to existing v0.2.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/.
- Add named config overrides (#659)
- Expose color and caller log options, add validation (#652)
- Add ability to explain
groupNode
and it's attribute(s). (#641) - Add primary directive for schema definitions (@primary) (#650)
- Add support for aggregate filters on inline arrays (#622)
- Add explainable renderLimitNode & hardLimitNode attributes. (#614)
- Add support for top level aggregates (#594)
- Update
countNode
explanation to be consistent. (#600) - Add support for stdin as input in CLI (#608)
- Explain
cid
&field
attributes fordagScanNode
(#598) - Add ability to explain
dagScanNode
attribute(s). (#560) - Add the ability to send user feedback to the console even when logging to file. (#568)
- Add ability to explain
sortNode
attribute(s). (#558) - Add ability to explain
sumNode
attribute(s). (#559) - Introduce top-level config package (#389)
- Add ability to explain
updateNode
attributes. (#514) - Add
typeIndexJoin
explainable attributes. (#499) - Add support to explain
countNode
attributes. (#504) - Add CORS capability to HTTP API (#467)
- Add explaination of spans for
scanNode
. (#492) - Add ability to Explain the response plan. (#385)
- Add aggregate filter support for groups only (#426)
- Configurable caller option in logger (#416)
- Add Average aggregate support (#383)
- Allow summation of aggregates (#341)
- Add ability to check DefraDB CLI version. (#339)
- Add a check to ensure limit is not 0 when evaluating query limit and offset (#706)
- Support multiple
--logger
flags (#704) - Return without an error if relation is finalized (#698)
- Logger not correctly applying named config (#696)
- Add content-type media type parsing (#678)
- Remove portSyncLock deadlock condition (#671)
- Silence cobra default errors and usage printing (#668)
- Add stdout validation when setting logging output path (#666)
- Consider
--logoutput
CLI flag properly (#645) - Handle errors and responses in CLI
client
commands (#579) - Rename aggregate gql types (#638)
- Error when attempting to insert value into relationship field (#632)
- Allow adding of new schema to database (#635)
- Correctly parse dockey in broadcast log event. (#631)
- Increase system's open files limit in integration tests (#627)
- Avoid populating
order.ordering
with empties. (#618) - Change to supporting of non-null inline arrays (#609)
- Assert fields exist in collection before saving to them (#604)
- CLI
init
command to reinitialize only config file (#603) - Add config and registry clearing to TestLogWritesMessagesToFeedbackLog (#596)
- Change
$eq
to_eq
in the failing test. (#576) - Resolve failing HTTP API tests via cleanup (#557)
- Ensure Makefile compatibility with macOS (#527)
- Separate out iotas in their own blocks. (#464)
- Use x/cases for titling instead of strings to handle deprecation (#457)
- Handle limit and offset in sub groups (#440)
- Issue preventing DB from restarting with no records (#437)
- log serving HTTP API before goroutine blocks (#358)
- Add integration testing for P2P. (#655)
- Fix formatting of tests with no extra brackets (#643)
- Add tests for
averageNode
explain. (#639) - Add schema integration tests (#628)
- Add tests for default properties (#611)
- Specify which collection to update in test framework (#601)
- Add tests for grouping by undefined value (#543)
- Add test for querying undefined field (#544)
- Expand commit query tests (#541)
- Add cid (time-travel) query tests (#539)
- Restructure and expand filter tests (#512)
- Basic unit testing of
node
package (#503) - Test filter in filter tests (#473)
- Add test for deletion of records in a relationship (#329)
- Benchmark transaction iteration (#289)
- Improve CLI error handling and fix small issues (#649)
- Add top-level
version
package (#583) - Remove extra log levels (#634)
- Change
sortNode
toorderNode
. (#591) - Rework update and delete node to remove secondary planner (#571)
- Trim imported connor package (#530)
- Internal doc restructure (#471)
- Copy-paste connor fork into repo (#567)
- Add safety to the tests, add ability to catch stderr logs and add output path validation (#552)
- Change handler functions implementation and response formatting (#498)
- Improve the HTTP API implementation (#382)
- Use new logger in net/api (#420)
- Rename NewCidV1_SHA2_256 to mixedCaps (#415)
- Remove utils package (#397)
- Rework planNode Next and Value(s) function (#374)
- Restructure aggregate query syntax (#373)
- Remove dead code from client package and document remaining (#356)
- Restructure datastore keys (#316)
- Add commits lost during github outage (#303)
- Move public members out of core and base packages (#295)
- Make db stuff internal/private (#291)
- Rework client.DB to ensure interface contains only public types (#277)
- Remove GetPrimaryIndexDocKey from collection interface (#279)
- Remove DataStoreKey from (public) dockey struct (#278)
- Renormalize to ensure consistent file line termination. (#226)
- Strongly typed key refactor (#17)
- Use permanent link to BSL license document (#692)
- README update v0.3.0 (#646)
- Improve code documentation (#533)
- Add CONTRIBUTING.md (#531)
- Add package level docs for logging lib (#338)
- Include all touched packages in code coverage (#673)
- Use
gotestsum
overgo test
(#619) - Update Github pull request template (#524)
- Fix the cross-build script (#460)
- Add test coverage html output (#466)
- Add linter rule for
goconst
. (#398) - Add github PR template. (#394)
- Disable auto-fixing linter issues by default (#429)
- Fix linting of empty
else
code blocks (#402) - Add the
gofmt
linter rule. (#405) - Cleanup linter config file (#400)
- Add linter rule for copyright headers (#360)
- Organize our config files and tooling. (#336)
- Limit line length to 100 characters (linter check) (#224)
- Ignore db/tests folder and the bench marks. (#280)
- Fix circleci cache permission errors. (#371)
- Ban extra elses (#366)
- Fix change-detection to not fail when new tests are added. (#333)
- Update golang-ci linter and explicit go-setup to use v1.17 (#331)
- Comment the benchmarking result comparison to the PR (#305)
- Add benchmark performance comparisons (#232)
- Add caching / storing of bench report on default branch (#290)
- Ensure full-benchmarks are ran on a PR-merge. (#282)
- Add ability to control benchmarks by PR labels. (#267)
- Update APL to refer to D2 Foundation (#711)
- Update gitignore to include
cmd
folders (#617) - Enable random execution order of tests (#554)
- Enable linters exportloopref, nolintlint, whitespace (#535)
- Add utility for generation of man pages (#493)
- Add Dockerfile (#517)
- Enable errorlint linter (#520)
- Binaries in
cmd
folder, examples inexamples
folder (#501) - Improve log outputs (#506)
- Move testing to top-level
tests
folder (#446) - Update dependencies (#450)
- Update go-ipfs-blockstore and ipfs-lite (#436)
- Update libp2p dependency to v0.19 (#424)
- Update ioutil package to io / os packages. (#376)
- git ignore vscode (#343)
- Updated README.md contributors section (#292)
- Update changelog v0.2.1 (#252)
2022-03-04
- Add ability to delete multiple documents using filter (#206)
- Add ability to delete multiple documents, using multiple ids (#196)
- Concurrency control of Document using RWMutex (#213)
- Only log errors and above when benchmarking (#261)
- Handle proper type conversion on sort nodes (#228)
- Return empty array if no values found (#223)
- Close fetcher on error (#210)
- Installing binary using defradb name (#190)
- Add short benchmark runner option (#263)
- Add data format changes documentation folder (#89)
- Correcting typos (#143)
- Update generated CLI docs (#208)
- Updated readme with P2P section (#220)
- Update old or missing license headers (#205)
- Update git-chglog config and template (#195)
- Introduction of logging system (#67)
- Restructure db/txn/multistore structures (#199)
- Initialize database in constructor (#211)
- Purge all println and ban it (#253)
- Detect and force breaking filesystem changes to be documented (#89)
- Boost collection test coverage (#183)
- Combine the Lint and Benchmark workflows so that the benchmark job depends on the lint job in one workflow (#209)
- Add rule to only run benchmark if other check are successful (#194)
- Increase linter timeout (#230)
2022-02-07
DefraDB v0.2 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.
This release is jam-packed with new features and a small number of breaking changes. Read the full changelog for a detailed description. Most notable features include a new Peer-to-Peer (P2P) data synchronization system, an expanded query system to support GroupBy & Aggregate operations, and lastly TimeTraveling queries allowing to query previous states of a document.
Much more than just that has been added to ensure we're building reliable software expected of any database, such as expanded test & benchmark suites, automated bug detection, performance gains, and more.
This release does include a Breaking Change to existing v0.1 databases regarding the internal data model, which affects the "Content Identifiers" we use to generate DocKeys and VersionIDs. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ.
- Added Peer-to-Peer networking data synchronization (#177)
- TimeTraveling (History Traversing) query engine and doc fetcher (#59)
- Add Document Deletion with a Key (#150)
- Add support for sum aggregate (#121)
- Add support for lwwr scalar arrays (full replace on update) (#115)
- Add count aggregate support (#102)
- Add support for named relationships (#108)
- Add multi doc key lookup support (#76)
- Add basic group by functionality (#43)
- Update datastore packages to allow use of context (#48)
- Only add join if aggregating child object collection (#188)
- Handle errors generated during input object thunks (#123)
- Remove new types from in-memory cache on generate error (#122)
- Support relationships where both fields have the same name (#109)
- Handle errors generated in fields thunk (#66)
- Ensure OperationDefinition case has at least one selection(#24)
- Close datastore iterator on scan close (#56) (resulted in a panic when using limit)
- Close superseded iterators before orphaning (#56) (fixes a panic in the join code)
- Move discard to after error check (#88) (did result in panic if transaction creation fails)
- Check for nil iterator before closing document fetcher (#108)
- Added benchmark suite (#160)
- Add transaction integration tests (#175)
- Allow running of tests using badger-file as well as IM options (#128)
- Add test datastore selection support (#88)
- Datatype modification protection (#138)
- Cleanup Linter Complaints and Setup Makefile (#63)
- Rework document rendering to avoid data duplication and mutation (#68)
- Remove dependency on concrete datastore implementations from db package (#51)
- Remove all
errors.Wrap
and update them withfmt.Errorf
. (#41) - Restructure integration tests to provide better visibility (#15)
- Remove schemaless code branches (#23)
- Use more accurate test coverage. (#134)
- Disable Codecov's Patch Check
- Make codcov less strict for now to unblock development (#125)
- Add codecov config file. (#118)
- Add workflow that runs a job on AWS EC2 instance. (#110)
- Add Code Test Coverage with CodeCov (#116)
- Integrate GitHub Action for golangci-lint Annotations (#106)
- Add Linter Check to CircleCi (#92)
- Remove the S1038 rule of the gosimple linter. (#129)
- Update to badger v3, and use badger as default in memory store (#56)
- Make Cid versions consistent (#57)
2021-03-15