Skip to content

Releases: dgraph-io/dgraph

Dgraph v0.8.0 Release

17 Jul 08:46
Compare
Choose a tag to compare

This release would not work on v0.7 data directly. Needs backup and reimport.

Features

Server

Client

  • Go client now supports an Unmarshal function which allows unmarshalling the protocol buffer response to a custom struct.
  • Add support for storing and retrieving raw bytes.
  • Cleaner and more intuitive API for doing mutations.

Improvements

  • Move away from RocksDB and get rid of CGO. Start using Badger.
  • Assign uids sequentially.
  • Allow retrieving other children with @groupby.
  • Allow aliases for math expressions.
  • Support filtering using multiple tokens with eq.
  • Better language lists semantics. Issue #1010
  • Add a uid function which can be used for filtering uids at any level.
  • Allow adding @count indexes which allow for faster count comparison queries at the root.
  • Optimisations in how we store Posting List data structure. Store uids separately.
  • Allow specifying a max depth argument for the shortest path.
  • Support for month, day, hour indexes for dateTime datatype.
  • Get rid of lhmap and add an LRU Cache. We don't do Stop the World anymore.

Changes (from v0.7.7)

  • date type is no longer supported as a schema type in Dgraph. You should use dateTime instead.
  • Change of syntax for querying by id.
# Before
{
  me(id: [0x1, 0x2]) {
    ...
  }
}

# Now
{
  me(func: uid(0x1, 0x2)) {
    ...
  }
}
  • Dgraph doesn't fingerprint xids anymore. They are now treated similarly to other edges. So now if you had an xid and you wanted to query by it you would use.
# You need to have an index on xid for calling `eq` function.
{
  me(func: eq(xid, "alice")) {
    ....
  } 
}
  • /admin/backup is now /admin/export. It outputs blank nodes which can now be used to load data into a fresh instance.
  • There is a separate port for http (default 8080) and grpc (default 9080) now.

Bugfixes

Dgraph v0.7.7 Release

23 May 03:46
Compare
Choose a tag to compare

Features

  • Support for Group by
  • Hash tokenizer for strings.
  • Support for count at root.
  • Suppport for reloading TLS certs.

Improvements

  • Allow setting id as a GraphQL variable.
  • Support for variables in inequality functions.
  • Support for count and alias for _predicate_.
  • Support alias for _uid_.
  • A new and improved Dgraph browser.

Bugfixes

Dgraph v0.7.6 Release

01 May 04:56
Compare
Choose a tag to compare

Features

Improvements

  • Regex searches are now faster with support for trigram indexing.
  • Parallelize full scan by using multiple iterators.
  • Change function name. geq => gq, leq => le
  • Additional filtering to ensure returned values match language specified in function invocation.
  • Support alias for var and aggregation functions.
  • Support for adding facets using Go client.

Bugfixes

  • Fix cascade with ordering.
  • Fixes to full text search used with multiple languages.
  • Fixes in RDF parsing (throw error if type not identified).
  • Allow only one sortable index per predicate.
  • Return error if attribute is not indexed and used in functions.
  • Normalize directive returns all unique paths in a subgraph.
  • Fix missing port in address issue #837.
  • Fix issue with applyOrderAndPagination #889.
  • Couldn't parse facet value, issue #826.
  • Bugs related to string quoting, issue #862.
  • Retrieve facets for predicate with language, issue #878.

Dgraph v0.7.5 Release

10 Apr 07:08
Compare
Choose a tag to compare

This release mainly focuses on small bug-fixes.

Features

  • Support for GraphQL variables in functions.
  • View JSON response in UI.

Bugfixes

  • Track context information for variables #821
  • Eq function returns an error when no schema is set #810
  • Dgraph crashes while running shortest path query. #808
  • @filter(NOT var(VARIABLE)) not working as expected #802
  • Fixes for issues related to full text search.
  • Support language tag in ordering at root.

Dgraph v0.7.4 Release

31 Mar 00:49
Compare
Choose a tag to compare

Features

Improvements

  • Move to Go 1.8.
  • Improve shortest path result to return path information.
  • Switch Int type to int64 from int32.
  • Improve performance of sorting (orderasc and orderdesc).
  • Stricter handling of commas and quotes while parsing the query.
  • Removal of the schema file. Schema stored within Dgraph.

Bugfixes

  • Aggregation functions returned global aggregates rather than per entity.
  • Pagination crashes on some invalid offsets.
  • Filtering on reverse UIDs returns an empty result.
  • Better errors on non-indexed attributes.
  • Mutation with UID 0 crashes the server
  • Sorting on strings returned incorrect results.

Dgraph v0.7.3 release

23 Feb 00:46
Compare
Choose a tag to compare

Features:

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

10 Feb 03:41
Compare
Choose a tag to compare

Contains fix for #550 on top of the changes for v0.7.2.

Dgraph v0.7.2 release

27 Jan 07:11
Compare
Choose a tag to compare

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

26 Dec 03:44
Compare
Choose a tag to compare
Dgraph v0.7.1 release Pre-release
Pre-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

08 Dec 06:29
Compare
Choose a tag to compare
Dgraph v0.7.0 release Pre-release
Pre-release

Features:

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.