December 03, 2026
Cloud Functions
Version 0.7.0 of the Cloud Functions Python SDK (firebase-functions) adds 2nd gen Firebase Authentication triggers and contains breaking changes. Review these release notes carefully before upgrading.
Breaking changes
options.set_global_options()no longer setscpuby default. Previously, calling it withoutcpusetcpu="gcf_gen1".- Impact: Functions now get the 2nd gen default of 1 vCPU and up to 80 concurrent requests per instance, instead of a fractional CPU handling one request at a time. This changes cost and concurrency behavior.
- Action Required: Make sure your code is safe to run concurrently, or pass
cpu="gcf_gen1"toset_global_options()to keep the previous behavior. See Override CPU defaults.
- Auth blocking function timestamps are now timezone-aware UTC
datetimeobjects. This applies toAuthBlockingEvent.timestampand tometadata.creation_time,metadata.last_sign_in_time, andtokens_valid_after_timeon the user record.- Impact: Comparing these values with naive
datetimeobjects raises aTypeError. - Action Required: Compare against timezone-aware values, for example
datetime.now(timezone.utc).
- Impact: Comparing these values with naive
AuthUserMetadata.creation_timeis now optional (datetime | None, defaulting toNone) because deletion events may omit creation metadata. …