mooxl / astroad

A pre-configured setup for easy website development with Astro and Payload CMS using Docker.
MIT License
92 stars 8 forks source link

Bump payload from 1.15.6 to 2.3.0 in /payload #143

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps payload from 1.15.6 to 2.3.0.

Release notes

Sourced from payload's releases.

Release v2.3.0

2.3.0 (2023-11-30)

Features

  • add serbian (latin and cyrillic) translations (#4268) (40c8909)
  • db-mongodb: search for migrations dir intelligently (530c825)
  • db-postgres: search for migrations dir intelligently (308979f)
  • live-preview: batches api requests (#4315) (d49bb43)
  • relationship sortOptions property (#4301) (224cddd)
  • support migrations with js files (2122242)
  • support OAuth 2.0 format Authorization: Bearer tokens in headers (c1eb9d1)
  • useDocumentEvents (#4284) (9bb7a88)

Bug Fixes

  • db-postgres: allow for nested block fields to be queried (#4237) (cd07873)
  • db-postgres: error saving nested arrays with versions (#4302) (3514bfb)
  • duplicate documents with required localized fields (#4236) (9da9b1f)
  • incorrect key property in Tabs field component (#4311) (3502ce7), closes #4282
  • live-preview-react: removes payload from peer deps (7e1052f)
  • live-preview: compounds merge results (#4306) (381c158)
  • live-preview: property resets rte nodes (#4313) (66679fb)
  • live-preview: re-populates externally updated relationships (#4287) (57fc211)
  • live-preview: removes payload from peer deps (b4af95f)
  • properly exports useDocumentsEvents hook (#4314) (5420963)
  • properly sets tabs key in fieldSchemaToJSON (#4317) (9cc88bb)
  • richtext-lexical: HTML Converter field not working inside of tabs (#4293) (5bf6493)
  • richtext-lexical: re-use payload population logic to fix population-related issues (#4291) (094d02c)
  • richtext-slate: add use client to top of tsx files importing from payload core (#4312) (d4f28b1)

BREAKING CHANGES

⚠️ @​payloadcms/richtext-lexical

The SlashMenuGroup and SlashMenuOption classes have changed. If you have any custom lexical Features which are adding new slash menu entries, this will be a breaking change for you. If not, no action is required from your side.

Here are the breaking changes and how to migrate:

  1. The SlashMenuOption's first argument is now used as a key and not as a display name. Additionally, a new, optional displayName property is added which will serve as the display name. Make sure your key does not contain any spaces or special characters.
  2. The title property of SlashMenuGroup has been replaced by a new, mandatory key and an optional displayName property. To migrate, you will have to remove the title property and add a key property instead - make sure you do not use spaces or special characters in the key.
  3. Additionally, if you have custom styles targeting elements inside of slash or floating-select-toolbar menus, you will have to adjust those too, as the CSS classes changed

This is an example of performing these updates

Release v2.2.2

... (truncated)

Changelog

Sourced from payload's changelog.

2.3.0 (2023-11-30)

Features

  • add serbian (latin and cyrillic) translations (#4268) (40c8909)
  • db-mongodb: search for migrations dir intelligently (530c825)
  • db-postgres: search for migrations dir intelligently (308979f)
  • live-preview: batches api requests (#4315) (d49bb43)
  • relationship sortOptions property (#4301) (224cddd)
  • support migrations with js files (2122242)
  • support OAuth 2.0 format Authorization: Bearer tokens in headers (c1eb9d1)
  • useDocumentEvents (#4284) (9bb7a88)

Bug Fixes

  • db-postgres: allow for nested block fields to be queried (#4237) (cd07873)
  • db-postgres: error saving nested arrays with versions (#4302) (3514bfb)
  • duplicate documents with required localized fields (#4236) (9da9b1f)
  • incorrect key property in Tabs field component (#4311) (3502ce7), closes #4282
  • live-preview-react: removes payload from peer deps (7e1052f)
  • live-preview: compounds merge results (#4306) (381c158)
  • live-preview: property resets rte nodes (#4313) (66679fb)
  • live-preview: re-populates externally updated relationships (#4287) (57fc211)
  • live-preview: removes payload from peer deps (b4af95f)
  • properly exports useDocumentsEvents hook (#4314) (5420963)
  • properly sets tabs key in fieldSchemaToJSON (#4317) (9cc88bb)
  • richtext-lexical: HTML Converter field not working inside of tabs (#4293) (5bf6493)
  • richtext-lexical: re-use payload population logic to fix population-related issues (#4291) (094d02c)
  • richtext-slate: add use client to top of tsx files importing from payload core (#4312) (d4f28b1)

BREAKING CHANGES

⚠️ @​payloadcms/richtext-lexical

The SlashMenuGroup and SlashMenuOption classes have changed. If you have any custom lexical Features which are adding new slash menu entries, this will be a breaking change for you. If not, no action is required from your side.

Here are the breaking changes and how to migrate:

  1. The SlashMenuOption's first argument is now used as a key and not as a display name. Additionally, a new, optional displayName property is added which will serve as the display name. Make sure your key does not contain any spaces or special characters.
  2. The title property of SlashMenuGroup has been replaced by a new, mandatory key and an optional displayName property. To migrate, you will have to remove the title property and add a key property instead - make sure you do not use spaces or special characters in the key.
  3. Additionally, if you have custom styles targeting elements inside of slash or floating-select-toolbar menus, you will have to adjust those too, as the CSS classes changed

This is an example of performing these updates

2.2.2 (2023-11-27)

... (truncated)

Commits
  • 53958d4 chore(release): payload/2.3.0 [skip ci]
  • a085911 chore(richtext-*): bump payload peer dep
  • 4adc30b chore: fixes failing postgres int test for live preview (#4329)
  • ff61d5a chore(richtext-*): roll-back richtext adapter change
  • 9cc88bb fix: properly sets tabs key in fieldSchemaToJSON (#4317)
  • 57fc211 fix(live-preview): re-populates externally updated relationships (#4287)
  • 9da9b1f fix: duplicate documents with required localized fields (#4236)
  • 30d050e chore: fix telemetry user id type string (#4321)
  • 9beb9c8 chore(richtext-lexical): ensure CSS is not accidentally overridden (#4324)
  • 224cddd feat: relationship sortOptions property (#4301)
  • Additional commits viewable in compare view


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 10 months ago

Superseded by #144.