NouanceLabs / payload-better-fields-plugin

This plugin aims to provide you with very specific and improved fields for the Payload admin panel.
MIT License
127 stars 2 forks source link

Bump payload from 1.15.6 to 2.0.3 #26

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Bumps payload from 1.15.6 to 2.0.3.

Release notes

Sourced from payload's releases.

Release 2.0.0

2.0.0 (2023-10-09)

Features

  • New database adapter pattern
  • Official Postgres adapter released, built on Drizzle ORM
  • Database transactions added
  • Full, first-party migration support added
  • The admin UI has been redesigned to be more extensible and offer more horizontal real estate
  • Admin UI sidebar is now collapsible
  • Live preview added to admin UI, including usable frontend hooks
  • New "Views" API added, which allows for custom sub-views on List and Edit views within Admin UI
  • New bundler adapter pattern released
  • Official Vite bundler released
  • Offical Lexical rich text adapter released
  • Lexical rich text editor now supports drag and drop of rich text elements
  • Lexical rich text now supports Payload blocks directly within rich text editor
  • Upload image cropping added
  • Upload "focal point" controls added
  • New "API" view added to Edit view(s), allowing for quick and customizable references to API response
  • MongoDB draft querying has been significantly improved and is now much faster
  • Arabic / RTL UI support added
  • Locales can now be further configured to accept settings like rtl, human-friendly labels, etc.
  • The tsconfig path pointing to your generated Payload types is no longer required for types to work

BREAKING CHANGES

⚠️ You now need to provide your Payload config with a database, a bundler, and a rich text adapter

Here's an example of a barebones Payload config, set up to work as 1.0 did:

import { mongooseAdapter } from "@payloadcms/db-mongodb";
import { slateEditor } from "@payloadcms/richtext-slate";
import { webpackBundler } from "@payloadcms/bundler-webpack";
import { buildConfig } from "payload/config";

export default buildConfig({ admin: { bundler: webpackBundler(), }, editor: slateEditor({}), collections: [ // your collections here ], db: mongooseAdapter({ url: process.env.DATABASE_URI, }), }); </tr></table>

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 8 months ago

Superseded by #28.