Skip to content

Releases: dgraph-io/dgraph

Dgraph v20.03.1

24 Apr 23:45
Compare
Choose a tag to compare

Changed

  • Support comma separated list of zero addresses in alpha. (#5258)
  • Optimization: Optimize snapshot creation (#4901)
  • Optimization: Remove isChild from fastJsonNode. (#5184)
  • Optimization: Memory improvements in fastJsonNode. (#5088)
  • Update badger to commit dgraph-io/badger@cddf7c03451c. (#5272)
    • Compression/encryption runs in the background (which means faster writes)
    • Separate cache for bloom filters which limits the amount of memory used by bloom filters
  • Avoid crashing live loader in case the network is interrupted. (#5268)
  • Enterprise features
    • Backup/restore: Force users to explicitly tell restore command to run without zero. (#5206)
    • Alpha: Expose compression_level option. (#5280)

Fixed

  • Implement json.Marshal just for strings. (#4979)
  • Change error message in case of successful license application. Fixes #4965. (#5230)
  • Add OPTIONS support for /ui/keywords. Fixes #4946. (#4992)
  • Check uid list is empty when filling shortest path vars. (#5152)
  • Return error for invalid UID 0x0. Fixes #5238. (#5252)
  • Skipping floats that cannot be marshalled (+Inf, -Inf, NaN). (#5199, #5163)
  • Fix panic in Task FrameWork. Fixes #5034. (#5081)
  • graphql: @dgraph(pred: "...") with @search. (#5019)
  • graphql: ensure @id uniqueness within a mutation. (#4959)
  • Set correct posting list type while creating it in live loader. (#5012)
  • Add support for tinyint in migrate tool. Fixes #4674. (#4842)
  • Fix bug, aggregate value var works with blank node in upsert. Fixes #4712. (#4767)
  • Always set BlockSize in encoder. Fixes #5102. (#5255)
  • Optimize uid allocation in live loader. (#5132)
  • Shutdown executor goroutines. (#5150)
  • Update RAFT checkpoint when doing a clean shutdown. (#5097)
  • Enterprise features
    • Backup schema keys in incremental backups. Before, the schema was only stored in the full backup. (#5158)

Added

  • Return list of ongoing tasks in /health endpoint. (#4961)
  • Propose snapshot once indexing is complete. (#5005)
  • Add query/mutation logging in glog V=3. (#5024)
  • Include the total number of touched nodes in the query metrics. (#5073)
  • Flag to turn on/off sending Sentry events, default is on. (#5169)
  • Concurrent Mutations. (#4892)
  • Enterprise features
    • Support bulk loader use-case to import unencrypted export and encrypt. (#5213)
    • Create encrypted restore directory from encrypted backups. (#5144)
    • Add option "--encryption_key_file"/"-k" to debug tool for encryption support. (#5146)
    • Support for encrypted backups/restore. Note: For clusters already enabled with encryption-at-rest, force a full backup before creating further incremental backups. Previously unencrypted backups can still be used for unencrypted Dgraph clusters, but encrypted clusters must be backed up in encrypted format. (#5103)
    • Add encryption support for export and import (via bulk, live loaders). (#5155)
    • Add Badger expvar metrics to Prometheus metrics. Fixes #4772. (#5094)
    • Add option to apply enterprise license at zero's startup. (#5170)

Dgraph v1.2.3

24 Apr 23:36
Compare
Choose a tag to compare

Changed

  • Support comma separated list of zero addresses in alpha. (#5258)
  • Optimization: Optimize snapshot creation. (#4901)
  • Optimization: Remove isChild from fastJsonNode. (#5184)
  • Optimization: Memory improvements in fastJsonNode. (#5088)
  • Update Badger to commit dgraph-io/badger@cddf7c03451c. (#5273)
    • Compression/encryption runs in the background (which means faster writes)
    • Separate cache for bloom filters which limits the amount of memory used by bloom filters
  • Avoid crashing live loader in case the network is interrupted. (#5268)
  • Enterprise features
    • Backup/restore: Force users to explicitly tell restore command to run without zero. (#5206)

Fixed

  • Check uid list is empty when filling shortest path vars. (#5152)
  • Return error for invalid UID 0x0. Fixes #5238. (#5252)
  • Skipping floats that cannot be marshalled (+Inf, -Inf, NaN). (#5199, #5163)
  • Set correct posting list type while creating it in live loader. (#5012)
  • Add support for tinyint in migrate tool. Fixes #4674. (#4842)
  • Fix bug, aggregate value var works with blank node in upsert. Fixes #4712. (#4767)
  • Always set BlockSize in encoder. Fixes #5102. (#5255)
  • Enterprise features
    • Backup schema keys in incremental backups. Before, the schema was only stored in the full backup. (#5158)

Added

  • Add Badger expvar metrics to Prometheus metrics. Fixes #4772. (#5094)
  • Enterprise features
    • Support bulk loader use-case to import unencrypted export and encrypt. (#5213)
    • Create encrypted restore directory from encrypted backups. (#5144)
    • Add option "--encryption_key_file"/"-k" to debug tool for encryption support. (#5146)
    • Support for encrypted backups/restore. Note: For clusters already enabled with encryption-at-rest, force a full backup before creating further incremental backups. Previously unencrypted backups can still be used for unencrypted Dgraph clusters, but encrypted clusters must be backed up in encrypted format. (#5103)
    • Add encryption support for export and import (via bulk, live loaders). (#5155)

Dgraph v20.03.0

31 Mar 00:42
Compare
Choose a tag to compare

Note: This release requires you to export and re-import data prior to upgrading or rolling back. The underlying data format has been changed.

Changed

  • Report GraphQL stats from alpha. (#4607)
  • During backup, collapse split posting lists into a single list. (#4682)
  • Optimize computing reverse reindexing. (#4755)
  • Add partition key based iterator to the bulk loader. (#4841)
  • Invert s2 loop instead of rebuilding. (#4782)
  • Update Badger Version. (#4935)
  • Incremental Rollup and Tablet Size Calculation. (#4972)
  • Track internal operations and cancel when needed. (#4916)
  • Set version when rollup is called with no splits. (#4945)
  • Use a different stream writer id for split keys. (#4875)
  • Split posting lists recursively. (#4867)
  • Enterprise features
    • Breaking changes
      • [BREAKING] Underlying schema for ACL has changed. Use the upgrade tool to migrate to the new data format. (#4725)

Added

  • Add GraphQL API for Dgraph accessible via the /graphql and /admin HTTP endpoints on Dgraph Alpha. (#933)
  • Add support for sorting on multiple facets. Fixes #3638. (#4579)
  • Expose Badger Compression Level option in Bulk Loader. (#4669)
  • GraphQL Admin API: Support Backup operation. (#4706)
  • GraphQL Admin API: Support export, draining, shutdown and setting lrumb operations. (#4739)
  • GraphQL Admin API: duplicate /health in GraphQL /admin (#4768)
  • GraphQL Admin API: Add /admin/schema endpoint (#4777)
  • Perform indexing in background. (#4819)
  • Basic Sentry Integration - Capture manual panics with Sentry exception and runtime panics with a wrapper on panic. (#4756)
  • Ludicrous Mode. (#4872)
  • Enterprise features
    • ACL: Allow users to query data for their groups, username, and permissions. (#4774)
    • ACL: Support ACL operations using the admin GraphQL API. (#4760)
    • ACL: Add tool to upgrade ACLs. (#5016)

Fixed

  • Avoid running GC frequently. Only run for every 2GB of increase. Small optimizations in Bulk.reduce.
  • Check response status when posting telemetry data. (#4726)
  • Add support for $ in quoted string. Fixes #4695. (#4702)
  • Do not include empty nodes in the export output. Fixes #3610. (#4773)
  • Fix Nquad value conversion in live loader. Fixes #4468. (#4793)
  • Use /tmp dir to store temporary index. Fixes #4600. (#4766)
  • Properly initialize posting package in debug tool. (#4893)
  • Fix bug, aggregate value var works with blank node in upsert. Fixes #4712. (#4767)
  • Fix count with facets filter. Fixes #4659. (#4751)
  • Change split keys to have a different prefix. Fixes #4905. (#4908)
  • Various optimizations for facets filter queries. (#4923)
  • Throw errors returned by retrieveValuesAndFacets. Fixes #4958. (#4970)
  • Add "runInBackground" option to Alter to run indexing in background. When set to true, then the Alter call returns immediately. When set to false, the call blocks until indexing is complete. This is set to false by default. (#4981)
  • Set correct posting list type while creating it in the live loader. Fixes #4889. (#5012)
  • Breaking changes
    • [BREAKING] Language sorting on Indexed data. Fixes #4005. (#4316)

Dgraph v20.03.0-beta.20200320

20 Mar 23:36
Compare
Choose a tag to compare
Pre-release

Note: This release requires you to export and re-import data prior to upgrading or rolling back. The underlying data format has been changed.

Changed

  • Report GraphQL stats from alpha. (#4607)
  • During backup, collapse split posting lists into a single list. (#4682)
  • Optimize computing reverse reindexing. (#4755)
  • Add partition key based iterator to the bulk loader. (#4841)
  • Invert s2 loop instead of rebuilding. (#4782)
  • Update Badger Version. (#4935)
  • Incremental Rollup and Tablet Size Calculation. (#4972)
  • Track internal operations and cancel when needed. (#4916)
  • Set version when rollup is called with no splits. (#4945)
  • Use a different stream writer id for split keys. (#4875)
  • Split posting lists recursively. (#4867)
  • Enterprise features
    • Breaking changes
      • [BREAKING] Underlying schema for ACL has changed. (#4725)

Added

  • Add GraphQL API for Dgraph accessible via the /graphql and /admin HTTP endpoints on Dgraph Alpha. (#933)
  • Add support for sorting on multiple facets. Fixes #3638. (#4579)
  • Expose Badger Compression Level option in Bulk Loader. (#4669)
  • GraphQL Admin API: Support Backup operation. (#4706)
  • GraphQL Admin API: Support export, draining, shutdown and setting lrumb operations. (#4739)
  • GraphQL Admin API: duplicate /health in GraphQL /admin (#4768)
  • GraphQL Admin API: Add /admin/schema endpoint (#4777)
  • Perform indexing in background. (#4819)
  • Basic Sentry Integration - Capture manual panics with Sentry exception and runtime panics with a wrapper on panic. (#4756)
  • Ludicrous Mode. (#4872)
  • Enterprise features
    • ACL: Allow users to query data for their groups (#4774)
    • ACL: Support ACL operations using the admin GraphQL API. (#4760)

Fixed

  • Avoid running GC frequently. Only run for every 2GB of increase. Small optimizations in Bulk.reduce.
  • Check response status when posting telemetry data. (#4726)
  • Add support for $ in quoted string. Fixes #4695. (#4702)
  • Do not include empty nodes in the export output. Fixes #3610. (#4773)
  • Fix Nquad value conversion in live loader. Fixes #4468. (#4793)
  • Use /tmp dir to store temporary index. Fixes #4600. (#4766)
  • Properly initialize posting package in debug tool. (#4893)
  • Fix bug, aggregate value var works with blank node in upsert. Fixes #4712. (#4767)
  • Fix count with facets filter. Fixes #4659. (#4751)
  • Change split keys to have a different prefix. Fixes #4905. (#4908)
  • Various optimizations for facets filter queries. (#4923)
  • Throw errors returned by retrieveValuesAndFacets. Fixes #4958. (#4970)
  • Add runInBackground option to Alter to run indexing in background. When set to true, then the Alter call returns immediately. When set to false, the call blocks until indexing is complete. This is set to false by default. (#4981)
  • Breaking changes
    • [BREAKING] Language sorting on Indexed data. Fixes #4005. (#4316)

Dgraph v1.2.2

19 Mar 19:53
Compare
Choose a tag to compare

Changed

  • Wrap errors thrown in posting/list.go for easier debugging. (#4880)
  • Print keys using hex encoding in error messages in list.go. (#4891)

Fixed

  • Do not include empty nodes in the export output. (#4896)
  • Fix error when lexing language list. (#4784)
  • Properly initialize posting package in debug tool. (#4893)
  • Handle special characters in schema and type queries. Fixes #4933. (#4937)
  • Overwrite values for uid predicates. Fixes #4879. (#4883)
  • Disable @* language queries when the predicate does not support langs. (#4881)
  • Fix bug in exporting types with reverse predicates. Fixes #4856. (#4857)
  • Do not skip over split keys. (Trying to skip over the split keys sometimes skips over keys belonging to a different split key. This is a fix just for this release as the actual fix requires changes to the data format.) (#4951)
  • Fix point-in-time Prometheus metrics. Fixes #4532. (#4948)
  • Split lists in the bulk loader. (#4967)
  • Allow remote MySQL server with dgraph migrate tool. Fixes #4707. (#4860)
  • Enterprise features
    • ACL: Allow uid access. (#4922)
    • Backups: Assign maxLeaseId during restore. Fixes #4816. (#4877)
    • Backups: Verify host when default and custom credentials are used. Fixes #4855. (#4858)
    • Backups: Split lists when restoring from backup. (#4912)

Dgraph v2.0.0-rc1

15 Feb 01:59
a4af81a
Compare
Choose a tag to compare
Dgraph v2.0.0-rc1 Pre-release
Pre-release

Note: This release requires you to export and re-import data prior to upgrading or rolling back. The underlying data format has been changed.

Removed

  • Remove HTTP admin endpoints. The same functionality is available via GraphQL Admin API. Please see below. (#4754)

Changed

  • Report GraphQL stats from alpha. (#4607)
  • During backup, collapse split posting lists into a single list. (#4682)
  • Enterprise features
    • Breaking changes
      • [BREAKING] Underlying schema for ACL has changed. (#4725)

Added

  • Add GraphQL API for Dgraph accessible via the /graphql and /admin HTTP endpoints on Dgraph Alpha. (#933)
  • Add support for sorting on multiple facets. Fixes #3638. (#4579)
  • Expose Badger Compression Level option in Bulk Loader. (#4669)
  • GraphQL Admin API: Support Backup operation. (#4706)
  • GraphQL Admin API: Support export, draining, shutdown and setting lrumb operations. (#4739)
  • GraphQL Admin API: duplicate /health in GraphQL /admin (#4768)
  • GraphQL Admin API: Add /admin/schema endpoint (#4777)
  • Enterprise features
    • ACL: Allow users to query data for their groups (#4774)
    • ACL: Support ACL operations using the admin GraphQL API. (#4760)

Fixed

  • Avoid running GC frequently. Only run for every 2GB of increase. Small optimizations in Bulk.reduce.
  • Check response status when posting telemetry data. (#4726)
  • Add support for $ in quoted string. Fixes #4695. (#4702)
  • Do not include empty nodes in the export output. Fixes #3610. (#4773)
  • Breaking changes
    • [BREAKING] Language sorting on Indexed data. Fixes #4005. (#4316)

Dgraph v1.2.1

07 Feb 00:09
Compare
Choose a tag to compare

Fixed

  • Fix bug related to posting list split, and re-enable posting list splits. Fixes #4733. (#4742)

Dgraph v2.0.0-beta1

30 Jan 22:42
6fac5d7
Compare
Choose a tag to compare
Dgraph v2.0.0-beta1 Pre-release
Pre-release

Changed

  • Report GraphQL stats from alpha. (#4607)

Added

  • Add GraphQL API for Dgraph accessible via the /graphql and /admin HTTP endpoints on Dgraph Alpha. (#933)
  • Add support for sorting on multiple facets. Fixes #3638. (#4579)

Fixed

  • Avoid running GC frequently. Only run for every 2GB of increase. Small optimizations in Bulk.reduce.

Dgraph v1.2.0

28 Jan 00:37
Compare
Choose a tag to compare

Changed

  • Allow overwriting values of predicates of type uid. Fixes #4136. (#4411)
  • Algorithms to handle UidPack. (#4321)
  • Improved latency in live loader using conflict resolution at client level. (#4362)
  • Set ZSTD CompressionLevel to 1. (#4572)
  • Enterprise features
    • Breaking changes
      • Change default behavior to block operations with ACLs enabled. (#4390)
    • Remove unauthorized predicates from query instead of rejecting the query entirely. (#4479)

Added

  • Add debuginfo subcommand to dgraph. (#4464)
  • Support filtering on non-indexed predicate. Fixes #4305. (#4531)
  • Add support for variables in recurse. Fixes #3301. (#4385).
  • Adds @noconflict schema directive to prevent conflict detection. This is an experimental feature. This is not a recommended directive, but exists to help avoid conflicts for predicates which don't have high correctness requirements. Fixes #4079. (#4454)
  • Implement the state HTTP endpoint on Alpha. Login is required if ACL is enabled. (#4435).
  • Implement /health?all endpoint on Alpha nodes. (#4535)
  • Add /health endpoint to Zero. (#4405)
  • Breaking changes
    • Support for fetching facets from value edge list. The query response format is backwards-incompatible. Fixes #4081. (#4267)
  • Enterprise features
    • Add guardians group with full authorization. (#4447)

Fixed

  • Infer type of schema from JSON and RDF mutations. Fixes #3788. (#4328)
  • Fix retrieval of facets with cascade. Fixes #4310. (#4530)
  • Do not use type keys during tablet size calculation. Fixes #4473. (#4517)
  • Fix Levenshtein distance calculation with match function. Fixes #4494. (#4545)
  • Add <xs:integer> RDF type for int schema type. Fixes #4460. (#4465)
  • Allow @filter directive with expand queries. Fixes #3904. (#4404).
  • Enterprise features

Dgraph v1.2.0-rc1

15 Jan 00:06
1b83472
Compare
Choose a tag to compare
Dgraph v1.2.0-rc1 Pre-release
Pre-release
Dgraph v1.2.0-rc1