Skip to content

Releases: clevyr/kubedb

v1.13.3

20 May 09:07
661fde4
Compare
Choose a tag to compare

Changelog

Fixes

  • b7dd3c2 fix(util): Change NetworkPolicy to use batch.kubernetes.io/job-name

Others

  • 661fde4 chore(gitignore): Ignore .DS_Store
  • 39639e8 ci: Pin runner versions
  • ba9c677 chore(deps): update go to v1.22.3 (#147)
  • 9ebe9db fix(deps): update aws-sdk-go-v2 monorepo (#148)
  • a3b031e fix(deps): update module cloud.google.com/go/storage to v1.41.0 (#150)
  • 5f9f302 fix(deps): update module github.com/fatih/color to v1.17.0 (#149)
  • 22a364c fix(deps): update module k8s.io/utils to v0.0.0-20240502163921-fe8a2dddb1d0 (#145)
  • ddc2f30 chore(deps): update golangci/golangci-lint-action action to v6 (#146)

v1.13.2

01 May 17:22
e2aa7af
Compare
Choose a tag to compare

Changelog

Fixes

  • b171d1a fix(port-forward): Fix password truncation

Others

  • 2a277e6 chore(tui): Simplify conditional rows
  • e2aa7af chore(tui): Skip context row if empty

v1.13.1

01 May 04:40
48abba8
Compare
Choose a tag to compare

Changelog

Fixes

  • e2291f4 fix(cmd): Fix output if wrong subcommand is passed
  • 48abba8 fix(config): Fix log level and format not respecting envs

Others

  • e39857d chore(docker): Remove git
  • 2e00288 chore(docker): Update goreleaser.Dockerfile to match Dockerfile
  • 9d9aa9d chore(dockerfile): Rename Dockerfile.goreleaser to goreleaser.Dockerfile

v1.13.0

01 May 03:36
7c87b08
Compare
Choose a tag to compare

Changelog

Features

  • aadfaaf feat(database): Add pretty names
  • e72d2a0 feat(dump): Add file size to final log
  • 8bac9ea feat(dump, restore): Add final summary table
  • f039fb1 feat(notifier): Add dump summary to Healthchecks logs
  • cfd6eda feat: Prompt when multiple database types are discovered
  • 90d0e91 feat: Redo terminal UI using charmbracelet libraries

Fixes

  • c09c274 fix(cmd): Fix completion hanging if multiple dbs are discovered
  • 1f8b049 fix(deps): update aws-sdk-go-v2 monorepo (#140)
  • 9881b7e fix(deps): update k8s.io/utils digest to 0849a56 (#142)
  • 9445ada fix(deps): update module golang.org/x/sync to v0.7.0 (#138)
  • a581b08 fix(exec): Only pass stderr if not in TTY mode
  • faf67c2 fix(restore): Fix final log duration formatting
  • 8a418fb fix: Correctly capture error exit codes during dump/restore
  • 8c9b0be fix: Ensure exit status is set by recover func

Others

  • 3123926 chore(config): Move config init to config package
  • 2759748 chore(config): Move log init to config package
  • 17ec4d3 chore(config): Optimize logger and add values to explicitly toggle color
  • 7c87b08 chore(deps): Update indirect dependencies
  • e4d580e chore(deps): update go to v1.22.2 (#137)
  • bb23539 chore(deps): update golangci/golangci-lint-action action to v5
  • 67cc4c5 chore(dump): Deprecate --directory (-C) flag in favor of positional arg
  • 6a26b32 chore(goreleaser): brews.folder -> brews.directory
  • 4212473 chore(tui): Make lipgloss cache the current background color early
  • c0097d2 chore: Add formatted log when recovering from a panic
  • d7630de style(database): Collapse smaller func definitions

v1.12.0

01 Apr 06:25
8dbbc8a
Compare
Choose a tag to compare

Changelog

Features

  • 96553eb feat(cmd): Add --opts flag to exec, dump, restore
  • be00a76 feat(command): Add Split type which quotes strings while splitting on space
  • 4e30302 feat(config): Allow a db type to disable job creation
  • 9e7f451 feat(config-lookup): Add nop config lookup
  • c41464b feat(config-lookup): Allow empty ConfigLookups
  • d682794 feat(dump): Append generated filename if the destination is a dir
  • d8f286e feat(kubernetes): Add support for searching envFrom
  • e2da30b feat(meilisearch): Add Meilisearch support
  • 7a603dc feat(redis): Add KeyDB support
  • b67dbaf feat(redis): Add Redis support
  • f75b9de feat(redis): Add support for Sentinel deployments
  • 0fd4637 feat(setup): Disable ingress in job pod network policy
  • 45b7c1b feat(storage): Add support for GCS output
  • c5396cf feat(util): Automatically create network policy
  • 654ec1e refactor(database): Split Database interface for better feature detection

Fixes

  • a814592 chore(command): Add separate Quoter interface to fix Stringers not being quoted
  • 6084691 fix(deps): update aws-sdk-go-v2 monorepo (#129)
  • c88dfef fix(deps): update aws-sdk-go-v2 monorepo (#132)
  • 86859b2 fix(deps): update k8s.io/utils digest to 4693a02 (#133)
  • 1a941af fix(deps): update kubernetes packages to v0.29.3 (#136)
  • c1deea7 fix(deps): update module cloud.google.com/go/storage to v1.40.0 (#134)
  • 93c2915 fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.6 (#135)
  • 07f0ba3 fix(kubernetes): Fix label query interface hardcoded type
  • ac38f89 fix(postgres): Change some hardcoded restore flags to be conditional
  • c5aeca5 fix(postgres): Only add --if-exists if --clean is enabled
  • 4d3aa4b fix(progressbar): Fix initial line not overwriting progress bar
  • dbe91d6 fix(restore): Fix custom dump restores
  • 898691e fix(restore): Fix filename shell completion
  • 109cffd fix(setup): Fix network policy not matching db pod
  • e6e5eb9 fix: Ensure job pod is cleaned up even after a panic
  • 7715547 fix: Pod filtering improvements
  • 4d9c227 perf(log): Migrate logging backend to zerolog

Others

  • 9193816 chore(cmd): Add missing completions
  • ff34829 chore(cmd): Change --no-job flag to --create-job
  • 52377dc chore(cmd): Create job later during setup
  • 5cd90d1 chore(cmd): Move long descriptions to a separate file
  • 982c00b chore(cmd): Remove default list of completion exts when discovery fails
  • 87fab18 chore(command): Check param types earlier during cmd builder creation
  • f10d18b chore(command): Implement fmt.Stringer for command.Raw
  • 35763aa chore(config): Add support for XDG_CONFIG_HOME
  • 3aedc42 chore(config-finder): Cleanup errors
  • ead6b80 chore(config-finder): Rename to ConfigLookup
  • 0b703a3 chore(database): Add interface guards
  • 9f3262e chore(database): Change database types to be defined in one place
  • 0a9405e chore(database): Remove FormatFromFilename and DumpExtension from DatabaseFile interface
  • 8dbbc8a chore(deps): Update transient dependencies
  • ebeb833 chore(deps): update docker/dockerfile docker tag to v1.7 (#131)
  • 66cb8ba chore(deps): update go to v1.22.1 (#130)
  • 2e4fbe6 chore(dump): Create help text example filename inline
  • d42c200 chore(flags): Change []string{} defaults to nil
  • 261b18f chore(kubernetes): Add LabelQueryOr interface
  • 12ec81f chore(kubernetes): Change more label query instances to interface
  • d520d29 chore(postforward): Exclude username/password rows if the value is empty
  • df01b07 chore(postgres): Change from --format=c to --format=custom
  • b830a36 chore(postgres): Remove global vars
  • 9e5a1bc chore(postgres): Tweak bitnami/postgresql-ha primary detection
  • 3d10fb4 chore(redact): Skip redaction if value is empty
  • f9f6df3 chore(restore): Ask for confirmation later during setup
  • 3551b10 chore(restore): Change final progress bar description from finishing to uploaded
  • 5d62422 chore(restore): Simplify restore gzip logic
  • a354050 chore(util): Ensure create-job is enabled before attempting teardown
  • 1825639 refactor: Refactor label queries into filter interface

v1.11.0

04 Mar 20:49
9739d06
Compare
Choose a tag to compare

Changelog

Features

  • 9739d06 feat(notify): Add support for Healthchecks notifications

Others

  • 7d96557 chore(util): Change job func params from cobra.Command to context.Context
  • e138eee chore(util): Move job deletion to cobra finalizer to simplify cmd workflows
  • 4ecd2ca ci(build): Add beta container image

v1.10.1

02 Mar 00:05
544bccd
Compare
Choose a tag to compare

Changelog

Fixes

  • 544bccd fix(s3): Fix some S3 dumps erroring with "not implemented" responses

v1.10.0

01 Mar 23:32
3ad4dc0
Compare
Choose a tag to compare

Changelog

Features

  • 31610b6 feat(dump): Add support for dumps to an S3 bucket

Fixes

  • 1a620ff fix(config): Use OS file path separator
  • 9bf65e5 fix(deps): update module github.com/schollz/progressbar/v3 to v3.14.2 (#127)
  • 5dfe699 fix(deps): update module github.com/stretchr/testify to v1.9.0 (#128)

Others

  • 83b3816 chore(config): Move config file to subdir
  • ecb9080 chore(config): Support any config file type
  • 3ad4dc0 chore(deps): Update indirect dependencies

v1.9.2

21 Feb 20:26
78f6638
Compare
Choose a tag to compare

Changelog

Features

  • c6467c4 feat(restore): Halt on error by default

Fixes

  • 78f6638 fix(port-forward): Fix error upgrading connection

v1.9.1

17 Feb 06:33
21d2887
Compare
Choose a tag to compare

Changelog

Features

  • df4e5e0 feat(dump): Include dbname in generated filename

Fixes

  • 0f06f97 fix(cmd): Fix db and table name completions
  • e0739ab fix(cmd): Skip survey during shell completions
  • 21d2887 fix(deps): update kubernetes packages to v0.29.2 (#124)
  • 9357a48 fix(postgres): Fix Zalando pod filter

Others

  • 1eebf22 chore(postgres): Filter Zalando pods using label filter