v24.0.5
- fix(core): fix duplicate mutation entries for count index (#9208) by @harshil-goel in https://github.com/dgraph-io/dgraph/pull/9209
- Update cd-dgraph.yml to create unique artifacts by @meghalims in https://github.com/dgraph-io/dgraph/pull/9194
Full Changelog: https://github.com/dgraph-io/dgraph/compare/v24.0.4...v24.0.5
v24.0.4
-
Vector
- fix(vector): fixed euclidean spelling and a bug in parameters (#9165)
- fix(vector): fix index rebuild when options change (#9149)
-
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 https://github.com/dgraph-io/dgraph/pull/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
- feat(graphql): adds @default directive to graphql (#8017)(#8837)
-
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
-
Fixed
- fix(core): Fix namespace used by unique query https://github.com/dgraph-io/dgraph/pull/9119
- fix(core): Fix regression in computing cond variables https://github.com/dgraph-io/dgraph/pull/9126
- fix(live): Fix derigster while retrying https://github.com/dgraph-io/dgraph/pull/9121
-
Chore
- chore(deps): bump certifi from 2023.7.22 to 2024.7.4 in /contrib/config/marketplace/aws/tests by @dependabot in https://github.com/dgraph-io/dgraph/pull/9110
- chore(deps): bump idna from 2.9 to 3.7 in /contrib/config/marketplace/aws/tests by @dependabot in https://github.com/dgraph-io/dgraph/pull/9072
-
Perf
- perf(query): Read just the latest value for scalar types https://github.com/dgraph-io/dgraph/pull/8966
- perf(vector): Add heap to neighbour edges https://github.com/dgraph-io/dgraph/pull/9122
Full Changelog: https://github.com/dgraph-io/dgraph/compare/v24.0.1...v24.0.2
Dgraph v24.0.1
-
Fixed
- fix(core): Fix regression in parsing json empty string https://github.com/dgraph-io/dgraph/pull/9108
- fix(upgrade): fix failing upgrade tests https://github.com/dgraph-io/dgraph/pull/9042
- fix(ci): fixing health endpoint issue https://github.com/dgraph-io/dgraph/pull/9116
- Fix(graphql): issue with local variable squashing intended JWK index by @matthewmcneely in https://github.com/dgraph-io/dgraph/pull/9114
-
Chore
- chore(deps): bump urllib3 from 1.26.18 to 1.26.19 /contrib/config/marketplace/aws/tests https://github.com/dgraph-io/dgraph/pull/9103
- chore(deps): bump requests from 2.31.0 to 2.32.0 /contrib/config/marketplace/aws/tests https://github.com/dgraph-io/dgraph/pull/9090
-
Perf
- perf(vector): updated marshalling of vector https://github.com/dgraph-io/dgraph/pull/9109
Full Changelog: https://github.com/dgraph-io/dgraph/compare/v24.0.0...v24.0.1
Dgraph v24.0.0
-
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
- feat(vector): Added lang support by in #8924
- feat(graphql): allow updatable and nullable id fields. (#7736) in #9020
-
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
- perf(core): Fix performance issue in type filter (#9065) in #9089
- perf(core): Update postinglistCountAndLength function to improve performance in #9088
- perf(query): use quickselect instead of sorting while pagination by in #8995
- perf(query): Update CompressedBin IntersectionAlgo by in #9000
-
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
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.
- Vector
- fix(vector):fix similar_to() error return when data is not present in https://github.com/dgraph-io/dgraph/pull/9084
- fix(vector): Update query_rewriter to fix dotproduct and cosine query conversion in https://github.com/dgraph-io/dgraph/pull/9083
- Core
- feat(core): Add cache to dgraph.type predicate in https://github.com/dgraph-io/dgraph/pull/9068
-
Core
- Fix(debug): Close file correctly before exiting on error in https://github.com/dgraph-io/dgraph/pull/9076
- fix(restore): fix incr restore and normal restore for vector predicates in https://github.com/dgraph-io/dgraph/pull/9078
- Fix(core): Fix deadlock in runMutation and error handling in https://github.com/dgraph-io/dgraph/pull/9085
- chore(upgrade): run tests from v23.1.0 -> main in https://github.com/dgraph-io/dgraph/pull/9097
-
Perf
- perf(core): Fix performance issue in type filter (#9065) in https://github.com/dgraph-io/dgraph/pull/9089
- perf(core): Update postinglistCountAndLength function to improve performance in https://github.com/dgraph-io/dgraph/pull/9088
Full Changelog: https://github.com/dgraph-io/dgraph/compare/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 (https://github.com/dgraph-io/dgraph/pull/9074)
Dgraph v24.0.0-alpha2
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.
-
Vector
- feat(vector): add vector to schema in https://github.com/dgraph-io/dgraph/pull/9060
- feat(vector): Added similar_to in vector in https://github.com/dgraph-io/dgraph/pull/9062
- feat(vector): Add vector type to Dgraph in https://github.com/dgraph-io/dgraph/pull/9050
- feat(vector): fix live loader and add tests for dropall, drop namespace, live load in https://github.com/dgraph-io/dgraph/pull/9063
- fix(vector): show error is invalid input is provided to vector predicate in https://github.com/dgraph-io/dgraph/pull/9064
-
GraphQL
- feat(vector): Added lang support by in https://github.com/dgraph-io/dgraph/pull/8924
- feat(graphql): allow updatable and nullable id fields. (#7736) in https://github.com/dgraph-io/dgraph/pull/9020
-
Core
- feat(core): add unique constraint support in schema for new predicates in https://github.com/dgraph-io/dgraph/pull/8827
- feat(debug): add parse_key to debug tool in https://github.com/dgraph-io/dgraph/pull/7640
- feat(acl): support more JWT algorithms for ACL by in https://github.com/dgraph-io/dgraph/pull/8912
- feat(restore): add support for namespace aware restore by in https://github.com/dgraph-io/dgraph/pull/8968
-
Core
- fix(core): Fixed deadlock that happens due to timeout in https://github.com/dgraph-io/dgraph/pull/9007
- fix(core): limit #edges using LimitMutationsNquad config and add logs in https://github.com/dgraph-io/dgraph/pull/9010
- fix(core): Update math parsing function by in https://github.com/dgraph-io/dgraph/pull/9053
- chore(deps): upgrade etcd/raft to v3 by in https://github.com/dgraph-io/dgraph/pull/7688
- chore(restore): add more logs for restore request (#8050) in https://github.com/dgraph-io/dgraph/pull/8975
- fix(restore): use different map directory for each group (#8047) in https://github.com/dgraph-io/dgraph/pull/8972
- fix(export): Support for any s3 endpoint by in https://github.com/dgraph-io/dgraph/pull/8978
- fix(restore): use custom type for sensitive fields by in https://github.com/dgraph-io/dgraph/pull/8969
- fix(export): Escape MySQL column names in https://github.com/dgraph-io/dgraph/pull/8961
- fix(debug): fix debug tool for schema keys in https://github.com/dgraph-io/dgraph/pull/7939
- fix(restore): allow incrementalFrom to be 1 in restore API by in https://github.com/dgraph-io/dgraph/pull/8988
- fix(raft):alpha leader fails to stream snapshot to new alpha nodes in https://github.com/dgraph-io/dgraph/pull/9022
- fix(query): fix has function in filter in https://github.com/dgraph-io/dgraph/pull/9043
- fix(core):Reduce x.ParsedKey memory allocation from 72 to 56 bytes by optimizing struct memory alignment in https://github.com/dgraph-io/dgraph/pull/9047
- fix(restore): do not retry restore proposal (#8058) in https://github.com/dgraph-io/dgraph/pull/9017
-
Perf
- perf(query): use quickselect instead of sorting while pagination by in https://github.com/dgraph-io/dgraph/pull/8995
- perf(query): Update CompressedBin IntersectionAlgo by in https://github.com/dgraph-io/dgraph/pull/9000
-
Chore
- upgrade(go): update go version to 1.22 in https://github.com/dgraph-io/dgraph/pull/9058
- chore(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 by in https://github.com/dgraph-io/dgraph/pull/8982
- chore(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 in https://github.com/dgraph-io/dgraph/pull/9015
- chore(deps): use bleve 2.3.10 for more languages in full text search in https://github.com/dgraph-io/dgraph/pull/9030
- chore(deps): bump golang.org/x/crypto from 0.12.0 to 0.17.0 in https://github.com/dgraph-io/dgraph/pull/9032
- chore(deps): bump urllib3 from 1.26.5 to 1.26.18 in /contrib/config/marketplace/aws/tests in https://github.com/dgraph-io/dgraph/pull/9018
- chore(deps): bump google.golang.org/grpc from 1.56.2 to 1.56.3 in https://github.com/dgraph-io/dgraph/pull/9024
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0in https://github.com/dgraph-io/dgraph/pull/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
- feat(graphql): This PR allows @id field in interface to be unique across all implementing types (#8876)
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)