NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #141 by repository stars
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 5 months
Most releases are documented
notes for 33 of 52 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
2073 releases · first in 2016
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Security fix: prevent the HmacSecret from being logged. ([#3734][])
Changed
Breaking changes
uid schema type: The uid schema type now means a one-to-one relation, not a
one-to-many relation as in Dgraph v1.1. To specify a one-to-many relation in Dgraph v1.0, use
the [uid] schema type. (#2895, #3173, #2921)
_predicate_ is removed from the query language.
expand(_all_) only works for nodes with attached type information via the type system. The type system is used to determine the predicates to expand out from a node. (#3262)
S * * deletion only works for nodes with attached type information via the type system.
The type system is used to determine the predicates to delete from a node. For S * *
deletions, only the predicates specified by the type are deleted.
HTTP API: The HTTP API has been updated to replace the custom HTTP headers with standard headers.
/commit endpoint to accept a list of preds for conflict detection. (#3020)startTs for the /query, /mutate,
and /commit endpoints.X-Dgraph-CommitNow, X-Dgraph-MutationType, and
X-Dgraph-Vars are now ignored.application/graphql+- or
application/json.query queryName($a: string) { ... }) must
use the query format via application/json to pass query variables.application/rdf for RDF
format or application/json for JSON format.startTs query parameter along with the JSON map of
conflict keys and predicates.Datetime index: Use UTC Hour, Day, Month, Year for datetime comparison. This is a bug fix that may result in different query results for existing queries involving the datetime index. (#3251)
Blank node name generation for JSON mutations. For JSON mutations that do not explicitly set
the "uid" field, the blank name format has changed to contain randomly generated identifiers.
This fixes a bug where two JSON objects within a single mutation are assigned the same blank
node. (#3795)
Improve hash index. (#2887)
Use a stream connection for internal connection health checking. (#2956)
Use defer statements to release locks. (#2962)
VerifyUid should wait for membership information. (#2974)
Switching to perfect use case of sync.Map and remove the locks. (#2976)
Tablet move and group removal. (#2880)
Delete tablets which don't belong after tablet move. (#3051)
Alphas inform Zero about tablets in its postings directory when Alpha starts. (3271f64e0)
Prevent alphas from asking zero to serve tablets during queries. (#3091)
Put data before extensions in JSON response. (#3194)
Always parse language tag. (#3243)
Populate the StartTs for the commit gRPC call so that clients can double check the startTs still matches. (#3228)
Replace MD5 with SHA-256 in dgraph cert ls. (#3254)
Fix use of deprecated function grpc.WithTimeout(). (#3253)
Introduce multi-part posting lists. (#3105)
Fix format of the keys to support startUid for multi-part posting lists. (#3310)
Access groupi.gid atomically. (#3402)
Move Raft checkpoint key to w directory. (#3444)
Remove list.SetForDeletion method, remnant of the global LRU cache. (#3481)
Whitelist by hostname. (#2953)
Use CIDR format for whitelists instead of the previous range format.
Introduce Badger's DropPrefix API into Dgraph to simplify how predicate deletions and drop all work internally. (#3060)
Replace integer compression in UID Pack with groupvarint algorithm. (#3527, #3650)
Rebuild reverse index before count reverse. (#3688)
Breaking change: Use one atomic variable to generate blank node ids for json objects. This changes the format of automatically generated blank node names in JSON mutations. (#3795)
Print commit SHA256 when invoking "make install". (#3786)
Print SHA-256 checksum of Dgraph binary in the version section logs. (#3828)
Change anonynmous telemetry endpoint. (#3872)
Add support for API required for multiple mutations within a single call. (#3839)
Make lru_mb optional. (#3898)
Logging
flag.Parse from glog. (#2970)Error messages
--query_edge_limit flag. (#2979)"errors" field for HTTP requests. (#3728)Optimizations
Update various govendor dependencies
Dgraph Debug Tool
Dgraph Live Loader / Dgraph Bulk Loader
--format flag to Dgraph Live Loader and Dgraph Bulk Loader to specify input data format
type. (#2991)--new_uids flag in the live or bulk loader.
(18277872f)Dgraph Increment Tool
--retries flag to specify number of retry requests to set up a gRPC connection. (#3584)dgraph increment command. (#3257)Added
Add bash and zsh shell completion. See dgraph completion bash --help or
dgraph completion zsh --help for usage instructions. (#3084)
Add support for ECDSA in dgraph cert. (#3269)
Add support for JSON export via /admin/export?format=json. (#3309)
Add the SQL-to-Dgraph migration tool dgraph migrate. (#3295)
Add assign_timestamp_ns latency field to fix encoding_ns calculation. Fixes #3668.
(#3692, #3711)
Adding draining mode to Alpha. (#3880)
Enterprise features
Query
Type system
type function to query types. (#2933)@type directive to enforce type constraints. (#3003)Add the upsert block to send "query-mutate-commit" updates as a single call to Dgraph. This is
especially helpful to do upserts with the @upsert schema directive. Addresses #3059.
(#3412)
Allow querying all lang values of a predicate. (#2910)
Allow regexp() in @filter even for predicates without the trigram index. (#2913)
Add minweight and maxweight arguments to k-shortest path algorithm. (#2915)
Allow variable assignment of count(uid). (#2947)
Reserved predicates
Fuzzy match support via the match() function using the trigram index. (#2916)
Support for GraphQL variables in arrays. (#2981)
Show total weight of path in shortest path algorithm. (#2954)
Rename dgraph --dgraph option to --alpha. (#3273)
Support uid variables in from and to arguments for shortest path query. Fixes #1243.
(#3710)
Add support for len() function in query language. The len() function is only used in the @if
directive for upsert blocks. len(v) It returns the length of a variable v. (#3756,
#3769)
Mutation
Alter
Schema
uid. The uid schema type in
v1.0.x must be changed to [uid] to denote a one-to-many uid edge.dgraph. .Enterprise feature: Access Control Lists (ACLs)
Enterprise ACLs provide read/write/admin permissions to defined users and groups at the predicate-level.
--acl_cache_ttl flag.Enterprise feature: Backups
Enterprise backups are Dgraph backups in a binary format designed to be restored to a cluster of the same version and configuration. Backups can be stored on local disk or stored directly to the cloud via AWS S3 or any Minio-compatible backend.
dgraph lsbackup command to list backups. (#3219)Dgraph Zero
/shutdown at Zero's HTTP port. (#2928)Dgraph Live Loader
Dgraph Bulk Loader
--replace_out option to bulk command. (#3089)Tracing
Removed
Breaking change: Remove _predicate_ predicate within queries. (#3262)
Remove --debug_mode option. (#3441)
Remove deprecated and unused IgnoreIndexConflict field in mutations. This functionality is
superceded by the @upsert schema directive since v1.0.4. (#3854)
Enterprise features
--enterprise_feature flag. Enterprise license can be applied via /enterpriseLicense
endpoint in Zero. (#3824)Fixed
Fix anyofterms() query for facets from mutations in JSON format. Fixes #2867. (#2885)
Fixes error found by gofuzz. (#2914)
Fix int/float conversion to bool. (#2893)
Handling of empty string to datetime conversion. (#2891)
Default value should not be nil. (#2995)
Sanity check for empty variables. (#3021)
Panic due to nil maps. (#3042)
ValidateAddress should return true if IPv6 is valid. (#3027)
Throw error when @recurse queries contain nested fields. (#3182)
Fix panic in fillVars. (#3505)
Fix race condition in numShutDownSig in Alpha. (#3402)
Fix race condition in oracle.go. (#3417)
Fix tautological condition in zero.go. (#3516)
Correctness fix: Block before proposing mutations and improve conflict key generation. Fixes #3528. (#3565)
Reject requests with predicates larger than the max size allowed (longer than 65,535 characters). (#3052)
Upgrade raft lib and fix group checksum. (#3085)
Check that uid is not used as function attribute. (#3112)
Do not retrieve facets when max recurse depth has been reached. (#3190)
Remove obsolete error message. (#3172)
Remove an unnecessary warning log. (#3216)
Fix bug triggered by nested expand predicates. (#3205)
Empty datetime will fail when returning results. (#3169)
Fix bug with pagination using after. (#3149)
Fix tablet error handling. (#3323)
Fix crash when trying to use shortest path with a password predicate. Fixes #3657. (#3662)
Fix crash when calling drop all during a query. Fixes #3645. (#3664)
Bulk Loader: Fix memory usage by JSON parser. (#3794)
Fixing issues in export. Fixes #3610. (#3682)
Bug Fix: Use txn.Get in addReverseMutation if needed for count index (#3874)
Bug Fix: Remove Check2 at writeResponse. (#3900)
Bug Fix: Do not call posting.List.release.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[1.0.18]: https://github.com/dgraph-io/dgraph/compare/v1.0.17...v1.0.18
Fixed
expand(_all_). Fixes #3807. (#4143).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[1.0.17]: https://github.com/dgraph-io/dgraph/compare/v1.0.16...v1.0.17
Changed
Fixed
Nothing published for this version
Nothing published for this version
[1.0.16]: https://github.com/dgraph-io/dgraph/compare/v1.0.15...v1.0.16
Nothing published for this version
Nothing published for this version
[1.0.15]: https://github.com/dgraph-io/dgraph/compare/v1.0.14...v1.0.15
Fixed
offset not working with multiple orderasc or orderdesc statements. Fixes
#3366. (#3455)Changed
-v=3 logs for reporting Raft communication for debugging. These logs start with RaftComm:.
(9cd628f6f)Added
--snapshot_after (default: 10000) to configure the number of Raft entries to keep
before taking a snapshot. (#3367)--abort_older_than (default: 5m) to configure the amount of time since a pending
txn's last mutation until it is aborted. (#3367)--normalize_node_limit (default: 10000) to configure the limit for the maximum
number of nodes that can be returned in a query that uses the @normalize directive. Fixes
#3335. (#3467)dgraph_raft_applied_index) and the max
assigned txn timestamp (dgraph_max_assigned_ts). These are useful to track cluster progress.
(#3338)Removed
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →