Release notes
*Sourced from [Newtonsoft.Json's releases](https://github.com/JamesNK/Newtonsoft.Json/releases).*
> ## 12.0.3
> * New feature - Added support for nullable reference types
> * New feature - Added KebabCaseNamingStrategy
> * Change - Package now uses embedded package icon
> * Fix - Fixed bug when merging JToken with itself
> * Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties
> * Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0
> * Fix - Fixed deserializing some collection types with constructor
> * Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet
> * Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary
> * Fix - Fixed deserializing into constructors with more than 256 parameters
> * Fix - Fixed hang when deserializing JTokenReader with preceding comment
> * Fix - Fixed JSONPath scanning with nested indexer
> * Fix - Fixed deserializing incomplete JSON object to JObject
> * Fix - Fixed using StringEnumConverter with naming strategy and specified values
>
> ## 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
> ... (truncated)
Commits
- [`7c3d7f8`](https://github.com/JamesNK/Newtonsoft.Json/commit/7c3d7f8da7e35dde8fa74188b0decff70f8f10e3) Update version to 12.0.3
- [`0688f3f`](https://github.com/JamesNK/Newtonsoft.Json/commit/0688f3f206eefb1ad5e4f2d8dfe89eafa5988443) Embiggen package icon
- [`cb09e67`](https://github.com/JamesNK/Newtonsoft.Json/commit/cb09e67abe181d3a2b6eda424f9023cecf191493) Update package to use embedded PackageIcon
- [`e27710f`](https://github.com/JamesNK/Newtonsoft.Json/commit/e27710ffaa6d31e0d3f6d03f9760ad1474bab2a8) Update version to 12.0.3-beta2
- [`23be46f`](https://github.com/JamesNK/Newtonsoft.Json/commit/23be46f665887c9be03faf7864ae98890ca08246) Fix using StringEnumConverter with naming strategy and specifie… ([#2186](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2186))
- [`ff6f51b`](https://github.com/JamesNK/Newtonsoft.Json/commit/ff6f51b667b7bb05b7f595c331074ecb6c93bd56) Added KebabCaseNamingStrategy
- [`baa1e21`](https://github.com/JamesNK/Newtonsoft.Json/commit/baa1e21612cae4fb3d3b495e022e327afa50b946) Fix deserializing incomplete JSON object to JObject ([#2181](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2181))
- [`541eab2`](https://github.com/JamesNK/Newtonsoft.Json/commit/541eab2fbd5495e77798af5b25f549cb2fbd15c6) Fix JSONPath scanning with nested indexer ([#2180](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2180))
- [`c89d6ad`](https://github.com/JamesNK/Newtonsoft.Json/commit/c89d6addf118745c4c14536ce64fd69566ebd644) Update dependencies from .NET Core 3.0 ([#2179](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2179))
- [`3219c47`](https://github.com/JamesNK/Newtonsoft.Json/commit/3219c47f74f279351548e8763946653f8cdc527e) Fix hang when deserializing JTokenReader with preceding comment ([#2178](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2178))
- Additional commits viewable in [compare view](https://github.com/JamesNK/Newtonsoft.Json/compare/7.0.1...12.0.3)
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
- `@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)
- 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)
Bumps Newtonsoft.Json from 7.0.1 to 12.0.3.
Release notes
*Sourced from [Newtonsoft.Json's releases](https://github.com/JamesNK/Newtonsoft.Json/releases).* > ## 12.0.3 > * New feature - Added support for nullable reference types > * New feature - Added KebabCaseNamingStrategy > * Change - Package now uses embedded package icon > * Fix - Fixed bug when merging JToken with itself > * Fix - Fixed performance of calling ICustomTypeDescriptor.GetProperties > * Fix - Fixed serializing Enumerable.Empty and empty arrays on .NET Core 3.0 > * Fix - Fixed deserializing some collection types with constructor > * Fix - Fixed deserializing IImmutableSet to ImmutableHashSet instead of ImmutableSortedSet > * Fix - Fixed deserializing IImmutableDictionary to ImmutableDictionary instead of ImmutableSortedDictionary > * Fix - Fixed deserializing into constructors with more than 256 parameters > * Fix - Fixed hang when deserializing JTokenReader with preceding comment > * Fix - Fixed JSONPath scanning with nested indexer > * Fix - Fixed deserializing incomplete JSON object to JObject > * Fix - Fixed using StringEnumConverter with naming strategy and specified values > > ## 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 > ... (truncated)Commits
- [`7c3d7f8`](https://github.com/JamesNK/Newtonsoft.Json/commit/7c3d7f8da7e35dde8fa74188b0decff70f8f10e3) Update version to 12.0.3 - [`0688f3f`](https://github.com/JamesNK/Newtonsoft.Json/commit/0688f3f206eefb1ad5e4f2d8dfe89eafa5988443) Embiggen package icon - [`cb09e67`](https://github.com/JamesNK/Newtonsoft.Json/commit/cb09e67abe181d3a2b6eda424f9023cecf191493) Update package to use embedded PackageIcon - [`e27710f`](https://github.com/JamesNK/Newtonsoft.Json/commit/e27710ffaa6d31e0d3f6d03f9760ad1474bab2a8) Update version to 12.0.3-beta2 - [`23be46f`](https://github.com/JamesNK/Newtonsoft.Json/commit/23be46f665887c9be03faf7864ae98890ca08246) Fix using StringEnumConverter with naming strategy and specifie… ([#2186](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2186)) - [`ff6f51b`](https://github.com/JamesNK/Newtonsoft.Json/commit/ff6f51b667b7bb05b7f595c331074ecb6c93bd56) Added KebabCaseNamingStrategy - [`baa1e21`](https://github.com/JamesNK/Newtonsoft.Json/commit/baa1e21612cae4fb3d3b495e022e327afa50b946) Fix deserializing incomplete JSON object to JObject ([#2181](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2181)) - [`541eab2`](https://github.com/JamesNK/Newtonsoft.Json/commit/541eab2fbd5495e77798af5b25f549cb2fbd15c6) Fix JSONPath scanning with nested indexer ([#2180](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2180)) - [`c89d6ad`](https://github.com/JamesNK/Newtonsoft.Json/commit/c89d6addf118745c4c14536ce64fd69566ebd644) Update dependencies from .NET Core 3.0 ([#2179](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2179)) - [`3219c47`](https://github.com/JamesNK/Newtonsoft.Json/commit/3219c47f74f279351548e8763946653f8cdc527e) Fix hang when deserializing JTokenReader with preceding comment ([#2178](https://github-redirect.dependabot.com/JamesNK/Newtonsoft.Json/issues/2178)) - Additional commits viewable in [compare view](https://github.com/JamesNK/Newtonsoft.Json/compare/7.0.1...12.0.3)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 - `@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) - 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)