Skip to content

firebase-functions-test v3 (major version bump) #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 14, 2022
Merged

firebase-functions-test v3 (major version bump) #180

merged 4 commits into from
Oct 14, 2022

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Oct 14, 2022

BREAKING

  • Drop support for Firebase Functions SDK v3 and below.
  • Drop support for Firebase Admin SDK v7 and below.

The test SDK v2 works with Firebase Functions SDK v4 and above.

V4 Functions SDK does not expose the config singleton directly.

Use the internal-only `resetCache` function instead.
1. Replace all use of __trigger annotation to __endpoint

2. Correct import path for Expression class/type
… 2 (#178)

We also pin down peer dep requirement for firebase-admin to peer dependencies required for v4 firebase-functions sdk.
"firebase-admin": ">=6.0.0",
"firebase-functions": ">=3.23.0",
"firebase-admin": "^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"firebase-functions": "^4.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tagged versions don't get picked up with ^ or >.

You might want to update this to include the tag?

"firebase-functions":  "^4.0.0 || 4.0.0-rc.0",

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we are about to release 4.0.0 anyway, I think it's safe to keep things as is.

@taeold taeold merged commit 0238e23 into master Oct 14, 2022
@taeold taeold deleted the launch.next branch October 14, 2022 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants