Skip to content

Releases: sastraxi/pgsh

Allow .pghsrc to determine project root

13 Mar 19:36
Compare
Choose a tag to compare

New year, no metrics

14 Jan 03:27
Compare
Choose a tag to compare

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

18 Mar 00:27
Compare
Choose a tag to compare

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

29 Dec 20:26
Compare
Choose a tag to compare

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

01 Dec 18:54
Compare
Choose a tag to compare
Pre-release

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!

01 Dec 18:20
Compare
Choose a tag to compare
Pre-release

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

01 Dec 18:07
Compare
Choose a tag to compare
Opt-in telemetry Pre-release
Pre-release

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.

You can read more about metrics collection here, as well as how to disable it if you've already opted in.

If you have any concerns about this feature, please open an issue to discuss!

No superuser? No problem!

28 Nov 01:17
930e4d8
Compare
Choose a tag to compare
Pre-release

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.

Bugfix for first-time users

27 Nov 02:16
06c82d2
Compare
Choose a tag to compare
Pre-release

If you didn't have a .pgshrc or .env in your directory, pgsh@0.10.5 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!)

26 Nov 04:29
Compare
Choose a tag to compare
Pre-release

Changelog:

  • pgsh down was broken for migrations that use the two-argument (knex, Promise) => ... form