Skip to content

Dgraph v0.3 release

Pre-release
Pre-release
Compare
Choose a tag to compare
@manishrjain manishrjain released this 23 May 08:36
· 5395 commits to master since this 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 of interface{}. This led to latency improvements in the processing of the internal Subgraph 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!