Skip to content

v3.0.0-beta.104

Pre-release
Pre-release
Compare
Choose a tag to compare
@denolfe denolfe released this 12 Sep 13:10
· 775 commits to main since this release
dbf2301

v3.0.0-beta.104 (2024-09-12)

🚀 Features

  • passes client field config to server components (#8166) (8b30701)
  • document drawer controls (#7679) (51bc8b4)
  • drizzle: add support for in and not_in operators on json field (#8148) (ec37307)

🐛 Bug Fixes

  • ui: properly retrieves singular labels for array field rows (#8171) (6e94884)
  • templates: website media staticDir to public folder (#8175) (9561aa3)
  • properly names BlocksField and related types (#8174) (465e47a)
  • cpa: match vercel postgres db type with package name (#8141) (043bf95)
  • ui: fix row width bug (#7940) (cd734b0)
  • ui: set max-width for row (efe17ff)

⚠️ BREAKING CHANGES

  • properly names BlocksField and related types (#8174) (465e47a)

    The BlockField type is not representative of the underlying "blocks"
    field type, which is plural, i.e. BlocksField. This is a semantic
    change that will better align the type with the field.

    Breaking Changes

    Types related to the blocks field have change names. If you were using
    the BlockField or related types in your own applications, simply
    change the import name to be plural and instead of singular.

    Old (singular):

    import type {
      BlockField,
      BlockFieldClient,
      BlockFieldValidation,
      BlockFieldDescriptionClientComponent,
      BlockFieldDescriptionServerComponent,
      BlockFieldErrorClientComponent,
      BlocksFieldErrorServerComponent,
      BlockFieldLabelClientComponent,
      BlockFieldLabelServerComponent,
    } from 'payload'

    New (plural):

    import type {
      BlocksField,
      BlocksFieldClient,
      BlocksFieldValidation,
      BlocksFieldDescriptionClientComponent,
      BlocksFieldDescriptionServerComponent,
      BlocksFieldErrorClientComponent,
      BlocksFieldErrorServerComponent,
      BlocksFieldLabelClientComponent,
      BlocksFieldLabelServerComponent,
    } from 'payload'

🤝 Contributors