npm payload 3.0.0-beta.43
v3.0.0-beta.43

5 months ago

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

  • plugin-redirects: update fields overrides to use a function (#6675) (e4a9029)

Description

Updates the fields override in plugin redirects to allow for
overriding

// before
overrides: {
  fields: [
    {
      type: 'text',
      name: 'customField',
    },
  ],
},

// current
overrides: {
  fields: ({ defaultFields }) => {
    return [
      ...defaultFields,
      {
        type: 'text',
        name: 'customField',
      },
    ]
  },
},

Type of change

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to not work as expected)
  • upgrade minimum node 20 version from 20.6.0 to 20.9.0 (#6659) (9bd9e7a)

BREAKING:

  • 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

Don't miss a new payload release

NewReleases is sending notifications on new releases.