Skip to content

Dgraph v23.0.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@meghalims meghalims released this 12 Apr 18:52
· 183 commits to main since this release
8ea591f

Added

  • GraphQL

    • fix(GraphQL): pass on HTTP request headers for subscriptions (#8574)
  • Core Dgraph

    • feat(metrics): add badger metrics (#8034) (#8737)
    • feat(restore): introduce incremental restore (#7942) (#8624)
    • chore(debug): add only-summary flag in dgraph debug to show LSM tree and namespace size (#8516)
    • feat(cloud): add shared-instance flag in limit superflag in alpha (#8625)
    • chore(deps): update prometheus dependency, adds new metrics (#8655)
    • feat(cdc): add superflag tls to enable TLS without CA or certs (#8564)
    • feat(multitenancy): namespace aware drop data (#8511)

Fixed

  • GragphQL

    • fix(GraphQL): nested Auth Rules not working properly (#8571)
  • Core Dgraph

    • Fix wal replay issue during rollup (#8774)
    • security(logging): fix aes implementation in audit logging (#8323)
    • chore(worker): unify mapper receiver names (#8740)
    • fix(dql): fix panic in parsing of regexp (#8739)
    • fix(Query): Do an error check before bubbling up nil error (#8769)
    • chore: replace global index with local one & fix typos (#8719)
    • chore(logs): add logs to track dropped proposals (#8568)
    • fix(debug): check length of wal entry before parsing (#8560)
    • opt(schema): optimize populateSchema() (#8565)
    • fix(zero): fix update membership to make bulk tablet proposal instead of multiple small (#8573)
    • fix(groot): do not upsert groot for all namespaces on restart (#8561)
    • fix(restore): set kv version to restoreTs for all keys (#8563)
    • fix(probe): do not contend for lock in lazy load (#8566)
    • fix(core): fixed infinite loop in CommitToDisk (#8614)
    • fix(proposals): incremental proposal key for zero proposals (#8567)
    • fix(zero): fix waiting for random time while rate limiting (#8656)
    • chore(deps): upgrade badger (#8654, #8658)
    • opt(schema): load schema and types using Stream framework (#8562)
    • fix(backup): use StreamWriter instead of KVLoader during backup restore (#8510)
    • fix(audit): fixing audit logs for websocket connections (#8627)
    • fix(restore): consider the banned namespaces while bumping (#8559)
    • fix(backup): create directory before writing backup (#8638)
  • Test

    • chore(tests): add upgrade tests in query package (#8750)
    • simplify test setup in query package (#8782)
    • add a test for incremental restore (#8754)
    • chore(tests): run tests in query package against dgraph cloud (#8726)
    • fix the backup test cluster compose file (#8775)
    • cleanup tests to reduce the scope of err var (#8771)
    • use t.TempDir() for using a temp dir in tests (#8772)
    • fix(test): clan cruft from test run (#8348)
    • chore(tests): avoid calling os.Exit in TestMain (#8765)
    • chore: fix linter issue on main (#8749)
    • recreate the context variable for parallel test (#8748)
    • fix(tests): wait for license to be applied before trying to login (#8744)
    • fix(tests): sleep longer so that ACLs are updated (#8745)
    • chore(test): use pointer receiver for LocalCluster methods (#8734)
    • chore(linter): fix unconvert linter issues on linux (#8718)
    • chore(linter): add unconvert linter and address related issues (#8685)
    • chore(ci): resolve community PR goveralls failure (#8716)
    • chore(test): increased iterations of the health check (#8711)
    • fix(test): avoid host volume mount in minio container (#8569)
    • chore(test): add tests for lex/iri.go,chunker/chunk.go (#8515)
    • chore(test): add Backup/Restore test for NFS (#8551)
    • chore(test): add test that after snapshot is applied, GraphQL schema is refreshed (#8619)
    • chore(test): upgrade graphql tests to use go 1.19 (#8662)
    • chore(test): add automated test to test multitenant --limit flag (#8646)
    • chore(test): add restore test for more than 127 namespaces (#8643)
    • fix(test): fix the corner case for raft entries test (#8617)
  • CD

    • fix(build): update dockerfile to use cache busting and reduce image size (#8652)
    • chore(deps): update min go build version (#8423)
    • chore(cd): add badger binary to dgraph docker image (#8790)
  • Security

    • chore(deps): bump certifi from 2020.4.5.1 to 2022.12.7 in /contrib/config/marketplace/aws/tests (#8496)
    • chore(deps): bump github.com/docker/distribution from 2.7.1+incompatible to 2.8.0+incompatible (#8575)
    • chore(deps): bump werkzeug from 0.16.1 to 2.2.3 in /contrib/embargo (#8676)
    • fix(sec): upgrade networkx to (#8613)
    • fix(sec): CVE-2022-41721 (#8633)
    • fix(sec): CVE & OS Patching (#8634)

Changed

  • Core Dgraph

    • upgrade badger to v4.1.0 (#8783) (#8709)
    • fix(multitenancy) store namespace in predicate as a hex separated by a hyphen to prevent json marshal issues (#8601)
    • fix(query): handle bad timezone correctly (#8657)
    • chore(ludicroud): remove ludicrous mode from the code (#8612)
    • fix(backup): make the /admin/backup and /admin/export API asynchronous (#8554)
    • fix(mutation): validate mutation before applying it (#8623)
  • CI Enhancements

    • fix(ci): unpin curl (#8577)
    • fix(ci): adjust cron schedules (#8592)
    • chore(ci): Capture coverage from bulk load and LDBC tests (#8478)
    • chore(linter): enable gosec linter (#8678)
    • chore: apply go vet improvements (#8620)
    • chore(linter): fix some of the warnings from gas linter (#8664)
    • chore(linter): fix golangci config and some issues in tests (#8669)
    • fix(linter): address gosimple linter reports & errors (#8628)