Repository navigation
Releases
Releases · jayroh/pgchief
v0.5.3
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
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
Additions
- Refactor
exe/pgchiefto utilizeTTY::Optionfor kicking off config initialization pgchief --initnow creates a toml config file in your$HOME- Added ability to store credentials if your config sets
credentials_filewhen db's and users are created - Added
ConnectionStringclass 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.tomlto~/.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
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.