All Versions
97
Latest Version
Avg Release Cycle
35 days
Latest Release
816 days ago

Changelog History
Page 9

  • v1.0.12 Changes

    March 05, 2019

    ๐Ÿš€ Note: This release requires you to export and re-import data prior to โฌ†๏ธ upgrading or rolling back. The underlying data format has been changed.

    โž• Added

    • ๐Ÿ‘Œ Support gzip compression for gRPC and HTTP requests. (#2843)
    • โช Restore is available from a full binary backup. This is an enterprise feature licensed under the Dgraph Community License.
    • 0๏ธโƒฃ Strict schema mode via --mutations flag. By default --mutations=allow is set to allow all mutations; --mutations=disallow disables all mutations; --mutations=strict allows mutations only for predicates which are defined in the schema. Fixes #2277.
    • โž• Add dgraph increment tool for debugging and testing. The increment tool queries for the specified predicate (default: counter.val), increments its integer counter value, and mutates the result back to Dgraph. Useful for testing end-to-end txns to verify cluster health. (#2955)
    • ๐Ÿ‘Œ Support best-effort queries. This would relax the requirement of linearizible reads. For best-effort queries, Alpha would request timestamps from memory instead of making an outbound request to Zero. (#3071)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Use the new Stream API from Badger instead of Dgraph's Stream framework. (#2852)
    • Discard earlier versions of posting lists. (#2859)
    • ๐Ÿ‘‰ Make HTTP JSON response encoding more efficient by operating on a bytes buffer directly. (ae1d9f3)
    • ๐Ÿ”จ Optimize and refactor facet filtering. (#2829)
    • ๐Ÿ‘‰ Show badger.Item meta information in dgraph debug output.
    • โž• Add new option to dgraph debug tool to get a histogram of key and value sizes. (#2844)
    • โž• Add new option to dgraph debug tool to get info from a particular read timestamp.
    • ๐Ÿ”จ Refactor rebuild index logic. (#2851, #2866)
    • ๐Ÿ—„ For gRPC clients, schema queries are returned in the Json field. The Schema proto field is deprecated.
    • ๐Ÿšš Simplify design and make tablet moves robust. (#2800)
    • ๐Ÿ”Š Switch all node IDs to hex in logs (e.g., ID 0xa instead of ID 10), so they are consistent with Raft logs.
    • ๐Ÿ”จ Refactor reindexing code to only reindex specific tokenizers. (#2948)
    • Introduce group checksums. (#2964, #3085)
    • Return aborted error if commit ts is 0.
    • โฌ‡๏ธ Reduce number of "ClusterInfoOnly" requests to Zero by making VerifyUid wait for membership information. (#2974)
    • Simplify Raft WAL storage caching. (#3102)
    • ๐Ÿš€ Build release binary with Go version 1.11.5.

    โœ‚ Removed

    • ๐Ÿšค Remove LRU cache from Alpha for big wins in query latency reduction (5-10x) and mutation throughput (live loading 1.7x faster). Setting --lru_mb is still required but will not have any effect since the cache is removed. The flag will be used later version when LRU cache is introduced within Badger and configurable from Dgraph.
    • โœ‚ Remove --nomutations flag. Its functionality has moved into strict schema mode with the --mutations flag (see Added section).

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Use json.Marshal for strings and blobs. Fixes #2662.
    • ๐Ÿ›  Let eq use string "uid" as value. Fixes #2827.
    • Skip empty posting lists in has function.
    • ๐Ÿ›  Fix Rollup to pick max update commit ts.
    • ๐Ÿ›  Fix a race condition when processing concurrent queries. Fixes #2849.
    • ๐Ÿ›  Show an error when running multiple mutation blocks. Fixes #2815.
    • ๐Ÿ›  Bring in optimizations and bug fixes over from Badger.
    • Bulk Loader for multi-group (sharded data) clusters writes out per-group schema with only the predicates owned by the group instead of all predicates in the cluster. This fixes an issue where queries made to one group may not return data served by other groups. (#3065)
    • โœ‚ Remove the assert failure in raftwal/storage.go.
  • v1.0.11 Changes

    December 17, 2018

    โž• Added

    • โ†” Integrate OpenCensus in Dgraph. (#2739)
    • โž• Add Dgraph Community License for proprietary features.
    • ๐Ÿ”‹ Feature: Full binary backups. This is an enterprise feature licensed under the Dgraph Community License. (#2710)
    • โž• Add --enterprise_features flag to enable enterprise features. By enabling enterprise features, you accept the terms of the Dgraph Community License.
    • โž• Add minio dep and its deps in govendor. (94daeaf7, 35a73e81)
    • โž• Add network partitioning tests with blockade tool. (./contrib/blockade)
    • โž• Add Zero endpoints /assign?what=uids&num=10 and /assign?what=timestamps&num=10 to assign UIDs or transaction timestamp leases.
    • โž• Adding the acl subcommand to support acl features (still work-in-progress). (#2795)
    • ๐Ÿ‘Œ Support custom tokenizer in bulk loader (#2820)
    • ๐Ÿ‘Œ Support JSON data with Dgraph Bulk Loader. (#2799)

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Make posting list memory rollup happen right after disk. (#2731)
    • Do not retry proposal if already found in CommittedEntries. (#2740)
    • โœ‚ Remove ExportPayload from protos. Export returns Status and ExportRequest. (#2741)
    • ๐Ÿ‘ Allow more escape runes to be skipped over when parsing string literal. (#2734)
    • Clarify message of overloaded pending proposals for live loader. (#2732)
    • Posting List Evictions. (e2bcfdad)
    • ๐ŸŒฒ Log when removing a tablet. (#2746)
    • ๐Ÿ‘ Deal better with network partitions in leaders. (#2749)
    • Keep maxDelay during timestamp req to 1s.
    • โšก๏ธ Updates to the version output info.
      • Print the go version used to build Dgraph when running dgraph version and in the logs when Dgraph runs. (#2768)
      • Print the Dgraph version when running live or bulk loader. (#2736)
    • Checking nil values in the equal function (#2769)
    • โšก๏ธ Optimize query: UID expansion. (#2772)
    • ๐Ÿ”€ Split membership sync endpoints and remove PurgeTs endpoint. (#2773)
    • Set the Prefix option during iteration. (#2780)
    • ๐Ÿ‘€ Replace Zero's /assignIds?num=10 endpoint with /assign?what=uids&num=10 (see Added section).

    โœ‚ Removed

    • โœ‚ Remove type hinting for JSON and RDF schema-less types. (#2742)
    • โœ‚ Remove deprecated logic that was found using vet. (#2758)
    • โœ‚ Remove assert for zero-length posting lists. (#2763)

    ๐Ÿ›  Fixed

    • โช Restore schema states on error. (#2730)
    • ๐Ÿ”จ Refactor bleve tokenizer usage (#2738). Fixes #2622 and #2601.
    • Switch to Badger's Watermark library, which has a memory leak fix. (0cd9d82e)
    • ๐Ÿ›  Fix tiny typo. (#2761)
    • ๐Ÿ›  Fix Test: TestMillion.
    • ๐Ÿ›  Fix Jepsen bank test. (#2764)
    • ๐Ÿ›  Fix link to help_wanted. (#2774)
    • ๐Ÿ›  Fix invalid division by zero error. Fixes #2733.
    • ๐Ÿ›  Fix missing predicates after export and bulk load. Fixes #2616.
    • ๐Ÿ– Handle various edge cases around cluster memberships. (#2791)
    • ๐Ÿ”„ Change Encrypt to not re-encrypt password values. Fixes #2765.
    • ๐Ÿ“œ Correctly parse facet types for both JSON and RDF formats. Previously the parsing was handled differently depending on the input format. (#2797)
  • v1.0.10 Changes

    November 05, 2018

    ๐Ÿš€ Note: This release requires you to export and re-import data. We have changed the underlying storage format.

    โž• Added

    • โšก๏ธ The Alter endpoint can be protected by an auth token that is set on the Dgraph Alphas via the --auth_token option. This can help prevent accidental schema updates and drop all operations. (#2692)
    • โšก๏ธ Optimize has function (#2724)
    • ๐Ÿ”ฆ Expose the health check API via gRPC. (#2721)

    ๐Ÿ”„ Changed

    • Dgraph is relicensed to Apache 2.0. (#2652)
    • ๐Ÿ’ฅ Breaking change. Rename Dgraph Server to Dgraph Alpha to clarify discussions of the Dgraph cluster. The top-level command dgraph server is now dgraph alpha. (#2667)
    • Prometheus metrics have been renamed for consistency for alpha, memory, and lru cache metrics. (#2636, #2670, #2714)
    • The dgraph-converter command is available as the subcommand dgraph conv. (#2635)
    • โšก๏ธ Updating protobuf version. (#2639)
    • ๐Ÿ‘ Allow checkpwd to be aliased (#2641)
    • ๐Ÿ‘ Better control excessive traffic to Dgraph (#2678)
    • Export format now exports on the Alpha receiving the export request. The naming scheme of the export files has been simplified.
    • ๐Ÿ‘Œ Improvements to the dgraph debug tool that can be used to inspect the contents of the posting lists directory.
    • โšก๏ธ Bring in Badger updates (#2697)

    ๐Ÿ›  Fixed

    • ๐Ÿ‘‰ Make raft leader resume probing after snapshot crash (#2707)
    • ๐Ÿ’ฅ Breaking change: Create a lot simpler sorted uint64 codec (#2716)
    • Increase the size of applyCh, to give Raft some breathing space. Otherwise, it fails to maintain quorum health.
    • โšก๏ธ Zero should stream last commit update
    • Send commit timestamps in order (#2687)
    • Query blocks with the same name are no longer allowed.
    • ๐Ÿ›  Fix out-of-range values in query parser. (#2690)
  • v1.0.9 Changes

    October 02, 2018

    โž• Added

    • ๐Ÿšš This version switches Badger Options to reasonable settings for p and w directories. This removes the need to expose --badger.options option and removes the none option from --badger.vlog. (#2605)
    • โž• Add support for ignoring parse errors in bulk loader with the option --ignore_error. (#2599)
    • ๐Ÿš€ Introduction of new command dgraph cert to simplify initial TLS setup. See TLS configuration docs for more info.
    • Add expand(_forward_) and expand(_reverse_) to GraphQL+- query language. If _forward_ is passed as an argument to expand(), all predicates at that level (minus any reverse predicates) are retrieved. If _reverse_ is passed as an argument to expand(), only the reverse predicates are retrieved.

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Rename intern pkg to pb (#2608)

    ๐Ÿ›  Fixed

    • โœ‚ Remove LinRead map logic from Dgraph (#2570)
    • Sanity length check for facets mostly.
    • ๐Ÿ‘‰ Make has function correct w.r.t. transactions (#2585)
    • Increase the snapshot calculation interval, while decreasing the min number of entries required; so we take snapshots even when there's little activity.
    • Convert an assert during DropAll to inf retry. (#2578)
    • ๐Ÿ›  Fix a bug which caused all transactions to abort if --expand_edge was set to false. Fixes #2547.
    • ๐Ÿ”€ Set the Applied index in Raft directly, so it does not pick up an index older than the snapshot. Ensure that it is in sync with the Applied watermark. Fixes #2581.
    • โšก๏ธ Pull in Badger updates. This also fixes the Unable to find log file, retry error.
    • ๐Ÿ‘Œ Improve efficiency of readonly transactions by reusing the same read ts (#2604)
    • ๐Ÿ›  Fix a bug in Raft.Run loop. (#2606)
    • ๐Ÿ›  Fix a few issues regarding snapshot.Index for raft.Cfg.Applied. Do not overwrite any existing data when apply txn commits. Do not let CreateSnapshot fail.
    • Consider all future versions of the key as well, when deciding whether to write a key or not during txn commits. Otherwise, we'll end up in an endless loop of trying to write a stale key but failing to do so.
    • โœ… When testing inequality value vars with non-matching values, the response was sent as an error although it should return empty result if the query has correct syntax. (#2611)
    • ๐Ÿ”Š Switch traces to glogs in worker/export.go (#2614)
    • ๐Ÿ‘Œ Improve error handling for dgraph live for errors when processing RDF and schema files. (#2596)
    • ๐Ÿ›  Fix task conversion from bool to int that used uint32 (#2621)
    • Fix expand(_all_) in recurse queries (#2600).
    • โž• Add language aliases for broader support for full text indices. (#2602)
  • v1.0.8 Changes

    August 29, 2018

    โž• Added

    • Introduce a new /assignIds HTTP endpoint in Zero, so users can allocate UIDs to nodes externally.
    • โž• Add a new tool which retrieves and increments a counter by 1 transactionally. This can be used to test the sanity of Dgraph cluster.

    ๐Ÿ”„ Changed

    • This version introduces tracking of a few anonymous metrics to measure Dgraph adoption (#2554). These metrics do not contain any specifically identifying information about the user, so most users can leave it on. This can be turned off by setting --telemetry=false flag if needed in Dgraph Zero.

    ๐Ÿ›  Fixed

    • Correctly handle a list of type geo in json (#2482, #2485).
    • ๐Ÿ›  Fix the graceful shutdown of Dgraph server, so a single Ctrl+C would now suffice to stop it.
    • ๐Ÿ›  Fix various deadlocks in Dgraph and set ConfState in Raft correctly (#2548).
    • Significantly decrease the number of transaction aborts by using SPO as key for entity to entity connections. (#2556).
    • 0๏ธโƒฃ Do not print error while sending Raft message by default. No action needs to be taken by the user, so it is set to V(3) level.
  • v1.0.7 Changes

    August 10, 2018

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Set the --conc flag in live loader default to 1, as a temporary fix to avoid tons of aborts.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ All Oracle delta streams are applied via Raft proposals. This deals better with network partition like edge-cases. #2463
    • ๐Ÿ›  Fix deadlock in 10-node cluster convergence. Fixes #2286.
    • ๐Ÿ‘‰ Make ReadIndex work safely. #2469
    • Simplify snapshots, leader now calculates and proposes snapshots to the group. #2475.
    • ๐Ÿ‘‰ Make snapshot streaming more robust. #2487
    • ๐Ÿšš Consolidate all txn tracking logic into Oracle, remove inSnapshot logic. #2480.
    • ๐Ÿ› Bug fix in Badger, to stop panics when exporting.
    • ๐Ÿ‘‰ Use PreVote to avoid leader change on a node join.
    • ๐Ÿ›  Fix a long-standing bug where raft.Step was being called via goroutines. It is now called serially.
    • ๐Ÿ›  Fix context deadline issues with proposals. #2501.
  • v1.0.6 Changes

    June 20, 2018

    โž• Added

    • ๐Ÿ‘Œ Support GraphQL vars as args for Regexp function. #2353
    • ๐Ÿ‘Œ Support GraphQL vars with filters. #2359
    • โž• Add JSON mutations to raw HTTP. #2396

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix math >= evaluation. #2365
    • ๐Ÿšš Avoid race condition between mutation commit and predicate move. #2392
    • Ability to correctly distinguish float from int in JSON. #2398
    • Remove dummy data key. #2401
    • Serialize applying of Raft proposals. Concurrent application was complex and cause of multiple bugs. #2428.
    • ๐Ÿ‘Œ Improve Zero connections.
    • ๐Ÿ›  Fix bugs in snapshot move, refactor code and improve performance significantly. #2440, #2442
    • โž• Add error handling to GetNoStore. Fixes #2373.
    • ๐Ÿ›  Fix bugs in Bulk loader. #2449
    • ๐Ÿ›  Posting List and Raft bug fixes. #2457

    ๐Ÿ”„ Changed

    • Pull in Badger v1.5.2.
    • Raft storage is now done entirely via Badger. This reduces RAM consumption by previously used MemoryStorage. #2433
    • Trace how node.Run loop performs.
    • ๐Ÿ‘ Allow tweaking Badger options.

    Note: This change modifies some flag names. In particular, Badger options are now exposed via flags named with --badger. prefix.

  • v1.0.5 Changes

    April 20, 2018

    โž• Added

    • Option to have server side sequencing.
    • Ability to specify whitelisted IP addresses for admin actions.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix bug where predicate with string type sometimes appeared as _:uidffffffffffffffff in exports.
    • Validate facet value should be according to the facet type supplied when mutating using N-Quads (#2074).
    • ๐Ÿ‘‰ Use time.Equal function for comparing predicates with datetime(#2219).
    • โœ๏ธ Skip BitEmptyPosting for has queries.
    • Return error from query if we don't serve the group for the attribute instead of crashing (#2227).
    • Send maxpending in connection state to server (#2236).
    • ๐Ÿ›  Fix bug in SP* transactions (#2148).
    • Batch and send during snapshot to make snapshots faster.
    • Don't skip schema keys while calculating tablets served.
    • ๐Ÿ›  Fix the issue which could lead to snapshot getting blocked for a cluster with replicas (#2266).
    • Dgraph server retries indefinitely to connect to Zero.
    • ๐Ÿ‘ Allow filtering and regex queries for list types with lossy tokenizers.
    • ๐Ÿ“ฆ Dgraph server segfault in worker package (#2322).
    • Node crashes can lead to the loss of inserted triples (#2290).

    ๐Ÿ”„ Changed

    • ๐Ÿšš Cancel pending transactions for a predicate when predicate move is initiated.
    • ๐Ÿšš Move Go client to its own repo at dgraph-io/dgo.
    • Make expand(_all_) return value and uid facets.
    • โž• Add an option to specify a @lang directive in schema for predicates with lang tags.
    • Flag memory_mb has been changed to lru_mb. The default recommended value for lru_mb is one-third of the total RAM available on the server.
  • v1.0.4 Changes

    March 09, 2018

    โž• Added

    • ๐Ÿ‘Œ Support for empty strings in query attributes.
    • ๐Ÿ‘Œ Support GraphQL vars in first, offset and after at root.
    • Add support for query_edge_limit flag which can be used to limit number of results for shortest path, recurse queries.
    • ๐Ÿ‘‰ Make rebalance interval a flag in Zero.
    • ๐Ÿšค Return latency information for mutation operations.
    • ๐Ÿ‘Œ Support @upsert directive in schema.

    ๐Ÿ›  Fixed

    • Issues with predicate deletion in a cluster.
    • ๐Ÿ– Handle errors from posting.Get.
    • โšก๏ธ Correctly update commitTs while committing and startTs == deleteTs.
    • Error handling in abort http handler.
    • โœ… Get latest membership state from Zero if uid in mutation > maxLeaseId.
    • ๐Ÿ›  Fix bug in Mutate where mutated keys were not filled.
    • โšก๏ธ Update membership state if we can't find a leader while doing snapshot retrieval.
    • ๐Ÿ‘‰ Make snapshotting more frequent, also try aborting long pending transactions.
    • Trim null character from end of strings before exporting.
    • ๐Ÿ“œ Sort facets after parsing RDF's using bulk loader.
    • ๐Ÿ”€ Fig bug in SyncIfDirty.
    • ๐Ÿ›  Fix fatal error due to TxnTooBig error.
    • ๐Ÿ›  Fix bug in dgraph live where some batches could be skipped on conflict error.
    • Fix a bug related to expand(all) queries.
    • โš™ Run cleanPredicate and proposeKeyValues sequentially.
    • Serialize connect requests in Zero.

    ๐Ÿ”„ Changed

    • Retry snapshot retrieval and join cluster indefinitely.
    • ๐Ÿ‘‰ Make client directory optional in dgraph live.
    • Do snapshot in Zero in a goroutine so that Run loop isn't blocked.
  • v1.0.3 Changes

    February 08, 2018

    โž• Added

    • ๐Ÿ‘Œ Support for specifying blank nodes as part of JSON mutation.
    • dgraph version command to check current version.
    • ๐Ÿณ curl to Docker image.
    • ๐Ÿšš moveTablet endpoint to Zero to allow initiating a predicate move.

    ๐Ÿ›  Fixed

    • Out of range error while doing eq query.
    • โฌ‡๏ธ Reduce maxBackOffDelay to 10 sec so that leader election is faster after restart.
    • ๐Ÿ›  Fix bugs with predicate move where some data was not sent and schema not loaded properly on replicas.
    • ๐Ÿ›  Fix the total number of RDF's processed when live loader ends.
    • Reindex data when schema is changed to list type to fix adding and deleting new data.
    • Correctly upate uidMatrix when facetOrder is supplied.
    • Inequality operator(gt and lt) result for non lossy tokenizers.

    ๐Ÿ”„ Changed

    • --zero_addr flag changed to --zero for dgraph bulk command.
    • 0๏ธโƒฃ Default ports for Zero have been changed 7080 => 5080(grpc) and 8080 => 6080(http).
    • โšก๏ธ Update badger version and how purging is done to fix CPU spiking when Dgraph is idle.
    • โš  Print predicate name as part of the warning about long term for exact index.