Release notes
*Sourced from [Newtonsoft.Json's releases](https://github.com/JamesNK/Newtonsoft.Json/releases).*
> ## 12.0.2
> * New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract
> * New feature - Added constructor to JTokenReader to specify initial path
> * New feature - Added JsonProperty.IsRequiredSpecified
> * New feature - Added JsonContract.InternalConverter
> * Change - Moved embedded debug symbols in NuGet package to a symbol package on NuGet.org
> * Fix - Fixed deserializing nullable struct collections
> * Fix - Fixed memory link when serializing enums to named values
> * Fix - Fixed error when setting JsonLoadSettings.DuplicatePropertyNameHandling to Replace
>
> ## 12.0.1
> * New feature - Added NuGet package signing
> * New feature - Added Authenticode assembly signing
> * New feature - Added SourceLink support
> * New feature - Added constructors to StringEnumConverter for setting AllowIntegerValue
> * New feature - Added JsonNameTable and JsonTextReader.PropertyNameTable
> * New feature - Added line information to JsonSerializationException
> * New feature - Added JObject.Property overload with a StringComparison
> * New feature - Added JsonMergeSettings.PropertyNameComparison
> * New feature - Added support for multiple Date constructors with JavaScriptDateTimeConverter
> * New feature - Added support for strict equals and strict not equals in JSON Path queries
> * New feature - Added EncodeSpecialCharacters setting to XmlNodeConverter
> * New feature - Added trace message for serializing to non-writable properties
> * New feature - Added support for NamingStrategy to StringEnumConverter
> * New feature - Added JsonLoadSettings.DuplicatePropertyNameHandling setting
> * Change - JTokenReader now uses JsonReader.DateTimeZoneHandling setting for date values
> * Change - Excluded TargetSite when serializing Exceptions without SerializableAttribute
> * Change - Changed StringEnumConverter.ctor(bool camelCaseText) to obsolete
> * Change - Changed StringEnumConverter.CamelCaseText to obsolete
> * Fix - Fixed incorrect overflow when reading decimal values from JSON
> * Fix - Fixed error message when trying to deserialize an abstract serializable type
> * Fix - Fixed parsing decimals from a string with an exponent
> * Fix - Fixed losing DateTime.Kind when deserializing ISO date strings
> * Fix - Fixed calling constructors with ref and in parameters
> * Fix - Fixed rare race condition in name table when serializing
> * Fix - Fixed unhelpful exception message when unable to convert JSON value to DateTime
> * Fix - Fixed error when deserializing empty array in DataTable
> * Fix - Fixed deserializing empty string to empty byte array
> * Fix - Fixed blank extension data values with required properties and deserializing with constructor
> * Fix - Fixed ignored values being set in extension data when deserializing
> * Fix - Fixed comparing equal integer and floating point values in JSON Path
> * Fix - Fixed BsonReader when reading multiple content
> * Fix - Fixed setting extension data with existing key
> * Fix - Fixed including array attribute in XML with namespaces when converting JSON to XML
> * Fix - Fixed error when serializing ref struct properties by excluding them from serialization
>
> ## 11.0.2
> * Change - Revert DataContractAttribute to not force JSON object serialization (use JsonObjectAttribute instead)
> * Fix - Fixed JPropertyDesciptor.GetValue and SetValue to not throw for non-JObject argument
> * Fix - Fixed JObject ICustomTypeDescriptor.GetProperty to return the current instance
> ... (truncated)
Commits
- [`4ab34b0`](https://github.com/JamesNK/Newtonsoft.Json/commit/4ab34b0461fb595805d092a46a58f35f66c84d6a) Update version to 12.0.2
- [`cc2ef36`](https://github.com/JamesNK/Newtonsoft.Json/commit/cc2ef36f5533d1ab21518a8e9ec5c2f74eb2fecc) Setup Rosyln code analyzers ([#2052](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2052))
- [`5ff53a9`](https://github.com/JamesNK/Newtonsoft.Json/commit/5ff53a922972d9eb424c7981d9ed75b5bc73a06e) Update version to 12.0.2-beta3
- [`cb4f468`](https://github.com/JamesNK/Newtonsoft.Json/commit/cb4f468b91d1acfd5b52298dae4e6cbaad8d71aa) Update version to 12.0.2-beta2
- [`5416cd4`](https://github.com/JamesNK/Newtonsoft.Json/commit/5416cd4d1aa9849c9939f1325aa1a81fc194b2cb) Move debug symbols to symbol package ([#2051](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2051))
- [`b34a3cc`](https://github.com/JamesNK/Newtonsoft.Json/commit/b34a3ccca7ff6535c0c9e7981479ee1abf169a94) Add MissingMemberHandling to JsonObjectAttribute ([#2050](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2050))
- [`a088299`](https://github.com/JamesNK/Newtonsoft.Json/commit/a088299eeeaf3afe90eafd59724051f003e4195a) Support command line build in VS2019 ([#2048](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2048))
- [`f80a818`](https://github.com/JamesNK/Newtonsoft.Json/commit/f80a8184c8c825a6ba63a22caa73b3235b3bdc49) Update SDK version ([#2031](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2031))
- [`8d00ab3`](https://github.com/JamesNK/Newtonsoft.Json/commit/8d00ab3684a40bed859fd7e8c89c3adb499c8278) Make JTokenReader constructor with initial path public ([#2030](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2030))
- [`9977965`](https://github.com/JamesNK/Newtonsoft.Json/commit/9977965ec388b2c3a51fe1ca71739c7258965e4a) Update version to 12.0.2-beta1 ([#2029](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2029))
- Additional commits viewable in [compare view](https://github.com/JamesNK/Newtonsoft.Json/compare/7.0.1...12.0.2)
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.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
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
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps Newtonsoft.Json from 7.0.1 to 12.0.2.
Release notes
*Sourced from [Newtonsoft.Json's releases](https://github.com/JamesNK/Newtonsoft.Json/releases).* > ## 12.0.2 > * New feature - Added MissingMemberHandling to JsonObjectAttribute and JsonObjectContract > * New feature - Added constructor to JTokenReader to specify initial path > * New feature - Added JsonProperty.IsRequiredSpecified > * New feature - Added JsonContract.InternalConverter > * Change - Moved embedded debug symbols in NuGet package to a symbol package on NuGet.org > * Fix - Fixed deserializing nullable struct collections > * Fix - Fixed memory link when serializing enums to named values > * Fix - Fixed error when setting JsonLoadSettings.DuplicatePropertyNameHandling to Replace > > ## 12.0.1 > * New feature - Added NuGet package signing > * New feature - Added Authenticode assembly signing > * New feature - Added SourceLink support > * New feature - Added constructors to StringEnumConverter for setting AllowIntegerValue > * New feature - Added JsonNameTable and JsonTextReader.PropertyNameTable > * New feature - Added line information to JsonSerializationException > * New feature - Added JObject.Property overload with a StringComparison > * New feature - Added JsonMergeSettings.PropertyNameComparison > * New feature - Added support for multiple Date constructors with JavaScriptDateTimeConverter > * New feature - Added support for strict equals and strict not equals in JSON Path queries > * New feature - Added EncodeSpecialCharacters setting to XmlNodeConverter > * New feature - Added trace message for serializing to non-writable properties > * New feature - Added support for NamingStrategy to StringEnumConverter > * New feature - Added JsonLoadSettings.DuplicatePropertyNameHandling setting > * Change - JTokenReader now uses JsonReader.DateTimeZoneHandling setting for date values > * Change - Excluded TargetSite when serializing Exceptions without SerializableAttribute > * Change - Changed StringEnumConverter.ctor(bool camelCaseText) to obsolete > * Change - Changed StringEnumConverter.CamelCaseText to obsolete > * Fix - Fixed incorrect overflow when reading decimal values from JSON > * Fix - Fixed error message when trying to deserialize an abstract serializable type > * Fix - Fixed parsing decimals from a string with an exponent > * Fix - Fixed losing DateTime.Kind when deserializing ISO date strings > * Fix - Fixed calling constructors with ref and in parameters > * Fix - Fixed rare race condition in name table when serializing > * Fix - Fixed unhelpful exception message when unable to convert JSON value to DateTime > * Fix - Fixed error when deserializing empty array in DataTable > * Fix - Fixed deserializing empty string to empty byte array > * Fix - Fixed blank extension data values with required properties and deserializing with constructor > * Fix - Fixed ignored values being set in extension data when deserializing > * Fix - Fixed comparing equal integer and floating point values in JSON Path > * Fix - Fixed BsonReader when reading multiple content > * Fix - Fixed setting extension data with existing key > * Fix - Fixed including array attribute in XML with namespaces when converting JSON to XML > * Fix - Fixed error when serializing ref struct properties by excluding them from serialization > > ## 11.0.2 > * Change - Revert DataContractAttribute to not force JSON object serialization (use JsonObjectAttribute instead) > * Fix - Fixed JPropertyDesciptor.GetValue and SetValue to not throw for non-JObject argument > * Fix - Fixed JObject ICustomTypeDescriptor.GetProperty to return the current instance > ... (truncated)Commits
- [`4ab34b0`](https://github.com/JamesNK/Newtonsoft.Json/commit/4ab34b0461fb595805d092a46a58f35f66c84d6a) Update version to 12.0.2 - [`cc2ef36`](https://github.com/JamesNK/Newtonsoft.Json/commit/cc2ef36f5533d1ab21518a8e9ec5c2f74eb2fecc) Setup Rosyln code analyzers ([#2052](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2052)) - [`5ff53a9`](https://github.com/JamesNK/Newtonsoft.Json/commit/5ff53a922972d9eb424c7981d9ed75b5bc73a06e) Update version to 12.0.2-beta3 - [`cb4f468`](https://github.com/JamesNK/Newtonsoft.Json/commit/cb4f468b91d1acfd5b52298dae4e6cbaad8d71aa) Update version to 12.0.2-beta2 - [`5416cd4`](https://github.com/JamesNK/Newtonsoft.Json/commit/5416cd4d1aa9849c9939f1325aa1a81fc194b2cb) Move debug symbols to symbol package ([#2051](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2051)) - [`b34a3cc`](https://github.com/JamesNK/Newtonsoft.Json/commit/b34a3ccca7ff6535c0c9e7981479ee1abf169a94) Add MissingMemberHandling to JsonObjectAttribute ([#2050](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2050)) - [`a088299`](https://github.com/JamesNK/Newtonsoft.Json/commit/a088299eeeaf3afe90eafd59724051f003e4195a) Support command line build in VS2019 ([#2048](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2048)) - [`f80a818`](https://github.com/JamesNK/Newtonsoft.Json/commit/f80a8184c8c825a6ba63a22caa73b3235b3bdc49) Update SDK version ([#2031](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2031)) - [`8d00ab3`](https://github.com/JamesNK/Newtonsoft.Json/commit/8d00ab3684a40bed859fd7e8c89c3adb499c8278) Make JTokenReader constructor with initial path public ([#2030](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2030)) - [`9977965`](https://github.com/JamesNK/Newtonsoft.Json/commit/9977965ec388b2c3a51fe1ca71739c7258965e4a) Update version to 12.0.2-beta1 ([#2029](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2029)) - Additional commits viewable in [compare view](https://github.com/JamesNK/Newtonsoft.Json/compare/7.0.1...12.0.2)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
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.