Releases: firebase/firebase-tools
Releases · firebase/firebase-tools
v14.4.0
- Added
firebase experimental:mcp
command, which runs an MCP server for AI assistants to interact with Firebase resources. - Updated supported runtimes for functions. Default python runtime is now 3.13. (#8534)
- Fixed issue where Secret Manager API was not automatically enabled for functions using secrets. (#8528)
- Changed artifact registry cleanup policy error to warn for CI/CD workloads #8513
- Enhance firebase init apphosting to support local source deploys. (#8479)
- Fixed issue where
firebase init hosting:github
didn't correctly parse the repo input. (#8536) - Add GCP API client functions to support App Hosting deploy from source feature. (#8545)
- Fixed an issue where Extensions, Cloud Functions, and App Hosting would run into issues on projects where the default compute service account was changed.
- Changed firebase init template for functions to pin runtime version on init. (#8553)
- Fix an issue where updating a Cloud Function that retires would add incorrect fields to the updateMask. (#8560)
- Fixed multi tenancy support for SSO users in the auth emulator (#8544)
- Add SDK autoinit capabilities to App Hosting emulator. (#8582)
- Provision App Hosting compute service account during init flow. (#8580)
- Updated the Firebase Data Connect local toolkit to v2.6.1, which includes the following changes: (#8598)
- Fixed a bug where
@transaction
continued to execute after errors and produces more confusing errors. - Fixed a bug where rolled-back fields in
@transaction
returned bogus data that had been invalidated by the rollback. They now correctly return null with a corresponding error "(rolled back)". - Disallow
@check
on side-effect fields if the mutation doesn't have@transaction
. - Improved error messages when reading a field of
null
in CEL expressions. - Updated the underlying Go dependency version from v1.22.2 to v1.22.12.
- Added the
response
binding to Server Values and@check(expr:)
CEL expressions.
- Fixed a bug where
v14.3.1
v14.3.0
- Fixed an issue where the prompt to create apphosting.emulator.yaml did not work with backends that are not at the project.root (#8412)
- Fixed an issue where Terms of Service acceptance would be checked for non-human users.
- Fixed an issue where Cloud Resource Manager was called without checking whether it is enabled on the user's project.
- Updated the Firebase Data Connect local toolkit to v2.5.0, which includes the following changes: (#8514)
- Fixed an issue where some server value expression errors incorrectly abort mutation execution.
- Added README generation to Angular codegen, which explains how to use generated query and mutation injector functions.
- Updated emulator UI to v1.15.0, which fixes some issues when running on Firebase Studio.
v14.2.2
- Cleaned up prompt for setting up web frameworks during
init dataconnect
. - Fixed an issue were the Emualtor suite would check for auth when using
demo-
projects. - Updated the Firebase Data Connect local toolkit to v2.4.0, which adds support for
add
andremove
list update transforms and fixes an issue where updating a column tonull
was ignored. (#8484)
v14.2.1
- Fixed version for init genkit. Previously it was looking for the version of the old package 'genkit' instead of th new 'genkit-cli'.
- Updated the Firebase Data Connect local toolkit to v2.3.1, which contains the following changes: (#8455)
- Added support for
inc
anddec
update transforms forDate
andTimestamp
scalars. - Fixed a bug where
OR
andAND
clauses may be evaluated in the incorrect order. - Fixed an issue where
{includes: $var}
or{includesAll: [$var]}
clauses should be dropped if$var
is missing.
- Added support for
v14.2.0
- Fixed an issue in the extensions emulator where parameter default values would not be substitued into resource definitions.
- Keep artifact registry dry run off for policy changes (#8419)
- Allowed users to create paid Cloud SQL instances for Data Connect when the free trial has already been used.
- Updated the Firebase Data Connect local toolkit to v2.2.0, which contains the following changes: (#8434)
- Added support for aggregate functions on singular fields.
- Added the ability to get an operation name without calling the
ref
function in generated web SDK. - Properly enforced one-of validation on
inc
,dec
,append
, andprepend
update transforms. Existing deployed connectors that violate this constraint will still work, but will need to be fixed to use list syntax before being re-deployed. - Fixed an issue so that when using mutations with no variables, correct types are passed in.
v14.1.0
- Fixed an issue where the Extensions emulator did not provide fall back values for v2 Firestore event triggers. (#8390)
- Fixed issue with prompt when Data Connect prompts user for framework generation.
- Fixed a bug where the Admin SDK fails with ENOTFOUND when automatically connecting to the Data Connect emulator when run in the Functions emulator. (#8379)
- Updated the Firebase Data Connect local toolkit to v2.1.0 which includes the following changes: (#8400)
- Added support for update transforms.
- Added support for server value expressions for Int, Float, String, Date, Timestamp, and UUID data types.
- Fixed an issue where CommonJS modules don't reference ref functions properly.
v14.0.1
v14.0.0
- BREAKING(general)! Removed support for node 18.
- BREAKING(apphosting)!
init emulators
App Hosting flow now createsapphosting.emulator.yaml
with references to live secrets rather thanapphosting.local.yaml
with saved plaintext.apphosting:config:export
command has been removed (#8361) - BREAKING(apphosting)! Removed
--location
flag fromapphosting
commands. Instead, commands now prompt for primary region as needed. - BREAKING(dataconnect)!
deploy dataconnect
now warns about unsafe connector changes and insecure operations. - BREAKING(cloud functions)! Removed the
experimental:functions:shell
command. Usefunctions:shell
instead. - Updated the Firebase Data Connect local toolkit to v2.0.0, which contains the following changes: (#8370)
- Added support for aggregate functions in queries.
- BREAKING: New types for Generated React SDKs.
- Improved description of various auto-generated mutation fields.
- Fixed an issue where pnpm users' SDKs aren't linked properly.
apphosting:secrets:grantAccess
can now grant access to emails and can grant multiple secrets at once (#8357)apphosting:secrets:set
now has flows to help with test secrets (#8359)- Updated
init dataconnect
templates tov1
. - Fixed a bug where the emulator suite would set
FIREBASE_DATACONNECT_EMULATOR_HOST
instead ofFIREBASE_DATA_CONNECT_EMULATOR_HOST
. - Fixed a bug in Auth emulator where accounts:lookup is case-sensitive for emails (#8344)
- Fixed a bug where function deploys didn't support shorthand notation and parameterized service account (#8366)
- Fixed an issue where
sql:setup
would incorrectly remove thecloudsqlsuperuser
role fromfirebasesuperuser
(#8363) - Fixed a bug where
appdistribution:testers:list
would error out if 74A8 there were no testers. - Fixed a bug where Vertex AI API would not be automatically enabled when emulating Data Connect services that use it.