Skip to content

Releases: firebase/firebase-tools

v14.2.1

23 Apr 21:31

Choose a tag to compare

  • 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 and dec update transforms for Date and Timestamp scalars.
    • Fixed a bug where OR and AND 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.

v14.2.0

16 Apr 22:06

Choose a tag to compare

  • 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, and prepend 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

02 Apr 20:55

Choose a tag to compare

  • 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

28 Mar 18:38

Choose a tag to compare

  • Fixed a bug where the Admin SDK would not automatically connect to the Data Connect emulator when run in the Functions emulator. (#8379)
  • Fix Cloud Functions deployment failure when service account is null. (#8381)

v14.0.0

27 Mar 17:29

Choose a tag to compare

  • BREAKING(general)! Removed support for node 18.
  • BREAKING(apphosting)! init emulators App Hosting flow now creates apphosting.emulator.yaml with references to live secrets rather than apphosting.local.yaml with saved plaintext. apphosting:config:export command has been removed (#8361)
  • BREAKING(apphosting)! Removed --location flag from apphosting 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. Use functions: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 to v1.
  • Fixed a bug where the emulator suite would set FIREBASE_DATACONNECT_EMULATOR_HOST instead of FIREBASE_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 the cloudsqlsuperuser role from firebasesuperuser (#8363)
  • Fixed a bug where appdistribution:testers:list would error out if there were no testers.
  • Fixed a bug where Vertex AI API would not be automatically enabled when emulating Data Connect services that use it.

v13.35.1

21 Mar 17:18

Choose a tag to compare

  • Fix bug where functions:artifacts:setpolicy command's --none option didn't work as expected (#8330)

v13.35.0

20 Mar 22:07

Choose a tag to compare

  • Added support for generated Angular SDKs for Data Connect
  • App Hosting emulator can now load secret env vars. (#8305)
  • Fixed webframeworks deployments when using multiple hosting sites in firebase.json. (#8314)
  • Added a new command to setup a cleanup policy for functions artifacts. (#8268)
  • Added support for 3rd party builders for Angular. (#7557)
  • Fixed GCF V2 artifact cleanup by correctly encoding artifact names to match GCF V2's format. (#8318)
  • Increase emulator UI body parser limit to match Storage emulator maximum. (#8329)
  • Fixed Data Connect setup issues for fresh databases due to IAM user not being created. (#8335)
  • Fixed an issue where ext:install used POSIX file seperators on Windows machines. (#8326)
  • Updated the Firebase Data Connect local toolkit to v1.9.2, which adds support for generated Angular SDKs and updates Dart SDK fields to follow best practices. (#8347)
  • Fixed an issue where credentials from firebase login would not be correctly provided to the Data Connect emulator.
  • Fixed misleading comments in firebase init dataconnect connector.yaml template.
  • Improved Data Connect SQL permissions to better handle tables owned by IAM roles. (#8339)
  • Fixed an issue where the Data Connect emulator would crash after some SQL errors.

v13.34.0

11 Mar 22:42

Choose a tag to compare

  • Fix webframeworks deployments when using site in firebase.json. (#8295)
  • Add support for brownfield project onboard dataconnect:sql:setup. (#8150)
  • Update the Firebase Data Connect local toolkit to v1.8.5, which includes the following changes: (#8310)
    • Fix the Int and Int64 scalars to correctly validate the int32 and int64 ranges, respectively.
    • Fix the generated web SDK so that pnpm properly uses the link functionality.

v13.33.0

06 Mar 21:14

Choose a tag to compare

  • Fixed issue where apps:init fails to detect the output directory when it was run in a directory where app was the only module.
  • Set LOG_EXECUTION_ID=true by default for Cloud Functions (2nd gen) to improve debugging by displaying execution IDs in logs. (#8276)
  • Fix bug where function deployment no-oped for functions in bad state. (#8289)
  • Updated the Firebase Data Connect local toolkit to v1.8.4 which includes the following changes: (#8290)
    • React hooks for mutations without args no longer require undefined to be passed when calling mutate.
    • Fixed import resolution when moduleResolution is set to bundler.
    • React code generation will now generate a README explaining how to use generated query and mutation hook functions.
    • Fixed an issue where React developers have to pass in an empty object even when all fields are optional.
    • Fixed an issue where FirebaseError wasn't being passed into UseMutationOptions.

v13.32.0

27 Feb 21:19

Choose a tag to compare

  • Replaced VSCODE_CWD check to address issues running in VSCode environments. (#7471)
  • Added initial delay when loading python functions (#8239)
  • Enforced webframeworks enablement only on webframeworks sites (#8168)
  • Fixed issue where apps:init throws an error upon app creation.
  • Reenabled prompts for unused service deletion in deploy --only.
  • Update Firebase Data Connect local toolkit to v1.8.3, which includes the following changes: (#8263)
    • Adds a _metadata.distance field to vector similarity search results
    • Fixes auth and request.auth when the request is unauthenticated
    • Fixes an issue with hanging commas in import statements in the generated Web SDK
    • Fixes an issue where the additional union type { __angular?: true } breaks type inference in the generated Web SDK