Releases: dgraph-io/dgraph
Releases · dgraph-io/dgraph
Dgraph v0.8.0 Release
This release would not work on v0.7 data directly. Needs backup and reimport.
Features
Server
- Suppport
has
function. - Support for variables in mutation blocks.
- Support for k shortest paths.
- Support deletion of predicate.
- Support for
uid_in
function. - ignoreReflex directive to remove reflexive edges from results.
- Allow to use Dgraph as a library.
- Ability to monitor server metrics.
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 usedateTime
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 anxid
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) andgrpc
(default 9080) now.
Bugfixes
Dgraph v0.7.7 Release
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
Features
- Support for aggregating over levels and mathematical operations on value variables.
- Support for
S P *
andS * *
deletion. - Support for
expand_all
.
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
This release mainly focuses on small bug-fixes.
Features
- Support for GraphQL variables in functions.
- View JSON response in UI.
Bugfixes
Dgraph v0.7.4 Release
Features
- Full-Text Search:
- Introduction of new functions:
alloftext
andanyoftext
. - New index type:
fulltext
. - Language-specific stemmers and stop-words lists.
- Support for 15 languages.
- Introduction of new functions:
- Mutate and get schema through
/query
endpoint usingschema
block. - TLS support for interaction between Dgraph server and client.
- Support for aggregation, sorting and retrieving value variables.
- Support for multiple tokenizers per predicate.
- Recursive queries to traverse the graph till leafs.
- Filter by count at the root.
- Support for
avg
aggregation function. - Support for
regexp
matching on strings. - Filtering based on facets.
- User Interface:
- Support for showing results in a tree format, render facets, aggregation and shortest path results.
- Ability to filter/delete previous queries.
- Scratchpad to store temporary UID => name mapping.
- Regex to specify the predicate to show as part of Graph.
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
andorderdesc
). - 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
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.