v3.0.0-beta.43
Version v3.0.0-beta.43Major ReleasePre-release
Release Notes
v3.0.0-beta.43 (2024-06-07)
Features
- adds draft validation option (#6677) (52c81ad)
- plugin-redirects: update fields overrides to use a function (#6675) (e4a9029)
- richtext-*: allow omitting the root editor property (#6660) (11c3a65)
- upgrade minimum node 20 version from 20.6.0 to 20.9.0 (#6659) (9bd9e7a)
Bug Fixes
- next: live preview device position when using zoom (#6665) (7c8d562)
- max versions config not being respected on globals (#6654) (8dd5e4d)
BREAKING CHANGES
## Description
Updates the fields override in plugin redirects to allow for
overriding
```ts
// before
overrides: {
fields: [
{
type: 'text',
name: 'customField',
},
],
},
// current
overrides: {
fields: ({ defaultFields }) => {
return [
...defaultFields,
{
type: 'text',
name: 'customField',
},
]
},
},
```
- This bumps the minimum required node version from node 20.6.0 to node 20.9.0. This is because 20.6.0 breaks type generation due to a CJS node bug, and 20.9.0 is the next v20 LTS version. The minimum node 18 version stays the same (18.20.2)
Contributors
- Jarrod Flesch (@JarrodMFlesch)
- Paul (@paulpopus)
- Jacob Fletcher (@jacobsfletch)
- Alessio Gravili (@AlessioGr)