Repository navigation
Patchloom 0.37.7
Library refusals name the path you passed. undo will not delete an empty directory that sits outside the project.
Highlights
When append, prepend, create, delete, rename, or replace refuses a file, the error names the path you passed. A relative path stays relative. The file is not changed.
undo checks every directory a backup says it created. A path that leaves the project is refused, including .. and a symlink that points outside.
Bug fixes
-
A binary
appendorprependprinted a long absolute path. You passedbin.link. The error now saysbin.link. The file is not changed. The kind is stillbinary(#2723). -
Create, delete, rename, and replace did the same. Creating
keep.txtwhen it already exists, deleting a directory, renaming onto an existing file, and replacing in a binary file name the path you passed. Creatingkeep.txt/child.txtwhenkeep.txtis a file nameskeep.txt. Nothing is written (#2725). -
undocould delete an empty directory outside the project. A backupcreated_dirsentry with.., a path outside the workspace, or a symlink that leaves the workspace is refused. A directory the apply created inside the project is still removed (#2725). -
The Smithery server page linked from the README was missing. The link is the Smithery directory at https://smithery.ai/ (#2725).
Numbers
| Metric | Notes |
|---|---|
| Version | 0.37.6 -> 0.37.7 |
| Focus | caller path in library refusals, undo of created directories |
Upgrading
- If you matched an absolute path inside an error such as
target is a binary file, match the path you passed. The error kind is unchanged. undoof a manifest that names a directory outside the project fails instead of deleting that directory.- Install from crates.io, npm, Homebrew, or Scoop after the tag ships. On Windows, Scoop is recommended. winget may need
winget source updateafter Microsoft publishes. Chocolatey can lag while moderation runs.