Home / 6.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-04-08 2.9 kB
Totals: 1 Item   2.9 kB 0

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.

<summary>Release Notes from v6.0.0</summary>

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.

<summary>What happened to semantic versioning?</summary>

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

Source: README.md, updated 2021-04-08