Skip to content

Version Packages - #142

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release
Open

Version Packages#142
github-actions[bot] wants to merge 1 commit into
mainfrom
release

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

This pull request was opened by the release workflow. Merge it to publish the versions below. Pending changesets on main will update this pull request.

Releases

@cloudflare/computer@0.4.0

Minor Changes

  • #124 Workspace.fs gains rename(oldPath, newPath), exposing the store's existing transactional move through the public surface and through WorkspaceFilesystemStub. An existing destination is replaced when the two ends agree on kind — a file or symbolic link for a file or symbolic link, an empty directory for a directory — and the operation reports ENOENT, ENOTEMPTY, EISDIR, ENOTDIR, EINVAL, and EROFS as documented in docs/04_filesystem_interface.md. The Worker shell's mv now calls it, so an interrupted move no longer leaves the entry at both paths or a directory half copied. (e6a92c5) - Thanks @aron-cf

  • #124 find accepts exclude, a list of glob patterns matched against the same directory-relative path as the inclusion glob. Exclusion is decided first, so it always wins, and an excluded directory is pruned during traversal: neither it nor anything below it is read. limit and offset apply to the matches that survive. The option travels through WorkspaceFilesystem, WorkspaceFilesystemStub, and the public find tool. (e6a92c5) - Thanks @aron-cf

    const sources = await workspace.fs.find("/workspace", "**/*.ts", {
      exclude: ["node_modules", "node_modules/**", ".git", ".git/**"],
    });

Patch Changes

  • #124 Document the symbolic-link filesystem surface. docs/04_filesystem_interface.md claimed that symbolic links were internal and that Workspace.fs had no symlink, readlink, lstat, or chmod, none of which matched the shipped API. Those four methods now have sections of their own covering return values and the ENOENT, EINVAL, and ELOOP cases, the comparison with node:fs/promises maps them, and the specification explains that stat follows a trailing link while lstat reports the link itself. (e6a92c5) - Thanks @aron-cf

@cloudflare/dofs@0.4.0

Minor Changes

  • #124 Workspace.fs gains rename(oldPath, newPath), exposing the store's existing transactional move through the public surface and through WorkspaceFilesystemStub. An existing destination is replaced when the two ends agree on kind — a file or symbolic link for a file or symbolic link, an empty directory for a directory — and the operation reports ENOENT, ENOTEMPTY, EISDIR, ENOTDIR, EINVAL, and EROFS as documented in docs/04_filesystem_interface.md. The Worker shell's mv now calls it, so an interrupted move no longer leaves the entry at both paths or a directory half copied. (e6a92c5) - Thanks @aron-cf

  • #124 find accepts exclude, a list of glob patterns matched against the same directory-relative path as the inclusion glob. Exclusion is decided first, so it always wins, and an excluded directory is pruned during traversal: neither it nor anything below it is read. limit and offset apply to the matches that survive. The option travels through WorkspaceFilesystem, WorkspaceFilesystemStub, and the public find tool. (e6a92c5) - Thanks @aron-cf

    const sources = await workspace.fs.find("/workspace", "**/*.ts", {
      exclude: ["node_modules", "node_modules/**", ".git", ".git/**"],
    });
  • #123 Let computerd keep its workspace on disk instead of in memory, so it survives a restart. Set COMPUTERD_DB to a file path — see the computerd README. (ef8cd11) - Thanks @aron-cf

Patch Changes

  • #124 mkdir now follows symbolic links in intermediate path segments, so a link to a directory resolves transparently instead of failing with ENOTDIR. Creating /alias/new-directory where /alias points at /real creates /real/new-directory, and recursive creation places its missing ancestors under the resolved parent. A resolved parent that is a file still reports ENOTDIR, a dangling parent link reports ENOENT, and a chain longer than the shared forty-hop budget reports ELOOP. (e6a92c5) - Thanks @aron-cf

@cloudflare/computerd@0.4.0

Minor Changes

  • #139 The exec runner now takes an optional shell naming the interpreter each command runs under, and computerd reads the same value from EXEC_SHELL. Both default to /bin/sh, so existing behavior is unchanged. On a Debian-family image /bin/sh is dash, where bash-only syntax such as the PIPESTATUS array is a parse error that aborts the command rather than a missing feature, and that array is how a caller recovers the real exit status of a pipeline whose output it filters. Repointing /bin/sh in the image was the only previous workaround, which changes echo semantics for every other script in that image and is unavailable when the image is prebuilt. (5f310b6) - Thanks @aron-cf

Patch Changes

@cloudflare/computer-rpc@0.4.0

Patch Changes

@changeset-bot

changeset-bot Bot commented Sep 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a5da267

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

This report is out of date. Scroll down for Devin Review's latest report on this PR.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Sep 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@cloudflare/computer@142

commit: a5da267

devin-ai-integration[bot]

This comment was marked as resolved.

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.

0 participants