Releases: firebase/firebase-tools
Releases · firebase/firebase-tools
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 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: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
- Fix webframeworks deployments when using
site
infirebase.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
andInt64
scalars to correctly validate theint32
andint64
ranges, respectively. - Fix the generated web SDK so that
pnpm
properly uses thelink
functionality.
- Fix the
v13.33.0
- Fixed issue where
apps:init
fails to detect the output directory when it was run in a directory whereapp
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 callingmutate
. - Fixed import resolution when
moduleResolution
is 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
FirebaseError
wasn't being passed intoUseMutationOptions
.
- React hooks for mutations without args no longer require
v13.32.0
- 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
andrequest.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
- Adds a
v13.31.2
v13.31.1
- Fixed issue where
firebase init dataconnect
would crash on React-based web apps. - Updated the Firebase Data Connect local toolkit to v.1.8.1, which:
- Fixed issue where users who are using a version lower than 11.3.0 of
firebase
get a "missing import" error.
- Fixed issue where users who are using a version lower than 11.3.0 of