Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump payload from 2.0.14 to 3.24.0 #167

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 19, 2025

Bumps payload from 2.0.14 to 3.24.0.

Release notes

Sourced from payload's releases.

v3.24.0

v3.24.0 (2025-02-19)

🚀 Features

  • add support for interfaceName on radio and select fields to create reusable top level types (#11277) (acead10)
  • join field across many collections (#10919) (6d36a28)
  • add page query parameter for joins (#10998) (847d8d8)
  • view component types (#11126) (b80010b)
  • route transitions (#9275) (3f550bc)
  • add siblingFields arg to field hooks (#11117) (155f9f8)
  • richtext-lexical: export INSERT_BLOCK_COMMAND and INSERT_INLINE_BLOCK_COMMAND (#11193) (dc36572)
  • translations: add support for lithuanian (#11243) (8bbe7bc)
  • ui: enable specific css selectors on the localizer per locale (80b33ad)
  • ui: confirmation modal (#11271) (bd8ced1)
  • ui: adds admin.components.listMenuItems option (#11230) (8a2b712)
  • ui: add hideFileInputOnCreate and hideRemoveFile to collection upload config (#11217) (daaaa5f)
  • ui: refines progress bar animation curve (#11167) (16d75a7)

🐛 Bug Fixes

  • versions not loading properly (#11256) (0651ae0)
  • db transaction errors caused by checkDocumentLockStatus (#11273) (9b8f8d7)
  • localized fields within block references were not handled properly if any parent is localized (#11207) (e6fea1d)
  • upload and auth endpoints are mounted for all collections (#11231) (749962a)
  • populate is ignored for nested relationships (#11227) (938472b)
  • ensure leavesFirst option works correctly in traverseFields utility (#11219) (6b9d81a)
  • join field does not show validation error (#11170) (dd28959)
  • db-mongodb: properly handle document notfound cases for update and delete operations (#11267) (7922d66)
  • db-mongodb: remove duplicative indexing of timestamps (#11028) (12f51ba)
  • db-postgres: querying other collections via relationships inside blocks (#11255) (88548fc)
  • db-postgres: ensure countDistinct works correctly and achieve better performance when the query has table joins (#11208) (513ba63)
  • next: imports toast from @​payloadcms/ui (#11279) (cd48904)
  • next: document header padding on tablet sized screens (#11192) (70db44f)
  • next: pre-flight OPTIONS request errors from the graphql endpoint (#11103) (ececa65)
  • plugin-multi-tenant: corrects default value for tenantsArrayTenantFieldName (#11189) (b65ae07)
  • plugin-seo: add missing supported languages (#11254) (74ce889)
  • richtext-lexical: add container div to table element to allow horizontal scroll in HTML and JSX converters (#11119) (9068bda)
  • richtext-lexical: reliably install exact lexical version by removing it from peerDeps (#11122) (2056e9b)
  • richtext-lexical: unindent button in toolbar is never active (#11089) (7a400a7)
  • ui: minor issues with tabs and publish buttons when in RTL (#11282) (e83318b)
  • ui: turbopack with the latest next.js canary [skip lint] (#11280) (009e908)
  • ui: disabledLocalStrategy.enableFields missing email/username fields (#11232) (9fc1cd0)
  • ui: unsaved changes allows for scheduled publish missing changes (#11001) (618624e)
  • ui: timezone issue related to date only fields in Pacific timezones (#11203) (8b0ae90)
  • ui: database errors when running autosave and ensure autosave doesn't run unnecessarily (#11270) (1328522)
  • ui: do not pass req in handleFormStateLocking (#11269) (7f5aaad)
  • ui: issues with prevent leave and autosave when the form is submitted but invalid (#11233) (06debf5)
  • ui: allow selectinputs to reset to their initial values if theres no provided value (#11252) (1c4eba4)

... (truncated)

Commits
  • f3161f9 chore(release): v3.24.0 [skip ci]
  • 0651ae0 fix: versions not loading properly (#11256)
  • 9b8f8d7 fix: db transaction errors caused by checkDocumentLockStatus (#11273)
  • acead10 feat: add support for interfaceName on radio and select fields to create reus...
  • 8bbe7bc feat(translations): add support for lithuanian (#11243)
  • 7922d66 fix(db-mongodb): properly handle document notfound cases for update and delet...
  • 6d36a28 feat: join field across many collections (#10919)
  • ede7bd7 docs: add missing jsdocs to version config (#11258)
  • 313ff04 perf: optimize permissions calculation with lots of blocks (#11236)
  • 847d8d8 feat: add page query parameter for joins (#10998)
  • 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 <dependency name> 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)

Bumps [payload](https://github.com/payloadcms/payload/tree/HEAD/packages/payload) from 2.0.14 to 3.24.0.
- [Release notes](https://github.com/payloadcms/payload/releases)
- [Commits](https://github.com/payloadcms/payload/commits/v3.24.0/packages/payload)

---
updated-dependencies:
- dependency-name: payload
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 19, 2025
Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/payload@3.24.0 🔁 npm/payload@2.0.14 eval, unsafe +77 26.5 MB elliotpayload

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Environment variable access npm/ws@8.18.0 🚫
Environment variable access npm/ws@8.18.0 🚫
Network access npm/ws@8.18.0 🚫
Network access npm/ws@8.18.0 🚫
Network access npm/ws@8.18.0 🚫
Network access npm/ws@8.18.0 🚫
Environment variable access npm/ci-info@4.1.0 🚫
Minified code npm/get-tsconfig@4.8.1 🚫
Environment variable access npm/pino@9.5.0 🚫
Environment variable access npm/pino@9.5.0 🚫
Environment variable access npm/pino-pretty@13.0.0 🚫
Environment variable access npm/graphql@16.10.0 🚫
Network access npm/payload@3.24.0 🚫
Filesystem access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0
  • Env Vars: NEXT_PUBLIC_PAYLOAD_COMPATIBILITY_allowLocalizedWithinLocalized
  • Location: Package overview
🚫
Environment variable access npm/payload@3.24.0 🚫
Uses eval npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0
  • Env Vars: PAYLOAD_DO_NOT_SANITIZE_LOCALIZED_PROPERTY
  • Location: Package overview
🚫
Shell access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫
Filesystem access npm/payload@3.24.0 🚫
Debug access npm/payload@3.24.0 🚫
Environment variable access npm/payload@3.24.0 🚫

View full report↗︎

Next steps

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What's wrong with minified code?

This package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.

In many cases minified code is harmless, however minified code can be used to hide a supply chain attack. Consider not shipping minified code on npm.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is dynamic code execution?

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Avoid packages that use dynamic code execution like eval(), since this could potentially execute any code.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is debug access?

Uses debug, reflection and dynamic code execution features.

Removing the use of debug will reduce the risk of any reflection and dynamic code execution.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/ws@8.18.0
  • @SocketSecurity ignore npm/ci-info@4.1.0
  • @SocketSecurity ignore npm/get-tsconfig@4.8.1
  • @SocketSecurity ignore npm/pino@9.5.0
  • @SocketSecurity ignore npm/pino-pretty@13.0.0
  • @SocketSecurity ignore npm/graphql@16.10.0
  • @SocketSecurity ignore npm/payload@3.24.0

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 27, 2025

Superseded by #169.

@dependabot dependabot bot closed this Feb 27, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/payload-3.24.0 branch February 27, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

0 participants