github payloadcms/payload v1.3.0
Release 1.3.0

latest releases: v3.0.0-beta.107, v3.0.0-beta.106, v3.0.0-beta.105...
21 months ago

1.3.0 (2022-12-09)

Bug Fixes

  • #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)

  • Select with hasMany and localized (#1636) (756edb8)

  • translation key in revert published modal (#1628) (b6c597a)

  • unflattens fields in filterOptions callback (acff46b)

  • feat!: no longer sanitize collection slugs to kebab case (#1607) (ba2f2d6), closes #1607

Features

BREAKING CHANGES

  • collection slugs are no longer automatically sanitized to be kebab case. This will only be an issue if your current slugs were in camel case. The upgrade path will be to change those slugs to the kebab case version that the slug was automatically being sanitized to on the backend.

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.

Don't miss a new payload release

NewReleases is sending notifications on new releases.