Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: payloadcms/payload
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.82.0
Choose a base ref
...
head repository: payloadcms/payload
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.82.1
Choose a head ref
  • 6 commits
  • 73 files changed
  • 8 contributors

Commits on Apr 8, 2026

  1. perf(storage-s3): avoid getObject call if ETag matches (#15295)

    ### What?
    
    Avoid unnecessary getObject call to S3 when the ETag matches.
    
    ### Why?
    
    Range support introduced an early headObject call, which already returns
    ETag and metadata; we can use that to short‑circuit with 304 and save a
    fetch.
    
    ### How?
    
    By using response headers from headObject and check ETag matching before
    invoking getObject.
    
    Added a test case for verifying 200 status when If-None-Match does not
    match, and 304 status with empty body when If-None-Match is included and
    matching.
    
    ---------
    
    Co-authored-by: Paul Popus <paul@payloadcms.com>
    andershermansen and paulpopus authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    7ccc3f0 View commit details
    Browse the repository at this point in the history
  2. templates: bump to 3.82.0, remove --no-server-fast-refresh flag (#16212)

    - bumps templates to Payload 3.82.0
    - removes the --no-server-fast-refresh flag from templates dev script,
    as [it is no longer needed with Payload 3.82.0 and Next.js
    16.2.2](#16202)
    
    ---
    - To see the specific tasks where the Asana app for GitHub is being
    used, see below:
      - https://app.asana.com/0/0/1213983836266021
    AlessioGr authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    79c8d7e View commit details
    Browse the repository at this point in the history
  3. fix(next): use correct config key for disabling turbo server fast ref…

    …resh (#16215)
    
    The previous PR set `enableServerFastRefresh: false` which was not the
    correct config key - it should be `turbopackServerFastRefresh: false`.
    AlessioGr authored Apr 8, 2026
    Configuration menu
    Copy the full SHA
    11adc9d View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2026

  1. docs: fix incorrect select syntax example in querying docs (#14590)

    ### What?
    
    Fix incorrect select example in the querying docs. The docs showed
    `select: [{ title: true }]` which is not valid. Updated to `select: {
    title: true }` to match actual API usage and TypeScript types.
    
    ### Why?
    
    The wrong example causes TypeScript errors and confusion for users.
    Correcting it makes the docs accurate and consistent.
    
    ### How?
    
    Updated the example in docs/queries/overview.mdx to use object syntax
    for select. No code changes, documentation only.
    
    Co-authored-by: Paul Popus <paul@payloadcms.com>
    syazwanz and paulpopus authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    be6c443 View commit details
    Browse the repository at this point in the history
  2. fix(plugin-nested-docs): await populateBreadcrumbs in resaveChildren (#…

    …15582)
    
    Fixes #14943
    
    ## Summary
    
    The async `populateBreadcrumbs()` function was not being awaited in
    `resaveChildren`. This caused `payload.update()` to receive a Promise
    instead of the child document's data, so updates couldn't preserve the
    `_status` field and defaulted to the main document's draft status.
    
    When a parent was saved, all child updates created draft versions
    instead of preserving the published/draft distinction. Querying with
    `draft: false` then returned draft data, making the published version
    "disappear."
    
    The fix adds `await` to the `populateBreadcrumbs()` call.
    
    ---------
    
    Co-authored-by: Cursor <cursoragent@cursor.com>
    Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com>
    3 people authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    0554b50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ade4501 View commit details
    Browse the repository at this point in the history
Loading