finkinfridom / payload-cloudinary-plugin

Upload media to Cloudinary service
MIT License
54 stars 3 forks source link

chore(deps): update dependency @payloadcms/db-mongodb to v1.2.0 #136

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@payloadcms/db-mongodb (source) 1.1.1 -> 1.2.0 age adoption passing confidence

Release Notes

payloadcms/payload (@​payloadcms/db-mongodb) ### [`v1.2.0`](https://togithub.com/payloadcms/payload/blob/HEAD/CHANGELOG.md#120-2022-11-18) [Compare Source](https://togithub.com/payloadcms/payload/compare/v1.1.1...v1.2.0) ##### 🐛 Bug Fixes - build errors ([65f0e1c](https://togithub.com/payloadcms/payload/commit/65f0e1caace193f034139e331883d01d8eb92d2c)) - components optional chaining ([d5e725c](https://togithub.com/payloadcms/payload/commit/d5e725c608588e96b974291fa86d5e89dea9060d)) - corrects exported custom component type ([2878b4b](https://togithub.com/payloadcms/payload/commit/2878b4b1bec5c0c9997c1ba2a080640d4d3f8e5f)) - corrects type for CollapsibleLabel example type, adjusts custom component filenames ([ccb4231](https://togithub.com/payloadcms/payload/commit/ccb42319abf0679d998e15b6b47fff3ce95d4ca1)) - sets pointer-events to none so the entire label bar is clickable ([e458087](https://togithub.com/payloadcms/payload/commit/e458087a55cbbad29ca3568ca4c089aaee49693a)) ##### ✨ Features - add i18n to admin panel ([#​1326](https://togithub.com/payloadcms/payload/issues/1326)) ([bab34d8](https://togithub.com/payloadcms/payload/commit/bab34d82f5fddad32ceafd116ad97e87cab4c862)) - adds docs example ([2bf0fff](https://togithub.com/payloadcms/payload/commit/2bf0fffa0dd83f395aa3318b3baba1e22dd58b51)) - adds playwright tests for array fields ([57a8c35](https://togithub.com/payloadcms/payload/commit/57a8c352e44750d1785b65074c15812dc8226585)) - converts rowHeader to collapsibleLabel, extends data passed to functions/components ([13ec1e0](https://togithub.com/payloadcms/payload/commit/13ec1e0398d2a9ce1aeddc5692008173acfde45e)) - customizable header-labels ([d45de99](https://togithub.com/payloadcms/payload/commit/d45de99956273c59e6d1a3a11c7cce36f3d123f6)) - simplifies collapsible label API, adds e2e tests ([d9df98f](https://togithub.com/payloadcms/payload/commit/d9df98ff22041908fc2ce0972c844116edd409be)) - specifies component names for arrays/collapsibles, simplifies threaded data ([b74ea21](https://togithub.com/payloadcms/payload/commit/b74ea218ca47ce9db9d20586dbbce73e4ce0f917)) ##### 🚨 BREAKING CHANGES - You ***might*** need to update your config. This change affects `collections`, `globals` and `block fields` with custom labeling. - **Collections:** are affected if you have a custom `labels.singular` defined that differs from your collection slug. ```typescript // ExampleCollection.ts // Before const ExampleCollection: CollectionConfig = { slug: 'case-studies', labels: { // Before Payload used `labels.singular` to generate types/graphQL schema singular: 'Project', plural: 'Projects', }, } // After const ExampleCollection: CollectionConfig = { // Now Payload uses `slug` to generate types/graphQL schema slug: 'case-studies', labels: { singular: 'Project', plural: 'Projects', }, // To override the usage of slug in graphQL schema generation graphQL: { singularName: 'Project', pluralName: 'Projects', }, // To override the usage of slug in type file generation typescript: { interface: 'Project', }, } ``` - **Globals:** are affected if you have a `label` defined that differs from your global slug. ```typescript // ExampleGlobal.ts // Before const ExampleGlobal: GlobalConfig = { slug: 'footer', // Before Payload used `label` to generate types/graphQL schema label: 'Page Footer', } // After const ExampleGlobal: GlobalConfig = { // Now Payload uses `slug` to generate types/graphQL schema slug: 'footer', label: 'Page Footer', // To override the usage of slug in graphQL schema generation graphQL: { name: 'PageFooter', }, // To override the usage of slug in type file generation typescript: { interface: 'PageFooter', }, } ``` - **Block Fields:** are affected if you have a `label` defined that differs from your block slug. ````typescript // ExampleBlock.ts // Before const ExampleBlock: Block = { slug: 'content', // Before Payload used `label` to generate graphQL schema label: 'Content Block', } // After const ExampleBlock: Block = { // Now Payload uses `slug` to generate graphQL schema slug: 'content', label: 'Content Block', // To override the usage of slug in graphQL schema generation graphQL: { singularName: 'ContentBlock', }, } ``` **Breaking changes recap**: ```` - On Collections - Use `graphQL.singularName`, `graphQL.pluralName` for GraphQL schema names. - Use `typescript.interface` for typescript generation name. - On Globals - Use `graphQL.name` for GraphQL Schema name. - Use `typescript.interface` for typescript generation name. - On Blocks (within Block fields) - Use `graphQL.singularName` for graphQL schema names. #### [1.1.26](https://togithub.com/payloadcms/payload/compare/v1.1.25...v1.1.26) (2022-11-15) ##### Bug Fixes - [#​1414](https://togithub.com/payloadcms/payload/issues/1414) ([50bcf00](https://togithub.com/payloadcms/payload/commit/50bcf001ea613c65cfe0545e7257d5b13ca688f3)) #### [1.1.25](https://togithub.com/payloadcms/payload/compare/v1.1.24...v1.1.25) (2022-11-15) ##### Bug Fixes - add slug to DocumentInfo context ([#​1389](https://togithub.com/payloadcms/payload/issues/1389)) ([4d8cc97](https://togithub.com/payloadcms/payload/commit/4d8cc97475c73e5131699ef03dca275a17535a25)) - adds unique key to upload cards to prevent old images being shown while navigating to new page ([5e8a8b2](https://togithub.com/payloadcms/payload/commit/5e8a8b2df9af435f0df8a8a07dddf7dcc24cf9ac)) - ensures admin components is defaulted ([d103f6c](https://togithub.com/payloadcms/payload/commit/d103f6c94f91b5359aea722c2d7781bf144f6a26)) - global afterRead and afterChange execution ([#​1405](https://togithub.com/payloadcms/payload/issues/1405)) ([cdaa8cc](https://togithub.com/payloadcms/payload/commit/cdaa8cc29f58308a387375ec41eafd0d38b13bcb)) ##### Features - admin UI logout extensibility ([#​1274](https://togithub.com/payloadcms/payload/issues/1274)) ([a345ef0](https://togithub.com/payloadcms/payload/commit/a345ef0d3179000a2930f8b09886e06fd0801d21)) - let textarea grow based on value ([#​1398](https://togithub.com/payloadcms/payload/issues/1398)) ([0f27b10](https://togithub.com/payloadcms/payload/commit/0f27b103b44935480b8ffe17427fc5ed05b92446)) - saves tab index to user preferences ([5eb8e4a](https://togithub.com/payloadcms/payload/commit/5eb8e4a28f34a1c51790d4eabfb21606b7fb41c6)) #### [1.1.24](https://togithub.com/payloadcms/payload/compare/v1.1.23...v1.1.24) (2022-11-14) ##### Bug Fixes - cursor jumping while typing in inputs ([216b9f8](https://togithub.com/payloadcms/payload/commit/216b9f88d988c692d6acdf920ee4dbb9903020ae)), closes [#​1393](https://togithub.com/payloadcms/payload/issues/1393) #### [1.1.23](https://togithub.com/payloadcms/payload/compare/v1.1.22...v1.1.23) (2022-11-12) ##### Bug Fixes - [#​1361](https://togithub.com/payloadcms/payload/issues/1361), ensures collection auth depth works while retrieving static assets ([2f68404](https://togithub.com/payloadcms/payload/commit/2f684040fc9ca717d48b0d95cbd3468c35973993)) ##### Features - optimizes field performance by storing internal values in useField hook ([66210b8](https://togithub.com/payloadcms/payload/commit/66210b856b97139f9959fac47154bca44f0a4de0)) #### [1.1.22](https://togithub.com/payloadcms/payload/compare/v1.1.21...v1.1.22) (2022-11-12) ##### Bug Fixes - [#​1353](https://togithub.com/payloadcms/payload/issues/1353), ensures errors returned from server make their way to UI ([3f28a69](https://togithub.com/payloadcms/payload/commit/3f28a69959be9c98869f81bcd379b8c7cd505a12)) - [#​1357](https://togithub.com/payloadcms/payload/issues/1357), nested arrays and blocks sometimes not allowing save ([86855d6](https://togithub.com/payloadcms/payload/commit/86855d68f65dfadbf51050bdaf6a28c3220add6f)) - [#​1358](https://togithub.com/payloadcms/payload/issues/1358), allows listSearchableFields to work when indicated fields are nested ([eb0023e](https://togithub.com/payloadcms/payload/commit/eb0023e9617894873fe75748de187d85279498c8)) - [#​1360](https://togithub.com/payloadcms/payload/issues/1360), relationship field onMenuScrollToBottom not working in some browsers ([7136db4](https://togithub.com/payloadcms/payload/commit/7136db4c718b70833fa75f5c8e9ae596298b3aa9)) - [#​1367](https://togithub.com/payloadcms/payload/issues/1367), allows custom global components within schema validation ([1d76e97](https://togithub.com/payloadcms/payload/commit/1d76e973bb8e6e33e40b469bd410042ae4b90e2e)) - 1309, duplicative logout in admin UI ([35f91b0](https://togithub.com/payloadcms/payload/commit/35f91b038b66d74468dad250dbe7cbf1ea88b444)) - fixed GraphQL Access query resolver to return the correct data ([#​1339](https://togithub.com/payloadcms/payload/issues/1339)) ([cfef68f](https://togithub.com/payloadcms/payload/commit/cfef68f36477e34b9943d9334c65fa46ee3eb339)) #### [1.1.21](https://togithub.com/payloadcms/payload/compare/v1.1.20...v1.1.21) (2022-11-05) #### [1.1.20](https://togithub.com/payloadcms/payload/compare/v1.1.19...v1.1.20) (2022-11-05) ##### Features - optimizes blocks and arrays by removing some additional rerenders ([483adf0](https://togithub.com/payloadcms/payload/commit/483adf08c4131d0401e47ec45d72200b9dc60de2)) #### [1.1.19](https://togithub.com/payloadcms/payload/compare/v1.1.18...v1.1.19) (2022-10-31) ##### Bug Fixes - [#​1307](https://togithub.com/payloadcms/payload/issues/1307), [#​1321](https://togithub.com/payloadcms/payload/issues/1321) - bug with disableFormData and blocks field ([2a09f15](https://togithub.com/payloadcms/payload/commit/2a09f15a158ff30e89c5454f81aa140448f15d30)) - [#​1311](https://togithub.com/payloadcms/payload/issues/1311), select existing upload modal always updates state ([e2ec2f7](https://togithub.com/payloadcms/payload/commit/e2ec2f7b97ed308c4ff7deefbc58cf0df6ff0602)) - [#​1318](https://togithub.com/payloadcms/payload/issues/1318), improves popup positioning and logic ([c651835](https://togithub.com/payloadcms/payload/commit/c6518350617d14818dfc537b5b0a147274c1119b)) - custom pino logger options ([#​1299](https://togithub.com/payloadcms/payload/issues/1299)) ([2500026](https://togithub.com/payloadcms/payload/commit/25000261bd6ecb0f05ae79de9a0693078a0e3e0d)) #### [1.1.18](https://togithub.com/payloadcms/payload/compare/v1.1.17...v1.1.18) (2022-10-25) #### [1.1.17](https://togithub.com/payloadcms/payload/compare/v1.1.16...v1.1.17) (2022-10-25) ##### Bug Fixes - [#​1286](https://togithub.com/payloadcms/payload/issues/1286), uses defaultDepth in graphql rich text depth ([66bf8c3](https://togithub.com/payloadcms/payload/commit/66bf8c3cbd080ee5a28b7af521d427d3aae59ba2)) - [#​1290](https://togithub.com/payloadcms/payload/issues/1290), renders more than one rich text leaf where applicable ([a9f2f0e](https://togithub.com/payloadcms/payload/commit/a9f2f0ec03383ef4c3ef3ba98274b0abaaf962ed)) - [#​1291](https://togithub.com/payloadcms/payload/issues/1291), add inline relationship drafts ([3967c12](https://togithub.com/payloadcms/payload/commit/3967c1233fda00b48e9df15276502a6b14b737ff)) - enforces depth: 0 in graphql resolvers ([3301f59](https://togithub.com/payloadcms/payload/commit/3301f598223d517ac310909bb74e455891c27693)) - ensures field updates when disableFormData changes ([c929725](https://togithub.com/payloadcms/payload/commit/c929725dd565de08871dad655442ee9ac4f29dd5)) - group + group styles within collapsible ([17dbbc7](https://togithub.com/payloadcms/payload/commit/17dbbc77757a7cd6e517bac443859561fee86e32)) ##### Features - added beforeLogin hook ([#​1289](https://togithub.com/payloadcms/payload/issues/1289)) ([09d7939](https://togithub.com/payloadcms/payload/commit/09d793926dbb642bbcb6ab975735d069df355a8a)) - adds default max length for text-based fields ([6a1b25a](https://togithub.com/payloadcms/payload/commit/6a1b25ab302cbdf7f312012b29b78288815810af)) - specify node 14+ and yarn classic LTS ([#​1240](https://togithub.com/payloadcms/payload/issues/1240)) ([9181477](https://togithub.com/payloadcms/payload/commit/91814777b0bf3830c4a468b76783ff6f42ad824a)) #### [1.1.16](https://togithub.com/payloadcms/payload/compare/v1.1.15...v1.1.16) (2022-10-21) ##### Bug Fixes - indexSortableFields not respected ([785b992](https://togithub.com/payloadcms/payload/commit/785b992c3ea31f7818f1c87c816b8b8de644851d)) - obscure bug where upload collection has upload field relating to itself ([36ef378](https://togithub.com/payloadcms/payload/commit/36ef3789fbe00cafe8b3587d6c370e28efd5a187)) #### [1.1.15](https://togithub.com/payloadcms/payload/compare/v1.1.14...v1.1.15) (2022-10-14) ##### Bug Fixes - ensures svg mime type is always image/svg+xml ([0b0d971](https://togithub.com/payloadcms/payload/commit/0b0d9714917b1a56fb899a053e2e35c878a00992)) #### [1.1.14](https://togithub.com/payloadcms/payload/compare/v1.1.13...v1.1.14) (2022-10-14) #### [1.1.11](https://togithub.com/payloadcms/payload/compare/v1.1.10...v1.1.11) (2022-10-12) ##### Bug Fixes - ensures arrays and blocks mount as disableFormData: true, fixes [#​1242](https://togithub.com/payloadcms/payload/issues/1242) ([5ca5aba](https://togithub.com/payloadcms/payload/commit/5ca5abab422ad1cdb1b449a8298f439c57dda464)) ##### Features - builds beforeDuplicate admin hook, closes [#​1243](https://togithub.com/payloadcms/payload/issues/1243) ([6f6f2f8](https://togithub.com/payloadcms/payload/commit/6f6f2f8e7b83821ae2f2d30d08460439746cc0c6)) #### [1.1.10](https://togithub.com/payloadcms/payload/compare/v1.1.9...v1.1.10) (2022-10-11) #### [1.1.9](https://togithub.com/payloadcms/payload/compare/v1.1.8...v1.1.9) (2022-10-11) ##### Features - improves access control typing ([5322ada](https://togithub.com/payloadcms/payload/commit/5322ada9e690544c4864abba202a14ec1f2f5e9d)) #### [1.1.8](https://togithub.com/payloadcms/payload/compare/v1.1.7...v1.1.8) (2022-10-11) ##### Features - adds ability to create related docs while editing another ([1e048fe](https://togithub.com/payloadcms/payload/commit/1e048fe03787577fe4d584cec9c2d7c78bc90a17)) - implements use-context-selector for form field access ([5c1a3fa](https://togithub.com/payloadcms/payload/commit/5c1a3fabeef48b78f173af084f9117515e1297ba)) #### [1.1.7](https://togithub.com/payloadcms/payload/compare/v1.1.6...v1.1.7) (2022-10-06) #### [1.1.6](https://togithub.com/payloadcms/payload/compare/v1.1.5...v1.1.6) (2022-10-06) ##### Bug Fixes - [#​1184](https://togithub.com/payloadcms/payload/issues/1184) ([c2ec54a](https://togithub.com/payloadcms/payload/commit/c2ec54a7cbd8cd94bcd4a68d885e35986fec7f18)) - [#​1189](https://togithub.com/payloadcms/payload/issues/1189) ([3641dfd](https://togithub.com/payloadcms/payload/commit/3641dfd38a147b24e0e3ef93a125b12ad7763f66)) - [#​1204](https://togithub.com/payloadcms/payload/issues/1204) ([b4becd1](https://togithub.com/payloadcms/payload/commit/b4becd1493d55aae887008ab573ab710c400103a)) - [#​940](https://togithub.com/payloadcms/payload/issues/940) ([7926083](https://togithub.com/payloadcms/payload/commit/7926083732fbaec78d87f67742cdbd8bd00cd48a)) - ajusts how disabled states are being set on anchors and buttons ([00ef170](https://togithub.com/payloadcms/payload/commit/00ef1700ae41e68ff0831a587bf3f09fe6c2c966)) - remove min-width from fileupload ([73848b6](https://togithub.com/payloadcms/payload/commit/73848b603790b3c3d8ad8c9dac81b33c0b65fc7e)) - resize textarea only vertically ([6e1dfff](https://togithub.com/payloadcms/payload/commit/6e1dfff1b8195a1f81e6ea6ccf3b36dd5359c039)) - richText e2e test, specific selectors ([09a8144](https://togithub.com/payloadcms/payload/commit/09a8144f3cc63f7ec15fd75f51b8ac8d0cf3f1b5)) - styles readOnly RichTextEditor, removes interactivity within when readOnly ([9181304](https://togithub.com/payloadcms/payload/commit/918130486e1e38a3d57fb993f466207209c5c0bb)) - **style:** system dark scrollbars ([a30d9dc](https://togithub.com/payloadcms/payload/commit/a30d9dc1d70340cc6c5ac5b3415a6f57bec117ae)) - threads readOnly to ReactSelect ([b454811](https://togithub.com/payloadcms/payload/commit/b454811698c7ea0cee944ed50030c13163cf72c9)) - upload xls renaming ext ([7fd8124](https://togithub.com/payloadcms/payload/commit/7fd8124df68d208813de46172c5cd3f479b9b8be)) ##### Features - async admin access control ([1cfce87](https://togithub.com/payloadcms/payload/commit/1cfce8754947487e6c598ed5bc881526295acabf)) - sort select and relationship fields by default ([813c46c](https://togithub.com/payloadcms/payload/commit/813c46c86d86f8b0a3ba7280d31f24e844c916b6)) #### [1.1.5](https://togithub.com/payloadcms/payload/compare/v1.1.4...v1.1.5) (2022-09-29) ##### Bug Fixes - bug in useThrottledEffect ([3ce8ee4](https://togithub.com/payloadcms/payload/commit/3ce8ee4661bfa3825c5b8c41232d5da57f7591ed)) #### [1.1.4](https://togithub.com/payloadcms/payload/compare/v1.1.3...v1.1.4) (2022-09-24) ##### Bug Fixes - field level access for nested fields ([22ea98c](https://togithub.com/payloadcms/payload/commit/22ea98ca33770a0ec6652f814726454abb6da24e)) - refine type generation for relationships ([ef83bdb](https://togithub.com/payloadcms/payload/commit/ef83bdb709ebde008b90930a6875b24f042a41b0)) ##### Features - supports root endpoints ([52cd3b4](https://togithub.com/payloadcms/payload/commit/52cd3b4a7ed9bc85e93d753a3aaf190489ca98cd)) #### [1.1.3](https://togithub.com/payloadcms/payload/compare/v1.1.2...v1.1.3) (2022-09-16) ##### Bug Fixes - adjust prevPage and nextPage graphql typing ([#​1140](https://togithub.com/payloadcms/payload/issues/1140)) ([b3bb421](https://togithub.com/payloadcms/payload/commit/b3bb421c6ca4176974488b3270384386a151560c)) - duplicate with relationships ([eabb981](https://togithub.com/payloadcms/payload/commit/eabb981243e005facb5fff6d9222903d4704ca55)) #### [1.1.2](https://togithub.com/payloadcms/payload/compare/v1.1.1...v1.1.2) (2022-09-14) ##### Bug Fixes - resize images without local storage ([1496679](https://togithub.com/payloadcms/payload/commit/14966796ae0d0bcff8cb56b62e3a21c2de2176da)) - resize images without local storage ([7b756f3](https://togithub.com/payloadcms/payload/commit/7b756f3421f02d1ff55374a72396e15e9f3e23d7)) #### [1.1.1](https://togithub.com/payloadcms/payload/compare/v1.1.0...v1.1.1) (2022-09-13) ##### Bug Fixes - conditions on collapsible fields ([9c4f2b6](https://togithub.com/payloadcms/payload/commit/9c4f2b68b07bbdd2ac9a6dee280f50379638fc50)) - dashboard links to globals ([dcc8dad](https://togithub.com/payloadcms/payload/commit/dcc8dad53b006f86e93150f9439eafc8d9e01d79))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.