v3.0.0-beta.104

Version v3.0.0-beta.104Major ReleasePre-release
Released:

September 12, 2024

Type:

Contains breaking changes

GitHub:View Release

Release Notes

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):
    ```ts
    import type {
    BlockField,
    BlockFieldClient,
    BlockFieldValidation,
    BlockFieldDescriptionClientComponent,
    BlockFieldDescriptionServerComponent,
    BlockFieldErrorClientComponent,
    BlocksFieldErrorServerComponent,
    BlockFieldLabelClientComponent,
    BlockFieldLabelServerComponent,
    } from 'payload'
    ```

    New (plural):

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


šŸ¤ Contributors

  • Dan Ribbens (@DanRibbens)
  • Patrik (@PatrikKozak)
  • Jacob Fletcher (@jacobsfletch)
  • Paul (@paulpopus)
  • Hampus Wallentin Olsen (@hampusolsen)
  • GermĆ”n JabloƱski (@GermanJablo)
  • Bruno Crosier (@brunocrosier)