Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
brianc merged 4 commits into master from bmc/deprecations
Jul 17, 2025
Merged

Deprecations #3510

brianc merged 4 commits into master from bmc/deprecations
Jul 17, 2025

Conversation

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!

Co-authored-by: Charmander <~@charmander.me>
Copy link

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

Deploying node-postgres with Cloudflare Pages Cloudflare Pages

Latest commit: 26b5a94
Status: ✅ Deploy successful!

View logs

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. :)

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
Reviewers

@charmander charmander charmander left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /