Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mise treats escaped newlines in env files differently than dotenvy #2455

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

roele
Copy link
Contributor

@roele roele commented Aug 12, 2024

Fixes #2453.

A single quoted foo='line\nbreak' results in characters \ and n, while a double quoted foo="line\nbreak" results in character \n. Seems that the replacement of "\n" in certain shell implementations causes this behaviour.

@jdx jdx merged commit 0150500 into jdx:main Aug 13, 2024
10 checks passed
@roele roele deleted the issues/2453 branch August 13, 2024 08:19
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Aug 19, 2024
[2024.8.11](https://github.com/jdx/mise/compare/v2024.8.10..v2024.8.11) - 2024-08-19

 🐛 Bug Fixes

- bump xx by [@jdx](https://github.com/jdx) in [9a9d3c1](jdx/mise@9a9d3c1)

[2024.8.10](https://github.com/jdx/mise/compare/v2024.8.9..v2024.8.10) - 2024-08-18

 🚀 Features

- python on windows by [@jdx](https://github.com/jdx) in [2d4cee2](jdx/mise@2d4cee2)

 🐛 Bug Fixes

- hide non-working core plugins on windows by [@jdx](https://github.com/jdx) in [16a08fc](jdx/mise@16a08fc)
- windows compat by [@jdx](https://github.com/jdx) in [2084a37](jdx/mise@2084a37)
- vfox tweaks by [@jdx](https://github.com/jdx) in [c260ab2](jdx/mise@c260ab2)
- remove windows warning by [@jdx](https://github.com/jdx) in [9be937e](jdx/mise@9be937e)

 📚 Documentation

- windows by [@jdx](https://github.com/jdx) in [437b63c](jdx/mise@437b63c)

 🧪 Testing

- fixing tests by [@jdx](https://github.com/jdx) in [1206497](jdx/mise@1206497)
- reset test by [@jdx](https://github.com/jdx) in [c740cfd](jdx/mise@c740cfd)

 🔍 Other Changes

- clippy by [@jdx](https://github.com/jdx) in [ee005ff](jdx/mise@ee005ff)
- fix windows build by [@jdx](https://github.com/jdx) in [28c5cb6](jdx/mise@28c5cb6)
- set GITHUB_TOKEN in release task by [@jdx](https://github.com/jdx) in [0ae049b](jdx/mise@0ae049b)

[2024.8.9](https://github.com/jdx/mise/compare/v2024.8.8..v2024.8.9) - 2024-08-18

 🚀 Features

- use registry shortname for mise.toml/install dirs by [@jdx](https://github.com/jdx) in [#2470](jdx/mise#2470)
- vfox backend by [@jdx](https://github.com/jdx) in [#2187](jdx/mise#2187)

 🐛 Bug Fixes

- hide file tasks starting with "." by [@jdx](https://github.com/jdx) in [#2466](jdx/mise#2466)
- mise prune removes tool versions which are in use by [@roele](https://github.com/roele) in [#2469](jdx/mise#2469)
- cargo_binstall missing from set commands by [@roele](https://github.com/roele) in [#2471](jdx/mise#2471)
- only warn if config properties are not found by [@jdx](https://github.com/jdx) in [#2472](jdx/mise#2472)

 🚜 Refactor

- Asdf -> AsdfBackend by [@jdx](https://github.com/jdx) in [#2467](jdx/mise#2467)
- backend repetition by [@jdx](https://github.com/jdx) in [d2f7f33](jdx/mise@d2f7f33)

[2024.8.8](https://github.com/jdx/mise/compare/v2024.8.7..v2024.8.8) - 2024-08-17

 🚜 Refactor

- split asdf into forge+plugin by [@jdx](https://github.com/jdx) in [#2226](jdx/mise#2226)

 🧪 Testing

- fix home directory for win tests by [@jdx](https://github.com/jdx) in [#2464](jdx/mise#2464)

 📦️ Dependency Updates

- update rust crate tabled to 0.16.0 by [@renovate[bot]](https://github.com/renovate[bot]) in [#2452](jdx/mise#2452)

[2024.8.7](https://github.com/jdx/mise/compare/v2024.8.6..v2024.8.7) - 2024-08-16

 🐛 Bug Fixes

- mise treats escaped newlines in env files differently than dotenvy by [@roele](https://github.com/roele) in [#2455](jdx/mise#2455)
- wait for spawned tasks to die before exiting by [@jdx](https://github.com/jdx) in [#2461](jdx/mise#2461)

 📦️ Dependency Updates

- update dependency vitepress to v1.3.2 by [@renovate[bot]](https://github.com/renovate[bot]) in [#2450](jdx/mise#2450)
triarius pushed a commit to triarius/mise that referenced this pull request Sep 18, 2024
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.

Mise treats escaped newlines in env files differently than dotenvy
2 participants