Releases: hypermodeinc/dgraph
v24.1.0-rc5
What's Changed
-
Features
-
Fixed
- fix(tests): add explicit permissions for Trivy scan #9130
- fix(other): update patch version in go.mod #9127
- fix(vector): fix index rebuild when options change #9149
- fix(multi-tenancy): upsert groot for namespace after drop data #9159
- fix(vector): fixed euclidean spelling and a bug in parameters #9165
- fix(core): update latest badger #9169
- fix(core): Update error msg for txn too old to give more context #9170
- fix(DQL): unsupported ordering should raise an error #9173
- fix(core): fix sampling rate of jaeger #9147
- fix(core): add the posting list risteretto cache back #9181
- fix(core): fix performance impact in mutation due to vector #9196
- fix unique query for non-latin predicate name and whitespace in query #9201
- fix(core): fix duplicate mutation entries for count index #9208
- fix(export): delete temporary export directory after completion of remote export #9206
- fix(core): Build to show correct version (#9192) #9227
- fix(core): fix visited uids bitset memory (#9221) #9226
- fix(core): fix batching of running mutations in one transaction #9230
- fix the unique constraint when adding two mutations in a single request #9238
- fix(core): Improve error handling in hnsw module by @xqqp in #9236
- fix: ensure consistent time units and prevent erroneous cleanup in incrRollupi Process by @gooohgb in #9259
- fix(core): Change name of new config flag #9274
- fix: compile on Windows in #9284
- fix(core): fix race in metrics collection variables #9288
- fix(ci): delete all issue in upgrade test #9291
- fix(core): Fix deleteBelowTs rollup issue #9296
- fix(core): Fix count index for scalar predicates #9292
-
Performance
-
Chore
- chore(deps): bump github.com/docker/docker from 24.0.5+incompatible to 25.0.6+incompatible #9123
- use /v24 in the import #9131
- upgrade go mod #9115
- 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
- fix(repo): labeler config #9144
- 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
- fix(git): fix Labeler formatting #9148
- 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
- upgrade dgo to v240.0.0 #9154
- 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 by @RJKeevil in #9158
- chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.1 #9163
- upgrade go.mod #9164
- Update README.md #9175
- chore(deps): bump the minor-and-patch group across 1 directory with 2 updates #9174
- update expired certificate that are used for testing #9177
- chore(deps): bump the minor-and-patch group with 2 updates #9178
- Expose APIs that can be used outside Dgraph #9176
- chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1 in the minor-and-patch group #9185
- Retract v24.0.3 in go.mod #9188
- chore(repo): use go 1.22 int range loop by @xqqp in #9186
- chore(deps): bump github.com/dgraph-io/ristretto from 0.1.2-0.20240116140435-c67e07994f91 to 1.0.0 #9179
- chore(deps): bump the minor-and-patch group with 8 updates #9195
- chore(repo): close response bodies to prevent resource leaks by @xqqp in #9193
- chore(deps): bump the minor-and-patch group with 2 updates #9200
- expose API that can be used outside Dgraph #9197
- Enhancing Dgraph cd pipeline to only push images to Dockerhub when both AMD and ARM builds are successful #9202
- chore: fix some function names in comment by @cangqiaoyuzhuo in #9204
- Adding 24.0.4 to CHANGELOG.md #9205
- Update cd-dgraph.yml to avoid conflict during artifact upload #9207
- Update CHANGELOG.md to add 24.0.5 #9210
- Megha/cd pipeline enhancement #9222
- Fixing README.md to mention 24.0.5 as latest also fixing wrong link #9224
- chore(deps): bump the minor-and-patch group across 1 directory with 16 updates #9223
- chore(deps): bump the minor-and-patch group with 2 updates #9225
- expose function to Query without auth in #9216
- upgrade to use google protobuf #9190
- chore(deps): bump the minor-and-patch group with 8 updates #9232
- check for error in vector hnsw code #9235
- Add index after adding data without vector schema for vector predicate #9214
- chore(deps): bump the minor-and-patch group with 6 updates #9240
- chore(deps): bump the minor-and-patch group with 5 updates #9244
- chore(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 #9242
- ci: separate CI workflows #9243
- ci(test): integrate Trunk into multiple CI workflows to identify flaky tests #9245
- chore(deps): bump the minor-and-patch group with 3 updates #9247
- chore(deps): bump github.com/IBM/sarama from 1.43.3 to 1.44.0 in the minor-and-patch group #9249
- update pull request template #9253
- ci: Add cron job to run workflow once a day https://github.com/hype...
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