Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
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
Dgraph v1.1.1
Changed
- Breaking changes for expand() queries
- Add support for Go Modules. (#4146)
- Simplify type definitions: type definitions no longer require the type (string, int, etc.) per field name. (#4017)
- Adding log lines to help troubleshoot snapshot and rollup. (#3889)
- Add
--http
flag to configure pprof endpoint for live loader. (#3846) - Use snappy compression for internal gRPC communication. (#3368)
- Periodically run GC in all dgraph commands. (#4032, #4075)
- Exit early if data files given to bulk loader are empty. (#4253)
- Add support for first and offset directive in has function. (#3970)
- Pad encData to 17 bytes before decoding. (#4066)
- Remove usage of deprecated methods. (#4076)
- Show line and column numbers for errors in HTTP API responses. (#4012)
- Do not store non-pointer values in sync.Pool. (#4089)
- Verify that all the fields in a type exist in the schema. (#4114)
- Update badger to version v2.0.0. (#4200)
- Introduce StreamDone in bulk loader. (#4297)
Enterprise features:
- ACL: Disallow schema queries when an user has not logged in. (#4107)
- Block delete if predicate permission is zero. Fixes #4265. (#4349)
Added
- Support
@cascade
directive at subqueries. (#4006) - Support
@normalize
directive for subqueries. (#4042) - Support
val()
function inside upsert mutations (both RDF and JSON). (#3877, #3947) - Support GraphQL Variables for facet values in
@facets
filters. (#4061) - Support filtering by facets on values. (#4217)
- Add ability to query
expand(TypeName)
only on certain types. (#3920) - Expose numUids metrics per query to estimate query cost. (#4033)
- Upsert queries now return query results in the upsert response. (#4269, #4375)
- Add support for multiple mutations blocks in upsert blocks. (#4210)
- Add total time taken to process a query in result under
"total_ns"
field. (#4312)
Enterprise features:
- Add encryption-at-rest. (#4351)
Removed
- Breaking change: Remove
@type
directive from query language. To filter
an edge by a type, use@filter(type(TypeName))
instead of@type(TypeName)
.
(#4016)
Enterprise features:
- Remove regexp ACL rules. (#4360)
Fixed
- Avoid changing order if multiple versions of the same edge is found.
- Consider reverse count index keys for conflict detection in transactions. Fixes #3893. (#3932)
- Clear the unused variable tlsCfg. (#3937)
- Do not require the last type declaration to have a new line. (#3926)
- Verify type definitions do not have duplicate fields. Fixes #3924. (#3925)
- Fix bug in bulk loader when store_xids is true. Fixes #3922. (#3950)
- Call cancel function only if err is not nil. Fixes #3966. (#3990)
- Change the mapper output directory from $TMP/shards to $TMP/map_output. Fixes #3959. (#3960)
- Return error if keywords used as alias in groupby. (#3725)
- Fix bug where language strings are not filtered when using custom tokenizer. Fixes #3991. (#3992)
- Support named queries without query variables. Fixes #3994. (#4028)
- Correctly set up client connection in x package. (#4036)
- Fix data race in regular expression processing. Fixes #4030. (#4065)
- Check for n.Raft() to be nil, Fixes #4053. (#4084)
- Fix file and directory permissions for bulk loader. (#4088)
- Ensure that clients can send OpenCensus spans over to the server. (#4144)
- Change lexer to allow unicode escape sequences. Fixes #4157.(#4175)
- Handle the count(uid) subgraph correctly. Fixes #4038. (#4122)
- Don't traverse immutable layer while calling iterate if deleteBelowTs > 0. Fixes #4182. (#4204)
- Bulk loader allocates reserved predicates in first reduce shard. Fixes #3968. (#4202)
- Only allow one alias per predicate. (#4236)
- Change member removal logic to remove members only once. (#4254)
- Disallow uid as a predicate name. (#4219)
- Drain apply channel when a snapshot is received. (#4273)
- Added RegExp filter to func name. Fixes #3268. (#4230)
- Acquire read lock instead of exclusive lock for langBaseCache. (#4279)
- Added proper handling of int and float for math op. #4132. (#4257)
- Don't delete group if there is no member in the group. (#4274)
- Sort alphabets of languages for non indexed fields. Fixes #4005. (#4260)
- Copy xid string to reduce memory usage in bulk loader. (#4287)
- Adding more details for mutation error messages with scalar/uid type mismatch. (#4317)
- Limit UIDs per variable in upsert. Fixes #4021. (#4268)
- Return error instead of panic when geo data is corrupted. Fixes #3740. (#4318)
- Use txn writer to write schema postings. (#4296)
- Fix connection log message in dgraph alpha from "CONNECTED" to "CONNECTING" when establishing a connection to a peer. Fixes #4298. (#4303)
- Fix segmentation fault in backup. (#4314)
- Close store after stopping worker. (#4356)
- Don't pre allocate mutation map. (#4343)
- Cmd: fix config file from env variable issue in subcommands. Fixes #4311. (#4344)
- Fix segmentation fault in Alpha. Fixes #4288. (#4394)
- Fix handling of depth parameter for shortest path query for numpaths=1 case. Fixes #4169. (#4347)
- Do not return dgo.ErrAborted when client calls txn.Discard(). (#4389)
- Fix
has
pagination when predicate is queried with@lang
. Fixes #4282. (#4331) - Make uid function work with value variables in upsert blocks. Fixes #4424. (#4425)
Enterprise features:
Dgraph v1.0.18
Fixed
- Preserve the order of entries in a mutation if multiple versions of the same
edge are found. This addresses the mutation re-ordering change (#2987) from v1.0.15. - Fixing the zero client in live loader to avoid using TLS. Fixes #3919. (#3936)
- Remove query cache which is causing contention. (#4071).
- Fix bug when querying with nested levels of
expand(_all_)
. Fixes #3807. (#4143). - Vendor in Badger to fix a vlog bug "Unable to find log file". (#4212)
- Change lexer to allow unicode escape sequences. Fixes #4157. (#4252)