Skip to content

Deprecations #3510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 17, 2025
Merged

Deprecations #3510

merged 4 commits into from
Jul 17, 2025

Conversation

brianc
Copy link
Owner

@brianc brianc commented Jul 16, 2025

  • deprecate client.activeQuery - the concept needs to be overhauled a bit to support pipeline mode in which multiple queries can be "in flight" at once
  • deprecate client.queryQueue - this should never been manipulated from outside the client, and again will be changing with a pipeline mode implementation. The entire concept of "queueing" queries is very old, and honestly was a bad idea when I implemented it 15 years ago or however long ago it was. Lets just all pretend this doesn't exist and make it "private" so its more of an implementation detail.
  • deprecate built-in pgpass support - I'd rather this be done in userspace since the connection parameters can now take any old async function as the value to password, if someone's using pgpass they can install it & write a 1 liner in their connection config to use their file. I'm not 100% sold on this deprecation & removal being the best...but I also don't love having 3rd party dependencies for stuff like this. Interested in feedback here.

Copy link
Collaborator

@charmander charmander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The deprecations seem reasonable!

Copy link

cloudflare-workers-and-pages bot commented Jul 17, 2025

Deploying node-postgres with  Cloudflare Pages  Cloudflare Pages

Latest commit: 26b5a94
Status: ✅  Deploy successful!
Preview URL: https://ad8de443.node-postgres.pages.dev
Branch Preview URL: https://bmc-deprecations.node-postgres.pages.dev

View logs

@brianc
Copy link
Owner Author

brianc commented Jul 17, 2025

Thank you, as always, for your tireless & thoughtless contributions @charmander. If you ever make it to Ausitn TX, lemme know I'd love to take you out to dinner or getcha a gift card to H.E.B. :)

@brianc brianc closed this Jul 17, 2025
@brianc brianc reopened this Jul 17, 2025
@brianc
Copy link
Owner Author

brianc commented Jul 17, 2025

(i pressed wrong button)

@brianc brianc merged commit 27a2754 into master Jul 17, 2025
16 checks passed
@brianc brianc deleted the bmc/deprecations branch July 17, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants