Bug Fixes
- Preserved line endings when editing dotenv, TOML, YAML, and JSON files. LF files now stay LF, and CRLF files keep
\r\nendings, including in multi-line TOML strings, YAML block scalars, and when adding, replacing, or deleting values.
Improvements
- Added regression tests to verify line ending preservation across these formats and edit operations.
Install
Download from usemagpie.ai, or curl -fsSL https://usemagpie.ai/install.sh | sh. An installed magpie updates itself.
- macOS (Apple Silicon):
magpie-darwin-arm64.dmg - macOS (Intel):
magpie-darwin-amd64.dmg - Windows:
magpie-windows-amd64.exe(ARM:magpie-windows-arm64.exe) - Linux:
magpie-linux-amd64/magpie-linux-arm64(needs GTK 3 and WebKitGTK 4.1) - Terminal only:
magpie-cli-<os>-<arch>
Bug Fixes
- 修复了编辑 dotenv、TOML、YAML 和 JSON 文件时行尾未被保留的问题。LF 文件现在保持 LF,CRLF 文件保持
\r\n结尾,包括在多行 TOML 字符串、YAML 块标量中,以及添加、替换或删除值的情况。
Improvements
- 添加了回归测试,以验证这些格式和编辑操作中的行尾保留情况。
安装
从 usemagpie.ai 下载,或运行 curl -fsSL https://usemagpie.ai/install.sh | sh。已安装的 magpie 会自动更新。