EFQRCode Versions Save

A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.

6.2.2

1 year ago

Fix

  • Fix compiler error when compiled using Xcode 14.3 #153

6.2.1

1 year ago

Fix

  • Fix EFCirclePointStyle to respect isTimingPointStyled settings.

6.2.0

2 years ago

Add

  • Add EFPointStyle protocol to allow customizing foreground point style.

Deprecate

  • EFPointShape is deprecated. Use EFPointStyle instead.

6.1.0

3 years ago

Official V6 Release 🎉

This release contains breaking changes, in addition to those mentioned in v6.0.0!

Migration

Wonder what's new in this official V6 release? How do I fix those new warnings? Check out the migration guide here: https://github.com/EFPrefix/EFQRCode/discussions/115, or watch the video demonstration on YouTube 或者 bilibili.


Changelog

Add

  • Supports chaining EFQRCodeGenerator configuration methods.
  • EFQRCodeGenerator properties are now public.
  • EFQRCodeGenerator.clearCache can be used to free up memories used for caching results.
  • English documentation is now available through Xcode quick help.
  • Swift: EFWatermarkMode.rectForWatermark(ofSize:inCanvasOfSize:) can be used to calculate the frame for watermark image in a canvas.
  • Objective-C: New tests to ensure APIs are available in Objective-C.

Change

  • Renamed EFQRCodeGenerator configuration methods to be more consistent.
    • Renamed EFQRCode and reordered convenience generate function arguments to be consistent with generator methods.
  • EFQRCodeGenerator now caches more generated contents to improve performance.
  • EFQRCodeRecognizer expects non-nil image and returns non-nil array of results. The returned array may still be empty.
  • EFIntSize is now an immutable, final class.
  • Renamed CGColor extensions white and black to omit first argument label.
  • Objective-C: EFQRCodeGenerator and EFQRCodeRecognizer is now fully available to configure/use in Objective-C.

Deprecate

  • EFQRCodeMode.none is now deprecated. Use nil and EFQRCodeMode? instead.

Remove

  • EFUIntPixel is no longer a part of the public interface.
  • GIF generation no longer takes pathToSave parameter.
  • Objective-C: EFQRCode is no longer available in Objective-C. Use EFQRCodeGenerator and EFQRCodeRecognizer instead.

Release Notes from v6.0.0

Add

  • Add support to compile for macOS 10.10 using CocoaPods.

Change

  • QRCodeSwift (FKA swift_qrcodejs) is now conditional dependency with Swift Package Manager 5.3+.

Remove

  • Drop iOS 8 support from CocoaPods with Xcode 12 #101;
  • Remove Core and watchOS subspecs #100.
    • Please integrate EFQRCode directly instead of using subspecs.
    • QRCodeSwift should still be a conditional dependency for watchOS only.
What happened to semantic versioning?

Yes, I should have named release 6.0.0 as 6.0.0-rc.1, but I guess it's too late now :P

6.0.0

3 years ago

ReMiNdEr

This is a PRE-RELEASE. We will introduce breaking changes (with migration helpers) in the next (few, pre-)release(s) without bumping the major version (i.e. for v6). We will, however, try our best to use proper release sequence (alpha, beta, release candidate, etc.) for future major version releases (e.g. v7).

Add

  • Add support to compile for macOS 10.10 using CocoaPods.

Change

  • QRCodeSwift (FKA swift_qrcodejs) is now conditional dependency with Swift Package Manager 5.3+.

Remove

  • Drop iOS 8 support from CocoaPods with Xcode 12 #101;
  • Remove Core and watchOS subspecs #100.
    • Please integrate EFQRCode directly instead of using subspecs.
    • QRCodeSwift should still be a conditional dependency for watchOS only.

5.1.9

3 years ago

Add

  • Add Playgrounds with usage example #98;

Fix

  • Fix SwiftPM syntax in README #99;
  • Fix GIF frame delay time setting #104;
  • Now generates QRCode with correct, specified content encoding on watchOS;
  • Pin swift_qrcodejs to 1.2.0, up to next minor #102.