npm payload 2.10.0
Release v2.10.0

9 months ago

2.10.0 (2024-02-06)

Features

  • add more options to addFieldStatePromise so that it can be used for field flattening (#4799) (8725d41)
  • extend transactions to cover after and beforeOperation hooks (#4960) (1e8a6b7)
  • previousValue and previousSiblingDoc args added to beforeChange field hooks (#4958) (5d934ba)
  • re-use existing logger instance passed to payload.init (#3124) (471d211)
  • richtext-lexical: Blocks: generate type definitions for blocks fields (#4529) (90d7ee3)
  • use deletion success message from server if provided (#4966) (e3c8105)

Bug Fixes

  • db-postgres: filtering relationships with drafts enabled (#4998) (c3a3942)
  • db-postgres: handle schema changes with supabase (#4968) (5d3659d)
  • db-postgres: indexes not created for non unique field names (#4967) (64f705c)
  • db-postgres: indexes not creating for relationships, arrays, hasmany and blocks (#4976) (47106d5)
  • db-postgres: localized field sort count (#4997) (f3876c2)
  • ensures docPermissions fallback to collection permissions on create (#4969) (afa2b94)
  • migrations: safely create migration file when no name passed (#4995) (0740d50)
  • plugin-seo: tabbedUI with email field causes duplicate field (#4944) (db22cbd)

Don't miss a new payload release

NewReleases is sending notifications on new releases.