Skip to content

Releases: googleapis/google-api-dotnet-client

v1.17.0 fix net46+ support

12 Oct 16:40

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

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

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

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

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.

v1.13.1

31 May 10:59

Choose a tag to compare

  • #751 Preventing OutOfRangeArgument exception when login in windows phone

Regenerated support libraries and API-specific client libraries including new versions.

v1.13 Minor bugfixes

13 May 08:24

Choose a tag to compare

  • #723 overhauled MediaDownloader, enabling gzipped content to be downloaded
  • #730 made GoogleCredential implement ICredential for consistency
  • #733 improved error reporting for media uploads which fail on the first request (fixed #456)
  • #745 permitted the contentType parameter to be null in ResumableUpload (fixed #743)

Regenerated API-specific client libraries including new versions.

v1.12

04 Apr 22:55

Choose a tag to compare

Version 1.11 removed support for .NET 4.0 -- see #696. The intent was that NuGet would hide new, incompatible versions in projects targeting .NET 4.0. That proved not to be the case -- see #716.

#718 reintroduced support for .NET 4.0 into our generated (API-specific) libraries by creating two projects that target different PCL profiles. The Profile328 project will continue to support net40 but will depend on an old version (1.10) of Google.Apis, etc. The Profile239 project supports net45 and above and depends on the newest version of Google.Apis.

#713 brought our client generator into the repository as a subtree rather than as a submodule. That'll make it easier for us to coordinate changes in the generated and support libraries.

This release only includes generated libraries. The support libraries will remain at v1.11.1.

v1.11.1

22 Mar 22:05

Choose a tag to compare

Fix #707. Libraries for different targets were built with different revision numbers, which caused projects that installed API-specific libraries to fail to build. If your project has gotten into this state, Update-Package -Safe should fix it.

v1.11

18 Mar 20:46

Choose a tag to compare

#646 -- Fix media upload/download error handling
#654 -- Add PageStreamer to make it simple to fetch paged lists
#666 -- Custom Auth Query Params
#671 -- Fix null pointer exception in HandleResponseAsync
#680 -- Fix typo and improve comment for MediaApiErrorHandling
#693 -- Handle empty error responses in media upload/download
#696 -- Remove support for .NET 4.0
#698 -- Add UriPatcher to fix URI quirks