Dgraph Release v22.0.2 is now Generally Available

Hi Dgraph Community,

We are pleased to announce that a new release of Dgraph v22.0.2 is now available. We would like to thank the Project Steering Committee members for their inputs during the release and the Dgraph team for their efforts to make this release happen.

The release binaries and release notes are now available on GitHub. The docker images for dgraph/dgraph and dgraph/standalone are available on DockerHub.

This release includes ARM64 support for development use as requested by the community. This comes with a multi-arch docker image to support both arm64 and amd64 architectures.

This release has 2 critical bug fixes - one on ACL associated with multi-tenancy and the other related to data corruption in Badger. We have also fixed 37 Security fixes (CVEs and GHSA) and incorporated a number of fixes from version v21.12.0.

This release includes the following major quality improvements:

  • Additional unit tests that cover various areas of the product
  • Significant enhancements to CI/CD and infrastructure to support ARM64 for dgraph, lambda and badger repositories.
  • Integration of the LDBC Benchmark to run on CI
  • Enabled Coveralls on CI to measure code coverage to include the integration tests in addition to the unit tests
  • Increased test coverage with Coverall from 37% to 64%

Please file Github Issues with the label v22.0.2 if you find any problems or bugs in this release.

Thank you and Happy Holidays!

Dgraph Team


This says we can’t upgrade from v21.12.0 to v22.x.x, but can we upgrade from older versions such as v20.11.x?

You can upgrade to any version from any version you want. The secret is to export it to RDF and then bulk/liveload it. The only but is regarding GraphQL. Perhaps some GQL feature has been removed, but it will come soon in mid-2023.

But in all cases across a major version boundary, we MUST export and reload, correct?

Usually yes, but v21.03 is compatible with v22.0 because the underlying badger database format did not change. For upgrading v21.12 to v22.0 you need to import/export, because some changes made in v21.12 were rolled back and subsequently are not included in v22.0.