Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
Dgraph v0.7.0 release
Features:
- Fault tolerance using RAFT.
- Ability to take backups using HTTP.
- Consensus based mutations.
- Auto assign uids as part of mutations.
- Filters - Term matching
- Schema system.
- Storage types.
- Indexing for all data types.
- Tokenize English and CJK strings using ICU.
- Support for clean exit of Dgraph server using HTTP.
- Support GraphQL field alias.
- Support functions at root.
Improvements:
- Speed up
_count_
queries. - Support count with filtering and pagination.
- Make mutations concurrent in RAFT.
- Dgraphloader now runs mutations over HTTP.
- Serve HTTP and gRPC requests through same port using cmux.
- Replace gotomic map with an efficient sharded go-map.
- Batch write commits to RocksDB.
- Move away from gorocksdb and have own cgo wrapper.
- Track server statistics in /debug endpoint.
- Simplify the logic for posting lists.
- Switch from Flatbuffers to Protocol buffers.
- Use same traversal to generate JSON and Protocol buffer results.
- Update to RocksDB 4.11.2.
Dgraph v0.4.4 release
Dgraph v0.4.3 release
Features
- Delete operation is now supported as part of mutations. The syntax is very similar to
set
. - Result count operation is supported using
_count_
keyword. - Pagination support with
after
,offset
keywords.
You can have a look at the examples on our wiki.
Bugfixes
- Returning error while parsing malformed N-Quads. #117
- JSON responses are now in sync with GraphQL specs. #114
Improvements
- Our client libraries are now faster on shifting to gogo/protobuf.
- Better documentation for gql and rdf packages.
Dgraph v0.4.2 release
Improvements
- Switch to tecbot gorocksdb which allows opening stores as read-only
- Build static binaries for Linux and Mac for ease of use
- Added clients in Python and Java to separate repositories
- Replaced glog with net/tracer which does RPC tracing and exposes HTTP interfaces on /debug/requests and /debug/events for easier debugging.
Others
- Setup TravisCI and Code Coverage.
- Also set up Dgraph wiki at wiki.dgraph.io.
Dgraph v0.3 release
Features
- Dgraph now supports
first: N
argument. Note that N can be negative, to retrieve the last N results.
Example:
{
me(_xid_: m.06pj8) {
film.director.film (first: 10) {
type.object.name.en
film.film.starring (first: -5) {
film.performance.actor {
type.object.name.en
}
}
}
}
}
- Dgraph now supports queries and mutations over binary protocol (Protocol Buffer) via
grpc.io
. We observed significant improvements in the conversion time from Flatbuffers to Protocol Buffer compared to Flatbuffers to JSON. Blog post to follow.
Bug Fixes
- Parse RDF when
_uid_:0xsome-uid
is provided. https://trello.com/c/aHWiDZzA - Handle error output from
rpc.ServeRequest
, and break out of the loop. This bug caused 100% CPU utilization, due to infinite looping in v0.2. - Fixed the bug with timestamps not being monotonically increasing by having the commit module generate the log timestamp, instead of providing one. https://trello.com/c/Qg0eMe6i
Improvements
- Output offending RDF lines if our loader crashes. https://trello.com/c/aFx0Nd0k
- Automatically timeout a query after 1 minute of processing. https://trello.com/c/QXAIThLf
- Value property in an edge is stored as
[]byte
instead ofinterface{}
. This led to latency improvements in the processing of the internalSubgraph
structure.
Contact
Like Dgraph? Show us some love by starring us on Github. Are you using Dgraph? Talk to us at https://discuss.dgraph.io!