v3.0.0-beta.104
Version v3.0.0-beta.104Major ReleasePre-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
BlocksFieldand related types (#8174) (465e47a) TheBlockFieldtype 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 theblocksfield have change names. If you were using theBlockFieldor 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)