npm payload 3.0.0-beta.25

6 months ago

3.0.0-beta.25 (2024-05-06)

Features

editor: lexicalEditor({
  features: ({ defaultFeatures }) => [
    ...defaultFeatures,
    FixedToolbarFeature(),
  ],
}),

Bug Fixes

  • threads draft arg through for child resolvers in GraphQL queries (#6196) (51149c7)
  • plugin-form-builder: custom formSubmission hooks overriding core ones (#6204) (8a452c4)

BREAKING CHANGES

  • plugin-stripe: add types exports and rename types to be more consistent with other plugins (#6216) (7f72006)

Some minor type renaming for consistency with other packages.

  • richtext-lexical: add FixedToolbarFeature (#6192) (c462bf2)

BREAKING:

  • The default inline toolbar has now been extracted into an InlineToolbarFeature. While it's part of the defaultFeatures, you might have to add it to your editor features if you are not including the defaultFeatures and still want to keep the inline toolbar (floating toolbar)
  • Some types have been renamed, e.g. InlineToolbarGroup is now ToolbarGroup, and InlineToolbarGroupItem is now ToolbarGroupItem
  • The displayName property of SlashMenuGroup and SlashMenuItem has been renamed to label to match the label prop of the toolbars
  • The inlineToolbarFeatureButtonsGroupWithItem, inlineToolbarFormatGroupWithItems and inlineToolbarTextDropdownGroupWithItems exports have been renamed to toolbarTextDropdownGroupWithItems, toolbarFormatGroupWithItems, toolbarFeatureButtonsGroupWithItems

Contributors

Don't miss a new payload release

NewReleases is sending notifications on new releases.