Releases: googleapis/google-api-dotnet-client
v1.22.0 Resumable download changes
v1.21.0 log4net removed; custom HTTP headers
Bug fixes:
- #849 log4net dependency removed (via PR #890).
- #884 TokenResponse.Issued set to Now instead of UtcNow.
New features:
- #893 Add a convenience method to obtain a GoogleCredential from a JSON string.
- #913 Allow modification of HTTP requests for download and client requests.
Internal changes:
- #902 Split ResumableUpload class and introduced associated options.
v1.20.0 Remove BouncyCastle dependency
v1.19.0 Support limited null values in JSON
New features:
- #868 Allow
null
value to be present in JSON for a limited selection of fields.
v1.18.0 fix games & admin-directory
Bug fixes:
- #757 Directory User class's list properties have "object" type since v1.8.1.370
- #682 Google.Apis.Games.v1 NuGet package outdated
Both these bugs were caused by issues with the upstream discovery-documents. It is not possible to fix these, so a patcher is used to correct problems in the discovery-documents.
This is a breaking change to Google.Apis.Admin.Directory package, as it reverts to the correct strongly-typed properties where a previous change used object
as the type.
v1.17.0 fix net46+ support
Bug fixes:
- #845 net46 not correctly supported in generated libraries.
This release fixes an issue with projects built against net46+.
v1.16.0 and below did not contain a specific net45 target, net45 builds used the PCL with net45 support.
A project targeting net45 (or net451, etc) with a dependency on one of these client libraries will correctly use the PCL, and all is fine.
However, a project targeting net46+ will use the netstandard1.3 target (not the PCL target), which is not desirable.
This v1.17.0 release adds a net45 target within the nupkg, so net45 and net46 projects will now use this specific net45 dll.
The netstandard1.3 target depends on newtonsoft.json v9.0.1 (earliest version with netstandard support), whereas all the other targets depend on newtonsoft.json v7.0.1.
So using v1.16.0 and moving a project from net45 to net46 would change the newtonsoft.json version required from v7.0.1 to v9.0.1, which is not desirable.
The new net45 target in this v1.17.0 release depends on newtonsoft.json v7.0.1, which will now be consistent across net45 and net46+ projects.
The support libraries (Google.Apis, Google.Apis.Core, Google.Apis.Auth) have always had net45 targets, with a dependency on newtonsoft.json v7.0.1.
So the v1.16.0 behaviour under net46 caused conflicting versions of the newtonsoft.json dependency. This is now fixed.
v1.16.0
New Features:
- #797 Support ServiceAccountCredential in netstandard, without X509 certificates...
- #807 ...and add X509 certificate support.
Bug fixes:
- #79 Get the generated discovery to discover its own discovery document.
- #812 Fix xmldoc formatting in generated code for resumable methods.
- #813 Fix PromptCodeReceiver on .NET Core.
- #815 Add missing Google.Apis dependency in .NET45
- #816 Strongly name netstandard generated libraries.
Testing:
v1.15.0 netstandard support
Feature added:
- #695 Support .NET Core 1.0; v1.15.0 additionally targets netstandard1.3 which brings .NET Core support to all Google.Apis.* libraries.
v1.14.1 MediaDownload bug-fix
Bugs fixes:
- #748 Arithmetic operation resulted in an overflow while downloading file