Releases: gphotosuploader/google-photos-api-client-go
Releases · gphotosuploader/google-photos-api-client-go
Release v2.4.1
2.4.1
Changed
- Supported
Go
versions are1.18
,1.19
and1.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
2.4.0
Changed
- Supported
go
versions are1.18
and1.19
.
Removed
- Support for
go
version1.16
and1.17
.
See CHANGELOG for more details.
Release v2.3.0
Changes in this Release
Added
- Add support to
go
version1.16
.
Removed
- Support for
go
version1.14
.
See CHANGELOG for more details.
Release v2.2.0
Changes in this Release
Added
- Removes retry when Google Photos requests quota limit has been reached. (gphotos-uploader-cli#290)
- Removes retry when Google Photos requests quota limit has been reached. (gphotos-uploader-cli#248)
See CHANGELOG for more details.
Release v2.1.3
Release v2.1.2
Release v2.1.1
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
Changes in this Release
Added
- Albums repository
albums.PhotosLibraryAlbumsRepository
usinggphotosuploader/googlemirror
package. - Method
media_items.NewPhotosLibraryClientWithURL()
for customize Google Photos servicebasePath
. - 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 bygphotosuploader/googlemirror
.
See CHANGELOG for more details.
Release v2.0.0
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
andListAlbumsWithCallback
, 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 withOptions
. 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
byFindAlbum
. - Removed
GetOrCreateAlbumByName
byCreateAlbum
. - Removed
AddMediaItem
byAddMediaToAlbum
. - Removed
NewOAuthConfig
. - Removed the methods that were deprecated on v1.1.0. (#11)
See CHANGELOG for more details.
Release v2.0.0-rc-1
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
andListAlbumsWithCallback
, 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 withOptions
. 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
byFindAlbum
. - Removed
GetOrCreateAlbumByName
byCreateAlbum
. - Removed
AddMediaItem
byAddMediaToAlbum
. - Removed
NewOAuthConfig
. - Removed the methods that were deprecated on v1.1.0. (#11)
See CHANGELOG for more details.