npm payload 2.11.1
Release v2.11.1

latest releases: 3.0.0-canary.c696728, 3.0.0-beta.108, 3.0.0-canary.81a972d...
7 months ago

2.11.1 (2024-02-16)

Features

  • db-postgres: adds idType to use uuid or serial id columns (#3864) (d6c2578)
  • db-postgres: reconnect after disconnection from database (#5086) (bf942fd)
  • plugin-search: add req to beforeSync args for transactions (#5068) (98b87e2)
  • richtext-lexical: add justify aligment to AlignFeature (#4035) (#4868) (6d6823c)
  • richtext-lexical: AddBlock handle for all nodes, even if they aren't empty paragraphs (#5063) (00fc034)
  • richtext-lexical: Update lexical from 0.12.6 to 0.13.1, port over all useful changes from playground (#5066) (0d18822)

Bug Fixes

  • db-mongodb: find versions pagination (#5091) (5d4022f)
  • db-postgres: query using blockType (#5044) (35c2a08)
  • filterOptions errors cause transaction to abort (#5079) (5f3d016)
  • plugin-form-builder: hooks do not respect transactions (#5069) (82e9d31)
  • remove collection findByID caching (#5034) (1ac943e)
  • richtext-lexical: do not remove adjacent paragraph node when inserting certain nodes in empty editor (#5061) (6323965)
  • uploads: account for serverURL when retrieving external file (#5102) (25cee8b)

⚠ BREAKING CHANGES: @payloadcms/richtext-lexical

  • richtext-lexical: Update lexical from 0.12.6 to 0.13.1, port over all useful changes from playground (#5066)
  • You HAVE to make sure that any versions of the lexical packages (IF you have any installed) match the lexical version which richtext-lexical uses: v0.13.1. If you do not do this, you may be plagued by React useContext / "cannot find active editor state" errors
  • Updates to lexical's API, e.g. the removal of INTERNAL_isPointSelection, could be breaking depending on your code. Please consult the lexical changelog.

Don't miss a new payload release

NewReleases is sending notifications on new releases.