Some arithmetic methods in CBORNumber do basic overflow checks.
Add char array and byte array overloads to ParseJSONNumber
Support implementations of IList in CBORObject deserialization
Internally, the code avoids storing doubles (64-bit floating-point numbers) directly in CBORNumbers, uses sorted maps rather than hash tables in some CBOR objects, and can now store text strings as UTF-8 byte arrays. This could help avoid unnecessary string conversions in many case.
Bug fixes and performance improvements
Now uses Numbers library version 1.7.3
Version 4.1.3
Version 4.1.2
Fix issue with Numbers library dependency; etc.
Version 4.1.1
Fix issue where some non-basic characters in JSON strings encoded in UTF-8 were read incorrectly by the CBORObject.FromJSONBytes method
Performance improvements in some cases, especially involving date/time conversions
Error checks in DateTimeFieldsToCBORObject method in CBORDateConverter
Version 4.4.1
Fix bugs when parsing JSON with the JSON option 'numberconversion=double'
Version 4.4
Boolean constructors of PODOptions and CBOREncodeOptions were obsolete
Float64 option of CBOREncodeOptions for encoding floating-point values as 64-bit only
CBORDateConverter made public and expanded to enable conversion between various
date/time formats and CBOR objects
Added CanFitInUInt64 and CanTruncatedIntFitInUInt64 methods
Bug fixes
Version 4.3
Fixed bugs in DateTime support
Added CompareTo overloads in CBORNumber class
Add NewOrderedMap method based on a suggestion by a GitHub user
Other bug fixes
Version 4.2
Some arithmetic methods in CBORNumber do basic overflow checks.
Add char array and byte array overloads to ParseJSONNumber
Support implementations of IList in CBORObject deserialization
Internally, the code avoids storing doubles (64-bit floating-point numbers) directly in CBORNumbers, uses sorted maps rather than hash tables in some CBOR objects, and can now store text strings as UTF-8 byte arrays. This could help avoid unnecessary string conversions in many cases.
Bug fixes and performance improvements
Now uses Numbers library version 1.7.3
Version 4.1.1
Fix issue where some non-basic characters in JSON strings encoded in UTF-8 were read incorrectly by the CBORObject.FromJSONBytes method
Version 4.1
Added the following to the CBORObject class: Entries property; ToJSONBytes, CalcEncodedSize, WithTag, and FromJSONBytes methods.
Added overload to From JSONString, allowing only a portion of a string to be used
Added support for reading JSON text sequences (FromJSONSequenceBytes, ReadJSONSequence).
F# types are supported better by CBORObject.FromObject
JSON writer now checks circular references.
Improved performance when reading JSON numbers, thanks in part to an upgrade of the Numbers library used by the CBOR library.
Added number conversion options and PreserveNegativeZero property to JSONOptions.
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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 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/lithnet/ad-password-protection/network/alerts).
Bumps PeterO.Cbor from 4.1.0 to 4.5.1.
Release notes
Sourced from PeterO.Cbor's releases.
Changelog
Sourced from PeterO.Cbor's changelog.
... (truncated)
Commits
f749305
Version 4.5.10058d13
Version 4.5ddcec82
Almost ready to release version 4.521453f6
style and project editsd67a3ed
style edits6361a41
fix and add tests for JSONPointera2c6f3f
Minor edits; adjust Numbers dependency833ae34
More compat773f741
.NET 2 compata7d878c
edit docs; etc.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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 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/lithnet/ad-password-protection/network/alerts).