Releases: firebase/firebase-tools
Releases · firebase/firebase-tools
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
incanddecupdate transforms forDateandTimestampscalars. - Fixed a bug where
ORandANDclauses may be evaluated in the incorrect order. - Fixed an issue where
{includes: $var}or{includesAll: [$var]}clauses should be dropped if$varis 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
reffunction in generated web SDK. - Properly enforced one-of validation on
inc,dec,append, andprependupdate 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 emulatorsApp Hosting flow now createsapphosting.emulator.yamlwith references to live secrets rather thanapphosting.local.yamlwith saved plaintext.apphosting:config:exportcommand has been removed (#8361) - BREAKING(apphosting)! Removed
--locationflag fromapphostingcommands. Instead, commands now prompt for primary region as needed. - BREAKING(dataconnect)!
deploy dataconnectnow warns about unsafe connector changes and insecure operations. - BREAKING(cloud functions)! Removed the
experimental:functions:shellcommand. Usefunctions:shellinstead. - 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:grantAccesscan now grant access to emails and can grant multiple secrets at once (#8357)apphosting:secrets:setnow has flows to help with test secrets (#8359)- Updated
init dataconnecttemplates tov1. - Fixed a bug where the emulator suite would set
FIREBASE_DATACONNECT_EMULATOR_HOSTinstead 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:setupwould incorrectly remove thecloudsqlsuperuserrole fromfirebasesuperuser(#8363) - Fixed a bug where
appdistribution:testers:listwould 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
v13.35.0
- 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:installused 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 loginwould not be correctly provided to the Data Connect emulator. - Fixed misleading comments in
firebase init dataconnectconnector.yamltemplate. - 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
- Fix webframeworks deployments when using
siteinfirebase.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
IntandInt64scalars to correctly validate theint32andint64ranges, respectively. - Fix the generated web SDK so that
pnpmproperly uses thelinkfunctionality.
- Fix the
v13.33.0
- Fixed issue where
apps:initfails to detect the output directory when it was run in a directory whereappwas the only module. - Set
LOG_EXECUTION_ID=trueby 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
undefinedto be passed when callingmutate. - Fixed import resolution when
moduleResolutionis set tobundler. - 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
FirebaseErrorwasn't being passed intoUseMutationOptions.
- React hooks for mutations without args no longer require
v13.32.0
- Replaced
VSCODE_CWDcheck 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:initthrows 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.distancefield to vector similarity search results - Fixes
authandrequest.authwhen 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
- Adds a