dominicusmento / CSharpTradFriLibrary

This is a .NET Standard (2.0) library to communicate with the IKEA Home (Tradfri) ZigBee-based Gateway.
GNU General Public License v3.0
37 stars 20 forks source link

Bump PeterO.Cbor from 3.4.0 to 4.0.0 in /TradfriUI #28

Closed dependabot[bot] closed 4 years ago

dependabot[bot] commented 4 years ago

Bumps PeterO.Cbor from 3.4.0 to 4.0.0.

Release notes *Sourced from [PeterO.Cbor's releases](https://github.com/peteroupc/CBOR/releases).* > Version 4.0.0: > > - Fix issues with CTAP2 Canonical CBOR form > - Support field serialization and deserialization in ToObject and FromObject > > > [![Download CBOR Library in C#](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/petero-cbor/files/v4.0.0/Version%204.0.0.zip/download) > > Version 4.0.0-beta2: > > The features in this version include: > > The CBOR library no longer stores numbers in a special form beyond the CBOR data model, which represents all "65-bit" signed integers and all "double" values. This means the CBOR library no longer stores certain numbers as EDecimal, EInteger, EFloat, etc., rather than as tagged CBOR objects. > CBORObject.CompareTo now compares objects using the default deterministic encoding comparison in the draft revision of the CBOR specification, and no longer treats numbers (objects with the former type CBORType.Number) as a special class. > CBORType.Number is deprecated; CBORObjects no longer have this type. In its place, certain numbers now have new CBORTypes Integer or FloatingPoint. > CBORObject now stores floating-point numbers internally as the bits that make them up, rather than as doubles, to avoid data loss in conversions. > Methods were added to CBORObject to read and write floating-point numbers in terms of their bit patterns rather than as doubles or floats. > Ctap2Canonical was made more strict and now works when decoding CBOR objects. > Added ReadSequence and DecodeSequence to CBORObject for reading CBOR sequences. > New CBORNumber class for storing numbers representable in CBOR. The new CBORObject.IsNumber property checks whether a CBOR object represents a number. > Bug fixes > > > [![Download CBOR Library in C#](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/petero-cbor/files/v4.0.0-beta2/Version%204.0.0-beta2.zip/download) > > ## Version 4.0.0-alpha2 > [![Download CBOR Library in C#](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/petero-cbor/files/v4.0.0-alpha2/Version%204.0.0-alpha2.zip/download) > > ## Version 4.0.0-alpha1 > [![Download CBOR Library in C#](https://a.fsdn.com/con/app/sf-download-button)](https://sourceforge.net/projects/petero-cbor/files/v4.0.0-alpha1/Version%204.0.0-alpha1.zip/download)
Changelog *Sourced from [PeterO.Cbor's changelog](https://github.com/peteroupc/CBOR/blob/master/History.md).* > ### Version 4.0.0: > > - Fix issues with CTAP2 Canonical CBOR form > - Support field serialization and deserialization in ToObject and FromObject > > ### Version 4.0.0-beta2: > > The features in this version include: > > - The CBOR library no longer stores numbers in a special form beyond the CBOR data model, which represents all "65-bit" signed integers and all "double" values. This means the CBOR library no longer stores certain numbers as EDecimal, EInteger, EFloat, etc., rather than as tagged CBOR objects. > - CBORObject.CompareTo now compares objects using the default deterministic encoding comparison in the draft revision of the CBOR specification, and no longer treats numbers (objects with the former type CBORType.Number) as a special class. > - CBORType.Number is deprecated; CBORObjects no longer have this type. In its place, certain numbers now have new CBORTypes Integer or FloatingPoint. > - CBORObject now stores floating-point numbers internally as the bits that make them up, rather than as `double`s, to avoid data loss in conversions. > - Methods were added to CBORObject to read and write floating-point numbers in terms of their bit patterns rather than as `double`s or `float`s. > - Ctap2Canonical was made more strict and now works when decoding CBOR objects. > - Added ReadSequence and DecodeSequence to CBORObject for reading CBOR sequences. > - New CBORNumber class for storing numbers representable in CBOR. The new CBORObject.IsNumber property checks whether a CBOR object represents a number. > - Bug fixes > > ### Version 4.0.0-beta1: > > - Support nullable types in CBORObject.ToObject. > - Update Numbers library to newer version > - JSONOptions.Base64Padding now has no effect. The library will now write padding as necessary when > writing traditional base64 to JSON and write no padding when writing base64url to JSON. > - JSONOptions.ReplaceSurrogates property added. > - Restrict valid shared reference indices to integers 0 or greater. > - Reject writing JSON where CBOR maps have two keys with the same string equivalent. > - Improve performance of CBOR object comparisons involving big floats. > > ### Version 4.0.0-alpha2: > > - Support CBOR tags for IRIs and IRI references. > - Add CBOREncodeOptions.DefaultCtap2Canonical field. > > ### Version 4.0.0-alpha1: > > - Remove all APIs obsoleted since version 3.4. This > includes the BigInteger, ExtendedDecimal, and ExtendedFloat APIs, > which were renamed and moved to a different library, as well as the > ICBORTag and CBORTypeFilter APIs. > - Changed implementation of FromObject, including imposing a nesting depth > limit and supporting a CBORTypeMapper parameter. > - Property name conversion rules (in PODOptions) were changed > in this version with respect to FromObject. In this sense, > PODOptions.RemoveIsPrefix was removed. > - Certain other changes in CBOR object reading and validation were > made; they are largely compatible with previous versions but may be > backwards-incompatible in certain rare cases > > ... (truncated)
Commits - [`a067127`](https://github.com/peteroupc/CBOR/commit/a06712788d5af3bb75a214d74238525b5a62baaa) version 4.0.0 - [`4133361`](https://github.com/peteroupc/CBOR/commit/4133361ef043f4fffe00303dd98e65fd33b5ea44) prepare for version 4.0 - [`d9c584d`](https://github.com/peteroupc/CBOR/commit/d9c584dc1c32b64adfc5074a0c80a7cb86f0015a) fix build; etc. - [`bc71454`](https://github.com/peteroupc/CBOR/commit/bc71454e1c597c79df383b0b84ce16cc9f2bd116) code edits - [`85980f8`](https://github.com/peteroupc/CBOR/commit/85980f885ad68bb67edfba3c711598cf7f32dccb) code fixes; edit documentation - [`916d67b`](https://github.com/peteroupc/CBOR/commit/916d67b408c88ee5601a2a0a8c1836f4eda8d3cc) support field serialization in ToObject and FromObject; etc. - [`853b4a3`](https://github.com/peteroupc/CBOR/commit/853b4a3a8a840f6811d6ec43ae8a48d6bfd70e0f) Nonsubstantive code edits; etc. - [`7e86e87`](https://github.com/peteroupc/CBOR/commit/7e86e87ad89d26b4426fdbafc8f9e44ac2fc81da) Edit documentation; nonsubstantive code edits - [`bfc0b3e`](https://github.com/peteroupc/CBOR/commit/bfc0b3e1f898bd9fa61009b78ebc0f1d04c6ca48) fix Ctap2Canonical issues - [`ee8b621`](https://github.com/peteroupc/CBOR/commit/ee8b621dc47ac5c9400f23ee51e401558bf6a385) version 4.0.0-beta2 - Additional commits viewable in [compare view](https://github.com/peteroupc/CBOR/compare/v3.4.0...v4.0.0)


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/tomidix/CSharpTradFriLibrary/network/alerts).