Skip to content

Releases: clevyr/kubedb

v1.9.0

13 Feb 07:26
d65e0f3
Compare
Choose a tag to compare

Changelog

Fixes

  • 4e138f0 fix(deps): update kubernetes packages to v0.29.0 (#112)
  • ceeb12a fix(deps): update kubernetes packages to v0.29.1 (#123)
  • 52b02d9 fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.4 (#120)

Others

  • 670cadf chore(deps): update go to v1.22.0 (#121)
  • e6a005a chore(deps): update golangci/golangci-lint-action action to v4
  • d65e0f3 chore(namespace_filter): Remove namespace filter
  • 7a1a1f3 ci: Change from PAT to GitHub App

v1.8.0

22 Jan 02:15
c9f56c2
Compare
Choose a tag to compare

Changelog

Features

  • 93241b2 refactor: Redo env search logic and add support for CloudNativePG
  • 242b205 feat(postgres): Add support for CloudNativePG superuser
  • 752dc36 feat(postgres): Add support for zalando/postgres-operator instances
  • 2919fdc feat(postgres): Improve primary filters when multiple databases exist

Fixes

  • 58854fd fix(deps): update k8s.io/utils digest to e7106e6 (#114)
  • c9f56c2 fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.3 (#119)
  • 93da61e fix(deps): update module github.com/spf13/viper to v1.18.2 (#110)
  • fbcb38f fix(deps): update module golang.org/x/sync to v0.6.0 (#115)
  • 0033f52 fix(exec): Fix output starting indented when log level is trace
  • 1cb0163 fix(log): Fix stderr being overwritten
  • c09fc04 fix(mariadb): Fix deprecation warning in MariaDB >=10.5

Others

  • cb5a466 chore(database): Move dialects to sub packages of database
  • 09860e2 chore(database): Rename databaser interface to database
  • 864706f chore(deps): update actions/setup-go action to v5
  • 5662bbe chore(deps): update actions/upload-artifact action to v4
  • 31e2eaa chore(deps): update alpine docker tag to v3.19
  • acdf5c6 chore(deps): update github/codeql-action action to v3
  • 596e368 chore(deps): update go to v1.21.6 (#118)
  • 5c1e633 chore(dockerfile): Pin golang docker tag to v1.21.5
  • ba0d427 chore(kubernetes): Improve logging when envs not found
  • 5eb4f23 chore(kubernetes): Simplify exec ping parameter
  • 0e51ea2 chore(postgres): Improve pod filter error logging
  • ac75d67 chore(restore): Check if file exists before prompting

v1.7.2

22 Nov 04:13
5d28676
Compare
Choose a tag to compare

Changelog

Features

  • d47fb40 feat(log): Add trace log when an env is not found

Fixes

  • 84683a0 ci(codeql): Install Go version in go.mod to fix autobuild
  • fb7bbec fix(config): Make user env lookup block password env lookup
  • 5d28676 fix(deps): update k8s.io/utils digest to cf03d44 (#104)
  • 061678c fix(deps): update kubernetes packages to v0.28.4 (#102)
  • 48c55d3 fix(deps): update module github.com/fatih/color to v1.16.0 (#100)
  • 79fc78d fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.4.9 (#96)
  • fd49084 fix(deps): update module github.com/schollz/progressbar/v3 to v3.14.1 (#101)
  • d972c19 fix(deps): update module github.com/spf13/cobra to v1.8.0 (#98)
  • 8dfbb11 fix(deps): update module golang.org/x/sync to v0.5.0 (#97)
  • 72ae32d fix(mariadb): Fix restore when db name has special characters

Others

  • 650dd7b chore(deps): update docker/dockerfile docker tag to v1.6 (#103)
  • f143541 chore(deps): update go to v1.21.4 (#99)
  • b721420 chore(postgres): Change helper to receiver func

v1.7.1

26 Oct 21:11
8f34aa7
Compare
Choose a tag to compare

Changelog

Features

  • 2570c19 feat(kubernetes): Log a warning if namespace doesn't exist

Fixes

  • 8f34aa7 perf(setup): Detect port, db, username, password concurrently

Others

  • 5f533c5 chore(config): Add temp namespaces to default filter
  • 2a042b6 chore: Improve namespace filter

v1.7.0

25 Oct 19:56
34e7a31
Compare
Choose a tag to compare

Changelog

Features

  • a396a97 feat(config): Set var with the current context
  • c6338c1 feat(database): Autodetect database port number with optional flag
  • 47a6458 feat(env): Add support for configMapRefs
  • c48420e feat(flags): Add configurable spinner easter egg
  • 9599594 feat(restore): Change progress message when upload is complete
  • 1e8aab2 feat(status): Add status subcommand

Fixes

  • 05d1706 chore(renovate): change to public config repo to fix update error
  • dea0cbf fix(deps): update kubernetes packages to v0.28.3 (#94)
  • 3f0058a fix(deps): update module github.com/mattn/go-isatty to v0.0.20 (#93)
  • 8559093 fix(flags): Clean up Viper config binds
  • 4cbbf12 fix(flags): Improve pod flag
  • 8a2cc7c fix(flags): Only query for primary instance if pod flag not set
  • db6aca5 fix(log): Fix log lines being overwritten by progress bar
  • 5574c85 fix(mongodb): Fix table completions in versions without mongosh
  • 6064741 fix(port-forward): Improve API URL generation
  • 086663d fix(postgres): Remove --dbname from dump command if no value
  • ea42e12 fix(progress): Make progress bars more responsive
  • e6902bf fix(progress): Only append progress bar if log ends in newline
  • 3b28811 fix(remote-gzip): Fix some bugs when remote-gzip is disabled
  • 97e2f46 fix(restore): Prompt for confirmation before creating job
  • 68281af perf(progress): Decrease progress bar memory use

Others

  • 82bb489 chore(cmd): Rename NewCommand funcs to New
  • 5541b78 chore(config): Simplify Kubeconfig flag default value
  • 82c1162 chore(consts): Add consts for flag and config keys
  • a5069db chore(flags): Add --listen-port flag and deprecate port arg
  • b88c4d2 chore(flags): Move oneoff flags to cmd packages
  • 84e3e26 chore(flags): Move redact to log.go
  • 880612a chore(flags): Move some global flags to subcommands
  • 85ddb59 chore(flags): Remove deprecated --grammar flag
  • 91d19f3 chore(flags): Rename some config keys
  • bf7205a chore(github): Remove legacy GitHub Actions set-output syntax
  • 1719408 chore(log): Change job creation log to info level
  • 289f352 chore(log): Remove log buffer
  • a4f677a chore(port-forward): Decrease log message verbosity
  • ab9488d chore(port-forward): Remove port arg deprecation warning
  • ebe26f4 chore(postgres): Remove unnecessary nop string reader
  • 1ccc55c chore(pre-commit): Add Go test hook
  • 2683aba chore(progressbar): Cleanup progressbar factory logic
  • 1fdbab1 chore(restore): Change buildCommand func to a receiver
  • 34e7a31 chore: Change some type checks to use stringer
  • 3b7d6ba chore: Remove unused docs.go
  • 6712ed5 refactor(kubernetes): Change exec params to options struct
  • 762fb17 style(dialect): Add dialect.All func
  • 0dd5ea5 style(dump): Simplify filename generation logic
  • 1599e81 style(kubernetes): Migrate some func calls to KubeClient proxies
  • 61fa385 style(port-forward): Clean up exit handler

v1.6.7

07 Oct 08:31
41839c1
Compare
Choose a tag to compare

Changelog

Features

  • 80658bc feat: Add support for MariaDB Galera chart
  • 71db079 feat: Add support for MongoDB sharded and replicaset charts
  • bc7b681 feat: Add support for MySQL charts

Fixes

  • 0bc5e90 fix: Fix job pod label selector on Kubernetes <v1.27

v1.6.6

07 Oct 07:16
ac92e06
Compare
Choose a tag to compare

Changelog

Features

  • 870c573 feat(exec): Add --command flag that runs a single command then exits
  • f056c9f feat(job): Set ttlSecondsAfterFinished to 1h
  • b2d0fcd feat: Set client-go version vars
  • d7c463d feat: Use short commit hash in version

Fixes

  • 06c1540 fix(completion): Fix dump/restore completions creating a job
  • da2d617 fix(deps): update module github.com/spf13/viper to v1.17.0 (#92)
  • 4ad80fb fix(deps): update module golang.org/x/sync to v0.4.0 (#91)
  • 925607a fix(kubernetes): Fix User-Agent being unset during pod exec
  • 5103a01 fix(version): Check version length before truncating
  • 8ac8652 fix: Change log fields to show database pod instead of job
  • ac92e06 perf: Improve startup time by watching for job pod

v1.6.5

05 Oct 23:27
5461790
Compare
Choose a tag to compare

Changelog

Features

  • 5461790 feat: Add version label to job/pod

v1.6.4

05 Oct 08:33
b18757a
Compare
Choose a tag to compare

Changelog

Features

  • 8edd66b feat(exec): Add exec to the beginning of db client commands
  • 3d5ef7a feat: Add zone and region to preferred pod affinity

Fixes

  • 83346d1 fix(mongodb): Fallback to mongo command if mongosh is not available
  • b18757a fix: Fix occasional unexpected EOF during dump/restore

Others

  • e76489e chore(log): Add namespace to job create logs and prepend resource type
  • b3118d6 chore(log): Prepend resource type to pod name

v1.6.3

04 Oct 23:41
28103f8
Compare
Choose a tag to compare

Changelog

Features

  • 0f5a7d2 feat: Attempt to place job pod on same node as database
  • 28103f8 feat: Improve job labels

Others

  • 614ed90 chore: Set job image pull policy to IfNotPresent
  • 61a9d3a chore: Tweak job pod config to prevent restart on failure