v24.1.1
- fix(core): put new metrics behind a feature flag by @harshil-goel in https://github.com/hypermodeinc/dgraph/pull/9337
- Remove sentry integration from both Alpha & Zero (#9343) by @mangalaman93 in https://github.com/hypermodeinc/dgraph/pull/9344
- fix(core): fix unmarshal protobuf when len val is 0 (#9347) by @harshil-goel in https://github.com/hypermodeinc/dgraph/pull/9349
- fix(core): fix read scalar list with rollups (#9350) by @harshil-goel in https://github.com/hypermodeinc/dgraph/pull/9351
Full Changelog: https://github.com/hypermodeinc/dgraph/compare/v24.1.0...v24.1.1
v24.1.0
- fix(core):change delete-on-update to remove-on-update and set default by @harshil-goel in https://github.com/hypermodeinc/dgraph/pull/9329
- Update changelog for v24.1.0 by @harshil-goel in https://github.com/hypermodeinc/dgraph/pull/9336
Full Changelog: https://github.com/hypermodeinc/dgraph/compare/v24.1.0-rc5...v24.1.0
v24.1.0-rc5
-
Features
- Adds support for BigFloat https://github.com/hypermodeinc/dgraph/pull/3981
- feat(graphql): adds @default directive to graphql (#8017) https://github.com/hypermodeinc/dgraph/pull/8837
- feat(graphql): output translated DQL query when the graphql debug superflag is set https://github.com/hypermodeinc/dgraph/pull/9280
-
Fixed
- fix(tests): add explicit permissions for Trivy scan https://github.com/hypermodeinc/dgraph/pull/9130
- fix(other): update patch version in go.mod https://github.com/hypermodeinc/dgraph/pull/9127
- fix(vector): fix index rebuild when options change https://github.com/hypermodeinc/dgraph/pull/9149
- fix(multi-tenancy): upsert groot for namespace after drop data https://github.com/hypermodeinc/dgraph/pull/9159
- fix(vector): fixed euclidean spelling and a bug in parameters https://github.com/hypermodeinc/dgraph/pull/9165
- fix(core): update latest badger https://github.com/hypermodeinc/dgraph/pull/9169
- fix(core): Update error msg for txn too old to give more context https://github.com/hypermodeinc/dgraph/pull/9170
- fix(DQL): unsupported ordering should raise an error https://github.com/hypermodeinc/dgraph/pull/9173
- fix(core): fix sampling rate of jaeger https://github.com/hypermodeinc/dgraph/pull/9147
- fix(core): add the posting list risteretto cache back https://github.com/hypermodeinc/dgraph/pull/9181
- fix(core): fix performance impact in mutation due to vector https://github.com/hypermodeinc/dgraph/pull/9196
- fix unique query for non-latin predicate name and whitespace in query https://github.com/hypermodeinc/dgraph/pull/9201
- fix(core): fix duplicate mutation entries for count index https://github.com/hypermodeinc/dgraph/pull/9208
- fix(export): delete temporary export directory after completion of remote export https://github.com/hypermodeinc/dgraph/pull/9206
- fix(core): Build to show correct version (#9192) https://github.com/hypermodeinc/dgraph/pull/9227
- fix(core): fix visited uids bitset memory (#9221) https://github.com/hypermodeinc/dgraph/pull/9226
- fix(core): fix batching of running mutations in one transaction https://github.com/hypermodeinc/dgraph/pull/9230
- fix the unique constraint when adding two mutations in a single request https://github.com/hypermodeinc/dgraph/pull/9238
- fix(core): Improve error handling in hnsw module by @xqqp in https://github.com/hypermodeinc/dgraph/pull/9236
- fix: ensure consistent time units and prevent erroneous cleanup in incrRollupi Process by @gooohgb in https://github.com/hypermodeinc/dgraph/pull/9259
- fix(core): Change name of new config flag https://github.com/hypermodeinc/dgraph/pull/9274
- fix: compile on Windows in https://github.com/hypermodeinc/dgraph/pull/9284
- fix(core): fix race in metrics collection variables https://github.com/hypermodeinc/dgraph/pull/9288
- fix(ci): delete all issue in upgrade test https://github.com/hypermodeinc/dgraph/pull/9291
- fix(core): Fix deleteBelowTs rollup issue https://github.com/hypermodeinc/dgraph/pull/9296
- fix(core): Fix count index for scalar predicates https://github.com/hypermodeinc/dgraph/pull/9292
-
Performance
- perf(core): Introduce mutable map struct https://github.com/hypermodeinc/dgraph/pull/9199
- perf(core): Fixing ristretto cache to pass jepsen tests https://github.com/hypermodeinc/dgraph/pull/9237
- perf(core): Add a count min sketch for eq filter https://github.com/hypermodeinc/dgraph/pull/9218
-
Chore
- chore(deps): bump github.com/docker/docker from 24.0.5+incompatible to 25.0.6+incompatible https://github.com/hypermodeinc/dgraph/pull/9123
- use /v24 in the import https://github.com/hypermodeinc/dgraph/pull/9131
- upgrade go mod https://github.com/hypermodeinc/dgraph/pull/9115
- chore(): add Dependabot version bumps https://github.com/hypermodeinc/dgraph/pull/9132
- chore(deps): bump actions/labeler from 4 to 5 https://github.com/hypermodeinc/dgraph/pull/9134
- chore(deps): bump golangci/golangci-lint-action from 4 to 6 https://github.com/hypermodeinc/dgraph/pull/9133
- chore(deps): bump docker/login-action from 2 to 3 https://github.com/hypermodeinc/dgraph/pull/9135
- chore(deps): bump actions/upload-artifact from 3 to 4 https://github.com/hypermodeinc/dgraph/pull/9136
- fix(repo): labeler config https://github.com/hypermodeinc/dgraph/pull/9144
- chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.1 https://github.com/hypermodeinc/dgraph/pull/9139
- chore(deps): bump github.com/bits-and-blooms/bitset from 1.13.0 to 1.14.2 https://github.com/hypermodeinc/dgraph/pull/9140
- chore(deps): bump github.com/prometheus/client_golang from 1.20.1 to 1.20.2 https://github.com/hypermodeinc/dgraph/pull/9142
- fix(git): fix Labeler formatting https://github.com/hypermodeinc/dgraph/pull/9148
- chore(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0 https://github.com/hypermodeinc/dgraph/pull/9152
- chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0 https://github.com/hypermodeinc/dgraph/pull/9151
- chore(deps): bump github.com/docker/docker from 27.1.2+incompatible to 27.2.0+incompatible https://github.com/hypermodeinc/dgraph/pull/9150
- upgrade dgo to v240.0.0 https://github.com/hypermodeinc/dgraph/pull/9154
- chore(deps): bump golang.org/x/mod from 0.20.0 to 0.21.0 https://github.com/hypermodeinc/dgraph/pull/9157
- chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0 https://github.com/hypermodeinc/dgraph/pull/9156
- chore(deps): bump github.com/dgraph-io/dgo/v240 from 240.0.0-rc1 to 240.0.0 https://github.com/hypermodeinc/dgraph/pull/9155
- chore: Upgrade go.mod dependencies, fix jose v2 vulnerability, upgrade jemalloc by @RJKeevil in https://github.com/hypermodeinc/dgraph/pull/9158
- chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.1 https://github.com/hypermodeinc/dgraph/pull/9163
- upgrade go.mod https://github.com/hypermodeinc/dgraph/pull/9164
- Update README.md https://github.com/hypermodeinc/dgraph/pull/9175
- chore(deps): bump the minor-and-patch group across 1 directory with 2 updates https://github.com/hypermodeinc/dgraph/pull/9174
- update expired certificate that are used for testing https://github.com/hypermodeinc/dgraph/pull/9177
- chore(deps): bump the minor-and-patch group with 2 updates https://github.com/hypermodeinc/dgraph/pull/9178
- Expose APIs that can be used outside Dgraph https://github.com/hypermodeinc/dgraph/pull/9176
- chore(deps): bump google.golang.org/grpc from 1.67.0 to 1.67.1 in the minor-and-patch group https://github.com/hypermodeinc/dgraph/pull/9185
- Retract v24.0.3 in go.mod https://github.com/hypermodeinc/dgraph/pull/9188
- chore(repo): use go 1.22 int range loop by @xqqp in https://github.com/hypermodeinc/dgraph/pull/9186
- chore(deps): bump github.com/dgraph-io/ristretto from 0.1.2-0.20240116140435-c67e07994f91 to 1.0.0 https://github.com/hypermodeinc/dgraph/pull/9179
- chore(deps): bump the minor-and-patch group with 8 updates https://github.com/hypermodeinc/dgraph/pull/9195
- chore(repo): close response bodies to prevent resource leaks by @xqqp in https://github.com/hypermodeinc/dgraph/pull/9193
- chore(deps): bump the minor-and-patch group with 2 updates https://github.com/hypermodeinc/dgraph/pull/9200
- expose API that can be used outside Dgraph https://github.com/hypermodeinc/dgraph/pull/9197
- Enhancing Dgraph cd pipeline to only push images to Dockerhub when both AMD and ARM builds are successful https://github.com/hypermodeinc/dgraph/pull/9202
- chore: fix some function names in comment by @cangqiaoyuzhuo in https://github.com/hypermodeinc/dgraph/pull/9204
- Adding 24.0.4 to CHANGELOG.md https://github.com/hypermodeinc/dgraph/pull/9205
- Update cd-dgraph.yml to avoid conflict during artifact upload https://github.com/hypermodeinc/dgraph/pull/9207
- Update CHANGELOG.md to add 24.0.5 https://github.com/hypermodeinc/dgraph/pull/9210
- Megha/cd pipeline enhancement https://github.com/hypermodeinc/dgraph/pull/9222
- Fixing README.md to mention 24.0.5 as latest also fixing wrong link https://github.com/hypermodeinc/dgraph/pull/9224
- chore(deps): bump the minor-and-patch group across 1 directory with 16 updates https://github.com/hypermodeinc/dgraph/pull/9223
- chore(deps): bump the minor-and-patch group with 2 updates https://github.com/hypermodeinc/dgraph/pull/9225
- expose function to Query without auth in https://github.com/hypermodeinc/dgraph/pull/9216
- upgrade to use google protobuf https://github.com/hypermodeinc/dgraph/pull/9190
- chore(deps): bump the minor-and-patch group with 8 updates https://github.com/hypermodeinc/dgraph/pull/9232
- check for error in vector hnsw code https://github.com/hypermodeinc/dgraph/pull/9235
- Add index after adding data without vector schema for vector predicate https://github.com/hypermodeinc/dgraph/pull/9214
- chore(deps): bump the minor-and-patch group with 6 updates https://github.com/hypermodeinc/dgraph/pull/9240
- chore(deps): bump the minor-and-patch group with 5 updates https://github.com/hypermodeinc/dgraph/pull/9244
- chore(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 https://github.com/hypermodeinc/dgraph/pull/9242
- ci: separate CI workflows https://github.com/hypermodeinc/dgraph/pull/9243
- ci(test): integrate Trunk into multiple CI workflows to identify flaky tests https://github.com/hypermodeinc/dgraph/pull/9245
- chore(deps): bump the minor-and-patch group with 3 updates https://github.com/hypermodeinc/dgraph/pull/9247
- chore(deps): bump github.com/IBM/sarama from 1.43.3 to 1.44.0 in the minor-and-patch group https://github.com/hypermodeinc/dgraph/pull/9249
- update pull request template https://github.com/hypermodeinc/dgraph/pull/9253
- ci: Add cron job to run workflow once a day https://github.com/hypermodeinc/dgraph/pull/9251
- rename dgraph-io/dgraph to hypermodeinc/dgraph https://github.com/hypermodeinc/dgraph/pull/9257
- chore: repo alignment https://github.com/hypermodeinc/dgraph/pull/9256
- chore(deps): Update go minor and patch https://github.com/hypermodeinc/dgraph/pull/9267
- chore: init trunk https://github.com/hypermodeinc/dgraph/pull/9273
- chore: make testing more resilient and update docs https://github.com/hypermodeinc/dgraph/pull/9278
- chore(deps): Update infra minor and patch https://github.com/hypermodeinc/dgraph/pull/9276
- chore(deps): Update go minor and patch https://github.com/hypermodeinc/dgraph/pull/9286
- chore: Upgrade from yaml v2 to v3 everywhere by @RJKeevil in https://github.com/hypermodeinc/dgraph/pull/9279
- chore(deps): Update omnition/opencensus-agent Docker tag to v1 https://github.com/hypermodeinc/dgraph/pull/9277
- chore(deps): Update go minor and patch https://github.com/hypermodeinc/dgraph/pull/9293
- @kvangundy made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9175
- @xqqp made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9186
- @cangqiaoyuzhuo made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9204
- @jairad26 made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9216
- @gooohgb made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9259
- @mattjohnsonpint made their first contribution in https://github.com/hypermodeinc/dgraph/pull/9284
Full Changelog: https://github.com/hypermodeinc/dgraph/compare/v24.0.6-alpha3...v24.1.0-rc5
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)