Skip to content

Releases: shelljs/shelljs

v0.7.4

09 Jan 02:56
Compare
Choose a tag to compare

Closed issues:

  • fix: echo -e should not print "-e" #510
  • Wrong method signature in doc #498
  • readFromPipe should be a function with no arguments #485
  • TypeError: Cannot read property 'toString' of undefined #471

Merged pull requests:

v0.7.3

09 Jan 02:57
Compare
Choose a tag to compare

Closed issues:

  • expose execSync #494
  • Add a way to create commands that can receive from a pipe without being standalone commands #487
  • cp -r breaks when the directory contains a softlink #193
  • Redirect output to file fails #60
  • We need sed -n ? #38

Merged pull requests:

  • refactor: allow pipeOnly commands (methods on ShellStrings) #493 (nfischer)
  • refactor: glob by default for commands #492 (nfischer)
  • refactor: switch from notUnix to unix in wrap() #491 (nfischer)
  • refactor: switch common.extend() to Object.assign ponyfill #490 (nfischer)
  • fix: conflicting options now properly override each other #489 (nfischer)
  • refactor: expose plugin utils & add initial tests #484 (nfischer)

v0.7.2

09 Jan 02:57
Compare
Choose a tag to compare

Closed issues:

  • shelljs should not kill process if node call throws exception #473
  • cp work incorrectly when folder name contains '@' #463
  • Something went wrong #158

Merged pull requests:

  • fix: resolve a cylcic-dependency problem #482 (nfischer)
  • refactor: add wrapOutput option to auto-ShellString-ify command output #481 (nfischer)
  • refactor: move option parsing into common.wrap() #479 (nfischer)
  • refactor: hook new uniq() command using new format #478 (nfischer)
  • Fix mkdir malformed path #477 (nfischer)
  • fix: mkdir for invalid perms does not kill process #474 (nfischer)
  • feat(command): new command: uniq() #453 (joshi-sh)

v0.7.1

09 Jan 02:58
Compare
Choose a tag to compare

Closed issues:

  • cp -n doesn't work correctly #465
  • how can i run sudo apt-get install xtodotool by your plugin? #448
  • shell.js grep: internal error, Invalid regular expression #447
  • Stdout is empty on Git log command #439
  • Cannot read toString of null when using execSync #415
  • cp -R dir/ target fails to copy hidden files in dir #140
  • Adding callback to basic commands #102
  • #mv Won't Work Across Disks #1

Merged pull requests:

v0.7.0

25 Apr 21:49
Compare
Choose a tag to compare

Changelog from v0.6.0...v0.7.0:

Bug Fixes

  • fix: null is no longer confused for an object
  • fix(ls): no trailing newline for empty directories (#425)
  • fix: error message now printed for fatal failures
  • refactor(cp): clean up code and fix #376
  • Perf improvement for ls, and fix for Windows
  • Improved cd performance and fix error messages
  • fix(exec): properly handles paths with spaces and quotes
  • fix(verbose): verbose-style logging is consistent
  • fix(exec): now actually supports shell option
  • fix(exec): temp files are now cleaned up

Features

  • feat(cp): -P option, plus better handling of symlinks (#421)
  • feat(command): new command: tail()
  • feat(command): new command: head()
  • feat(command): new command: sort()
  • feat(glob): expose config.globOptions.
  • feat(cp): add -L/follow symlink option
  • feat: adding error codes to ShellJS
  • feat(pipe): add support for pipes between commands
  • feat(touch): supports multiple files
  • feat(set): add -f option to disable shell globbing
  • feat(glob): use glob module for globbing
  • feat(glob): glob support for (almost) all commands
  • feat(grep): add -l option

v0.6.0

05 Feb 00:45
Compare
Choose a tag to compare

v0.6.0! Mine and @nfischer's first release!

We're really exited to be a part of the shelljs team.

Changelog:

0.6.0 (2016-02-04)

Bug Fixes

  • regexes: make regexes more consistent with sed and grep (1ee696d)
  • cat: make behavior more like unix (580d6d3)
  • cp: add -n option, make -f default behavior (8377b92)
  • mv: add -n option, make -f default behavior (2d1ee4d)
  • windows: fix shjs tests for windows (985ac20)
  • windows: fix symlinking on windows (fb5a7ec), closes #301.
  • which: properly search PATHEXT on Windows (eaa7710), closes #301.
  • electron: fix electron compatibility by not doing console.log.apply(this, ...) (9e9b500), closes #255.

Features

  • expand: add tilde expansion to expand() (b3f2664)
  • cd: cd() (no args) changes to home directory (dfaa78a)
  • ls: add -d flag to ls() (c6da9e7)
  • ls: add -l option (e918c75)
  • sed: support multiple file names (bccf620), closes #231
  • set: add new set() command (ca045ea)
  • cd: cd('-') now returns you to the previous directory, as in bash (1979d07)
  • chmod: add X for directories (766c2dd)
  • exec: add exec(...).stdout (8a7f7ce)
  • exec: allow passing options to child_process.exec (c0d9cf7)
  • options: options with values (see touch -r for an example) (f9c8fc0)