Skip to content

Releases: payloadcms/payload

v3.0.0-beta.119

25 Oct 20:18
6c2eecc
Compare
Choose a tag to compare
v3.0.0-beta.119 Pre-release
Pre-release

v3.0.0-beta.119 (2024-10-25)

🚀 Features

  • rename @payloadcms/plugin-cloud (#8828) (1b1dc82)
  • sort by multiple fields (#8799) (4d44c37)
  • richtext-slate: add useElement hook to richtext-slate client exports (#8856) (2e11068)

⚡ Performance

  • index globals versions timestamps by default (#8821) (6e919cc)

🐛 Bug Fixes

  • cpa: properly detect if pnpm exists on windows (#8855) (1a15425)
  • db-postgres: sort by localized fields (#8839) (9069bd3)
  • plugin-search: issues with overriding the search collection slug consistently across hooks (#8847) (2df8f94)
  • ui: upload buttons being hidden at mobile screen widths (#8860) (e72e81c)
  • ui: leave without saving when changing /account theme (#8724) (085e127)

⚠️ BREAKING CHANGES

  • rename @payloadcms/plugin-cloud (#8828) (1b1dc82)

    BREAKING CHANGE: Rename @payloadcms/plugin-cloud to
    @payloadcms/payload-cloud. Anyone using the existing plugin will need
    to switch to using the new package.

    Why?

    Since v3 will be using fixed versioning, all versions of ^3 must be
    available. Unfortunately, the @payloadcms/plugin-cloud version has
    already breached that version number. Renaming will allow it to be on
    the same version as other monorepo packages.

    Additionally, the name plugin-cloud is quite ambiguous and sometimes
    is confused with plugin-cloud-storage, so using payload-cloud feels
    like a good move to make this more evident.

🤝 Contributors

v3.0.0-beta.118

24 Oct 02:12
b482da6
Compare
Choose a tag to compare
v3.0.0-beta.118 Pre-release
Pre-release

v3.0.0-beta.118 (2024-10-24)

🚀 Features

  • add localized indicator to field label (#8602) (03c0702)
  • templates: add a copy button to website template code blocks (#8794) (0fcbce3)

🐛 Bug Fixes

  • reduce import map diff when config changes (#8846) (1caa383)
  • join field works on collections with versions enabled (#8715) (8af00f2)
  • db-postgres: alias already in use in this query (#8823) (4c396c7)

🤝 Contributors

v3.0.0-beta.117

22 Oct 13:40
6912550
Compare
Choose a tag to compare
v3.0.0-beta.117 Pre-release
Pre-release

v3.0.0-beta.117 (2024-10-22)

🚀 Features

⚡ Performance

  • replace jsonwebtoken with jose (#8217) (ef8a5b1)
  • upgrade pino and pino-pretty, reducing the total amount of dependencies (#8776) (062a333)

🐛 Bug Fixes

  • drizzle init args (#8818) (9fb8665)
  • db-mongodb: virtual fields within row / collapsible / tabs (#8733) (9056b9f)
  • next, ui: ensures selectAll in the list view ignores locked documents (#8813) (2908c9a)
  • plugin-seo: description and title fields now respect given minLength and maxLength rules for passing validation (#8765) (1f0d8da)
  • richtext-*: ensure admin panel doesn't freeze with some field configurations consisting of 2+ richtext fields (#8773) (aedf3c8)
  • richtext-lexical: richtext fields in drawers aren't editable, inline toolbar artifacts are shown for readOnly editors (#8774) (f3bec93)
  • richtext-lexical: fix CLS on collapsed/expanded state of Lexical blocks (#8029) (a789556)
  • ui: unique ids for nested rows on row duplicate to prevent errors with postgres (#8790) (fe25b54)
  • ui: padding on relationship fields when no options or loading text is displayed (#8767) (82f2789)

⚠️ BREAKING CHANGES

  • bump next.js to 15.0.0 (#8825) (74266bd)

    Bump Next.js to version 15.0.0. Additionally, you will need to upgrade react and react-dom to 19.0.0-rc-65a56d0e-20241020 (mirrors Next.js).

🤝 Contributors

v2.30.3

18 Oct 19:38
218f2ea
Compare
Choose a tag to compare

2.30.3 (2024-10-18)

Bug Fixes

  • db-postgres: migrate:create errors with previous schemas (#8786) (e9c1222)
  • duplicate with select hasMany fields (#8734) (c8ed645)

v3.0.0-beta.116

17 Oct 13:11
7136515
Compare
Choose a tag to compare
v3.0.0-beta.116 Pre-release
Pre-release

v3.0.0-beta.116 (2024-10-17)

🐛 Bug Fixes

  • pg where filters not respected in policy generation (#8753) (99b4359)
  • disables document locking of payload-locked-documents, preferences, & migrations collections (#8744) (c63b7bc)
  • db-postgres: esm compatible import of pg (#8758) (f37e476)
  • drizzle: bump drizzle-orm in drizzle package to 0.35.1 (#8759) (73102e9)
  • drizzle: enforce uniqueness on index names (#8754) (90bca15)
  • drizzle: select hasMany nested to array + tab/group (#8737) (872b205)

🤝 Contributors

v2.30.2

17 Oct 13:19
6690c37
Compare
Choose a tag to compare

2.30.2 (2024-10-17)

Bug Fixes

  • applies resize after cropping if resizeOptions are defined (#8535) (f2284f3)
  • calculates correct aspect ratio dimensions on sharp based files (#8510) (9d05b82), closes #8317
  • db-postgres: build indexes for relationships (#8446) (d05e3b0)
  • db-postgres: port many various fixes from 3.0 (#8468) (1347b6c)
  • db-postgres: select hasMany nested to array + tab/group (#8739) (0efc610)
  • richtext-lexical: add target _blank for new-tab in linkFeature (#8571) (61e8ce1), closes #8569

v3.0.0-beta.115

16 Oct 18:23
429f1a1
Compare
Choose a tag to compare
v3.0.0-beta.115 Pre-release
Pre-release

v3.0.0-beta.115 (2024-10-16)

🐛 Bug Fixes

  • corrects schemaPath passing (#8726) (a19e8d3)
  • db-postgres, db-sqlite: bump drizzle-kit drizzle-orm @libsql/client (#8617) (93545f3)
  • templates: website template issue with previewing drafts (#8714) (303a224)
  • ui: restrict file picking via upload config mimetypes (#8710) (c4fa885)
  • ui: add missing styles under the payload-default css layer (#8723) (e6a1ca5)
  • ui: removes overflow: hidden style from actions wrapper (#8717) (8d10737)

⚠️ BREAKING CHANGES

  • db-postgres, db-sqlite: bump drizzle-kit drizzle-orm @libsql/client (#8617) (93545f3)

    Inheriting all the fixes from drizzle moving to latest versions

    BREAKING CHANGES

    If you have a prior version of @libsql/client installed in your project,
    you must upgrade to 0.14.0

🤝 Contributors

v3.0.0-beta.114

15 Oct 13:57
85e87c1
Compare
Choose a tag to compare
v3.0.0-beta.114 Pre-release
Pre-release

v3.0.0-beta.114 (2024-10-15)

🚀 Features

  • add disableTransaction to local api (#8697) (d781624)
  • add limit property to bulk update operation (#8656) (7a0b419)
  • db-postgres, db-vercel-postgres: createDatabase, auto database create if it does not exist (#8655) (256949e)

🐛 Bug Fixes

  • ensure beforeValidate hook runs for reset password (#8433) (a9e7d48)
  • local update limit (#8704) (3110c1b)
  • validate should not always equate valid to true (#8696) (8bbc833)
  • ensure dropzone respects canCreate permissions (#8689) (3f128c5)
  • ensure Component is not required in MappedComponent types (#8687) (793dfe8)
  • properly store timestamps in versions (#8646) (8daac4e)
  • db-mongodb: add validation to relationship ids (#8395) (21606de)
  • drizzle: indexes / unique with relationships (#8432) (1ffb6c3)
  • drizzle, ui: properly filters out number field values with the exists operator filter (#8706) (3f2b828)
  • next: returns proper document id type from init page result (#8700) (35a5199)
  • ui: react-datepicker in number fields and datepicker visual issues (#8694) (e3957d7)
  • ui: prevents react-select styles being injected into hasMany number fields (#8695) (08f8831)
  • ui: show configured description on active tabs (#8675) (65d4f37)
  • ui: export useListRelationships (#8658) (e4fd1e3)
  • ui: hasMany selecting single docs clicking through instead of selecting a document (#8624) (a4f1af4)

🤝 Contributors

v3.0.0-beta.113

10 Oct 20:51
067d353
Compare
Choose a tag to compare
v3.0.0-beta.113 Pre-release
Pre-release

v3.0.0-beta.113 (2024-10-10)

🚀 Features

🐛 Bug Fixes

  • commonjs exports missing for withPayload (#8643) (d0a5560)
  • sanitize virtual fields in admin.useAsTitle (#8620) (fdebc84)
  • corrects useAuth generics (#8627) (5e94d9b)
  • drizzle: hasMany joins - localized, limit and schema paths (#8633) (f6acfdb)
  • ui: react select fields not increasing height when items overflow (#8618) (f507530)

🤝 Contributors

v3.0.0-beta.112

09 Oct 14:02
39825df
Compare
Choose a tag to compare
v3.0.0-beta.112 Pre-release
Pre-release

v3.0.0-beta.112 (2024-10-09)

🚀 Features

  • join field works with hasMany relationships (#8493) (1bf580f)
  • plugin-seo: adds german translation (#8580) (bb3496d)
  • ui: scope all payload css to payload-default layer (#8545) (7c62e2a)

🐛 Bug Fixes

  • verify view is inaccessible (#8557) (1b63ad4)
  • duplicate with upload collections (#8552) (400293b)
  • db-vercel-postgres: add pg dep (#8598) (ca77944)
  • payload: calculates correct aspect ratio dimensions on sharp based files (#8537) (c14c429)
  • payload: applies resize after cropping if resizeOptions are defined (#8528) (9a0568c)
  • richtext-lexical: linkFeature doesn't respect admin.routes from payload.config.ts (#8513) (6cb128a)
  • templates: await params/cookies properly (#8560) (463490f)
  • ui: add unstyled prop to react-select so that payload styles take priority (#8572) (2a1321c)

⚠️ BREAKING CHANGES

  • improve auth provider setting user and user cookie (#8600) (829996a)

    If you are using the setUser function exposed from the useAuth()
    provider, then you will need to make some adjustments.

    setUser now expects the response data from auth enabled endpoints, ie
    the /me route. This is so the cookie and expiration can be properly
    set in sync when a new user is set on the provider.

    // before
    setUser({
      id: 670524817048be0fa222fc01,
      email: dev@payloadcms.com,
      // ... other user properties
    })
    
    // new
    setUser({
      user: {
        id: 670524817048be0fa222fc01,
        email: dev@payloadcms.com,
        // ... other user properties
      },
      exp: 1728398351,
      token: "....eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVC...."
    })
  • ui: scope all payload css to payload-default layer (#8545) (7c62e2a)

    All payload css is now encapsulated inside CSS layers under @layer payload-default

    Any custom css will now have the highest possible specificity.
    We have also provided a new layer @layer payload if you want to use
    layers and ensure that your styles are applied after payload.

    To override existing styles in a way that the existing rules of
    specificity would be respected you can use the default layer like so

    @layer payload-default {
      // my styles within the payload specificity
    }

🤝 Contributors