Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@armadsen armadsen released this 14 Jun 05:30
· 32 commits to master since this release

Version 2.1 is a semi-major update to ORSSerialPort. It includes enhancements including minor new API, support for installation using Swift Package Manager, modernized Swift code, and other updates and bug fixes.

Important: This release of ORSSerialPort removes support for deploying on Mac OS X 10.7 Lion, and requires Mac OS X 10.8 Mountain Lion. If you need to support 10.7, please continue using ORSSerialPort 2.0.2.

See below for a comprehensive list of changes:

CHANGED

  • Updated Swift examples to Swift 4.2 and otherwise modernized them
  • Updated all projects to more recent Xcode versions

ADDED

  • Support for configuring number of data bits via numberOfDataBits property (credit: stbraun)
  • Support for Swift Package Manager

FIXED

  • Race condition when changing delegate
  • Issue where certain API would fail after unplugging then replugging a port (credit: KevinVitale)

Note: Now that ORSSerialPort can be installed using the Swift Package Manager, I intend to deprecate support for CocoaPods and Carthage in the future. In the upcoming Xcode 11, SwiftPM packages can be managed directly in Xcode with no need for third-party dependency management tools. This is true even for pure Objective-C apps (despite SwiftPM's name). Please consider switching to using SwiftPM for management of ORSSerialPort. Formal deprecation of CocoaPods and Carthage, along with removal of support for them will be clearly communicated well in advance, so this only serves as a very early notice that that's coming.