Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Releases: ApolloZhu/swift_qrcodejs

QRCodeSwift / swift_qrcodejs 2.2.2

Choose a tag to compare

@ApolloZhu ApolloZhu released this 25 Nov 05:10

Changed (IMPORTANT)

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

Pre-release

Choose a tag to compare

@ApolloZhu ApolloZhu released this 05 Nov 15:59

CI only release

QRCodeSwift / swift_qrcodejs 2.2.0

Pre-release

Choose a tag to compare

@ApolloZhu ApolloZhu released this 05 Nov 15:22

Changed

  • Renamed module name from swift_qrcodejs to QRCodeSwift to comply with C standard:
- import swift_qrcodejs
+ import QRCodeSwift
  • QRCodeSwiftCLI (formerly swift_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

swift_qrcodejs 2.1.0 Pre-release
Pre-release

Choose a tag to compare

@ApolloZhu ApolloZhu released this 21 Oct 06:14

Added

  • QRCode can now be directly initialized with Data in addition to String + encoding

Removed

  • QRCode no longer has text property. Should you think it's necessary for QRCode to retain its content, open a new issue for discussions.

swift_qrcodejs 2.0.0 - try, try?, try!

Pre-release

Choose a tag to compare

@ApolloZhu ApolloZhu released this 21 Oct 04:02

Changed

  • QRCode constructor now throws errors instead of returning nil.

    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!

Choose a tag to compare

@ApolloZhu ApolloZhu released this 20 Oct 21:41

Encoding text with non-utf8 encoding should now be fully supported thanks to @joaodforce (#10).

swift_qrcodejs 1.1.4

Choose a tag to compare

@ApolloZhu ApolloZhu released this 13 Sep 22:17

Bug fixes and performance improvements.

swift_qrcodejs 1.1.3

Choose a tag to compare

@ApolloZhu ApolloZhu released this 28 Nov 03:32

Update Swift version from 4.2 to 5.0 in config files. Nothing else changed.

swift_qrcodejs 1.1.2

Choose a tag to compare

@ApolloZhu ApolloZhu released this 17 Sep 20:52

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

Choose a tag to compare

@ApolloZhu ApolloZhu released this 30 Mar 14:51

swift-version and podspec remains to be Swift 4.2 to maximize compatibility