Skip to content

Releases: gphotosuploader/google-photos-api-client-go

Release v2.4.1

08 Jun 07:18
v2.4.1
626dee2
Compare
Choose a tag to compare

2.4.1

Changed

  • Supported Go versions are 1.18, 1.19 and 1.20.
  • Upgraded several dependencies to remove vulnerabilities.
  • [CI] Updated GHA to create releases on tags.
  • [CI] Run tests against last three major Go releases.
  • [CI] Enable dependabot to scan vulnerable dependencies.

Release v2.4.0

14 Dec 17:03
v2.4.0
0aa8017
Compare
Choose a tag to compare

2.4.0

Changed

  • Supported go versions are 1.18 and 1.19.

Removed

  • Support for go version 1.16 and 1.17.

See CHANGELOG for more details.

Release v2.3.0

04 Apr 19:01
v2.3.0
6277d62
Compare
Choose a tag to compare

Changes in this Release

Added

  • Add support to go version 1.16.

Removed

  • Support for go version 1.14.

See CHANGELOG for more details.

Release v2.2.0

07 Mar 17:25
v2.2.0
73ea3c6
Compare
Choose a tag to compare

Changes in this Release

Added

See CHANGELOG for more details.

Release v2.1.3

08 Jan 14:04
v2.1.3
e0885cf
Compare
Choose a tag to compare

Fixed

  • Disabled DEBUG log for each request. (#56)

See CHANGELOG for more details.

Release v2.1.2

04 Jan 19:14
v2.1.2
ede597d
Compare
Choose a tag to compare

Fixed

  • Crash when Google Photos API returns a MediaItem with an error on mediaItems.batchCreate. (#54)
  • Basic uploader is throwing a bad request when trying to upload a file. (#53)

See CHANGELOG for more details.

Release v2.1.1

22 Dec 13:18
v2.1.1
Compare
Choose a tag to compare

Changes in this Release

Added

  • Mocks for this package. See mocks folder.
  • oAuth scopes has been added, given that they are needed to make oAuth works.

Changed

  • Documentation has been improved.
    See CHANGELOG for more details.

Release v2.1.0

21 Dec 15:29
v2.1.0
edce341
Compare
Choose a tag to compare

Changes in this Release

Added

  • Albums repository albums.PhotosLibraryAlbumsRepository using gphotosuploader/googlemirror package.
  • Method media_items.NewPhotosLibraryClientWithURL() for customize Google Photos service basePath.
  • Google Photos library gphotosuploader/googlemirror mock.

Fixed

  • Code without tests. Test coverage has been improved a lot (~ 70%).

Removed

  • Albums repository using duffpl/google-photos-api-client package. It has been replaced by gphotosuploader/googlemirror.
    See CHANGELOG for more details.

Release v2.0.0

17 Dec 16:22
v2.0.0
35fe93e
Compare
Choose a tag to compare

Changes in this Release

This is a major version update, it means that is NOT BACKWARDS COMPATIBLE. New import path is in place.

Added

  • Cache is used to improve performance and reduce the number of calls to Google Photos API. See albums.Cache interface.
  • Improved testing of the whole module.
  • Added ListAlbums and ListAlbumsWithCallback, to get album list from library.
  • Added AddMediaToLibrary to upload media without assigning it to an album.
  • Added retries on HTTP Client. The default configuration will use Exponential Backoff with a maximum of 5 retries.

Changed

  • Import path includes v2: github.com/gphotosuploader/google-photos-api-client-go/v2.
  • Client call has changes to NewClient where you can customize with Options. See README for more information.

Fixed

  • Check for permission errors. (#25)
  • GetUploadToken should not be exposed. (#9)
  • Albums duplication, using mutex and cache. (#36)

Removed

  • Removed AlbumByName by FindAlbum.
  • Removed GetOrCreateAlbumByName by CreateAlbum.
  • Removed AddMediaItem by AddMediaToAlbum.
  • Removed NewOAuthConfig.
  • Removed the methods that were deprecated on v1.1.0. (#11)

See CHANGELOG for more details.

Release v2.0.0-rc-1

01 Dec 13:56
v2.0.0-rc-1
1374df8
Compare
Choose a tag to compare
Release v2.0.0-rc-1 Pre-release
Pre-release

Changes in this Release

This is a major version update, it means that is NOT BACKWARDS COMPATIBLE. New import path is in place.

Added

  • Cache is used to improve performance and reduce the number of calls to Google Photos API. See albums.Cache interface.
  • Improved testing of the whole module.
  • Added ListAlbums and ListAlbumsWithCallback, to get album list from library.
  • Added AddMediaToLibrary to upload media without assigning it to an album.

Changed

  • Import path includes v2: github.com/gphotosuploader/google-photos-api-client-go/v2.
  • Client call has changes to NewClient where you can customize with Options. See README for more information.

Fixed

  • Check for permission errors. (#25)
  • GetUploadToken should not be exposed. (#9)
  • Albums duplication, using mutex and cache. (#36)

Removed

  • Removed AlbumByName by FindAlbum.
  • Removed GetOrCreateAlbumByName by CreateAlbum.
  • Removed AddMediaItem by AddMediaToAlbum.
  • Removed NewOAuthConfig.
  • Removed the methods that were deprecated on v1.1.0. (#11)

See CHANGELOG for more details.