@jhb.software/payload-cloudinary-plugin@0.4.0
·
105 commits
to main
since this release
- fix: declare
@payloadcms/plugin-cloud-storageas a peer dependency instead of a direct dependency, so it resolves to the same version as the host project's Payload suite and no longer pulls in a second copy of@payloadcms/ui(which broke the Payload admin with React context errors). Breaking: consuming projects must now install@payloadcms/plugin-cloud-storagealongsidepayload. - fix: restore client uploads on Payload 3.82+. Client-uploaded documents now keep a usable
url/cloudinaryPublicId, and files served fromdisablePayloadAccessControlcollections no longer fail with "missing on the disk". - fix: harden the client-upload signature endpoint (
/cloudinary-generate-signature). The endpoint now only signs thetimestamp,folder, andpublic_idparameters, only issues signatures for collections the plugin manages, enforces the configured upload folder, and rejects stale timestamps. The default access control now requirescreateaccess to the target upload collection instead of merely being authenticated.