github payloadcms/payload v3.5.0

latest releases: v3.10.0, eslint/3.9.0, v3.9.0...
14 days ago

v3.5.0 (2024-12-06)

🚀 Features

  • upgrade to React 19 stable and Next.js 15.0.4 (#9801) (8f3f449)

    It is recommended to upgrade to React 19 stable and Next.js 15.0.4 in your existing project. The pnpm.overrides and overrides keys are not needed anymore!

    To do that, change the following in your package.json:

...
  "dependencies": {
-    "next": "15.0.3",
+    "next": "15.0.4",
-    "react": "19.0.0-rc-66855b96-20241106",
-    "react-dom": "19.0.0-rc-66855b96-20241106",
+    "react": "19.0.0",
+    "react-dom": "19.0.0",
     ...
  },
  "devDependencies": {
-    "@types/react": "npm:types-react@19.0.0-rc.1",
-    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1".
+    "@types/react": "19.0.1",
+    "@types/react-dom": "19.0.1",
  },
-  "pnpm": {
-    "overrides": {
-      "@types/react": "npm:types-react@19.0.0-rc.1",
-      "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
-    }
-  },
-  "overrides": {
-    "@types/react": "npm:types-react@19.0.0-rc.1",
-    "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1"
-  }
  • export sanitizeSelectParam, sanitizePopulateParam, senitizeJoinParams utils (#9777) (afd0b54)
  • allow to define global label as function (#9759) (0829a35)
  • live-preview: supports relative urls for dynamic preview deployments (#9746) (f12b4dc)
  • next: supports relative preview URLs (#9755) (1fc9c47)

🐛 Bug Fixes

  • defaultPopulate and populate with nested to arrays/blocks properties (#9751) (7def6b7)
  • getPayload generate import map only when used in Payload Admin Panel (#9371) (d8f7034)
  • db-mongodb: bump mongoose to 8.8.3 (#9747) (840dde2)
  • db-postgres: handle select query on select fields (#9607) (dff71ee)
  • ui: collapsed array state on input change (#9800) (62fc2f5)
  • ui: join field ignoring defaultSort and defaultLimit (#9766) (a11243e)
  • ui: disable doc submenu when parent button is disabled (#9750) (1ab3be6)
  • ui: stale locale value from useLocale (#9582) (fa7ed3f)
  • ui: only render header dom node if needed (#9742) (8e26824)
  • ui: incorrect label size for group field (#9740) (4a324a9)

📚 Documentation

  • adds missing "to" in jobs-queue/overview (#9778) (de53f2a)
  • plugin-search: add info on collection reindexing (#9764) (c9ce350)

📝 Templates

  • bump for v3.4.0 (#9780) (d3232b9)
  • improvements to seed speed on website template and updated hero and collapsible fields (#9779) (19ddd3c)
  • fixes the seeding for the website template when using postgres (#9758) (3d1305d)
  • improve speed of seed script (#9748) (2321970)
  • website: add next sitemap robots disallow config for /admin (#9761) (97d3bb1)

⚙️ CI

  • add nightly stale cron (#9802) (a1a0a07)
  • explicitly use ubuntu-24.04 instead of latest to ensure compat (#9786) (bbf35a6)
  • fetch-depth 0 needed for lint job (a108986)
  • main workflow improvements (#9784) (4cc6f4c)
  • only run tests when needed via needs_tests filter (#9781) (cb691e0)
  • post-release-templates assign PR to user that triggered (ef8d3c9)
  • post-release-templates always use latest tag with workflow_dispatch (28c6b2a)
  • use PAT for post-release-templates (c2ff9b1)
  • ensure clean all script does not error after retrying step, by installing globby and chalk globally (#9745) (84a5b40)
  • ensure triage actions work for PRs from forks (12a8bba)

🏡 Chores

  • cpa: updates .env.example env vars along side .env vars based on selected DB (#9757) (1aa23d3)
  • richtext-lexical: remove outdated custom block component examples (#9754) (61a4656)
  • templates: migrate to new richtext component in website template (#9615) (89db8fb)
  • translations: improved serbian translations for the lexical editor (#9795) (10eab87)
  • ui: expose onInputChange from react-select in SelectInput component (#9728) (8f785e1)

Don't miss a new payload release

NewReleases is sending notifications on new releases.