Releases: amosavian/AMSMB2
Releases · amosavian/AMSMB2
Fix Swift 5.2 build issue and warning, Updated libsmb2
Nothing more!
Fixed memory corruption errors
- 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
- Add
removeItem()
function.removeDirectory()
andremoveFile()
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
- 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
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
Custom port in SMB url
- 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
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
- You can use
- Accepting
DataProtocol
instead of concreteData
- You can pass
[UInt8]
orDispatchData
towrite(data:)
method without casting
- You can pass
- Accepting Range instead of offset-length pair
- Use the same range you already use to subscript data for
contents(atPath:range:)
method
- Use the same range you already use to subscript data for
- 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
Fixed #24 and added tests to prevent issue in future.
Swft 5.0 support
- Fixed timeout issue of
listShares()
on Swift 5.0