@payloadcms/db-mongodb
Advanced tools
Changelog
1.4.0 (2022-12-23)
${collection.labels.singular} API-Key ${apiKey}
, updated: ${collection.slug} API-Key ${apiKey}
Changelog
1.3.0 (2022-12-09)
#1547, global afterChange hook not falling back to original global if nothing returned (a72123d)
#1632 graphQL non-nullable relationship and upload fields (#1633) (eff3f18)
change edit key to prevent richtext editor from crashing (#1616) (471d214)
filterOptions function argument relationTo is an array (#1627) (11b1c0e)
resets slate state when initialValue changes, fixes #1600, #1546 (9558a22)
sanitizes global find query params (512bc1e)
unflattens fields in filterOptions callback (acff46b)
feat!: no longer sanitize collection slugs to kebab case (#1607) (ba2f2d6), closes #1607
If you only use kebab case or single word slugs: no action needed.
If you have existing slugs with camel case and populated data: you'll need to convert these to the kebab case version to match the previously sanitized value.
ie. myOldSlug is your slug, you should convert it to my-old-slug.
Any future slugs after updating will be used as-is.