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
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
Elliot DeNolf
308979f31d
feat(db-postgres): search for migrations dir intelligently
2023-11-28 11:09:36 -05:00
Dan Ribbens
babe3dba6a
chore(db-postgres): add uuid to dependencies ( #4286 )
2023-11-28 09:08:08 -05:00
Dan Ribbens
6ea29094ba
fix(db-postgres): incorrect pagination totalDocs ( #4248 )
...
Co-authored-by: Alessio Gravili <alessio@bonfireleads.com >
2023-11-22 16:14:14 -05:00
Elliot DeNolf
c39472259a
chore(release): db-postgres/0.1.13 [skip ci]
2023-11-08 14:53:16 -05:00
Dan Ribbens
57da3c99a7
fix: error on graphql multiple queries ( #3985 )
2023-11-08 12:38:25 -05:00
Jarrod Flesch
182c57b191
fix: hasMany number and select fields unable to save within arrays ( #4047 )
2023-11-07 22:29:41 -05:00
Elliot DeNolf
c2f379f139
chore(release): db-postgres/0.1.12 [skip ci]
2023-11-03 16:23:12 -04:00
Jarrod Flesch
5ea88bb47d
fix: block row removal w/ db-postgres adapter ( #3951 )
2023-11-01 08:32:02 -04:00
Elliot DeNolf
2ebb9b8752
chore(release): db-postgres/0.1.11 [skip ci]
2023-10-30 12:28:57 -04:00
Dan Ribbens
4d8d4c214a
fix: unique field error handling ( #3888 )
2023-10-27 13:31:14 -04:00
Elliot DeNolf
eec60d5883
chore: rename .eslintrc.cjs -> .js
2023-10-20 15:50:25 -04:00
Elliot DeNolf
d2f45343da
chore(release): db-postgres/0.1.10 [skip ci]
2023-10-19 16:13:55 -04:00
Dan Ribbens
229e4459cb
fix(db-postgres): block and array inserts error ( #3714 )
...
Co-authored-by: James <james@trbl.design >
2023-10-18 16:53:26 -04:00
Elliot DeNolf
ef4b5d8bfd
chore: add payload as peer dep to all adapters ( #3716 )
2023-10-17 15:20:09 -04:00
Elliot DeNolf
084e9f0ff8
chore(release): db-postgres/0.1.9
2023-10-16 16:32:03 -04:00
James
45a62ba949
fix: blocks within groups in postgres
2023-10-16 16:12:21 -04:00
Elliot DeNolf
4b9e87bb4d
chore(release): db-postgres/0.1.8
2023-10-15 21:04:46 -04:00
James
59b87fdb21
chore: typo
2023-10-15 17:55:30 -04:00
James
8d4f39af5e
Merge branch 'main' of github.com:payloadcms/payload into fix/empty-in-array
2023-10-15 17:29:51 -04:00
James
c4ac341d75
fix: empty inArray no longer crashes postgres
2023-10-15 17:28:13 -04:00
Elliot DeNolf
27589482dd
chore(release): @payloadcms/db-postgres/0.1.7
2023-10-15 14:12:02 -04:00
James
2c8fbf1be3
chore: adds specificity to tests
2023-10-15 11:08:16 -04:00
James
eec88f8f1b
Merge branch 'fix/#3568-postgres-relationships-in-array' of github.com:payloadcms/payload into fix/#3568-postgres-relationships-in-array
2023-10-15 10:43:32 -04:00
James
e6e8fae1c5
Merge branch 'main' of github.com:payloadcms/payload
2023-10-14 19:24:50 -04:00
James
a05868a7f3
chore: remove unnecessary peer dep
2023-10-14 19:24:32 -04:00
Elliot DeNolf
db835ea5c8
chore(release): db-postgres/0.1.6
2023-10-14 17:35:26 -04:00
James
52f89c0136
fix(db-postgres): ensures columns are nullable if within field with condition
2023-10-14 15:34:27 -04:00
Dan Ribbens
21649537a6
fix(db-postgres): query relationship path inside arrays
2023-10-14 15:17:42 -04:00
Elliot DeNolf
7caa098023
chore(release): db-postgres/0.1.5
2023-10-14 12:25:54 -04:00
James
e180131314
chore: only imports drizzle-kit if it will be used
2023-10-14 12:13:13 -04:00
Dan Ribbens
2c67eff059
fix(db-postgres): query relationship in array alias
2023-10-13 13:32:44 -04:00
Elliot DeNolf
76d6c88261
chore(release): db-postgres/0.1.4
2023-10-12 23:38:12 -04:00
Dan Ribbens
d229fc391a
fix(db-postgres): sorting on versions ( #3611 )
...
* fix(db-postgres): WIP sorting on versions
* fix: sorting collections with drafts
* chore: getQueryDraftsSort readability
2023-10-12 17:11:25 -04:00
Dan Ribbens
46a24a9822
fix(db-postgres): in and not_in query operator ( #3608 )
2023-10-12 17:11:12 -04:00
Elliot DeNolf
9e831a6a00
chore(deps): revert drizzle-kit bump
2023-10-11 11:53:27 -04:00
Elliot DeNolf
0b64c5fb66
chore(deps): bump graphql, graphql-request, mongoose, drizzle-kit
2023-10-11 11:20:58 -04:00