Ritsu
c380deee4a
feat: add count operation to collections ( #5936 )
2024-04-20 23:05:37 -04:00
Dan Ribbens
cb8d562132
fix(db-mongodb): ignore end session errors ( #5904 )
2024-04-17 16:44:15 -04:00
Dan Ribbens
fe0028c899
fix(db-mongodb): version fields indexSortableFields ( #5863 )
2024-04-15 14:46:06 -04:00
Patrik
5fa99fb060
fix(db-mongodb): failing contains query with special chars ( #5774 )
2024-04-11 09:23:05 -04:00
Dan Ribbens
9bbacc4fb1
feat: custom db table and enum names ( #5045 )
...
Co-authored-by: Ritsu <enjoythepain1337@gmail.com >
2024-04-05 11:22:46 -04:00
Yunsup Sim
742a7af93d
fix: Skip parsing if operator is 'exist' ( #5404 )
2024-04-03 13:50:28 -04:00
Dan Ribbens
815bdfac0b
fix(db-mongodb): unique sparse for not required fields ( #5114 )
...
* fix(db-mongodb): unique sparse for not required fields
* chore(db-mongodb): cleanup sparse index condition
* test: indexed field fix
2024-02-23 12:36:34 -05:00
Dan Ribbens
5f3d0169be
fix: filterOptions errors cause transaction to abort ( #5079 )
...
* fix: filterOptions errors cause transaction to abort
* fix(db-mongodb): uncaught abortTransaction race condition
* chore: remove test that is not adding value
* chore: limit options on errors in filterOptions
* chore: limit options when an error occurs in filterOptions
2024-02-16 13:33:40 -05:00
Dan Ribbens
5d4022f144
fix(db-mongodb): find versions pagination ( #5091 )
2024-02-15 16:14:01 -05:00
Elliot DeNolf
cdc4cb971b
fix(db-mongodb): handle null values with exists ( #5037 )
2024-02-09 08:58:10 -05:00
Elliot DeNolf
0740d5095e
fix(migrations): safely create migration file when no name passed ( #4995 )
2024-02-05 10:43:19 -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
Dan Ribbens
b40e9f85a2
chore: use transactions in tests running mongoDB memory server ( #4750 )
...
* chore: use transactions in tests running mongoDB memory server
* chore: relationship test async setup changes
* chore: async test fix
* chore: flaky e2e localization test
2024-01-23 19:18:55 -05:00
Jesse Sivonen
8ce15c8b07
fix(db-postgres): query unset relation ( #4862 )
2024-01-19 13:35:58 -05:00
Paul
a861311c5a
fix(db-mongodb): mongodb versions creating duplicates ( #4825 )
...
* Fixes the issue with mongodb versions
* Update other methods to use options too
2024-01-16 12:20:45 -05:00
Dan Ribbens
82383a5b5f
fix(db-mongodb): transactionOptions=false typeErrors
2024-01-13 14:59:16 -05:00
Patrik
d0f7677d5f
fix: prioritizes value key when filtering / querying for relationships ( #4727 )
...
* fix: object equality query by prioritizing value key in relationship queries
* chore: adds e2e & int test
* chore: updates test for REST querying on poly relationships
2024-01-11 15:56:07 -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
63e5c43fe6
fix(db-mongodb): limit=0 returns unpaginated
2024-01-10 16:44:57 -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
James Mikrut
4873c36129
Merge pull request #4722 from payloadcms/fix/#4719-migration-transaction-options
...
fix(db-mongodb): migration errors with transactionOptions false
2024-01-09 13:46:06 -05:00
Dan Ribbens
682eca2186
feat(db-mongodb): improve transaction support by passing req to migrations
2024-01-08 15:50:09 -05:00
Dan Ribbens
21b9453cf4
fix(db-mongodb): migration error calling beginTransaction with transactionOptions false
2024-01-08 12:03:45 -05:00
Dan Ribbens
63bc4cabe1
fix(db-mongodb): querying plan for collections ignoring indexes ( #4655 )
...
* fix(db-mongodb): querying plan for collections ignoring indexes
* chore(db-mongodb): improve index hint comment
2024-01-05 16:21:19 -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
f2c8ac4a9a
feat(db-mongodb): add transactionOptions
2023-12-19 14:19:12 -05:00
Dan Ribbens
05e8914db7
fix(db-mongodb): documentDB unique constraint throws incorrect error ( #4513 )
2023-12-19 14:14:51 -05:00
Patrik
46e8c01fbe
fix: searching by id sends undefined in where query param ( #4464 )
...
fix(db-mongodb): search by id using operator
2023-12-12 14:02:30 -05:00
Elliot DeNolf
530c825f80
feat(db-mongodb): search for migrations dir intelligently
2023-11-28 11:09:55 -05:00
Alessio Gravili
9f873f8630
chore(db-mongodb): add option to disable index hint optimization, which breaks on AWS DocumentDB ( #3997 )
...
* chore: add option to disable pagination count index hinting optimization
* chore: rename hintPaginationCountIndex to disablePaginationCountIndexHint
* chore: fix logic
* chore: disablePaginationCountIndexHint => disableIndexHints
2023-11-10 16:08:14 +01:00
Dan Ribbens
57da3c99a7
fix: error on graphql multiple queries ( #3985 )
2023-11-08 12:38:25 -05:00
Elliot DeNolf
eb42c031ef
fix: parse predefined migrations via file arg or name prefix ( #4001 )
2023-11-03 19:26:25 -04:00
Jessica Chowdhury
b722f202af
fix: autosave updating data in unrelated docs
2023-11-02 17:54:25 +00:00
Dan Ribbens
4d8d4c214a
fix: unique field error handling ( #3888 )
2023-10-27 13:31:14 -04:00
Alessio Gravili
56e58e9ec7
fix(db-mongodb): improve find query performance ( #3836 )
...
Fixes #3904
* fix(db-mongodb): improve find query performance
* fix: add optimization to other operations which use pagination: findGlobalVersions, findVersions, queryDrafts
* fix: index createdAt field by default
2023-10-27 17:57:18 +02:00
Jacob Fletcher
4f2b080d1c
fix(db-mongodb): versions pagination ( #3875 )
2023-10-26 12:18:54 -04:00
Jarrod Flesch
4b13686f61
fix: corrects versions collection casing ( #3739 )
2023-10-19 13:08:24 -04:00
James
eb97acd408
fix : #3521
2023-10-10 14:46:52 -04:00
Dan Ribbens
d0c352cc62
chore: remove transaction logger warnings
2023-10-09 00:33:19 -04:00
Dan Ribbens
eb58d9e877
chore: removes indexes from collection config ( #3476 )
2023-10-08 14:48:14 -04:00
Elliot DeNolf
74972cf4c9
chore: add predefined migration for version-v1-v2
2023-10-08 12:10:03 -04:00
Elliot DeNolf
e55ec6329c
chore: fix up fresh, refresh, and reset migration operations
2023-10-06 17:15:43 -04:00
Dan Ribbens
33c3a7a50a
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-04 15:38:40 -04:00
Dan Ribbens
1cce3ebce9
chore: fix mongodb transactions
2023-10-04 15:37:53 -04:00
James
812d1806f5
chore: revisions to local dev suite
2023-10-04 14:21:51 -04:00
James
98b6108eab
chore: better alias pattern for db adapters
2023-10-04 14:13:40 -04:00
Dan Ribbens
823681cc42
chore: remove replicaset warning for mongodb transactions
2023-10-04 13:33:18 -04:00
James
8e0b57ea59
Merge branch '2.0' of github.com:payloadcms/payload into 2.0
2023-10-02 16:19:29 -04:00
James
1286ed4706
chore: types mongodb adapter
2023-10-02 16:19:18 -04:00