Releases: sastraxi/pgsh
Allow .pghsrc to determine project root
New year, no metrics
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!
Fix for passing parent PATH to all subprocesses
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!
Fix for projects without package.json files
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!
Fixed metrics last-sent logic
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).
Debug statements, begone!
The previous release has a few debug statements littered in from development of the telemetry feature; these have been removed for cleaner output.
Opt-in telemetry
Hello community! 👋
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!
No superuser? No problem!
Bugfix for first-time users
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).
Fix pgsh down (redux!)
Changelog:
pgsh down
was broken for migrations that use the two-argument(knex, Promise) => ...
form