Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump PeterO.Cbor from 3.1.0 to 4.0.0 in /ScottBrady91.Fido2.Poc #4

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 2, 2019

Bumps PeterO.Cbor from 3.1.0 to 4.0.0.

Release notes

Sourced from PeterO.Cbor's 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#

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#

Version 4.0.0-alpha2

Download CBOR Library in C#

Version 4.0.0-alpha1

Download CBOR Library in C#

Version 3.4.0

Download CBOR Library in C#

Version 3.4.0-beta1

Download CBOR Library in C#

Version 3.4.0-alpha

Download CBOR Library in C#

CBOR version 3.3.0

Download CBOR Library in C#

CBOR version 3.2.0

Version 3.2

Added build targeting the .NET Framework 2.0
Obsoleted much of the existing API in CBOREncodeOptions and added new APIs to replace it.
Documentation for some CBORObject methods now points to the use of CBOREncodeOptions.Default
Documentation edited in other places
... (truncated)
Changelog

Sourced from PeterO.Cbor's changelog.

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 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

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

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.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 2, 2019
@scottbrady91 scottbrady91 merged commit 6779362 into master Jun 14, 2020
@dependabot dependabot bot deleted the dependabot/nuget/ScottBrady91.Fido2.Poc/PeterO.Cbor-4.0.0 branch June 14, 2020 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant