Skip to content

Releases: jdgamble555/firebase-admin-edge

v3.0.1

Choose a tag to compare

@github-actions github-actions released this 29 Sep 00:10
8c6e257

Patch Changes

  • 8ad3263: reset password, enable, disable account for identity

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 01:17

Major Changes

  • 6e6af06: Replace IdentityReference's positional boolean arguments with an optional typed
    options object. Use new IdentityReference(auth, identifier) for a single read-only
    lookup, { uidReference: true } to enable UID mutations, or { multiple: true }
    to return an array of matches. Export IdentityReferenceOptions for reusable options.

  • 6e6af06: Replace optional positional constructor arguments with typed options objects for
    FirebaseAdminAuth, FirebaseAuth, Firestore, Storage, and AppCheck. Required arguments
    remain positional; omitted options retain their existing defaults.

    For example, use new FirebaseAdminAuth(serviceAccount, { tenantId, fetch, cache, cacheName, emulatorHost })
    and new Firestore(serviceAccount, { databaseId, fetch, cache, cacheName }).
    FirebaseAuth accepts new FirebaseAuth(config, callbackUrl, { tenantId, fetch, emulatorHost }).
    Storage accepts { bucketName, fetch, cache, cacheName, retryOptions },
    and AppCheck accepts { fetch, cache, cacheName } as
    their second argument. The previous optional positional signatures are removed.

Minor Changes

  • 6e6af06: Add Identity, IdentityQuery, and IdentityCountQuery with at most one account-data request per get. Support native sorting and offset queries capped at 500 users, explicit token pagination capped at 1,000, reversed-order limitToLast, and count().get() using server-side count-only requests. Restrict fetching and counting to the same native uid, email, or phoneNumber filter; omit local-only filters and scan-based cursors. Expose the client as server.identity.

    Add chainable or(field, operator, value) clauses with == and in for up to 100 mixed exact identifiers in one lookup request. Keep OR and where mutually exclusive, reject unsupported query modifiers, and document that general AND and nested Boolean expressions are unavailable.

    Validate equality identifiers and direct query/count options before I/O to prevent malformed filters from silently returning all accounts. Make OR identifier types exclusive. Add read-only live capability tests confirming that additional query expressions are ignored, plus mixed OR and native sorting coverage.

    Add exact byUid() and byProvider() lookups plus where('initialEmail', '==', email) with one account-data request, and support initial-email identifiers in admin getUsers().

    Make fluent builder types depend on the selected filter and pagination mode, with runtime guards for unsupported combinations in either chaining order.

    Add byEmail() and byPhoneNumber() single-user lookups alongside byUid() and byProvider(), with the same typed builder restrictions and single-request behavior.

    Support where(field, "in", values) for UID, email, phone number, and initial email through one batch lookup, with at most 100 identifiers and fetch-only builder types.

    Add where("provider", "in", pairs) for single-request batch provider-identity lookups, with typed pairs, a 100-identifier cap, and fetch-only chaining.

    Add fluent account creation, UID profile updates, single and explicit UID-batch deletion, and imports without automatic record readback.

    Add existing-only UID set() for replacement of the documented profile schema, with explicit defaults and no create fallback. Writes through non-UID identifiers remain unavailable.

    Use customClaims in Identity import payloads. Omitted nullable profile fields in set() clear automatically using the native endpoint deletion representation.

    Support password: null in UID profile updates and creation/sign-in timestamps through user.metadata.update().

    Support customClaims and metadata in user.update() alongside profile fields in one write. Keep the dedicated claims and metadata properties. user.set() replaces claims and writable metadata too: omitted/null claims clear to {}, and omitted/null creation/sign-in timestamps reset to 0 (Unix epoch), including omitted fields of partially supplied metadata.

    Add claims.get(), metadata.get(), claims.byKey(name).get()/set(value)/update(value)/delete(), and metadata.revokeTokens() on UID references. Field mutations preserve other claims using a read followed by a write; resource reads return user-not-found for missing accounts.

    Add optional claims schemas on Identity, users(), and byUid(), carrying typed keys/values through queries, imports, references, and claims operations. Standardize successful single-user Identity writes to data: { uid }, including claims writes, user deletion, and token revocation; preserve batch summaries and adminAuth results.

  • bdd810c: Add IdentityReference

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Sep 19:42
212c46a

Major Changes

  • a883c5f: Full Admin Compatibility

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 22:14
fc02fee

Patch Changes

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 21:46
a4ff0c6

Minor Changes

v1.0.25

Choose a tag to compare

@github-actions github-actions released this 26 Sep 21:07
f84c2ea

Patch Changes

v1.0.24

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:25
b9c7c63

Patch Changes

v1.0.23

Choose a tag to compare

@github-actions github-actions released this 22 Nov 16:48
afaffdc

Patch Changes

v1.0.22

Choose a tag to compare

@github-actions github-actions released this 20 Nov 01:44
b9a530a

Patch Changes

  • e12b365: add link and unlink provider endpoints

v1.0.21

Choose a tag to compare

@github-actions github-actions released this 20 Nov 00:33
6b7f8b6

Patch Changes

  • c8e13b8: redirectUri and url input