-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
dep: upgrade pg-types to ^4 #3400
base: master
Are you sure you want to change the base?
Conversation
pg-types @ 4.x is not backwards compatible, so it requires a major version bump (and a LOT of headache for library consumers) |
I think there needs to be another fork or something of pg-types that does not do the date/time zone conversion differently. Unfortunately changing that would be insanely breaking for a lot of deployed code-bases even though the original decision 15 years ago wasn't the best....I'm not convinced its worth the forced upgrade there. |
@brianc can you elaborate on what that means? Also, does it make sense to use pg-types without node-postgres? If not, then why not move the source code for that library into this repo and tie their development together? |
Oh I just came across brianc/node-pg-types#50 and the PRs related to it. |
From what I can gather:
But yeah, this should be a major version bump |
I am leaning towards re-absorbing pg-types in some form into this monorepo & before incorporating it, reverting the breaking changes to the date parsing. Then it can be more tightly versioned w/ the rest of the code, benefit from the years of perf tweaks done to the stand alone pg-types library, and not cause massive, hard to catch breaking changes like what would happen if i just bumped |
When this pr is merged, we can update
@types/pg
to not depend on@types/pg-types