|
| 1 | +# Unreleased |
| 2 | +- |
| 3 | + |
| 4 | +# v2.4.0 |
| 5 | + |
| 6 | +### Initialization |
| 7 | + |
| 8 | +- [added] The [`firebase.NewApp()`](https://godoc.org/firebase.google.com/go#NewApp) |
| 9 | + method can now be invoked without any arguments. This initializes an app |
| 10 | + using Google Application Default Credentials, and |
| 11 | + [`firebase.Config`](https://godoc.org/firebase.google.com/go#Config) loaded |
| 12 | + from the `FIREBASE_CONFIG` environment variable. |
| 13 | + |
| 14 | +### Authentication |
| 15 | + |
| 16 | +- [changed] The user management operations in the `auth` package now uses the |
| 17 | + [`identitytoolkit/v3`](https://google.golang.org/api/identitytoolkit/v3) library. |
| 18 | +- [changed] The `ProviderID` field on the |
| 19 | + [`auth.UserRecord`](https://godoc.org/firebase.google.com/go/auth#UserRecord) |
| 20 | + type is now set to the constant value `firebase`. |
| 21 | + |
| 22 | +# v2.3.0 |
| 23 | + |
| 24 | +- [added] A new [`InstanceID`](https://godoc.org/firebase.google.com/go#App.InstanceID) |
| 25 | + API that facilitates deleting instance IDs and associated user data from |
| 26 | + Firebase projects. |
| 27 | + |
| 28 | +# v2.2.1 |
| 29 | + |
| 30 | +### Authentication |
| 31 | + |
| 32 | +- [changed] Adding the `X-Client-Version` to the headers in the API calls for |
| 33 | + tracking API usage. |
| 34 | + |
| 35 | +# v2.2.0 |
| 36 | + |
| 37 | +### Authentication |
| 38 | + |
| 39 | +- [added] A new user management API that supports querying and updating |
| 40 | + user accounts associated with a Firebase project. This adds `GetUser()`, |
| 41 | + `GetUserByEmail()`, `GetUserByPhoneNumber()`, `CreateUser()`, `UpdateUser()`, |
| 42 | + `DeleteUser()`, `Users()` and `SetCustomUserClaims()` functions to the |
| 43 | + [`auth.Client`](https://godoc.org/firebase.google.com/go/auth#Client) API. |
| 44 | + |
| 45 | +# v2.1.0 |
| 46 | + |
| 47 | +- [added] A new [`Firestore` API](https://godoc.org/firebase.google.com/go#App.Firestore) |
| 48 | + that enables access to [Cloud Firestore](/docs/firestore) databases. |
| 49 | + |
| 50 | +# v2.0.0 |
| 51 | + |
| 52 | +- [added] A new [Cloud Storage API](https://godoc.org/firebase.google.com/go/storage) |
| 53 | + that facilitates accessing Google Cloud Storage buckets using the |
| 54 | + [`cloud.google.com/go/storage`](https://cloud.google.com/go/storage) |
| 55 | + package. |
| 56 | + |
| 57 | +### Authentication |
| 58 | + |
| 59 | +- [changed] The [`Auth()`](https://godoc.org/firebase.google.com/go#App.Auth) |
| 60 | + API now accepts a `Context` argument. This breaking |
| 61 | + change enables passing different contexts to different services, instead |
| 62 | + of using a single context per [`App`](https://godoc.org/firebase.google.com/go#App). |
| 63 | + |
| 64 | +# v1.0.2 |
| 65 | + |
| 66 | +### Authentication |
| 67 | + |
| 68 | +- [changed] When deployed in the Google App Engine environment, the SDK can |
| 69 | + now leverage the utilities provided by the |
| 70 | + [App Engine SDK](https://cloud.google.com/appengine/docs/standard/go/reference) |
| 71 | + to sign JWT tokens. As a result, it is now possible to initialize the Admin |
| 72 | + SDK in App Engine without a service account JSON file, and still be able to |
| 73 | + call [`CustomToken()`](https://godoc.org/firebase.google.com/go/auth#Client.CustomToken) |
| 74 | + and [`CustomTokenWithClaims()`](https://godoc.org/firebase.google.com/go/auth#Client.CustomTokenWithClaims). |
| 75 | + |
| 76 | +# v1.0.1 |
| 77 | + |
| 78 | +### Authentication |
| 79 | + |
| 80 | +- [changed] Now uses the client options provided during |
| 81 | + [SDK initialization](https://godoc.org/firebase.google.com/go#NewApp) to |
| 82 | + create the [`http.Client`](https://godoc.org/net/http#Client) that is used |
| 83 | + to fetch public key certificates. This enables developers to use the ID token |
| 84 | + verification feature in environments like Google App Engine by providing a |
| 85 | + platform-specific `http.Client` using |
| 86 | + [`option.WithHTTPClient()`](https://godoc.org/google.golang.org/api/option#WithHTTPClient). |
| 87 | + |
| 88 | +# v1.0.0 |
| 89 | + |
| 90 | +- [added] Initial release of the Admin Go SDK. See |
| 91 | + [Add the Firebase Admin SDK to your Server](/docs/admin/setup/) to get |
| 92 | + started. |
| 93 | +- [added] You can configure the SDK to use service account credentials, user |
| 94 | + credentials (refresh tokens), or Google Cloud application default credentials |
| 95 | + to access your Firebase project. |
| 96 | + |
| 97 | +### Authentication |
| 98 | + |
| 99 | +- [added] The initial release includes the `CustomToken()`, |
| 100 | + `CustomTokenWithClaims()`, and `VerifyIDToken()` functions for minting custom |
| 101 | + authentication tokens and verifying Firebase ID tokens. |
0 commit comments