Releases: amosavian/AMSMB2
Fixing issues and Refactoring
- Added
debugDescription
andcustomMirror
(CustomReflectable) - Proper reconnecting handling after server timeout
- Fixed various crashes
Codable conformance, Test cases
- Added Codable
- AMSMB2 functions are
open
to allow overriding - Fixed #7 (Listing shares issue from macOS server)
- Implemented test cases (can't run by travis yet)
Implemented timeout, Memory-efficient downloading
-
You can set timeout via
AMSMB2().timeout
property. Default value is 60 second. It is acceptable delay between sent request and received response. You can change to zero in order to disable timeout. -
Downloaded buffer from server was copying to a
Data
object for every chunk. Now a chunk will use buffer of an instantiatedData
to reduce memory copying and improving performance a little.
Server-side copying
New copyItem(atPath:toPath:recursive:progress:completionHandler:)
function copies files server-side instead of downloading and reuploading. Old copyContentsOfItem()
function is deprecated Now
Also download/upload chunks is 1MB now which means faster downloading and streaming.
Removed watchOS
1.3.2 Removed watchOS as it doesn't support sockets
Universal framework for iOS, macOS, tvOS and watchOS
Now you can use framework, either from Carthage, Cocoapods or manually for all Apple devices.
Updated libsmb2
- Return proper error when listing shares fails
- Add support to handle (==ignore) STATUS_PENDING
Removed OpenSSL dependency from libsmb2
1.2.0 Updated readme for pods and carthage
Fixed Carthage and Pods
1.1.0 Fixed podspec, Fixed Carthage share framework
Initial release
1.0.0 Removed swift package from travis.yml