Skip to content

Releases: silexlabs/unifile

2.0.8

06 Nov 15:46
Compare
Choose a tag to compare

Fixed

  • [FTP] FTP client has been replace, thus fixing multiple bugs like stat
  • [SFTP] Fix an issue when listing or stating with an empty path
  • [GitHub] Gracefully handle scopes and permissions
  • [Node] Update minimal version of Node to 8

2.0.4

08 Oct 17:53
Compare
Choose a tag to compare

Fixed

  • [FTP] Handles FTP server that return an empty list on 404 (like OVH)

2.0.3

25 Mar 11:46
Compare
Choose a tag to compare

Fixed

2.0.2

09 Mar 23:29
Compare
Choose a tag to compare

Fixed

  • [GitHub] Fix batch update with multi levels tree

2.0.1

10 Dec 23:35
Compare
Choose a tag to compare

Fixed

  • [Dropbox] Batch correctly overwrite existing files (#131)
  • [Dropbox] Batch now correctly rejects the promise if one action failed (#131)
  • [Dropbox] Batch upload uses Buffer for file content and supports UTF-8 (#130)
  • [Dropbox] All the methods support non-ASCII char in filename and content (#134)

v2.0.0

24 Nov 23:48
Compare
Choose a tag to compare

Changed

  • GitHub batch fixes and optimization
  • Code factorization
  • Remove parameters mutations
  • .readFile() now always return a Buffer
  • [Dropbox] Retrieve account when providing only the token
  • [Dropbox] Normalize errors (as for #103)

Added

  • Tools, index and FS are 100% covered
  • Coverage for all connectors
  • [Dropbox] Add some security check

Fixed

  • In SFTP, directory type is now set to 'application/directory'
  • [Dropbox] Fixes batch upload (Closes ##114)

Removed

  • WebDAV connector is now a separate plugin
  • unifile.connectors is now private

v1.2.0

01 Jun 15:14
Compare
Choose a tag to compare

Added

  • SFTP support
  • .stat() method that return information abouth the given path
  • Connector constructor now accepts infos to override static infos
  • FS connector now has a sandbox to restrict file access

Fixed

  • .getInfos() now correctly get the session
  • Takes GitHub redirectUri into account for OAuth requests
  • Fixes Dropbox batch operation
  • Fixes Dropbox infos when account has not been set yet

Changed

  • Dropbox is now more tolerant with the path (first / is optional)
  • Includes connector documentation to the global one
  • Includes README in documentation

v1.1.0

26 Apr 08:18
Compare
Choose a tag to compare

Adds FS support

Release 1.0.0

05 Apr 09:54
Compare
Choose a tag to compare

Complete makeover of the library