Skip to content

Releases: hypermodeinc/dgraph

Dgraph v20.11.0 - Tenacious T’Challa

16 Dec 17:13
c4245ad
Compare
Choose a tag to compare

Changed

  • [BREAKING] Feat: Use snappy compression by default. (#6697)
  • [BREAKING] Fix(OOM): Don't unmarshal pb.Proposals until we need them (#7059)
  • [BREAKING] Feat(Dgraph): Use Badger with new WAL format. (#6643)
  • [BREAKING] Switch Raft WAL to use simple files (#6572)
  • Feat(tls): splitting tls_dir + making health point available on HTTP (#6821)

Added

  • GraphQL

    • Feat(GraphQL): Add Aggregation Queries at Child Level (#7022)
    • Feat(GraphQL): Add aggregate query at root level (#6985)
    • Feat(GraphQL): Mutations with Auth on interfaces should work correctly. (#6839)
    • Feat(GraphQL): This PR adds support for "application/dql" in content header. (#6849)
    • Feat(GraphQL): Add count queries Feature at non-root levels (#6834)
    • Fix(GraphQL): AND/OR filters now accept an array while also accepting objects. (#6801)
    • Feat(GraphQL): Allow Query with Auth rules on Interfaces (#6776)
    • Feat(GraphQL): This PR adds auth switch in GraphQL authorization header. (#6779)
    • Feat(GraphQL): Add count query Feature at root to GraphQL (#6786)
    • Feat(GraphQL): Add generate directive to graphql schema (#6760)
    • Feat(GraphQL): add support for all RSA and HMAC algorithms supported by github.com/dgrijalva/jwt-go/v4 (#6750)
    • Feat(GraphQL): allow duplicate XIDs if only XID value is repeated (#6762)
    • Feat(GraphQL): Add support for Polygon and Multi-Polygon in GraphQL (#6618)
    • Feat(GraphQL): add support for between filter in GraphQL (#6651)
    • Feat(GraphQL): Unions (#6722)
    • Feat(GraphQL): add support for IN filter (#6662)
    • Feat(GraphQL): Add support for Geo point type in Graphql. (#6481)
    • Feat(GraphQL): GraphQL now has lambda resolvers (#6574)
    • Feat(GraphQL): Support authorization with jwk_url (#6564)
    • Feat(GraphQL): GQL Logging MW for admin query/mutation (#6562)
    • Feat: add schema history to graphql (#6324)
    • Feat(GraphQL): Add GraphQL schema validation Endpoint. (#6250)
    • Feat(GraphQL): This PR adds parameterised cascade in graphql. (#6251)
    • Feat(GraphQL): add has filter support (#6258)
    • Feat(GraphQL): GraphQL now has Int64 as scalar type (#6200)
    • Feat(GraphQL): @Custom HTTP body now supports hardcoded scalars (#6157)
    • Feat(GraphQL): Custom logic now supports DQL queries (#6115)
    • Feat(GraphQL): This PR allows to return errors from custom REST endpoint. (#6604)
  • Core Dgraph

    • Feat(dgraph): Add suport for RDF query. (#6038)
    • perf(xidmap): Use btree with hash of keys for xidmap (#6902)
    • Feat(Query): Enable persistent queries in dgraph (#6788)
    • Feat(Dgraph): Add ability to change size of caches through the admin interface. (#6644)
    • Feat(query): Support for between func with count at root (#6556)
    • Feat(querylang): language support for term tokenization (#6269)
    • Feat(ludicrous): Run mutations from the same predicate concurrently in ludicrous mode (#6060)
    • Feat(Dgraph): Add experimental cache for posting lists (#6245)
    • Feat(dgraph): making all internal communications with tls configured (#6692)
    • Feat(dgraph): enabling TLS config in http zero (#6691)
    • Feat(raftwal): Add support for encryption in raftwal (#6714)
    • Feat(Dgraph): add utility to export backup data. (#6550)
    • Feature: dgraph_txn_aborts metric for prometheus (#6171)
    • Feat(live): added upsert in live loader (#6057)
  • Enterprise Features

    • Feat(Dgraph): Online restores allows to restore a specific backup. (#6411)

Fixed

  • GraphQL

    • Fix(GraphQL): Fix internal Aliases name generation (#7009)
    • Fix(GraphQL): Allows repetition of fields inside implementing type in
      interface and allow to inherit field of same name of type ID from multiple interfaces. (#7053)
    • Fix(GraphQL): Fix password query rewriting in release/v20.11 (#7012)
    • Fix(GraphQL): Fix bug with password query rewriting (#7011)
    • Fix(GraphQL): Use fragments on interfaces while querying other interface. (#6964)
    • Fix(GraphQL): Fix multiple alias in query (#6940)
    • Fix(GraphQL): Add support for using auth with secret directive (#6920)
    • Fix(GraphQL): Fix exclusion of filters in Query generation (#6917)
    • Fix(GraphQL): handle filters for enum properly (#6916)
    • Fix(GraphQL): Fixes issue of multiple responses in a subscription for an update. (#6868)
    • Fix(GraphQL): Fix panic caused when trying to delete a nested object which doesn't have id/xid (#6810)
    • Fix(GraphQL): Fix between filter bugs (#6822)
    • Fix(GraphQL): Fix panic error when we give null value in filter connectives. (#6707)
    • Fix(GraphQL): Remove extra fields when querying interfaces (#6596)
    • Fix(GraphQL): disallowing field names with as (#6579)
    • Fix(GraphQL): Fix object Linking with hasInverse (#6557)
    • Fix(GraphQL): Fix cascade with auth query when RBAC is false (#6444)
    • Fix(GraphQL): Generate correct schema when no orderable field in a type (#6456)
    • Fix(GraphQL): Fix restoreStatus query with query variables (#6414)
    • Fix(GraphQL): Fix for deletion on interfaces with no non Id field (#6387)
    • Fix(GraphQL): don't generate orderable enum value for list fields (#6392)
    • Fix(GraphQL): Fix introspection completion bug (#6385)
    • Fix(GraphQL): Extend int64 range to 64-bit numeric values and adds input coercing and
      validation for integers. (#6275)
    • Fix(GraphQL): Remove auth error from mutation. (#6329)
    • Fix(GraphQL): Fix query rewriting for auth delete when deleting types with inverse field. (#6350)
    • Fix(GraphQL): incorrect generatedSchema in updateGQLSchema (#6349)
    • Fix(GraphQL): Link xids properly if there are duplicate xids within the same add request. (#6265)
    • Fix(GraphQL): Fix internal error when doing GraphQL schema introspection after drop all (#6268)
    • Fix(GraphQL): Fixes unexpected fragment behaviour (#6228)
    • Fix(GraphQL): Fix order and offset in auth queries. (#6221)
    • Fix(GraphQL): Linking of xids for deep mutations (#6172)
    • Fix(GraphQL): Don't reserve certain queries/mutations/inputs when a type is remote. (#6055)
    • Fix(GraphQl): Allow case insensitive auth header for graphql subscriptions. (#6141)
    • Fix(GraphQl): Panic Fix when subscription expiry is not present in jwt. (#6129)
    • Fix(GraphQL): Fix bug in custom resolver, now body need not have all the fields. (#6054)
    • Fix(GraphQL): Disallow Subscription typename. (#6077)
    • Fix(GraphQL): Fixes wrong query parameter value for custom field URL (#6074)
    • Fix(GraphQL): Fixes panic in update mutation without set & remove (#6073)
    • Fix(GraphQL): Fix auth rewriting for nested queries when RBAC rule is true. (#6053)
    • Fix(GraphQL): Fix getType queries when id was used as a name for types other than ID (#6130)
  • Core Dgraph

    • Fix(ludicrous mode): Handle deletes correctly (#6773)
    • Fix(Zero): Fix how Zero snapshots and purge works (#7096)
    • Fix: Check for nil ServerCloser in shutdown handler (#7048)
    • Fix(health): Update health only after upserting schema and types (#7006)
    • Fix(worker): Flush the stream writer on error (DGRAPH-2499) (#6609)
    • Fix(export): don't return an error if there was no GraphQL schema (#6815)
    • Fix pointer misalignment (#6795)
    • Fix(metrics): Show memory metrics for zero (#6743)
    • feat(Query): Allow filters in expand(all) queries on predicates pointing to nodes (#6752)
    • Fix(Ludicrous): Upserts on list type in Dgraph (#6754)
    • Fix(worker): Avoid panic in handleUidPostings (#6607)
    • Fix(config): Set glog -v flag correctly from config files. (#6678)
    • Fix ErrIndexingInProgress if schema update fails (#6583)
    • feat(bulk): Allow encrypted input with unencrypted output in bulk. (#6541)
    • Fix(Dgraph): Subscribe to ACL updates instead of polling. (#6459)
    • Fix(Alpha): Immediately take a snapshot if we don't have one (#6458)
    • Fix(Dgraph): Fix bug when deleting and adding to a single UID predicate in the same transaction. (#6431)
    • Fix(raft): Only leader should check the quorum (#6323)
    • Fix(Dgraph): Parse Content-Type in headers correctly (#6370)
    • Fix(shutdown): Force exit if CTRL-C is caught before initialization (#6359)
    • Fix(Query) Fix Star_All delete query when used with ACL enabled (#6331)
    • Fix(Alpha): MASA: Make Alpha Shutdown Again (#6313)
    • Fix(Dgraph): Fix how visited nodes are detected in recurse queries. (#6272)
    • Fix(Dgraph): make backups cancel other tasks (#6152)
    • Fix(Dgraph): Don't store start_ts in postings. (#6206)
    • Fix(Dgraph): Perform rollups more aggresively. (#6143)
    • Fix(rollups): rollup a batch if more than 2 seconds elapsed since last batch (#6118)
  • Enterprise Features

    • Fix(enterprise): Set version correctly post marshalling during restore (#7018)
    • Add badger.compression to Dgraph restore (#6987)
    • Fix(backup/restore): Fixes backup and restore with DROP operations (GRAPHQL-735) (#6844)
    • Fix(ACL) : Disallow deleting of groot user and guardians group (#6580)
    • Fix: Online Restore honors credentials passed in (#6295)
    • Fix(ACL Query): Fixes queries which use variable at the top level (#6290)
    • Fix(Dgraph): race condition in EnterpriseEnabled() (#6793)

Dgraph v20.11.0-rc5

14 Dec 16:44
b65a8b1
Compare
Choose a tag to compare
Dgraph v20.11.0-rc5 Pre-release
Pre-release

6b953b5 fix(GraphQL): fix internal Aliases name generation (#7009) (#7132)
098480f fix(raftwal): unmarshal snapshot onto zerosnapshot instead of membershipState (#7125) (#7128)
8b8b0ad Fix(GraphQL): Fix Aggregate queries on empty data
61ff62f fix(GraphQL): Correctly apply order for root auth query (GRAPHQL-854) (#7117)
e2d93de perf(GraphQL): Part-4: Child auth queries are derived from auth filtered parents (GRAPHQL-854) (#7111)
004ca03 Fix(bulk): Correctly append all the slices of cbuf while reduce phase (#7110)
2894f6b chore(GC): Increase discard ratio from 0.7 to 0.9 (#7114)
2e5499f [BREAKING] Fix(OOM): Don’t unmarshal pb.Proposals until we need them (#7059)
7f12eee Fix(GraphQL): Add support for repeatitive fields in aggregate query (#7094)
67abf95 perf(GraphQL): Part-3: Filter child auth queries as early as possible (GRAPHQL-854) (#7107)
9baa3c7 perf(GraphQL): Part-2: Remove unnecessary dgraph.uid : uid selections for auth queries (GRAPHQL-854) (#7105)
c03c327 fix(GraphQL): don’t update cacheMb if not specified by user (GRAPHQL-888) (#7103)
5042370 perf(GraphQL): Part-1: Pagination for root user query is applied at root auth query (GRAPHQL-854) (#7100)
843fe1f feat(tablet): add uncompressed size to pb.Tablet (#7095)
5efdfbf Fix(Zero): Fix how Zero snapshots and purge works (#7096)
73b36d4 [docs] added backup policy (#7084)

Dgraph v20.07.3-rc1

11 Dec 08:41
6ca7c52
Compare
Choose a tag to compare
Dgraph v20.07.3-rc1 Pre-release
Pre-release

da310c1 fix(GraphQL): don't update cacheMb if not specified by user (GRAPHQL-888) (#7103) (#7106)
466ad9a [docs] : rephrase + added example to query logging section (#7032) (#7078)
56ec253 removed note about order for term and trigram since it has been fixed (#7037)
9194e29 fix(DQL): ignore ordering of indexes in schema with eq function (DGRAPH-2601) (#6996) (#7033)
f8e0b2b Update kubernetes links to match 20.07 config files (#7049)
8dbf573 Change default compression to zstd:3 (#6995)
4624bdd fix(worker): fix eq filter for non-index predicates. (#6986) (#6988)
e965dd8 fix(Alpha): Immediately take a snapshot if we don't have one (#6458) (#6970)
9e15123 build(dockerfile): Set GODEBUG=madvdontneed=1. (#6955)
430376f fix(GraphQL): This PR fixes issue of multiple responses in a subscription for an update. (#6868) (#6935)
c12e0b9 v20.07: fix(backup/restore): fixes backup and restore with DROP operations (G… (#6922)
7b96f69 fix ErrIndexingInProgress if schema update fails (#6583) (#6912)
ab14ed8 fix(dgraph): giving users the option to control tls versions (#6820)
942e9c3 feat(dgraph): making all internal communications with tls configured (#6876)
c66f67f feat(dgraph): enabling TLS config in http zero (#6691) (#6867)
c0c8b1d (release/v20.07) Fix(Dgraph): Type names in exported schema are surrounded by brackets. (#6679)
2fd793d Generic alpha log error message for failed ACL login (#6848) (#6850)
4d2c64b fix(ludicrous mode): Handle deletes correctly (#6773) (#6832)
d295369 fix(GraphQL): This PR fix panic error when we give null value in filter connectives. (#6707) (#6729)
2f9fc14 fix(GraphQL): This PR reduces polling duration of subscriptions. (#6661) (#6726)
6a01159 Fix(GraphQL): This PR add enable schema cleaning in GraphQL and reduce schema update time. (#6725)
73e8738 fix(worker): Avoid panic in handleUidPostings (#6607) (#6701)
d117fc1 fix(gqlParser): Handle strings with only whitespace in parseID (#6615) (#6674)
f8f7c42 fix(Ludicrous): Upserts on list type in Dgraph (#6796)

Dgraph v20.03.7-rc1

11 Dec 10:20
24ad344
Compare
Choose a tag to compare
Dgraph v20.03.7-rc1 Pre-release
Pre-release

24ad344 fix: added comment docstring for ExportInput format (#6991) (#7098)
07b87c2 Add LogRequest variable to config input (#5197) (#7085)
8568dd6 cherry pick eq index ordering fix (#7034)
bc35923 Change default compression to zstd:3 (#7023)
54ef639 fix(worker): fix eq filter for non-index predicates. (#6986)
d76e722 fix(Alpha): Immediately take a snapshot if we don't have one (#6458) (#6969)
2d46a36 build(dockerfile): Set GODEBUG=madvdontneed=1. (#6956)
80747ed v20.03: fix(backup/restore): fixes backup and restore with DROP operations (G… (#6933)
d435c6e Fix(Dgraph): Type names in exported schema are surrounded by brackets. (#6680)
549903d fixed typo locahost --> localhost (#6857)
1a159e3 Generic alpha log error message for failed ACL login (#6848) (#6851)
b4f13b8 fix(ludicrous mode): Handle deletes correctly (#6773) (#6831)
c89bbb1 chore: Cherry picks for DGRAPH-2446 (#6797)
61b9dd9 fix(worker): Avoid panic in handleUidPostings (#6607) (#6700)
b6b658b fix(gqlParser): Handle strings with only whitespace in parseID (#6615) (#6673)

Dgraph v1.2.8

28 Oct 16:57
a5c8b24
Compare
Choose a tag to compare

1.2.8 - 2020-10-28

Changed

  • Update badger to 5e3d4b9. (#6671)
  • Return content length header for queries. (#6478)
  • Use raft storage in managedmode. (#6546)

Added

  • Makefile to build Dgraph inside docker container. (#6603)
  • Add separate compression flag for z and wal dirs. (#6419)

Fixed

  • Update reverse index when updating single UID predicates. (#6748)
  • Wrong path response for k-shortest paths (#6437)
  • Break out if g.Ctx is done. (#6677)
  • Update nextRaftId when starting a node with a raftId > 0. (#6599)
  • Use flags for cache. (#6465)

Dgraph v20.07.2 (shuri-2)

22 Oct 18:05
a7bc16d
Compare
Choose a tag to compare

20.07.2 - 2020-10-22

Changed

  • Update badger to 5e3d4b9. (#6669)
  • Makefile to build Dgraph inside docker container. (#6601)
  • Return content length header for queries. (#6480)
  • Use raft storage in managedmode. (#6547)
  • Update index.md. (#6567)
  • Changes github.com/dgraph-io/graphql-transport-ws version. (#6529)

Added

  • Add utility to export backup data. (#6590)
  • Add separate compression flag for z and wal dirs. (#6421)

Fixed

  • GraphQL
    • Disallowing field names with as. (#6645)
    • Remove extra fields when querying interfaces. (#6647)
    • fix object Linking with hasInverse. (#6648)
    • Update gqlgen in go.mod. (#6646)
    • Hide info when performing mutation on id field with auth rule. (#6534)
    • Fix cascade with auth query when RBAC is false. (#6535)
    • Fix squashIntoObject so that results are correctly merged. (#6530)
    • Fix errors from authorization examples given in docs. (#6522)
    • Fix restoreStatus query with query variables. (#6424)
    • Fix for deletion on interfaces with no non Id field. (#6417)
    • Fix internal error when doing GraphQL schema introspection after drop all. (#6525)
    • Link xids properly if there are duplicate xids within type. (#6521)
    • Fix query rewriting for auth delete when deleting types with inverse field. (#6524)
    • Fix order and offset in auth queries. (#6366)
    • Generate correct schema when no orderable field in a type. (#6460)
    • Don't generate orderable enum value for list fields. (#6413)
    • Dix introspection completion bug. (#6389)
  • Fix Poor-man's auth for admin operations. (#6686)
  • Break out if g.Ctx is done. (#6675)
  • Fix wrong path response for k-shortest paths. (#6654)
  • Update nextRaftId when starting a node with a raftId > 0. (#6597)
  • Pagination param "after" does not work when using func: uid(v). (#6634)
  • CID never created if Zero stops early after first init. (#6637)
  • Pause rollups during snapshot streaming. (#6611)
  • Use flags for cache. (#6467)
  • Remove auth error from mutation. (#6532)
  • Fix readTs less than minTs. (#6517)
  • Fix bug when deleting and adding to a single UID predicate in the same transaction. (#6449)

Dgraph v20.03.6

22 Oct 18:05
b842d2e
Compare
Choose a tag to compare

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)

Dgraph v20.07.2-rc1

12 Oct 18:40
c2d5e66
Compare
Choose a tag to compare
Dgraph v20.07.2-rc1 Pre-release
Pre-release
fix(Auth): fix Poor-man's auth for admin operations (#6660) (#6686)

Fixes DGRAPH-2419
Fixes [Discuss Issue](https://discuss.dgraph.io/t/acl-login-will-fail-if-auth-token-enabled-in-v20-07-0/10044)

This PR fixes Poor-man's auth for following endpoints:
* `/login`
* `/admin`

(cherry picked from commit 4fc328d7c4fcd3264f7bcf2330a01cd6882cbd72)

# Conflicts:
#	graphql/e2e/common/common.go

Dgraph v1.2.8-rc1

12 Oct 19:49
833433f
Compare
Choose a tag to compare
Dgraph v1.2.8-rc1 Pre-release
Pre-release
Update badger to 5e3d4b9 (#6671)

Dgraph v20.03.6-rc1

12 Oct 19:24
a1ce240
Compare
Choose a tag to compare
Dgraph v20.03.6-rc1 Pre-release
Pre-release
Break out if g.Ctx is done (#6676)

(cherry picked from commit a8a47af407ce51c39d15777fb942829e5e80f537)

Co-authored-by: Manish R Jain <[email protected]>