Skip to content

Releases: xadaemon/PathRedux

v3.0.0

21 Jun 02:05
Compare
Choose a tag to compare

Main changes:

  • change Path.pop implementation to conform to common usages of pop, returning the popped element and move old behavior exclusively to Path.del
  • Make Path.findLastValidNode and add the sync version Path.findLastValidNodeSync.

both are breaking thus the major version bump

v2.1.0

20 Sep 12:02
Compare
Choose a tag to compare

This version is the first to benefit from the LTS status meaning it will have bug fixes back-ported to it until release 2.3.0

Changelog:

  • Add Path.del(), Path.rm() and Path.rmSync();
  • Deprecate LINUX_SEPS in favour of UNIX_SEPS it will remamin as an alias of UNIX_SEPS until 3.0.0 to keep the API compatible;
  • Deprecate current Path.pop() in favour of Path.del() now pop is an alias of del;

v2.0.1

17 Sep 23:43
Compare
Choose a tag to compare

Just a small update to the pre-compiled bundle

v2.0.0 "pathfinder"

17 Sep 16:52
Compare
Choose a tag to compare

News

  • This release brings API improvements and a new stability statement
  • I'm declaring the public API properly stable at this point

Fixes:

  • Fix the mkDir and mkDirSync functionality of the Path object to respect the parents parameter
  • Most of the code is correctly commented now and a few typos got corrected

Breaking changes:

  • mkDir, mkDirSync and genTmpPath are now part of the Path class.

v1.2.0 "athena"

16 Sep 10:43
Compare
Choose a tag to compare

Changes:

  • Path.toString now can take a prefix and or suffix both optionals;

New features:

  • Path.findLastValidNode(ignoreFiles?: boolean): Path returns a new Path object containing up to the rightmost existing member of the path;
  • static fromCWD(): Path returns a new Path object representing the current working directory;