GoogleAuthenticator
GoogleAuthenticator copied to clipboard
Bump QRCoder from 1.5.1 to 1.6.0 in /Google.Authenticator.Tests
Bumps QRCoder from 1.5.1 to 1.6.0.
Release notes
Sourced from QRCoder's releases.
v1.6.0
What has changed
- [Enhancement] Huge performance (runtime and memory) optimization in
QrCodeGenerator(PRs #509, #519, #520, #521, #524, #530, #532)- [Enhancement] Big performance (runtime and memory) optimization in
BitmapByteQRCode(PR #566)- [Enhancement] Added ECC level mismatch detection when using payloads from payload generator (PR #526)
- [Enhancement] Implementation of encoding constraints (EccLevel, EciMode) in SwissQRCode and GiroCode payloads to enforce that the payloads comply with the specifications of the respective standards (PR #533)
- [Enhancement] Added support for trimming (
IsTrimmableproject property) (PR #539)- [Enhancement] Added XML comments (code documentation) to all public members (PR #561)
- [Enhancement] Added new/third overload to
PngByteQRCodethat accepts colors as System.Drawing.Color (PR #564)- [Enhancement] Updated the Bitmap header from BITMAPCOREHEADER to BITMAPINFOHEADER in
BitmapByteQRCode(PR #565)- [Refactoring] Restructured
QRCodeGeneratorclasses into separate files and partially restructured code for better manageability (PRs #516, #528, #531)- [Refactoring] Restructured
PayloadGeneratorclasses into separate files for better manageability (PR #556)- [Refactoring] Restructured the
PayloadGeneratorTestsinto separate files for better manageability (PR #569)- [Refactoring] Removed category attribute from tests as it is no longer used/useful (PR #568)
- [Refactoring] Improved code documentation by adding comments to generator methods (PR #517)
- [Refactoring] Refactored and cleaned up the (needed for backwards compatibility) Stream- and String extension methods (PR #534)
- [Refactoring] Added nullable reference type (NRT) metadata to all possible members (PR #559)
- [Refactoring] Removed not longer necessary framework overrides in project files (PR #560)
- [Refactoring] Reformatted code and added
dotnet formattoolchain (PR #562)- [Note] Added performance benchmark project to ensure that future enhancement don't affect performance negatively (PRs #508, #510)
Breaking Changes
- If the function
GenerateQrCode(payload, eccLevel)is called and the payload has set an ECC level "X" that differs from the ECC level from the parametereccLevel, the QRCoder now throws anArgumentOutOfRangeExceptionto prevent the contract violation in the context of the payload. (Previously, the EccLevel was taken fromeccLevelparameter without further checking, which in the worst case could lead to unreadable payloads.)Deprecations
- class
QRCoder.Extensions.CustomExtensions- class
QRCoder.Extensions.StringValueAttributeNuGet Package (QRCoder): https://www.nuget.org/packages/QRCoder/1.6.0 NuGet Package (QRCoder.Xaml): https://www.nuget.org/packages/QRCoder.Xaml/1.6.0 Full Release Notes: https://github.com/codebude/QRCoder/wiki/Release-notes Full Changelog: https://github.com/codebude/QRCoder/compare/v1.5.1...v1.6.0
Special thanks for PRs and support goes to:
@Shane32,@gfoidl,@csturm83,@Apflkuacha
Commits
bd98057Raised version counter to 1.6.0 (#570)7bab87dSplit PayloadGeneratorTests into multiple files (#569)653ab0cRemove category attribute from tests (#568)324f1daBitmapByteQRCode performance optimization (#566)fc48785Updated Bitmap header (#565)81fad40Add overload for supplying Color to PngByteQRCode.GetGraphic (#564)da38537Merge from master04d96ffReformat code (#562)e2659d5Update xml commented0c16fAdd overload for color to PngByteQRCode- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)