Skip to content

Releases: pelagornis/swift-file

Swift File v1.3.1

02 Oct 14:18

Choose a tag to compare

What's Changed

  • no changed

Swift File v1.3.0

02 Oct 14:06

Choose a tag to compare

What's Changed

  • Support swift 5.7 -> 6.2

Swift File v1.2.3

21 Jul 17:23

Choose a tag to compare

What's Changed

  • no changed

Swift File v1.2.2

21 Jul 17:19

Choose a tag to compare

What's Changed

  • no changed

Swift File v1.2.1

21 Jul 13:33

Choose a tag to compare

What's Changed

  • Fixed a bug where allFiles and allFolders would not return items from subdirectories when searching recursively.
  • Added an includeHidden parameter to allFiles and allFolders to optionally include dotfiles in the search results.
  • Improved the empty() method by renaming its parameter to includingHidden for better clarity.
  • Enhanced test coverage to ensure file and folder traversal is reliable.

Swift File v1.2.0

16 Jul 07:21

Choose a tag to compare

What's Changed

Major Additions & Improvements

  • Existence Check

    • Added exists() method to File and Folder for checking if a file or folder actually exists.
  • List All Files and Folders

    • Added allFiles(recursive:) and allFolders(recursive:) methods to Folder for retrieving all files and subfolders (with recursive option).
  • Symbolic Link Support

    • Added isSymbolicLink(), createSymbolicLink(to:), and destinationOfSymbolicLink() methods to Store for symbolic link management.
  • File/Folder Permissions

    • Added getPermissions() and setPermissions(_:) methods to Store for reading and setting POSIX permissions.
  • File/Folder Change Watch

    • Added watch(eventHandler:) method to Store for file/folder change notifications
      (macOS/iOS: uses DispatchSource, other platforms: not supported, logs warning).
  • swift-log Integration

    • Integrated swift-log Logger into all major source files (File, Folder, FileSystem, Child, Path, FileError, Store).
      All print statements replaced with logger.
  • Enhanced Test Coverage

    • Added test cases for new features: existence check, allFiles/allFolders, symbolic link, permissions, and watch.
  • README.md Update

    • Added usage examples and documentation for all new features (in English).

Other

  • All code comments and documentation unified in English.
  • Internal refactoring and code quality improvements.

Swift File 1.1.0

22 Mar 13:18

Choose a tag to compare

What's Changed

  • Projects name changed
let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/pelagornis/swift-file.git", from: "1.1.0")
    ],
    ...
)

plfile-> swift-file

PLFile 1.0.9

18 Feb 03:29

Choose a tag to compare

  • no changes

PLFile v1.0.8

26 Jan 09:38

Choose a tag to compare

What's Changed

  • PLFile additional support for iOS and tvOS, watchOS

PLFile v1.0.7

25 Jan 18:06

Choose a tag to compare

  • no changes