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.26.0 #171

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2025

Bumps payload from 2.0.14 to 3.26.0.

Release notes

Sourced from payload's releases.

v3.26.0

v3.26.0 (2025-03-04)

🚀 Features

  • ability to cancel jobs (#11409) (38131ed)
  • maintains column state in url (#11387) (3709950)
  • db-*: support limit in db.updateMany (#11488) (6a3d58b)
  • db-*: add updateMany method to database adapter (#11441) (41c7413)
  • richtext-lexical: add htmlToLexical helper (#11479) (cd29978)
  • richtext-lexical: add editorConfigFactory helper to streamline getting the editor config (#11467) (e1b3084)
  • ui: close the nav when the user navigates away on small screens (#10932) (9bb89b7)

🐛 Bug Fixes

  • avif images not converting to upload.formatOptions set file types (#11505) (c417e3a)
  • excludes index files from migration files filtering (#10722) (c828e33)
  • response headers from authstrategies are now merged together, even if no user was returned (#10883) (45a7c8b)
  • ensures req.origin includes port on localhost (#11454) (a65289c)
  • ensure errors returned from tasks are properly logged (#11443) (d53f166)
  • incorrect value inside beforeValidate field hooks (#11433) (b3e7a9d)
  • examples: ensure working multi-tenant example with pg (#11501) (4ddf965)
  • examples: replace depreciated 'mergeHeaders' import in the MultiTenant example (#11306) (48e613b)
  • next: incorrect active state for partial matches of collection names in sidebar (#11511) (7d2480a)
  • next: active nav item not clickable in edit view (#11457) (83b4548)
  • next: properly instantiates req.url on localhost (#11455) (67c4a20)
  • next: email verification not working due to incorrect token url parsing (#11439) (f3844ee)
  • next: disables active nav item (#11434) (c4bc0ae)
  • plugin-multi-tenant: scope access constraint to admin collection (#11430) (9c25e7b)
  • richtext-lexical: ensure nested forms do not use form element (#11462) (6d8aca5)
  • storage-*: ensure client handler is always added to the import map, even if the plugin is disabled (#11438) (dfddee2)
  • storage-s3, storage-azure, storage-gcs: client uploads when a collection has prefix configured (#11436) (fc42c40)
  • storage-uploadthing: files are duplicated to the storage via client uploads (#11518) (f143d25)
  • templates: handle enableLink condition safely (#10728) (f7f5651)
  • ui: uses query provider as single source of truth for where builder (#11476) (927078c)
  • ui: remove stale thumbnails in bulkUpload after partial success (#10651) (e75d38c)
  • ui: bulk editing users throws client-side exception (#11461) (6cbda9e)
  • ui: scope rah-static and progress-bar styles to payload-default layer (#11442) (bef98c8)
  • ui: use full image url for upload previews instead of thumbnail url (#11435) (96d1d90)
  • ui: locale selector in versions view should remove filtered locales (#11447) (9e97319)
  • ui: copyToLocale should not pass id in data, throws error in postgres (#11402) (428c133)
  • ui: duplicate basePath in Logout Button Link (#11432) (f7b1cd9)
  • ui: disable publish button if form is autosaving (#11343) (7118b64)

⚡ Performance

  • automatically add index on a relationship field when used as target for a join field (#11463) (90d3c65)
  • disable returning of db operations that don't need the return value (#11437) (6ce5e8b)
  • db-*: add option to disable returning modified documents in db methods (#11393) (c21dac1)

... (truncated)

Commits
  • 1d16831 chore(release): v3.26.0 [skip ci]
  • f143d25 fix(storage-uploadthing): files are duplicated to the storage via client uplo...
  • c417e3a fix: avif images not converting to upload.formatOptions set file types (#11...
  • 6a3d58b feat(db-*): support limit in db.updateMany (#11488)
  • c828e33 fix: excludes index files from migration files filtering (#10722)
  • 90d3c65 perf: automatically add index on a relationship field when used as target for...
  • 45a7c8b fix: response headers from authstrategies are now merged together, even if no...
  • 67c4a20 fix(next): properly instantiates req.url on localhost (#11455)
  • 38131ed feat: ability to cancel jobs (#11409)
  • a65289c fix: ensures req.origin includes port on localhost (#11454)
  • 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.26.0.
- [Release notes](https://github.com/payloadcms/payload/releases)
- [Commits](https://github.com/payloadcms/payload/commits/v3.26.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 Mar 4, 2025
Copy link

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

Package New capabilities Transitives Size Publisher
npm/payload@2.0.143.26.0 eval, unsafe +77 18.8 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/ci-info@4.1.0 🚫
Environment variable access npm/ws@8.18.1 🚫
Environment variable access npm/ws@8.18.1 🚫
Network access npm/ws@8.18.1 🚫
Network access npm/ws@8.18.1 🚫
Network access npm/ws@8.18.1 🚫
Network access npm/ws@8.18.1 🚫
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.26.0 🚫
Filesystem access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0
  • Env Vars: NEXT_PUBLIC_PAYLOAD_COMPATIBILITY_allowLocalizedWithinLocalized
  • Location: Package overview
🚫
Environment variable access npm/payload@3.26.0 🚫
Uses eval npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0
  • Env Vars: PAYLOAD_DO_NOT_SANITIZE_LOCALIZED_PROPERTY
  • Location: Package overview
🚫
Shell access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.0 🚫
Filesystem access npm/payload@3.26.0 🚫
Debug access npm/payload@3.26.0 🚫
Environment variable access npm/payload@3.26.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/ci-info@4.1.0
  • @SocketSecurity ignore npm/ws@8.18.1
  • @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.26.0

Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2025

Superseded by #172.

@dependabot dependabot bot closed this Mar 5, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/payload-3.26.0 branch March 5, 2025 22:54
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