Skip to content

Releases

v0.5.3

Choose a tag to compare

@jayroh jayroh released this 31 Dec 23:31

What's Changed

Additions

  • Add spec for database backup command class.
  • Add check on the resulting db dump file. Make sure it's > 0 bytes.

Changes

  • Allow created users the proper permissions to add PG extensions to a database.

Fixes

  • Fix typo in backup command class description.
  • Fix backup command to use full database connection string to the database when executing the pg_dump command.
  • Reset s3 config in db backup spec to prevent config leaks from other test runs.

v0.5.2

Choose a tag to compare

@jayroh jayroh released this 17 Dec 01:45

Changes

  • Change S3 config option s3_path_prefix to s3_objects_path.
  • Above change retains backwards compatibility with the old s3_path_prefix option.

Fixes

  • Fix S3 regex to allow - in the path.

Full Changelog: v0.5.1...v0.5.2

v0.3.0

Choose a tag to compare

@jayroh jayroh released this 11 Nov 15:19

Additions

  • Refactor exe/pgchief to utilize TTY::Option for kicking off config initialization
  • pgchief --init now creates a toml config file in your $HOME
  • Added ability to store credentials if your config sets credentials_file when db's and users are created
  • Added ConnectionString class that abstracts the base db connection, allowing for additions of users and db's
  • Load everything in the config file to the Config attributes

Changes

  • Default location of config changed from ~/.pgchief.toml to ~/.config/pgchief/config.toml
  • Automatically require 'pry' in the test suite

Fixes

  • When dropping user, ignore whenever a database has no privileges for the selected user
  • Retroactive addition of tests to cover any regressions

v0.2.0

Choose a tag to compare

@jayroh jayroh released this 31 Aug 01:26

Additions

  • Add j and k keys as substitutes for ↑ and ↓.
  • Allow exiting the program with the esc key.
  • Add ability to grant access privileges for newly created users.
  • Or grant privileges for existing users to database(s).

Fixes

  • GitHub now running CI successfully.
  • Newly created databases are no longer open for connection by default. CONNECT is revoked by default for them.
  • When dropping users, loop through all the databases they have access to and revoke access before dropping them.

v0.1.0

Choose a tag to compare

@jayroh jayroh released this 30 Aug 15:16

[0.1.0] - 2024-08-30

  • Initial release
  • Create database ✅
  • Create user ✅
  • Drop database ✅
  • Drop user ✅
  • List databases ✅