Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
Dgraph v0.7.3 release
Features:
- Support shortest path query
- Support storing and retrieving edge attributes
- Support aggregation functions (min, max, sum)
- Support password data type
- Support Dynamic schema.
- Support filter by count
- Support sorting and pagination at root.
- Support user interface to query and visualize results from Dgraph.
- Support normalize directive in query
- Support specifying tokenizer in schema file
- Graceful shutdown of Dgraph.
Improvements:
- Stricter check for invalid keywords while querying.
- Use block lists instead of a slice for task.List.
- Get debug info using a query parameter.
Bug fixes:
- Remove duplicate results when using order on an indexed predicate.
- Fix watermark is nil.
Dgraph v0.7.2-1 release
Contains fix for #550 on top of the changes for v0.7.2.
Dgraph v0.7.2 release
Features
- Support for multiple blocks in the same query which can be executed in parallel.
- Support for variables in queries.
- Support for multiple ids at the root of the query.
- Support for
not
operator in filter directive. - Support for rebuilding indexes.
Improvements
- Stricter RDF parser which conforms with the spec.
- Lexing queries is faster as we move away from channel to slices.
- Easier to specify geo-spatial entities in queries.
- Marshalling query response to JSON is faster.
- Support comments in queries and mutations.
Bugfixes
- Fixes with sync watermark
- Fixes with orderdesc
- Fix bug with using ICU (setting ICU_DATA broke Java)
Dgraph v0.7.1 release
Features
- Support
@reverse
for automatically adding reverse edges. - Support for taking snapshots using RAFT.
- Support for sorting results in descending order.
- Support less than equal (
leq
) and greater than equal (geq
) functions in filtering. - Support for Geo functions (near, contains, within, intersects).
Improvements
- Switch
dgraphloader
to use the Go client. - Move Go client to within the Dgraph repo with support for BatchWrite's.
- Support for reading flags from YAML config file.
- Allow empty strings in mutations.
- Introduce uid type for objects in schema.
- Remove query expansion based on schema.
Bug Fixes:
- Don’t return empty objects at root.
- Getting count with both order and filter applied.
- Minor bugfixes in GQL parser.
- Fix bugs in field alias.
- Return errors on using unindexed fields in query functions.
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!