github payloadcms/payload v1.2.0
Release 1.2.0

latest releases: v3.0.0-beta.129, v3.0.0-beta.128, v2.30.4...
24 months ago

1.2.0 (2022-11-18)

Bug Fixes

  • build errors (65f0e1c)
  • components optional chaining (d5e725c)
  • corrects exported custom component type (2878b4b)
  • corrects type for CollapsibleLabel example type, adjusts custom component filenames (ccb4231)
  • sets pointer-events to none so the entire label bar is clickable (e458087)

Features

  • add i18n to admin panel (#1326) (bab34d8)
  • adds docs example (2bf0fff)
  • adds playwright tests for array fields (57a8c35)
  • converts rowHeader to collapsibleLabel, extends data passed to functions/components (13ec1e0)
  • customizable header-labels (d45de99)
  • simplifies collapsible label API, adds e2e tests (d9df98f)
  • specifies component names for arrays/collapsibles, simplifies threaded data (b74ea21)

BREAKING CHANGES

  • If you assigned labels to collections, globals or block names, you need to update your config! Your GraphQL schema and generated Typescript interfaces may have changed. Payload no longer uses labels for code based naming. To prevent breaking changes to your GraphQL API and typescript types in your project, you can assign the below properties to match what Payload previously generated for you from labels.

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.

Don't miss a new payload release

NewReleases is sending notifications on new releases.