This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Releases: ApolloZhu/swift_qrcodejs
Releases · ApolloZhu/swift_qrcodejs
QRCodeSwift / swift_qrcodejs 2.2.2
Changed (IMPORTANT)
- Carthage integration requires official workaround.
Added
- Instructions on how to integrate through Swift Package Manager using Xcode UI.
I highly recommend using SPM instead of Carthage. Makes life so much easier.
QRCodeSwift / swift_qrcodejs 2.2.1
CI only release
QRCodeSwift / swift_qrcodejs 2.2.0
Changed
- Renamed module name from
swift_qrcodejs
toQRCodeSwift
to comply with C standard:
- import swift_qrcodejs
+ import QRCodeSwift
QRCodeSwiftCLI
(formerlyswift_qrcodejs-cli
) is now a separate package.
Fixed
- Building with Carthage now works on all platforms supported.
Removed
- iOS 8 is no longer supported through CocoaPods (in sync with Xcode 12)
swift_qrcodejs 2.1.0
Added
QRCode
can now be directly initialized withData
in addition toString
+encoding
Removed
QRCode
no longer hastext
property. Should you think it's necessary forQRCode
to retain its content, open a new issue for discussions.
swift_qrcodejs 2.0.0 - try, try?, try!
Changed
-
QRCode
constructor now throws errors instead of returningnil
.For simple migration, use
try?
:let qrCode = try? QRCode("Hello World!")
To handle error:
do { let qrCode = try QRCode("Hello World") // use QRCode here } catch let error as QRCodeError { // figure out what went wrong } catch { // should not happen, but required by compiler }
-
Now use GitHub Action for continuous integration
swift_qrcodejs 1.2.0 - Coding? Encoding!
Encoding text with non-utf8 encoding should now be fully supported thanks to @joaodforce (#10).
swift_qrcodejs 1.1.4
Bug fixes and performance improvements.
swift_qrcodejs 1.1.3
Update Swift version from 4.2 to 5.0 in config files. Nothing else changed.
swift_qrcodejs 1.1.2
What's New
List all supported Swift versions in podspec by @chrisballinger (#6). Requires CocoaPods 1.7.5 or a newer version.
swift_qrcodejs 1.1.1 - Just Swift 5
swift-version and podspec remains to be Swift 4.2 to maximize compatibility