Branch your PostgreSQL Database like Git
Fixes #103.
I've decided to retire the metrics portion of pgsh. No-one had opted in, and my hosting wasn't free anymore, so it's now permanently disabled!
Before this release, PATH
(and other environment variables) were not being passed correctly to e.g. pg_dump
and pg_clone
commands, which means that they might not be found, causing commands like pgsh clone
to error out.
Thanks to @aoc for contributing this fix!
Before this release, v0.11.x would crash on projects without a package.json
file in the hierarchy.
Cheers to nafg for reporting this in #83. Happy holidays!
Before this release, v0.11.x
would upload every single time due to a misuse of moment.js (I didn't realize it updated moment objects in-place).
The previous release has a few debug statements littered in from development of the telemetry feature; these have been removed for cleaner output.
Hello community! :wave:
Today's release brings anonymous usage metrics reporting to pgsh
. The first time you run the new version, you'll be asked if you want to opt-in to metrics collection. This will help me understand how pgsh is used in practice, proactively fix bugs, and figure out where development should go.
If you have any concerns about this feature, please open an issue to discuss!
Added a pgsh init
dialog for optionally skipping the superuser credentials input. Additionally, changed the isSuperUser
check to explicitly check db permissions / grants rather than just checking for superuser.
See #75 and #76.
If you didn't have a .pgshrc
or .env
in your directory, [email protected]
was failing miserably!
Sorry about that. It's fixed now, and we've got regression tests to ensure it doesn't happen again (at least in the same way).
Changelog:
pgsh down
was broken for migrations that use the two-argument (knex, Promise) => ...
form