Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
Dgraph v20.03.1
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
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
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
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)
- Breaking changes
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
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 tofalse
, the call blocks until indexing is complete. This is set tofalse
by default. (#4981) - Set correct posting list type while creating it in the live loader. Fixes #4889. (#5012)
- Breaking changes
Dgraph v20.03.0-beta.20200320
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)
- Breaking changes
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
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 totrue
, then the Alter call returns immediately. When set tofalse
, the call blocks until indexing is complete. This is set tofalse
by default. (#4981) - Breaking changes
Dgraph v1.2.2
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
Dgraph v2.0.0-rc1
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)
- Breaking changes
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
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
Dgraph v1.2.1
Dgraph v2.0.0-beta1
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
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
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
- 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
Dgraph v1.2.0-rc1