Skip to content

Releases: firebase/firebase-functions-test

v3.2.0

09 Apr 01:21
Compare
Choose a tag to compare
  • Add support for testing Firestore 2nd gen Auth Context triggers. (#227)

v3.1.1

20 Jan 02:22
Compare
Choose a tag to compare
  • Extend support for firebase-admin@12 (#220)

v3.1.0

17 Apr 20:53
Compare
Choose a tag to compare
  • Add testing support for 2nd gen firestore triggers (#200).

v3.0.0

17 Oct 15:02
Compare
Choose a tag to compare

BREAKING

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

v2.4.0

08 Sep 20:12
Compare
Choose a tag to compare
  • Add support for Params (#168)
  • Use conditional typing for defining the right set of options (#166)
  • Bump ts-deepmerge from 2.0.1 to 2.0.2 (#161)

v2.3.0

09 Aug 16:12
Compare
Choose a tag to compare
  • Add MockCloudEvents for RTDB-V2 (#156)
  • Update Rtdb test sdk to allow json for Mock CloudEvents (#159)

v2.2.0

24 May 18:51
Compare
Choose a tag to compare
  • Add >=jest@28 as a peerDependency (#152)

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
  • Make WrappedFunction curry type info (#138)
  • Update to firebase-functions@2.21 to include updated typing (#139)