Releases: dgraph-io/dgraph
v24.0.5
What's Changed
- fix(core): fix duplicate mutation entries for count index (#9208) by @harshil-goel in #9209
- Update cd-dgraph.yml to create unique artifacts by @meghalims in #9194
Full Changelog: v24.0.4...v24.0.5
v24.0.4
Fixed
-
Vector
-
Core
- fix(core): update latest badger (#9169)
- fix(core): Update error msg for txn too old to give more context(#9170)
- fix(core): fix sampling rate of jaeger #9147 (#9147)
- fix(core): add the posting list risteretto cache back (#9181)
- fix(multi-tenancy): upsert groot for namespace after drop data (#9159)
- feat(core): use /v24 in the import (#9131)
- fix(DQL): unsupported ordering should raise an error (#9173)
- fix(tests): add explicit permissions for Trivy scan(#9130)
/pull/9185 - feat(core): Expose APIs that can be used outside Dgraph (#9176)
-
GraphQL
-
Chore
- upgrade dgo to v240.0.0 (#9154)
- chore(): add Dependabot version bumps (#9132)
- chore(deps): bump actions/labeler from 4 to 5 (#9134)
- chore(deps): bump golangci/golangci-lint-action from 4 to 6 (#9133)
- chore(deps): bump docker/login-action from 2 to 3 (#9135)
- chore(deps): bump actions/upload-artifact from 3 to 4 (#9136)
- chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 (#9139)
- chore(deps): bump github.com/bits-and-blooms/bitset from 1.13.0 to 1.14.2 (#9140)
- chore(deps): bump github.com/prometheus/client_golang from 1.20.1 to 1.20.2 (#9142)
- chore(deps): bump golang.org/x/mod from 0.20.0 to 0.21.0 (#9157)
- chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 (#9156)
- chore(deps): bump github.com/dgraph-io/dgo/v240 from 240.0.0-rc1 to 240.0.0 (#9155)
- chore: Upgrade go.mod dependencies, fix jose v2 vulnerability, upgrade jemalloc (#9158)
- chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.1 (#9163)
- chore(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0 (#9152)
- chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0 (#9151)
- chore(deps): bump github.com/docker/docker from 27.1.2+incompatible to 27.2.0+incompatible (#9150)
- chore(deps): bump the minor-and-patch group across 1 directory with 2 updates (#9174)
- chore(deps): bump github.com/docker/docker from 24.0.5+incompatible to 25.0.6+incompatible (#9123)
- chore(deps): bump the minor-and-patch group with 2 updates (#9178)
- chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1 in the minor-and-patch group (#9178)
v24.0.2
What's Changed
-
Fixed
-
Chore
- chore(deps): bump certifi from 2023.7.22 to 2024.7.4 in /contrib/config/marketplace/aws/tests by @dependabot in #9110
- chore(deps): bump idna from 2.9 to 3.7 in /contrib/config/marketplace/aws/tests by @dependabot in #9072
-
Perf
Full Changelog: v24.0.1...v24.0.2
Dgraph v24.0.1
What's Changed
Warning
After upgrading to v24.0.1, vector index needs to be rebuilt as underlying data has changed.
-
Fixed
- fix(core): Fix regression in parsing json empty string #9108
- fix(upgrade): fix failing upgrade tests #9042
- fix(ci): fixing health endpoint issue #9116
- Fix(graphql): issue with local variable squashing intended JWK index by @matthewmcneely in #9114
-
Chore
-
Perf
- perf(vector): updated marshalling of vector #9109
Full Changelog: v24.0.0...v24.0.1
Dgraph v24.0.0
Added
-
Vector
- feat(graphql): Add vector support to graphql (#9074)
- feat(vector): add vector to schema in #9060
- feat(vector): Added similar_to in vector in #9062
- feat(vector): Add vector type to Dgraph in #9050
- feat(vector): fix live loader and add tests for dropall, drop namespace, live load in #9063
- fix(vector): show error is invalid input is provided to vector predicate in #9064
- fix(vector):fix similar_to() error return when data is not present in #9084
- fix(vector): Update query_rewriter to fix dotproduct and cosine query conversion in #9083
-
Core
- feat(core): Add cache to dgraph.type predicate in #9068
- [BREAKING]feat(core): add unique constraint support in schema for new predicates in #8827
- feat(debug): add parse_key to debug tool in #7640
- feat(acl): support more JWT algorithms for ACL by in #8912
- feat(restore): add support for namespace aware restore by in #8968
-
GraphQL
Fixed
-
Core
- Fix(debug): Close file correctly before exiting on error in #9076
- fix(restore): fix incr restore and normal restore for vector predicates in #9078
- Fix(core): Fix deadlock in runMutation and error handling in #9085
- chore(upgrade): run tests from v23.1.0 -> main in #9097
- fix(core): Fixed deadlock that happens due to timeout in #9007
- fix(core): limit #edges using LimitMutationsNquad config and add logs in #9010
- fix(core): Update math parsing function by in #9053
- chore(deps): upgrade etcd/raft to v3 by in #7688
- chore(restore): add more logs for restore request (#8050) in #8975
- fix(restore): use different map directory for each group (#8047) in #8972
- fix(export): Support for any s3 endpoint by in #8978
- fix(restore): use custom type for sensitive fields by in #8969
- fix(export): Escape MySQL column names in #8961
- fix(debug): fix debug tool for schema keys in #7939
- fix(restore): allow incrementalFrom to be 1 in restore API by in #8988
- fix(raft):alpha leader fails to stream snapshot to new alpha nodes in #9022
- fix(query): fix has function in filter in #9043
- fix(core):Reduce x.ParsedKey memory allocation from 72 to 56 bytes by optimizing struct memory alignment in #9047
- fix(restore): do not retry restore proposal (#8058) in #9017
-
Perf
-
Chore
- upgrade(go): update go version to 1.22 in #9058
- chore(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 by in #8982
- chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in #9015
- chore(deps): use bleve 2.3.10 for more languages in full text search in #9030
- chore(deps): bump golang.org/x/crypto from 0.12.0 to 0.17.0 in #9032
- chore(deps): bump urllib3 from 1.26.5 to 1.26.18 in /contrib/config/marketplace/aws/tests in #9018
- chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3 in #9024
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0in #9051
Warning
24.0.0 contains a breaking change for any Dgraph cluster having ACL with duplicate users and/or groups.
If you have any duplicate users or groups in Dgraph ACL, those would not be accessible after upgrade. Please delete any duplicate
users before you upgrade to 24.0.0. File format is the same, so binary can be directly replaced after deleting duplicate
users.
Dgraph v24.0.0-rc1
What's Changed
The following is the list of the changes that we have made from v24.0.0-alpha3 to v24.0.0-rc1. This is a release candidate for community and customers to try.
Added
- Vector
- Core
- feat(core): Add cache to dgraph.type predicate in #9068
Fixed
-
Core
-
Perf
Full Changelog: v24.0.0-alpha3...v24.0.0-rc1
Dgraph v24.0.0-alpha3
##What's Changed
The following is the list of the changes that we have made from v24.0.0-alpha2 to v24.0.0-alpha3. This is an alpha release for community feedback.
#Added
Feat(graphql): Add vector support to graphql (#9074)
Dgraph v23.1.1
The following is the list of the changes that we have made from v23.1.0 to v23.1.1
Fixed
- Core
- perf(core): Fix performance issue in type filter (#9065)
Dgraph v24.0.0-alpha2
What's Changed
The following is the list of the changes that we have made from v23.1 to v24-alpha. This is an alpha release for community feedback.
Added
-
Vector
- feat(vector): add vector to schema in #9060
- feat(vector): Added similar_to in vector in #9062
- feat(vector): Add vector type to Dgraph in #9050
- feat(vector): fix live loader and add tests for dropall, drop namespace, live load in #9063
- fix(vector): show error is invalid input is provided to vector predicate in #9064
-
GraphQL
-
Core
- feat(core): add unique constraint support in schema for new predicates in #8827
- feat(debug): add parse_key to debug tool in #7640
- feat(acl): support more JWT algorithms for ACL by in #8912
- feat(restore): add support for namespace aware restore by in #8968
Fixed
-
Core
- fix(core): Fixed deadlock that happens due to timeout in #9007
- fix(core): limit #edges using LimitMutationsNquad config and add logs in #9010
- fix(core): Update math parsing function by in #9053
- chore(deps): upgrade etcd/raft to v3 by in #7688
- chore(restore): add more logs for restore request (#8050) in #8975
- fix(restore): use different map directory for each group (#8047) in #8972
- fix(export): Support for any s3 endpoint by in #8978
- fix(restore): use custom type for sensitive fields by in #8969
- fix(export): Escape MySQL column names in #8961
- fix(debug): fix debug tool for schema keys in #7939
- fix(restore): allow incrementalFrom to be 1 in restore API by in #8988
- fix(raft):alpha leader fails to stream snapshot to new alpha nodes in #9022
- fix(query): fix has function in filter in #9043
- fix(core):Reduce x.ParsedKey memory allocation from 72 to 56 bytes by optimizing struct memory alignment in #9047
- fix(restore): do not retry restore proposal (#8058) in #9017
-
Perf
-
Chore
- upgrade(go): update go version to 1.22 in #9058
- chore(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 by in #8982
- chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in #9015
- chore(deps): use bleve 2.3.10 for more languages in full text search in #9030
- chore(deps): bump golang.org/x/crypto from 0.12.0 to 0.17.0 in #9032
- chore(deps): bump urllib3 from 1.26.5 to 1.26.18 in /contrib/config/marketplace/aws/tests in #9018
- chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3 in #9024
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0in #9051
v23.1.0
Remarks
In Badger PR #1948 we have updated and fixed certain metrics in Badger. These name changes will also be reflected in this Dgraph version.
Added
-
Core Dgraph
- perf(query): Improve IntersectCompressedWithBin for UID Pack (#8941)
- feat(query): add feature flag normalize-compatibility-mode (#8845) (#8929)
- feat(alpha): support RDF response via http query request (#8004) (#8639)
- perf(query): speed up parsing of a huge query (#8942)
- fix(live): replace panic in live loader with errors (#7798) (#8944)
-
GraphQL
Fixed
-
Core Dgraph
- docs(zero): add comments in zero and clarify naming (#8945)
- fix(cdc): skip bad events in CDC (#8076)
- fix(bulk): enable running bulk loader with only gql schema (#8903)
- chore(badger): upgrade badger to v4.2.0 (#8932) (#8925)
- doc(restore): add docs for mutations in between incremental restores (#8908)
- chore: fix compilation on 32bit (#8895)
- chore(raft): add debug logs to print all transactions (#8890)
- chore(alpha): add logs for processing entries in applyCh (#8930)
- fix(acl): allow data deletion for non-reserved predicates (#8937)
- fix(alpha): convert numbers correctly in superflags (#7712) (#8943)
- chore(raft): better logging message for cleaning banned ns pred (#7886)
-
Security
- sec(acl): convert x.Sensitive to string type for auth hash (#8931)
- chore(deps): bump google.golang.org/grpc from 1.52.0 to 1.53.0 (#8900)
- chore(deps): bump certifi from 2022.12.7 to 2023.7.22 in /contrib/config/marketplace/aws/tests (#8920)
- chore(deps): bump certifi from 2022.12.7 to 2023.7.22 in /contrib/embargo (#8921)
- chore(deps): bump pygments from 2.7.4 to 2.15.0 in /contrib/embargo (#8913)
- chore: upgrade bleve to v2.3.9 (#8948)
-
CI & Testing
- chore: update cron job frequency to reset github notifications (#8956)
- test(upgrade): add v20.11 upgrade tests in query package (#8954)
- chore(contrib) - fixes for Vault (#7739)
- chore(build): make build codename configurable (#8951)
- fix(upgrade): look for version string in logs bottom up (#8926)
- fix(upgrade): check commit SHA to find running dgraph version (#8923)
- chore(upgrade): run upgrade tests for v23.0.1 (#8918)
- chore(upgrade): ensure we run right version of Dgraph (#8910)
- chore(upgrade): add workaround for multiple groot issue in export-import (#8897)
- test(upgrade): add upgrade tests for systest/license package (#8902)
- chore(upgrade): increase the upgrade job duration limit to 12h (#8907)
- chore(upgrade): increase the duration of the CI workflow (#8906)
- ci(upgrade): break down upgrade tests CI workflow (#8904)
- test(acl): add upgrade tests for ee/acl package (#8792)
- chore: update pull request template (#8899)