Skip to content

Releases: googleapis/google-api-dotnet-client

v1.22.0 Resumable download changes

15 Mar 11:41
Compare
Choose a tag to compare

Bug fixes:

  • #929 Inappropriate HttpClient set up for resumable downloads

New features:

  • #919 Expose ResumableUpload.InitiateSessionAsync

v1.21.0 log4net removed; custom HTTP headers

09 Feb 16:00
Compare
Choose a tag to compare

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

13 Dec 15:23
Compare
Choose a tag to compare

Bug fixes:

Internal changes:

  • #854, #877 Refactoring to support Storage Client Library features.
  • #882 Add protected virtual methods to MediaDownloader for closer response inspection

v1.19.0 Support limited null values in JSON

16 Nov 11:52
Compare
Choose a tag to compare

New features:

  • #868 Allow null value to be present in JSON for a limited selection of fields.

v1.18.0 fix games & admin-directory

24 Oct 18:02
Compare
Choose a tag to compare

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

12 Oct 16:40
Compare
Choose a tag to compare

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

22 Aug 14:23
Compare
Choose a tag to compare

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:

  • #801 Increase number of tests run on .NET Core.
  • #805 Add tests for valid AccessToken from ServiceAccountCredential
  • #809 #810 CI support for .NET Core on Linux and Windows.

v1.15.0 netstandard support

04 Aug 17:16
Compare
Choose a tag to compare

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

28 Jul 16:57
Compare
Choose a tag to compare

Bugs fixes:

  • #748 Arithmetic operation resulted in an overflow while downloading file

v1.14.0 ResumableUpload changes

06 Jul 07:29
Compare
Choose a tag to compare

Feature added:

  • #749 Resume upload after program restart.

Bug fixes:

  • #755 Incorrect resume behaviour if first upload chunk fails.
  • #602 Resume fails with non-seekable stream when last upload chunk fails.
  • #767 Invoke event handlers safely and consistently.

Test changes:

  • #735 Rewrite MediaUploadTest to use test HTTP server. However, this fails on Travis due to a mono bug, so the original MediaUploadTest is still in use.
  • #732 Add a MediaDownloader test with an empty response body.