Skip to content

chore: version packages - #704

Merged
Zach Dunn (zachdunn) merged 1 commit into
mainfrom
changeset-release/main
Aug 18, 2026
Merged

chore: version packages#704
Zach Dunn (zachdunn) merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@buildinternet/uploads@0.44.0

Minor Changes

  • faa961c: uploads attach --pr <num> <key-or-url>... now accepts already-uploaded objects, not just local paths: an argument that doesn't exist on disk but resolves as a workspace object key or an uploads.sh URL (storage host, embed host, or /f/ page) is attached via a server-side copy instead of erroring file not found. The source's own derived metadata (path/url/viewport/state/…) rides along; gh.repo/gh.kind/gh.number/gh.ref are stamped fresh. Copy by default; --move deletes the source after a successful copy. A path that exists on disk always wins as a local file. The hosted MCP promote tool gained a matching keys argument alongside its existing branch-staged sweep.

  • cdb6505: .uploads.yml gained an adoptLinkedFiles key (on by default for bound repos): when a PR body or comment references an uploads.sh file URL that was pasted in directly — rather than uploaded via --pr/attach --branch — the webhook now adopts it into that PR/issue's attachment context, so it gets pairing, dedupe, and screenshots-page grouping automatically. Only files already in the repo's own bound workspace are adopted; links to any other workspace's files are silently ignored. A lone adopted image with nothing else to consolidate doesn't trigger a managed comment on its own.

  • e62b445: Make bare put/screenshot PR-aware (issue CLI: PR-aware upload context — concrete nudge, auto-default, and post-PR promote hint #700). Three changes:

    • The bare-upload nudge (issue CLI: nudge bare put toward --pr/attach when a branch or PR context is detectable #393) is now concrete: it names the actual open
      PR and a ready-made follow-up naming the actual uploaded key(s), e.g.
      uploads attach --pr 1250 f/abc123.webp. It's now surfaced in the hint
      field for --format json and in the local stdio MCP put/screenshot
      tool responses, not only on stderr.
    • Default behavior change: a bare put/screenshot on a git branch that
      maps to exactly one open PR now behaves as if --pr <n> had been passed —
      stable key, managed comment sync — instead of the previous branch-staging
      default. Opt out per-call with --no-pr, or globally with
      UPLOADS_NO_AUTO_PR=1 (env or config file). Never fires outside a git
      checkout, on the default branch, with --no-git, when any explicit
      destination flag is set, or when no single open PR can be resolved — those
      cases fall back to the existing branch-staging/dated-layout behavior
      unchanged.
    • uploads hook pre-pr-screenshot now also suggests promoting
      staged-but-unattached files (uploads attach --promote --pr <num>) when it
      detects them ahead of gh pr create, alongside its existing "stage
      screenshots first" advisory.

Patch Changes

  • 365e29f: Managed GitHub comment "add media" hint now uses the real PR or issue number (uploads put <file> --pr 12) instead of a <N> placeholder.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
uploads-auth c088a8f Commit Preview URL

Branch Preview URL
Aug 18 2026, 11:11 PM

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 03823e5 to 9dd4147 Compare August 18, 2026 22:53
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 9dd4147 to c088a8f Compare August 18, 2026 23:10
@zachdunn
Zach Dunn (zachdunn) merged commit b60a681 into main Aug 18, 2026
3 checks passed
@zachdunn
Zach Dunn (zachdunn) deleted the changeset-release/main branch August 18, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant