Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
nightly [deprecated]
Nightly is no longer being built.
Dgraph development (pre-release) build which is updated every night.
You can automatically install the nightly binaries along with the assets by running
`curl https://get.dgraph.io -sSf | bash -s nightly`.
v1.0.5
Features
- Option to have server side sequencing.
- Ability to specify whitelisted IP addresses for admin actions.
Bugfixes
- Fix bug where predicate with string type sometimes appeared as
_:uidffffffffffffffff
in exports. - Validate facet value should be according to the facet type supplied when mutating using NQuads (#2074).
- Use
time.Equal
function for comparing predicates withdatetime
(#2219). - Skip
BitEmptyPosting
forhas
queries. - Return error from query if we don't serve the group for the attribute instead of crashing (#2227).
- Send
maxpending
in connection state to server (#2236). - Fix bug in SP* transactions (#2148).
- Batch and send during snapshot to make snapshots faster.
- Don't skip schema keys while calculating tablets served.
- Fix the issue which could lead to snapshot getting blocked for a cluster with replicas (#2266).
- Dgraph server retries indefinitely to connect to Zero.
- Allow filtering and regex queries for list types with lossy tokenizers.
- Dgraph server segfault in worker package (#2322).
- Node crashes can lead to the loss of inserted triples (#2290).
Improvements
- Cancel pending transactions for a predicate when predicate move is initiated.
- Move Go client to its own repo at
dgraph-io/dgo
. - Make
expand(_all_)
return value and uid facets.
Note the following changes if you are upgrading from an older version:
- Add an option to specify a
@lang
directive in schema for predicates with lang tags. - Flag
memory_mb
has been changed tolru_mb
. The default recommended value forlru_mb
is
one-third of the total RAM available on the server.
v1.0.4
Features
- Support for empty strings in query attributes.
- Support GraphQL vars in first, offset and after at root.
- Add support for
query_edge_limit
flag which can be used to limit the number of results for shortest path, recurse queries. - Make rebalance interval a flag for Zero.
- Return latency information for mutation operations.
- Support @upsert directive in the schema. This replaces the
IgnoreIndexConflict
flag which was part of the mutation object earlier. TheIgnoreIndexConflict
flag would no longer be parsed by the server.
Bugfixes
- Fix issues with predicate deletion in a cluster.
- Handle errors from
posting.Get
. - Correctly update
commitTs
while committing andstartTs
==deleteTs
. - Error handling in abort HTTP handler.
- Get latest membership state from Zero if
uid
>maxLeaseId
. - Fix bug in Mutate where mutated keys were not filled.
- Update membership state if we can't find a leader while doing snapshot retrieval.
- Make snapshotting more frequent, also try aborting long pending transactions.
- Trim null character from end of strings before exporting.
- Sort facets after parsing RDF's using bulk loader.
- Fig bug in
SyncIfDirty
. - Fix fatal error due to
TxnTooBig
error. - Fix bug in dgraph live where some batches could be skipped on conflict error.
- Fix a bug related to
expand(_all_)
queries. - Run cleanPredicate and proposeKeyValues sequentially.
- Serialize connect requests in Zero.
Improvements
- Retry snapshot retrieval and join cluster indefinitely.
- Make client directory optional in dgraph live.
- Do snapshot in Zero in a goroutine so that Run loop isn't blocked.
v1.0.3
Features
- Support for specifying blank nodes as part of JSON mutation.
dgraph version
command to check current version.- Added
moveTablet
endpoint to Zero to allow initiating a predicate move.
Changes
--zero_addr
flag changed to--zero
fordgraph bulk
command.- Default ports for Zero have been changed
7080
=>5080
(grpc) and8080
=>6080
(http). - Default port for Ratel has been changed
8081
=>8000
so that it doesn't conflict with Dgraph server ports. - Print predicate name as part of the warning about long terms for exact index.
Bugfixes
- Out of range error while doing
eq
query. - Reduce
maxBackOffDelay
to 10 sec so that leader election is faster after a restart (#2031). - Fix bugs with predicate move where some data was not sent and schema not loaded properly on
replicas (#2047). - Fix the total number of RDF's processed when live loader ends (#2052).
- Reindex data when schema is changed to list type to fix adding and deleting new data (#2060).
- Correctly update uidMatrix when facetOrder is supplied (#2083).
- Inequality operator(
gt
andlt
) result for non-lossy tokenizers (#2085). - Change how purging is done to fix CPU spiking when Dgraph is idle (#2038).
Thanks to @sboorlagadda and @kshitij10496 for their contributions.
v1.0.2
Improvements
- Remove StartTs field from
api.Operation
. - Print error message in live loader if it's not ErrAborted. Also, stop using membership state and
instead use the address given by the user. - Only send keys corresponding to data that was mutated.
Bugfixes
- Always return predicates of list type in an array.
- Edges without facet values are also returned when performing sort on facet.
- Don't derive schema while deleting edges.
- Better error checking when accessing posting lists. Fixes bug where parts of queries are sometimes omitted when system is under heavy load.
- Fix missing error check in mutation handling when using CommitNow (gave incorrect error).
- Fix bug where eq didn't work correctly for the fulltext index.
- Fix race because of which
replicas
flag was not respected. - Fix bug with key copy during predicate move.
- Fix race in merging keys from btree and badger iterator.
- Fix snapshot retrieval for new nodes by retrieving it before joining the cluster.
- Write schema at timestamp 1 in bulk loader.
- Fix unexpected meta fatal error.
- Fix groupby result in case the child being grouped open has multiple parents.
v1.0.1
Bugfixes
- Wait for background goroutines to finish in posting package on shutdown. (#1939)
- Return error if we cant parse the uid given in JSON input for mutations. (#1937)
- Don't remove
_predicate_
schema from disk during drop all. (#1925) - Fix results not being returned on restart. (#1935)
- Fix panic in expand(all)
Improvements
- Make sure at least one field is set while doing Alter operation.
v1.0.0
Improvements
- Allow doing Mutate and Alter Operations using Ratel(Dgraph browser).
- Export now uses correct blank node syntax.
DropAttr
now also removes the schema for the attribute (previously it just removed the edges).- Tablet metadata is removed from Zero after deletion of predicate.
- LRU size is changed dynamically now based on
max_memory_mb
- RunValueLogGC is called for every GB increase in size of value logs.
- Prohibit string to password schema change.
- Make purging less aggressive.
- Check if GraphQL Variable is defined before using.
Bugfixes
- Language tag parsing in queries now accepts digits (in line with RDF parsing).
- Ensure that GraphQL variables are declared before use.
- Membership stream doesn't get stuck if node steps down as leader.
- Fix issue where sets were not being returned after doing a S P * deletion when part of same
transaction. - Empty string values are stored as it is and no strings have special meaning now.
- Correctly update order of facetMatrix when orderdesc/orderasc is applied.
- Allow live and bulk loaders to work with multiple zeros.
- Fix sorting for predicates with multiple language tags.
- Fix alias edge cases in normalize directive.
- Allow reading new index key mutated as part of same transaction.
- Fix bug in value log GC in badger.
- SIGINT now forces a shutdown after 5 seconds when there are pending RPCs.
v0.9.4
This release contains a small fix which allows using the data directories from previous versions(v0.9.0
-v0.9.2
).
Users should skip v0.9.3
and upgrade to v0.9.4
instead.
Improvement
- Max size for GRPC messages that can be sent by the server is now set to
4GB
.
v0.9.3
This release contains important bugfixes and improvements.
Features
- Support for alias while asking for facets.
- Support for general configuration via environment variables and configuration files.
IgnoreIndexConflict
field inapi.Mutation
which allows ignoring conflicts on index keys.
Improvements
expand(_all_)
now correctly gives all language variants of a string.- When showing a predicate with list type, only values without a language tag are shown. To get the values of the predicate that are tagged with a language, query the predicate with that language explicitly.
expand(_all_)
now follows reverse edges.- Don't return uid for nodes without any children when requested through debug flag.
- GraphQL variables for HTTP endpoints. Variable map can be set as a JSON
object using theX-Dgraph-Vars
header. - Live loader treats subjects/predicates that look like UIDs as existing nodes
rather than new nodes. - Proto definitions are split into intern and api. Users using
v0.9.x
of the Go client will have to change their code to useapi
instead ofproto
as package name.
Bugfixes
- Indexes now correctly maintained when deleting via
S * *
andS P *
. - Validate the address advertised by dgraph nodes.
- Store/Restore peer map on snapshot.
- Fix rdfs per second reporting in live loader.
- Fix bug in
@groupby
queries where predicate was converted to lower case. - Fix bug in lru eviction.
Dgraph v0.9.2 Release
This release contains bugfixes, features and minor improvements.
Features
- Support for removing dead nodes from the quorum.
- Support for alias in
groupby
queries. DeleteEdges
helper function for Go client.
Improvements
- Dgraph tries to abort long running/abandoned transactions.
- Reduce dependencies for the Go client.
depth
andloop
arguments are now passed inside@recurse
.
Bugfixes
base36
encode keys which are part of theTxnContext
before sending to the client. This makes sure they are valid UTF-8 strings and the client can parse them.- Fix
--ui
flag parsing. - Fix TLS flag parsing for Dgraph server and live loader.
- Fix race condition in
expand(_all_)
queries. #1783