Elliot DeNolf
548de80bee
chore(release): db-postgres/0.6.0 [skip ci]
2024-02-16 14:59:51 -05:00
Dan Ribbens
35c2a085ef
fix(db-postgres): query using blockType ( #5044 )
...
* fix(db-postgres): query using blockType
* chore: cleanup commented lines
2024-02-16 13:30:26 -05:00
Dan Ribbens
bf942fdfa6
feat(db-postgres): reconnect after disconnection from database ( #5086 )
2024-02-15 16:09:17 -05:00
Dan Ribbens
d6c25783cf
feat(db-postgres): adds idType to use uuid or serial id columns ( #3864 )
...
* feat(db-postgres): WIP adds idType to use uuid or serial id columns
* chore: add postgres-uuid test ci
* chore: add postgres-uuid env vars
* chore: sanitizeQueryValue prevent invalid types
* fix(db-postgres): invalid parentID of nested arrays
2024-02-15 16:06:37 -05:00
Elliot DeNolf
6ea6172afa
chore(release): db-postgres/0.5.2 [skip ci]
2024-02-09 09:06:15 -05:00
Elliot DeNolf
a0a58e7fd2
fix: query relationships by explicit id field ( #5022 )
2024-02-07 14:18:13 -05:00
Elliot DeNolf
da184d40ec
fix(db-postgres): handle nested docs with drafts ( #5012 )
2024-02-06 21:27:33 -05:00
Elliot DeNolf
e8c6c9338d
chore(release): db-postgres/0.5.1 [skip ci]
2024-02-06 15:41:35 -05:00
Elliot DeNolf
f3876c2a39
fix(db-postgres): localized field sort count ( #4997 )
...
* fix(db-postgres): localized field sort count
* test: localized sort doc count
2024-02-06 11:44:54 -05:00
Elliot DeNolf
c3a3942969
fix(db-postgres): filtering relationships with drafts enabled ( #4998 )
...
* fix(db-postgres): filtering relationships with drafts enabled
* test: draft relationship filtering
2024-02-06 11:16:27 -05:00
Elliot DeNolf
5d3659d48a
fix(db-postgres): handle schema changes with supabase ( #4968 )
...
* fix(db-postgres): handle schema changes with supabase
* chore(deps): bump drizzle-orm for test suite
2024-02-02 11:29:32 -05:00
Dan Ribbens
47106d5a1a
fix(db-postgres): indexes not creating for relationships, arrays, hasmany and blocks ( #4976 )
2024-02-02 11:16:21 -05:00
Dan Ribbens
64f705c3c9
fix(db-postgres): indexes not created for non unique field names ( #4967 )
2024-02-01 15:21:15 -05:00
Elliot DeNolf
b3a6bfacf2
chore(release): db-postgres/0.5.0 [skip ci]
2024-01-26 13:57:34 -05:00
Dan Ribbens
eba53ba60a
feat: forceAcceptWarning migration arg added to accept prompts ( #4874 )
...
* chore: gitignore test migrations
* feat: `forceAcceptWarning` migration args added to accept prompts
* chore: migrationDir env variable fallback
* chore: migrationDir testSuiteDir fallback
* chore: migrationDir testSuiteDir fallback fix
* chore: skip migrate down test
2024-01-26 13:48:53 -05:00
Jesse Sivonen
8ce15c8b07
fix(db-postgres): query unset relation ( #4862 )
2024-01-19 13:35:58 -05:00
Dan Ribbens
dfba5222f3
fix(db-postgres): migrate down error ( #4861 )
2024-01-17 13:55:57 -05:00
Elliot DeNolf
c84c58c7b4
chore(release): db-postgres/0.4.0 [skip ci]
2024-01-16 16:33:21 -05:00
beezee
371353f153
feat(db-postgres): support drizzle logging config ( #4809 )
2024-01-16 15:45:17 -05:00
Dan Ribbens
a92c6334b6
chore(db-postgres): update drizzle-kit to 0.20.5-608ae62 and drizzle-orm to latest ( #4772 )
2024-01-16 13:35:07 -05:00
Paul
eb9e771a9c
fix(db-postgres): Remove duplicate keys from response ( #4747 )
...
* Remove duplicate keys from response
* Update to delete duplicates at a higher level and remove '_order' from array rows too
2024-01-16 13:22:08 -05:00
Dan Ribbens
0647c870f1
fix(db-postgres): validateExistingBlockIsIdentical with other tables
2024-01-13 22:46:05 -05:00
Dan Ribbens
3b88adc7d0
fix(db-postgres): validateExistingBlockIsIdentical with arrays
2024-01-13 22:40:30 -05:00
Elliot DeNolf
bb40bd3efb
chore(release): db-postgres/0.3.1 [skip ci]
2024-01-12 10:41:46 -05:00
Dan Ribbens
fa3b3dd62d
fix: migration regression ( #4777 )
2024-01-10 22:40:00 -05:00
Jarrod Flesch
1115387744
fix: build payload without initializing ( #4028 )
2024-01-10 20:40:46 -05:00
Elliot DeNolf
5702b83e82
fix(db-postgres): totalPages value when limit=0
2024-01-10 16:45:07 -05:00
Elliot DeNolf
06729a0a73
chore(release): db-postgres/0.3.0 [skip ci]
2024-01-09 16:30:49 -05:00
James Mikrut
be39ed4317
Merge pull request #4633 from payloadcms/fix/#3839-postgres-exist-json
...
fix(db-postgres): incorrect results querying json field using exists
2024-01-09 15:27:22 -05:00
James Mikrut
570e192eb4
Merge pull request #4741 from payloadcms/fix/#4591-migrate-down-batches
...
fix(db-postgres): migrate down not limited to latest batch
2024-01-09 13:50:45 -05:00
James Mikrut
22f4967dd4
Merge pull request #4726 from payloadcms/feat/migration-transactions
...
feat: improve transaction support by passing req to migrations
2024-01-09 13:50:00 -05:00
Dan Ribbens
6acfae8ee7
fix(db-postgres): migrate down only runs latest batch size
2024-01-09 10:21:45 -05:00
Dan Ribbens
555d02769a
feat(db-postgres): improve transaction support by passing req to migrations
2024-01-08 15:50:22 -05:00
Dan Ribbens
cab6babd60
fix(db-postgres): validation prevents group fields in blocks ( #4699 )
...
* fix(db-postgres): validation prevents using group fields within blocks
* fix(db-postgres): validation of non-matching blocks in reverse order
2024-01-05 15:03:08 -05:00
Gokulsck
f43cf185d4
feat: hasMany property for text fields ( #4605 )
...
* fix for supporting hasMany property in text field
* Updated docs
* handle text case types for schema and graphql schema
* fix unit test for required failing
* add unit test for has many text field
* add end to end test for has many on text field creation
* support has many feature for text field on postgres
---------
Co-authored-by: Chris Heinz <chrisi.heinz@web.de >
2024-01-04 14:45:00 -05:00
Dan Ribbens
5d15955f83
fix: custom ids in versions ( #4680 )
...
* chore: scaffolds out fix for postgres issues with custom ids in versions
* fix(db-postgres): queryDrafts returns undefined doc.id
* chore(db-postgres): fix build
* fix: removes extra custom id field from versions buildCollectionFields
* chore: comments test/versions seeding back in
* fix buildCollectionFields version group fields
* fix: id field can be edited after saving a document with custom ids
* chore: updates versions custom ID test
---------
Co-authored-by: PatrikKozak <patrik@payloadcms.com >
2024-01-04 13:05:10 -05:00
Elliot DeNolf
46ef284f6b
chore(release): db-postgres/0.2.3 [skip ci]
2024-01-03 15:57:54 -05:00
Dan Ribbens
ec4d2f97cb
fix(db-postgres): query on json properties
2023-12-29 16:42:32 -05:00
Dan Ribbens
9d9ac0ec28
fix(db-postgres): incorrect results querying json field using exists operator
2023-12-29 11:35:12 -05:00
Jesse Sivonen
a71d37b398
fix(db-postgres): Wait for transaction to complete on commit ( #4582 )
...
* fix(db-postgres): Wait for transaction to complete on commit
* fix session types
2023-12-21 11:03:27 -05:00
Elliot DeNolf
22b02226c3
chore(release): db-postgres/0.2.2 [skip ci]
2023-12-19 14:48:08 -05:00
Ritsu
ef43629502
fix(db-postgres) incorrect currentTableName in find for blocks ( #4524 )
2023-12-19 10:30:13 -05:00
Jarrod Flesch
8bc31cd592
fix(db-postgres): findOne correctly querying with where queries ( #4550 )
2023-12-18 14:17:58 -05:00
Dan Ribbens
6e9ae65374
fix(db-postgres): querying nested blocks fields ( #4404 )
...
Co-authored-by: Jessica Chowdhury <jessica@trbl.design >
2023-12-07 09:18:48 -05:00
Elliot DeNolf
403c3d3e08
chore(release): db-postgres/0.2.1 [skip ci]
2023-12-06 13:41:32 -05:00
Dan Ribbens
dbaecda0e9
fix(db-postgres): sorting on a not-configured field throws error ( #4382 )
2023-12-06 09:27:43 -05:00
Elliot DeNolf
8f5867e876
chore(release): db-postgres/0.2.0 [skip ci]
2023-11-30 11:10:44 -05:00
Jarrod Flesch
cd07873fc5
fix(db-postgres): allow for nested block fields to be queried ( #4237 )
...
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2023-11-29 11:03:57 -05:00
Dan Ribbens
3514bfbdae
fix(db-postgres): error saving nested arrays with versions ( #4302 )
2023-11-29 10:10:08 -05:00
Elliot DeNolf
1fe4f4c5f4
Merge pull request #4292 from payloadcms/feat/migrate-with-js-files
...
feat: support migrations with js files
2023-11-28 11:40:36 -05:00