Skip to content

Releases: r-lib/fs

fs 1.6.5

30 Oct 11:33
Compare
Choose a tag to compare
  • path_ext() and path_ext_remove() return correct extension and path, respectively, when multiple dots are present in file name (@IndrajeetPatil, #452, #453).

  • path_rel() provides an informative error message when multiple starting directory paths are specified (@IndrajeetPatil, #454).

fs 1.6.4

27 Apr 07:21
Compare
Choose a tag to compare
  • No changes.

fs 1.6.3

20 Jul 12:16
Compare
Choose a tag to compare
  • No user visible changes.

v1.6.2

29 Jun 19:53
Compare
Choose a tag to compare
  • path_ext_set() can now handle extensions that contain a ., e.g. csv.gz (@mgirlich, #415).

fs 1.6.1

08 Feb 10:55
Compare
Choose a tag to compare

No user visible changes.

fs 1.6.0

01 Feb 18:36
Compare
Choose a tag to compare
  • inputs to path_real() and path_join() are coerced to character for consistency with other functions (@raymondben, #370)

  • fs uses libuv 1.44.2 now.

v1.5.2

09 Dec 08:39
Compare
Choose a tag to compare
  • file_create() and dir_create() now return the correct path when ... arguments are used (@davidchall, #333).

  • dir_create(recurse = FALSE) now correctly handles ... arguments (@davidchall, #333).

  • file_exists() now expands ~ again (#325).

  • dir_copy() works when path has length >1 (#360).

fs 1.5.1

30 Nov 14:18
Compare
Choose a tag to compare
  • Gábor Csárdi is now the maintainer.

  • fs is now licensed as MIT (#301).

  • dir_create() now restores the previous umask (#293)

  • file_exists() is now much faster (#295)

  • options(fs.fs_path.shorten) can now be used to control how paths are shortened in tibbles.
    The default value is "front", valid alternatives are "back", "middle" and "abbreviate". (#335)

  • options(fs.use_tibble = FALSE) can now be used to disable use of tibbles (#295).

  • path_tidy() now works with non-UTF8 encoded paths (@shrektan, #321).

fs 1.5.0

03 Aug 10:58
Compare
Choose a tag to compare
  • The libuv release used by fs was updated to 1.38.1

  • dir_create() now consults the process umask so the mode during directory creation works like mkdir does (#284).

  • fs_path, fs_bytes and fs_perms objects are now compatible with vctrs 0.3.0 (#266)

  • fs_path objects now sort properly when there is a mix of ASCII and unicode elements (#279)

fs 1.4.2

27 Jul 16:15
Compare
Choose a tag to compare
  • file_info(..., follow = TRUE), is_dir(), and is_file()
    follow relative symlinks in non-current directories (@heavywatal, #280)

  • dir_map() now grows its internal list safely, the 1.4.0 release introduced an unsafe regression (#268)

  • file_info() returns a tibble if the tibble package is installed, and subsets work when it is a data.frame (#265)

  • path_real() always fails if the file does not exist. Thus it can no longer
    be used to resolve symlinks further up the path hierarchy for files that do not
    yet exist. This reverts the feature introduced in 1.2.7 (#144, #221, #231)