Skip to content

Releases: firebase/firebase-functions-test

v2.1.0

19 May 16:04
Compare
Choose a tag to compare

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)

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
    • Bump plist from 3.0.1 to 3.0.5 #132
    • Bump minimist from 1.2.5 to 1.2.6 #129
    • Bump path-parse from 1.0.6 to 1.0.7 #115
    • Bump pathval from 1.1.0 to 1.1.1 #127
    • Bump glob-parent from 5.1.1 to 5.1.2 #103
    • Bump ws from 7.3.1 to 7.5.7 #133

v2.0.2

10 May 13:50
Compare
Choose a tag to compare
  • Fix Compiler error after update to v2.0.0 (#141)

v2.0.1

06 May 18:56
Compare
Choose a tag to compare

v2.0.0

04 May 21:08
Compare
Choose a tag to compare

v0.3.3

06 Oct 22:36
Compare
Choose a tag to compare
  • Allow setting context.app in wrapped callable functions (#123).

v0.3.2

16 Aug 16:37
Compare
Choose a tag to compare
  • Fix problem with missing import in the firebase-functions SDK

v0.3.1

02 Aug 18:42
Compare
Choose a tag to compare
  • Add support for GeoPoints in Firestore tests
  • Improve error message for unsupported types in Firestore tests

v0.3.0

04 Jun 03:47
Compare
Choose a tag to compare
  • Remove support for crashlytics (#98)

v0.2.3

26 Oct 18:40
Compare
Choose a tag to compare
  • Fixes a bug where functions.config() would return old config values if process.env.CLOUD_RUNTIME_CONFIG was changed after the first call to functions.config().

v0.2.2

03 Sep 19:36
Compare
Choose a tag to compare
  • Adds clearFirestoreData to clear all Firestore data in the Firestore emulator (#71).
  • Adds ability to create DataSnapshots for multiple RTDB instances (#72).