npm payload 2.13.0

6 months ago

2.13.0 (2024-04-19)

Features

  • allow configuration for setting headers on external file fetch (ec1ad0b)
  • db-*: custom db table and enum names (#5045) (9bbacc4)
  • json field schemas (#5726) (2c402cc)
  • plugin-seo: add Chinese translation (#5429) (fcb29bb)
  • richtext-lexical: add HorizontalRuleFeature (d8e9084)
  • richtext-lexical: improve floating handle y-positioning by positioning it in the center for smaller elements. (0055a8e)

Bug Fixes

  • adds type error validations for email and password in login operation (#4852) (1f00360)
  • avoids getting and setting doc preferences when creating new (#5757) (e3c3dda)
  • block field type missing dbName (#5695) (e7608f5)
  • db-mongodb: failing contains query with special chars (#5774) (5fa99fb)
  • db-mongodb: ignore end session errors (#5904) (cb8d562)
  • db-mongodb: version fields indexSortableFields (#5863) (fe0028c)
  • db-postgres: hasMany relationship query contains operator (#4212) (608d6d0)
  • db-postgres: issue querying by localised relationship not respecting locale as constraint (#5666) (44599cb)
  • db-postgres: query hasMany fields with in (#5881) (6185f8a)
  • db-postgres: relationship query pagination (#5802) (65690a6)
  • db-postgres: validateExistingBlockIsIdentical localized (#5839) (4c4f924)
  • duplicate document multiple times in quick succession (#5642) (373787d)
  • missing date locales (#5656) (c1c8600)
  • number ids were not sanitized to number in rest api (51f84a4)
  • passes parent id instead of incoming id to saveVersion (#5831) (25c9a14)
  • plugin-seo: uses correct key for ukrainian translation (#5873) (e47e544)
  • properly handle drafts in bulk update (#5872) (ad38f76)
  • req.collection being lost when querying a global inside a collection (#5727) (cbd03ed)
  • richtext-lexical: catch errors that may occur during HTML generation (#5754) (9b44296)
  • richtext-lexical: do not allow omitting editor prop for sub-richtext fields within lexical defined in the payload config (#5766) (6186493)
  • richtext-lexical: incorrect floating handle y-position calculation next to certain kinds of HTML elements like HR (de5d6cc)
  • richtext-lexical: limit unnecessary floating handle positioning updates (a00439e)
  • richtext-lexical: pass through config for schema generation. Makes it more robust (#5700) (cf135fd)
  • richtext-lexical: use correct nodeType on HorizontalRule feature HTML converter (#5805) (3b1d331)
  • updates type name of CustomPublishButtonProps to CustomPublishButtonType (#5644) (7df7bf4)
  • updates var (9530d28)
  • use isolateObjectProperty function in createLocalReq (#5748) (c0ba6cc)
  • uses find instead of fieldIndex for custom ID check (509ec67)

⚠ BREAKING CHANGES

  • richtext-lexical: do not allow omitting editor prop for sub-richtext fields within lexical defined in the payload config (#5766)

Don't miss a new payload release

NewReleases is sending notifications on new releases.