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

cross-env versions available: 5.0.0, 4.0.0 #2172

Closed
dependencies bot opened this issue Oct 29, 2017 · 1 comment
Closed

cross-env versions available: 5.0.0, 4.0.0 #2172

dependencies bot opened this issue Oct 29, 2017 · 1 comment
Assignees
Labels
maintenance User-facing maintenance tasks

Comments

@dependencies
Copy link

dependencies bot commented Oct 29, 2017

There are new versions of cross-env available from npm.

5.0.0

5.0.0 (2017-05-11)

Bug Fixes

  • bin: add a bin entry for cross-env-shell (9c4f3462)

Features

Breaking Changes

  • Scripts using quotes or escape sequences will see a difference in behavior.
    Switching to the second bin should resolve any issue.

Closes #99.

(d7b48d5c)

4.0.0

4.0.0 (2017-03-31)

Bug Fixes

Features

Breaking Changes

  • This is unlikely to break anyone, but now if you assign a variable to a variable (like FOO=$BAR with the value $BAR being assigned to hello, the command will be converted to FOO=hello whereas before it was FOO=$BAR).
    (e8a16146)
  • %windows_style% env variables will no longer be converted to $unix_style in UNIX machines. To fix it, use always the UNIX syntax, cross-env will change the format in Windows machines as needed
    (0a846e60)
  • If an env variable has : or ; in its value, it will be converted to : on UNIX
    systems or ; on Windows systems. To keep the old functionality, you will need to escape those
    characters with a backslash.

#80

  • chore: Add myself (DanReyLop) to the contributors list

  • Simplified logic. Now only : (UNIX-style) are converted to ; (Windows-style), not the other way around

BREAKING CHANGE: You now must escape : to use it in a value of you don't want it to be swapped with ; on Windows
(ea0ac4bd)

  • Changes the behavior when passed quoted scripts or special characters interpreted by the shell.
    (ea800213)
  • echo $var2/$var1 would not be changed on windows, now it is. This is kind of a bug, but we're doing a major version bump to be safe.
    (1b172fef)
@Hypnosphi
Copy link
Member

Handled by #2051

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

No branches or pull requests

1 participant