Skip to content

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented May 6, 2020

Contains modules support and other breaking API changes.

API CHANGE: Admin SDK has opted into Go modules. The package name now has the major version appended to it. Developers should use the new package name firebase.google.com/go/v4 when installing and importing the SDK.
RELEASE NOTE: change(fcm): The messaging.WebpushFcmOptions type has been renamed to messaging.WebpushFCMOptions.
RELEASE NOTE: feat(fcm): Added new service-level error checking functions IsThirdPartyAuthError(), IsQuotaExceeded(), IsSenderIDMismatch(), IsUnregistered() and IsUnavailable().
RELEASE NOTE: feat: Added a new errorutils package that provides functions for checking for platform-level error codes.
RELEASE NOTE: feat(auth): Added new service-level error checking functions IsIDTokenInvalid(), IsIDTokenExpired(), IsSessionCookieInvalid(), IsSessionCookieExpired() and IsCertificateFetchFailed(). These functions can be used in conjunction with the existing JWT verification APIs provided by the SDK.

hiranya911 and others added 14 commits January 16, 2020 11:12
* chore: Added Actions-based release workflow

* Set GOPATH

* Fixed working directory for tests

* Decrypting credentials into the testdata directory

* Added preflight and post check scripts
* fix: Error handling revamp basic structure

* Added more documentation and tests

* Updated docs

* Exhaustive unit tests; Updated integration test

* Fixed some typos in comments

* Renamed function in comment
* FCM error handling revamp

* Updated unit tests
* Error handling revamp for Auth APIs

* Minor code clean up
* New error handling scheme for token verification APIs

* Make InvalidToken condition conjunctive
* Removed deprecated APIs from internal

* Made HasSuccessStatus the default error checking function

* Added unit test for error response handling
* Handling timeouts, connection and other network errors

* Handling wrapped errors

* Updated comment

* Apply suggestions from code review

Co-Authored-By: Lahiru Maramba <[email protected]>

Co-authored-by: Lahiru Maramba <[email protected]>
@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@hiranya911 hiranya911 merged commit 81eddc5 into dev Jun 11, 2020
@cee-dub
Copy link

cee-dub commented Jun 17, 2020

These important release notes didn’t make it into your published changes for the release. Could you fix that by hand, maybe?

@hiranya911
Copy link
Contributor Author

@cee-dub those comments were certainly included in the published released notes: https://firebase.google.com/support/release-notes/admin/go#version_400_-_16_june_2020

@cee-dub
Copy link

cee-dub commented Jun 17, 2020

@hiranya911
Copy link
Contributor Author

@cee-dub Ah, I see what you mean. That section is a simple changelog generated off of git commit messages, and therefore PR descriptions usually get ignored. However, since this release contains some important changes, it might be useful to have that information on that page as well. I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants