EFQRCode 6.1.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: #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.
- Renamed
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
extensionswhite
andblack
to omit first argument label. - Objective-C:
EFQRCodeGenerator
andEFQRCodeRecognizer
is now fully available to configure/use in Objective-C.
Deprecate
EFQRCodeMode.none
is now deprecated. Usenil
andEFQRCodeMode?
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. UseEFQRCodeGenerator
andEFQRCodeRecognizer
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
andwatchOS
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