Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: firebase/firebase-functions-test
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.0
Choose a base ref
...
head repository: firebase/firebase-functions-test
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.0
Choose a head ref
  • 4 commits
  • 4 files changed
  • 2 contributors

Commits on May 19, 2022

  1. Copy the full SHA
    2869f57 View commit details

Commits on May 24, 2022

  1. Add >=jest@28 as a peerDep (#152)

    * Add >=jest@28 as a peerDep
    
    This commit adds a peerDep of >=jest@28.
    
    jest@28 includes jestjs/jest#11961, which
    supports `exports` in `package.json`.
    
    Without this, jest users that use jest@27 or below will throw an error
    when firebase-functions-test attempts to import several named exports.
    TheIronDev authored May 24, 2022
    Copy the full SHA
    d49e709 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    cb34c71 View commit details
  3. 2.2.0

    google-oss-bot committed May 24, 2022

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    15bfd4c View commit details
Showing with 17,238 additions and 9,057 deletions.
  1. +1 −24 CHANGELOG.md
  2. +17,229 −9,027 package-lock.json
  3. +5 −4 package.json
  4. +3 −2 spec/integration/providers/firestore.spec.ts
25 changes: 1 addition & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1 @@
## Breaking Improvements

- Generated CloudEvents will use the user-provided Partial<CloudEvent> 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
- Add >=jest@28 as a peerDependency (#152)
Loading