Skip to content

Releases: amosavian/AMSMB2

Fix Swift 5.2 build issue and warning, Updated libsmb2

26 Mar 15:16
Compare
Choose a tag to compare

Fixed memory corruption errors

28 Nov 20:54
Compare
Choose a tag to compare
  • Refactoring async_await()
  • [URLResourceKey: Any] extensions in order to easier access to values
  • Updated libsmb2 to fix memory corruption errors

Add removeItem() method, Bug fixes

12 Nov 19:43
Compare
Choose a tag to compare
  • Add removeItem() function. removeDirectory() and removeFile() are still accessible for performance reasons.
  • Fix errors on Xcode 10.2.
  • Added test for error.
  • Probable fix #41.
  • Fix a race condition in service().
  • Updated libsmb2.
  • Minor refactors.

Fix some crashes, Support encryption

31 Oct 21:31
Compare
Choose a tag to compare
  • Support SMB3 encrypted connection
  • Fix server error may cause waiting until timeout
  • Fix a critical memory management issue
  • Fix EXC_BAD_ACCESS crash in async handler
  • Update libsmb2 (Better error code for connect)
  • Refactoring

Fix cocoapods building

27 Oct 11:58
Compare
Choose a tag to compare

Previous release fixes:

  • Update libsmb2 library
  • New method to find destination of symbolic
  • Support for symlink file type
  • Authentication set to NTLMSSP
  • Better error text
  • Removal of Accio package manager support
  • Fix Objective-C inline help data types
  • Fix #33

2.3.0

25 Oct 20:53
Compare
Choose a tag to compare
  • Update libsmb2 library
  • New method to find destination of symbolic
  • Support for symlink file type
  • Authentication set to NTLMSSP
  • Better error text
  • Removal of Accio package manager support
  • Fix Objective-C inline help data types
  • Fix #33

Custom port in SMB url

27 May 13:53
Compare
Choose a tag to compare
  • Added custom port support
  • Prevent appending/overwriting files
  • Fix: attributesOfFileSystem() to handle slash opening/ending
  • Enhanced test coverage

Changing API fundamentally to adopt Swift 5 improvements

28 Apr 20:51
e52efbb
Compare
Choose a tag to compare

This version changes AMSMB2's public API to exploit new Swift features, while providing an Objective-C compatibility layer.

  • Return Result in completion handler instead of nullable pairs
    • You can use switch to handle result or error, see readme
  • Accepting DataProtocol instead of concrete Data
    • You can pass [UInt8] or DispatchData to write(data:) method without casting
  • Accepting Range instead of offset-length pair
    • Use the same range you already use to subscript data for contents(atPath:range:) method
  • Disconnect gracefully
    • disconnect(graceful: true) will wait until all queued file operations are done and their completion handler is executed.
  • Reading from / writing to InputStream/OutputStream directly.
  • Fixed reporting incorrect creation date of file

Fixed reading small files issue

26 Apr 20:10
Compare
Choose a tag to compare

Fixed #24 and added tests to prevent issue in future.

Swft 5.0 support

04 Apr 06:57
Compare
Choose a tag to compare
  • Fixed timeout issue of listShares() on Swift 5.0