Skip to content

v0.19.4

Choose a tag to compare

@Goldziher Goldziher released this 06 Aug 07:46
· 3 commits to main since this release
v0.19.4
db1cad8

Fixed

  • poly fmt --fix and poly lint --fix no longer strip a file's permissions. Both write through
    the same write_atomic helper, which creates a sibling temp file and renames it over the target.
    The temp file is born with 0666 & !umask and has no relationship to the file being rewritten, so
    the rename replaced a 0755 script with a 0644 one — formatting an executable script silently
    cleared its exec bit, which is how publish-npm/scripts/publish.py in xberg-io/actions started
    failing ruff's EXE001. The original mode is now applied to the temp file before the rename.