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

Changelog History
Page 3

  • v20.07.0-beta.Jun15 Changes

    June 16, 2020

    Note: In v20.07.0-beta.Jun15, there's a known issue with re-importing exported data. The workaround is to remove the type dgraph.graphql from the schema in order to live load.

    ๐Ÿ”„ Changed

    • GraphQL
      • Make updateGQLSchema always return the new schema. (#5540)
      • Allow user to define and pass arguments to fields. (#5562)
    • Return error list while validating GraphQL schema. (#5576)
    • ๐Ÿšš GraphQL: move alias to end of graphql pipeline. (#5369)
    • Send CID for sentry events. (#5625)
    • Alpha: Enable bloom filter caching (#5552)
    • โž• Add support for multiple uids in uid_in function (#5292)
    • โšก๏ธ Update badger to commit dgraph-io/badger@e7b6e76. (#5537)
    • Enterprise features
      • /health endpoint now shows Enterprise Features available. Fixes #5234. (#5293)
      • GraphQL Changes for /health endpoint's Enterprise features info. Fixes #5234. (#5308)
      • Use encryption in temp badger, fix compilation on 32-bit. (#4963)
      • Breaking changes
      • [BREAKING] GraphQL: Add camelCase for add/update mutation. Fixes #5380. (#5547)

    โž• Added

    • GraphQL
      • Add Graphql-TouchedUids header in HTTP response. (#5572)
      • Introduce @cascade in GraphQL. Fixes #4789. (#5179)
      • Add authentication feature and http admin endpoints. Fixes #4758. (#5162)
      • Support existing gqlschema nodes without xid. (#5457)
      • Add custom logic feature. (#5004)
      • Add extensions to query response. (#5157)
    • โž• Add LogRequest variable to GraphQL config input. (#5197)
    • ๐Ÿ‘ Allow backup ID to be passed to restore endpoint. (#5208)
    • โž• Added support for application/graphQL to graphQL endpoints. (#5125)
    • โž• Add support for xidmap in bulkloader. Fixes #4917. (#5090)
    • โž• Add GraphQL admin endpoint to list backups. (#5307)
    • Enterprise features
      • Backup can take S3 credentials from IAM. (#5387)
      • Online restore. (#5095)
      • Add support for encrypted backups in online restores. (#5226)
      • Breaking changes
      • [BREAKING] Vault Integration. (#5402)

    ๐Ÿ›  Fixed

    • GraphQL
      • Add more validations for coercion of object/scalar and vice versa. (#5534)
      • Apply type filter for get query at root level. (#5497)
      • Fix mutation on predicate with special characters having dgraph directive. Fixes #5296. (#5526)
      • Return better error message if a type only contains ID field. (#5531)
      • Coerce value for scalar types correctly. (#5487)
      • Minor delete mutation msg fix. (#5316)
      • Report all errors during schema update. (#5425)
      • Do graphql query/mutation validation in the mock server. (#5362)
      • Remove custom directive from internal schema. (#5354)
      • Recover from panic within goroutines used for resolving custom fields. (#5329)
      • Start collecting and returning errors from remote remote GraphQL endpoints. (#5328)
      • Fix response for partial admin queries. (#5317)
    • โช Online restores only processes backups for the alpha's group. (#5588)
    • ๐Ÿ”„ Change backup groupId from int to uint32. (#5605)
    • ๐Ÿ›  Avoid assigning duplicate RAFT IDs to new nodes. Fixes #5436. (#5571)
    • Alpha: Gracefully shutdown ludicrous mode. (#5561)
    • ๐Ÿ‘‰ Use rampMeter for Executor. (#5503)
    • Dont set n.ops map entries to nil. Instead just delete them. (#5551)
    • โž• Add check on rebalance interval. (#5544)
    • Queries or mutations shouldn't be part of generated Dgraph schema. (#5524)
    • โช Sent restore proposals to all groups asyncronouosly. (#5467)
    • ๐Ÿ›  Fix long lines in export.go. (#5498)
    • ๐Ÿ›  Fix warnings about unkeyed literals. (#5492)
    • โœ‚ Remove redundant conversions between string and []byte. (#5478)
    • Propogate request context while handling queries. (#5418)
    • โœ… K-Shortest path query fix. Fixes #5426. (#5410)
    • ๐Ÿ‘ท Worker: Return nil on error. (#5414)
    • ๐Ÿ›  Fix warning about issues with the cancel function. (#5397).
    • Replace TxnWriter with WriteBatch. (#5007)
    • โž• Add a check to throw an error is a nil pointer is passed to unmarshalOrCopy. (#5334)
    • โœ‚ Remove noisy logs in tablet move. (#5333)
    • ๐Ÿ‘Œ Support bulk loader use-case to import unencrypted export and encrypt the result. (#5209)
    • ๐Ÿ›  Handle Dgraph shutdown gracefully. Fixes #3873. (#5137, #5138)
    • โšก๏ธ If we don't have any schema updates, avoid running the indexing sequence. (#5126)
    • Pass read timestamp to getNew. (#5085)
    • Indicate dev environment in Sentry events. (#5051)
    • Replaced s2 contains point methods with go-geom. (#5023)
    • ๐Ÿ’ฅ Breaking changes
      • [BREAKING] Namespace dgraph internal types/predicates with dgraph. Fixes #4878. (#5185)
      • [BREAKING] Remove shorthand for store_xids in bulk loader. (#5148)
      • [BREAKING] Introduce new facets format. Fixes #4798, #4581, #4907. (#5424)
  • v20.03.6 Changes

    October 22, 2020

    20.03.6 - 2020-10-22

    ๐Ÿ”„ Changed

    • โšก๏ธ Update badger to 5e3d4b9 (#6670)
    • Return content length header for queries (#6479)
    • ๐Ÿ‘‰ Use raft storage in managedmode (#6545)

    โž• Added

    • โž• Add utility to export backup data. (#6591)
    • ๐Ÿ— Makefile to build Dgraph inside docker container. (#6602)
    • โž• Add separate compression flag for z and wal dirs (#6420)

    ๐Ÿ›  Fixed

    • Break out if g.Ctx is done. (#6676)
    • ๐Ÿ›  Fix wrong path response for k-shortest paths. (#6655)
    • โšก๏ธ Update nextRaftId when starting a node with a raftId > 0. (#6598)
    • Pagination param "after" does not work when using func: uid(v). (#6631)
    • CID never created if Zero stops early after first init. (#6636)
    • Pause rollups during snapshot streaming. (#6610)
    • ๐Ÿ‘‰ Use flags for cache. (#6466)
    • ๐Ÿ›  Fix negative waitgroup error. (#6551)
    • ๐Ÿ”Š Report Raft heartbeat metrics for Zero v=3 logs and log read index. (#6553)
    • ๐Ÿ›  Fix readTs less than minTs. (#6518)
    • ๐Ÿ›  Fix bug when deleting and adding to a single UID predicate in the same transaction. (#6450)
  • v20.03.6-rc1

    October 12, 2020
  • v20.03.5 Changes

    September 17, 2020

    ๐Ÿ”„ Changed

    • โž• Add retry for schema update. (#6097)
    • Queue keys for rollup during mutation. (#6150)

    โž• Added

    • Add --cache_mb and --cache_percentage flags. (#6287)
    • โž• Add flag to set up compression in zero. (#6356)
    • โž• Add flags to set table and vlog loading mode for zero. (#6343)

    ๐Ÿ›  Fixed

    • GraphQL
      • Prevent empty values in fields having id directive. (#6197)
    • ๐Ÿ›  Fix out of order issues with split keys in bulk loader. (#6125)
    • Rollup a batch if more than 2 seconds elapsed since last batch. (#6138)
    • Simplify how list splits are tracked. (#6071)
    • Perform rollups more aggresively. (#6147)
    • Don't allow idx flag to be set to 0 on dgraph zero. (#6156)
    • ๐ŸŒฒ Stop forcing RAM mode for the write-ahead log. (#6260)
    • ๐Ÿ›  Fix panicwrap parent check. (#6300)
    • Sort manifests by backup number. (#6280)
    • Don't store start_ts in postings. (#6214)
    • โšก๏ธ Update reverse index when updating single UID predicates. (#6006)
    • Return error on closed DB. (#6321)
    • โšก๏ธ Optimize splits by doing binary search. Clear the pack from the main list. (#6333)
    • Sentry nil pointer check. (#6375)
    • ๐Ÿ‘‰ Use z.Closer instead of y.Closer. (#6398)
    • ๐Ÿ‘‰ Make Alpha Shutdown Again. (#6403)
    • ๐Ÿ‘ฎ Force exit if CTRL-C is caught before initialization. (#6409)
    • Batch list in bulk loader to avoid panic. (#6445)
    • Enterprise features
      • Make backups cancel other tasks. (#6244)
      • Add a lock to backups to process one request at a time. (#6340)
  • v20.03.5-rc1 Changes

    August 18, 2020

    ๐Ÿ”„ Changed

    • โž• Add retry for schema update. (#6097)
    • Queue keys for rollup during mutation. (#6150)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix out of order issues with split keys in bulk loader. (#6125)
    • Rollup a batch if more than 2 seconds elapsed since last batch. (#6138)
    • Simplify how list splits are tracked. (#6071)
    • Perform rollups more aggresively. (#6147)
    • Don't allow idx flag to be set to 0 on dgraph zero. (#6156)
  • v20.03.4 Changes

    July 23, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Update Badger 07/13/2020. (#5941, #5616)

    โž• Added

    • Sentry opt out banner. (#5729)
    • ๐Ÿท Tag sentry events with additional version details. (#5728)

    ๐Ÿ›  Fixed

    • GraphQL
      • Minor delete mutation msg fix. (#5564)
      • Make updateGQLSchema always return the new schema. (#5582)
      • Fix mutation on predicate with special characters in the @dgraph directive. (#5577)
      • Updated mutation rewriting to fix OOM issue. (#5536)
      • Fix case where Dgraph type was not generated for GraphQL interface. Fixes #5311. (#5844)
      • Fix interface conversion panic in v20.03 (#5857) .
    • Dont set n.ops map entries to nil. Instead just delete them. (#5557)
    • Alpha: Enable bloom filter caching. (#5555)
    • Alpha: Gracefully shutdown ludicrous mode. (#5584)
    • ๐Ÿ›  Alpha Close: Wait for indexing to complete. Fixes #3873. (#5597)
    • โœ… K shortest paths queries fix. (#5548)
    • โž• Add check on rebalance interval. (#5594)
    • โœ‚ Remove noisy logs in tablet move. (#5591)
    • ๐Ÿ›  Avoid assigning duplicate RAFT IDs to new nodes. Fixes #4536. (#5604)
    • Send CID for sentry events. (#5633)
    • ๐Ÿ‘‰ Use rampMeter for Executor. (#5503)
    • ๐Ÿ›  Fix snapshot calculation in ludicrous mode. (#5636)
    • โšก๏ธ Update badger: Avoid panic in fillTables(). Fix assert in background compression and encryption. (#5680)
    • Avoid panic in handleValuePostings. (#5678)
    • ๐Ÿ›  Fix facets response with normalize. Fixes #5241. (#5691)
    • Badger iterator key copy in count index query. (#5916)
    • Ludicrous mode mutation error. (#5914)
    • Return error instead of panic. (#5907)
    • ๐Ÿ›  Fix segmentation fault in draft.go. (#5860)
    • โšก๏ธ Optimize count index. (#5971)
    • โšก๏ธ Handle schema updates correctly in ludicrous mode. (#5969)
    • ๐Ÿ›  Fix Panic because of nil map in groups.go. (#6007)
    • Return error if server is not ready. (#6021)
    • Enterprise features
      • Backup: Change groupId from int to uint32. (#5614)
      • Backup: Use a sync.Pool to allocate KVs. (#5579)
  • v20.03.4-rc2 Changes

    July 16, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Update Badger 07/13/2020. (#5941,#5616)

    โž• Added

    • Sentry opt out banner. (#5729)
    • ๐Ÿท Tag sentry events with additional version details. (#5728)

    ๐Ÿ›  Fixed

    • GraphQL
      • Minor delete mutation msg fix. (#5564)
      • Make updateGQLSchema always return the new schema. (#5582)
      • Fix mutation on predicate with special characters in the @dgraph directive. (#5577)
      • Updated mutation rewriting to fix OOM issue. (#5536)
      • Fix case where Dgraph type was not generated for GraphQL interface. Fixes #5311. (#5844)
      • Fix interface conversion panic in v20.03 (#5857) .
    • Dont set n.ops map entries to nil. Instead just delete them. (#5557)
    • Alpha: Enable bloom filter caching. (#5555)
    • Alpha: Gracefully shutdown ludicrous mode. (#5584)
    • ๐Ÿ›  Alpha Close: Wait for indexing to complete. Fixes #3873. (#5597)
    • โœ… K shortest paths queries fix. (#5548)
    • โž• Add check on rebalance interval. (#5594)
    • โœ‚ Remove noisy logs in tablet move. (#5591)
    • ๐Ÿ›  Avoid assigning duplicate RAFT IDs to new nodes. Fixes #4536. (#5604)
    • Send CID for sentry events. (#5633)
    • ๐Ÿ‘‰ Use rampMeter for Executor. (#5503)
    • ๐Ÿ›  Fix snapshot calculation in ludicrous mode. (#5636)
    • โšก๏ธ Update badger: Avoid panic in fillTables(). Fix assert in background compression and encryption. (#5680)
    • Avoid panic in handleValuePostings. (#5678)
    • ๐Ÿ›  Fix facets response with normalize. Fixes #5241. (#5691)
    • Badger iterator key copy in count index query. (#5916)
    • Ludicrous mode mutation error. (#5914)
    • Return error instead of panic. (#5907)
    • ๐Ÿ›  Fix segmentation fault in draft.go. (#5860)
    • โšก๏ธ Optimize count index. (#5971)
    • โšก๏ธ Handle schema updates correctly in ludicrous mode. (#5969)
    • ๐Ÿ›  Fix Panic because of nil map in groups.go. (#6007)
    • Return error if server is not ready. (#6021)
    • Enterprise features
      • Backup: Change groupId from int to uint32. (#5614)
      • Backup: Use a sync.Pool to allocate KVs. (#5579)
  • v20.03.4-rc1 Changes

    June 22, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Update badger 06/09/2020 (#5616)

    ๐Ÿ›  Fixed

    • GraphQL
      • Minor delete mutation msg fix. (#5564)
      • Make updateGQLSchema always return the new schema. (#5582)
      • Fix mutation on predicate with special characters in the @dgraph directive. (#5577)
      • Updated mutation rewriting to fix OOM issue. (#5536)
    • Dont set n.ops map entries to nil. Instead just delete them. (#5557)
    • Alpha: Enable bloom filter caching. (#5555)
    • Alpha: Gracefully shutdown ludicrous mode. (#5584)
    • ๐Ÿ›  Alpha Close: Wait for indexing to complete. Fixes #3873. (#5597)
    • โœ… K shortest paths queries fix. (#5548)
    • โž• Add check on rebalance interval. (#5594)
    • โœ‚ Remove noisy logs in tablet move. (#5591)
    • ๐Ÿ›  Avoid assigning duplicate RAFT IDs to new nodes. Fixes #4536. (#5604)
    • Send CID for sentry events. (#5633)
    • ๐Ÿ‘‰ Use rampMeter for Executor. (#5503)
    • ๐Ÿ›  Fix snapshot calculation in ludicrous mode. (#5636)
    • โšก๏ธ Update badger: Avoid panic in fillTables(). Fix assert in background compression and encryption. (#5680)
    • Avoid panic in handleValuePostings. (#5678)
    • Enterprise features
      • Backup: Change groupId from int to uint32. (#5614)
      • Backup: Use a sync.Pool to allocate KVs. (#5579)
  • v20.03.3 Changes

    May 28, 2020

    ๐Ÿ”„ Changed

    • ๐Ÿšš Sentry Improvements: Segregate dev and prod events into their own Sentry projects. Remove Panic back-traces, Set the type of exception to the panic message. (#5305)
    • /health endpoint now shows EE Features available and GraphQL changes. (#5304)
    • Return error response if encoded response is > 4GB in size. Replace idMap with idSlice in encoder. (#5359)
    • ๐ŸŽ‰ Initialize sentry at the beginning of alpha.Run(). (#5429)

    โž• Added

    • โž• Adds ludicrous mode to live loader. (#5419)
    • GraphQL: adds transactions to graphql mutations (#5485)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Export: Ignore deleted predicates from schema. Fixes #5053. (#5326)
    • ๐Ÿ›  GraphQL: ensure upserts don't have accidental edge removal. Fixes #5355. (#5356)
    • ๐Ÿ›  Fix segmentation fault in query.go. (#5377)
    • ๐Ÿ›  Fix empty string checks. (#5390)
    • โšก๏ธ Update group checksums when combining multiple deltas. Fixes #5368. (#5394)
    • ๐Ÿ”„ Change the default ratio of traces from 1 to 0.01. (#5405)
    • ๐Ÿ›  Fix protobuf headers check. (#5381)
    • Stream the full set of predicates and types during a snapshot. (#5444)
    • ๐Ÿ‘Œ Support passing GraphQL schema to bulk loader. Fixes #5235. ([#5521][])
    • ๐Ÿ›  Export GraphQL schema to separate file. Fixes #5235. (#5528)
    • ๐Ÿ›  Fix memory leak in live loader. (#5473)
    • ๐Ÿ“œ Replace strings.Trim with strings.TrimFunc in ParseRDF. (#5494)
    • Return nil instead of emptyTablet in groupi.Tablet(). (#5469)
    • ๐Ÿ‘‰ Use pre-allocated protobufs during backups. (#5404)
    • During shutdown, generate snapshot before closing raft node. (#5476)
    • Get lists of predicates and types before sending the snapshot. (#5488)
    • ๐Ÿ›  Fix panic for sending on a closed channel. (#5479)
    • ๐Ÿ›  Fix inconsistent bulk loader failures. Fixes #5361. (#5537)
    • GraphQL: fix password rewriting. (#5483)
    • GraphQL: Fix non-unique schema issue. (#5481)
    • Enterprise features
      • Print error when applying enterprise license fails. (#5342)
      • Apply the option enterprise_license only after the node's Raft is initialized and it is the leader. Don't apply the trial license if a license already exists. Disallow the enterprise_license option for OSS build and bail out. Apply the option even if there is a license from a previous life of the Zero. (#5384)

    ๐Ÿ”’ Security

    • ๐Ÿ‘‰ Use SensitiveByteSlice type for hmac secret. (#5450)
  • v20.03.3-rc1 Changes

    May 29, 2020

    ๐Ÿ”„ Changed

    • ๐Ÿšš Sentry Improvements: Segregate dev and prod events into their own Sentry projects. Remove Panic back-traces, Set the type of exception to the panic message. (#5305)
    • /health endpoint now shows EE Features available and GraphQL changes. (#5304)
    • Return error response if encoded response is > 4GB in size. Replace idMap with idSlice in encoder. (#5359)
    • ๐ŸŽ‰ Initialize sentry at the beginning of alpha.Run(). (#5429)

    โž• Added

    • โž• Adds ludicrous mode to live loader. (#5419)
    • GraphQL: adds transactions to graphql mutations (#5485)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Export: Ignore deleted predicates from schema. Fixes #5053. (#5326)
    • ๐Ÿ›  GraphQL: ensure upserts don't have accidental edge removal. Fixes #5355. (#5356)
    • ๐Ÿ›  Fix segmentation fault in query.go. (#5377)
    • ๐Ÿ›  Fix empty string checks. (#5390)
    • โšก๏ธ Update group checksums when combining multiple deltas. Fixes #5368. (#5394)
    • ๐Ÿ”„ Change the default ratio of traces from 1 to 0.01. (#5405)
    • ๐Ÿ›  Fix protobuf headers check. (#5381)
    • Stream the full set of predicates and types during a snapshot. (#5444)
    • ๐Ÿ‘Œ Support passing GraphQL schema to bulk loader. Fixes #5235. (#5521)
    • ๐Ÿ›  Export GraphQL schema to separate file. Fixes #5235. (#5528)
    • ๐Ÿ›  Fix memory leak in live loader. (#5473)
    • ๐Ÿ“œ Replace strings.Trim with strings.TrimFunc in ParseRDF. (#5494)
    • Return nil instead of emptyTablet in groupi.Tablet(). (#5469)
    • ๐Ÿ‘‰ Use pre-allocated protobufs during backups. (#5404)
    • During shutdown, generate snapshot before closing raft node. (#5476)
    • Get lists of predicates and types before sending the snapshot. (#5488)
    • ๐Ÿ›  Fix panic for sending on a closed channel. (#5479)
    • ๐Ÿ›  Fix inconsistent bulk loader failures. Fixes #5361. (#5537)
    • GraphQL: fix password rewriting. (#5483)
    • GraphQL: Fix non-unique schema issue. (#5481)
    • Enterprise features
      • Print error when applying enterprise license fails. (#5342)
      • Apply the option enterprise_license only after the node's Raft is initialized and it is the leader. Don't apply the trial license if a license already exists. Disallow the enterprise_license option for OSS build and bail out. Apply the option even if there is a license from a previous life of the Zero. (#5384)

    ๐Ÿ”’ Security

    • ๐Ÿ‘‰ Use SensitiveByteSlice type for hmac secret. (#5450)