Releases: firebase/firebase-functions-test
Releases · firebase/firebase-functions-test
v2.1.0
Breaking Improvements
- Generated CloudEvents will use the user-provided Partial to infer other fields. #146
- For storage events, updating the Partial's
bucket
will update:data.bucket
- Parts of
source
,data.selfLink
,data.id
- For PubSub events, updating the Partial's
data.message.json
will:- generate a new base64 string for
data.message.data
- (But a user-provided
data.message.data
still takes priority)
- (But a user-provided
- generate a new base64 string for
- For storage events, updating the Partial's
Full list of Changes
- Update to README.md to include more samples #143
- Add top-level bucket field to Mock Storage CloudEvents #145
- Delete .travis.yml #120
- Add CI for firebase-functions-test #147
- Refactor MockCloudEvent generation to include user partial #146
- Unit tests for MockCloudEvent generation refactor #150
- Updated Dependencies
v2.0.2
v2.0.1
- Make WrappedFunction curry type info (#138)
- Update to
[email protected]
to include updated typing (#139)
v2.0.0
- Try to extract context.params from triggered data pull request
- Implement firebase-functions-test wrapV2 pull request
- Update minimum Node version to v14 pull request
v0.3.3
v0.3.2
- Fix problem with missing import in the firebase-functions SDK
v0.3.1
- Add support for GeoPoints in Firestore tests
- Improve error message for unsupported types in Firestore tests
v0.3.0
v0.2.3
- Fixes a bug where
functions.config()
would return old config values ifprocess.env.CLOUD_RUNTIME_CONFIG
was changed after the first call tofunctions.config()
.