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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e511ccbe38ba273fe2d95e568912052a047a7329
Choose a base ref
...
head repository: firebase/firebase-functions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 010ee5233bcc89d185fbba7e2562a267f36f0cdd
Choose a head ref

Commits on Jun 12, 2023

  1. Copy the full SHA
    c0fffcc View commit details

Commits on Jun 20, 2023

  1. Copy the full SHA
    bc21990 View commit details

Commits on Jun 26, 2023

  1. Copy the full SHA
    3e1b5ca View commit details
  2. Add features to task queue functions (#1423)

    * augment task context interface & pass in headers
    
    * update changelog
    
    * update docstrings & handle header edge cases
    blidd-google authored Jun 26, 2023
    Copy the full SHA
    aa55ea6 View commit details

Commits on Jul 10, 2023

  1. Copy the full SHA
    ba368e8 View commit details

Commits on Jul 13, 2023

  1. Wrap v2 firestore functions with trace context (#1440)

    * Wrap v2 firestore functions with trace context
    
    * Add changelog
    milo- authored Jul 13, 2023
    Copy the full SHA
    41d616f View commit details

Commits on Aug 1, 2023

  1. Removing artifacts left over from TypeDoc (#1445)

    * Adding some format and style edits for common or top-level reference pages.
    
    * Removing artifacts left over from TypeDoc.
    egilmorez authored Aug 1, 2023
    Copy the full SHA
    a70663b View commit details

Commits on Aug 22, 2023

  1. Remove HTTP server shutdown message (#1457)

    * remove shutdown msg
    blidd-google authored Aug 22, 2023
    Copy the full SHA
    3e7a4b7 View commit details

Commits on Nov 2, 2023

  1. Update node versions used in GitHub actions (#1479)

    Also bump/enable test timeouts to successfully run in node 18/20 environments.
    taeold authored Nov 2, 2023
    Copy the full SHA
    93c47e3 View commit details
  2. Fix bug where auth metadata in the auth blocking tokens are assumed t…

    …o be seconds not miliseconds (#1472)
    
    Auth metadata included in the JWT sent to Auth Blocking functions may include fields `last_sign_in_time` and `creation_time`.
    
    Values of these fields are sent as _miliseconds_ since epoch. The SDK incorrectly assumes that they are _seconds_ since epoch.
    
    Unfortunately, this information is not publicly documented, but I was able to verify the fix in production.
    
    Fixes: #1468
    taeold authored Nov 2, 2023
    Copy the full SHA
    2841ebd View commit details
  3. supporting recaptcha verdict for auth blocking functions (#1458)

    Added recaptcha support in auth blocking functions beforeCreate and beforeSignIn.  This allows developers to see the recaptcha scores for authentication actions and override the recaptcha actions.
    Xiaoshouzi-gh authored Nov 2, 2023
    Copy the full SHA
    b897b0d View commit details
  4. Copy the full SHA
    eef9882 View commit details
  5. 4.5.0

    google-oss-bot committed Nov 2, 2023
    Copy the full SHA
    c07489d View commit details
  6. Copy the full SHA
    affa64d View commit details

Commits on Nov 21, 2023

  1. Copy the full SHA
    414ff0a View commit details

Commits on Nov 28, 2023

  1. Wrap 2nd gen onCall functions with trace context (#1491)

    * wrap oncall functions with trace context
    blidd-google authored Nov 28, 2023
    Copy the full SHA
    a64fd48 View commit details

Commits on Jan 3, 2024

  1. Update the supported Admin SDK version to include v12 (#1509)

    * update admin sdk version
    
    * Add changelog.
    
    ---------
    
    Co-authored-by: Daniel Lee <taeold@gmail.com>
    nohe427 and taeold authored Jan 3, 2024
    Copy the full SHA
    1066b53 View commit details
  2. 4.6.0

    google-oss-bot committed Jan 3, 2024
    Copy the full SHA
    7af98c9 View commit details
  3. Copy the full SHA
    b661935 View commit details

Commits on Jan 26, 2024

  1. Fixes access on deeply nested, nonexistent property (#1432)

    * return null on nonexistent deeply nested property
    
    * update changelog
    
    * check specifically for undefined in val()
    
    * fix lint issue
    
    ---------
    
    Co-authored-by: Cole Rogers <colerogers@users.noreply.github.com>
    blidd-google and colerogers authored Jan 26, 2024
    Copy the full SHA
    e6f5d89 View commit details

Commits on Feb 1, 2024

  1. Add IteratedDataSnapshot interface to match with firebase admin v12 (#…

    …1517)
    
    * add IteratedDataSnapshot interface to match with firebase admin v12
    
    * rebase upstream
    colerogers authored Feb 1, 2024
    Copy the full SHA
    9bda8f7 View commit details

Commits on Feb 7, 2024

  1. Make storage bucket parameterizeable. Create const for bucket picker (#…

    …1518)
    
    * Make storage bucket parameterizeable. Create const for bucket picker
    
    * Fix linter error
    
    * Use more specific type
    
    * Remove unused import
    
    * Export types that were part of an old spec but are not available on main package
    
    * In for a penny, in for a pound
    
    * Clarify types of select/multiSelect
    
    * Changelog
    inlined authored Feb 7, 2024
    Copy the full SHA
    29fc722 View commit details
  2. 4.7.0

    google-oss-bot committed Feb 7, 2024
    Copy the full SHA
    b1090a5 View commit details
  3. Copy the full SHA
    26cd955 View commit details

Commits on Feb 8, 2024

  1. Copy the full SHA
    5a94583 View commit details

Commits on Mar 7, 2024

  1. Add startup lifecycle hook (#1531)

    * checkpoint
    
    * Finish missing tests; remove redundant v1 tests
    
    * Fix linter error
    
    * Fix import error
    
    * Add changelog; fix exports of v2/core
    inlined authored Mar 7, 2024
    Copy the full SHA
    c260c2a View commit details

Commits on Mar 8, 2024

  1. 4.8.0

    google-oss-bot committed Mar 8, 2024
    Copy the full SHA
    78afcc1 View commit details
  2. Copy the full SHA
    1ddebc2 View commit details

Commits on Mar 13, 2024

  1. Copy the full SHA
    3d8d595 View commit details

Commits on Mar 19, 2024

  1. CORS origins of an array of one are made a scalar. (#1536)

    The access-control-allowed-origins CORS header only allows
    a single origin or "*" as its response. To support multiple origins,
    the cors middleware makes this header dynamic based on the origin
    header of the request when the middleware is configured with anything
    but a single string.
    
    To help avoid a few edge cases customers may encounter, we can unwrap
    an array of one element into a scalar to encourage the cors middleware
    to make the access-control-allowed-origin header static.
    
    As a very minor performance boost, this change also instantiates the
    cors middleware once and uses it on all requests rather than
    constructing it dynamically within a request.
    inlined authored Mar 19, 2024
    Copy the full SHA
    0aaedc4 View commit details
  2. Remove infinite wrapping of withInit (#1540)

    * Remove infinite wrapping of withInit
    
    * Changelog
    inlined authored Mar 19, 2024
    Copy the full SHA
    ad6cd43 View commit details
  3. 4.8.1

    google-oss-bot committed Mar 19, 2024
    Copy the full SHA
    536f8de View commit details
  4. Copy the full SHA
    5cc6fdd View commit details

Commits on Mar 27, 2024

  1. Fix bug introduced in #1536 (#1544)

    * Fix bug introduced in #1536
    
    * Changelog
    
    * formatter
    inlined authored Mar 27, 2024
    Copy the full SHA
    f13360a View commit details
  2. Copy the full SHA
    23510f7 View commit details
  3. Copy the full SHA
    b71fea9 View commit details

Commits on Mar 29, 2024

  1. 4.8.2

    google-oss-bot committed Mar 29, 2024
    Copy the full SHA
    010ee52 View commit details
Showing with 1,974 additions and 1,540 deletions.
  1. +1 −1 .github/workflows/postmerge.yaml
  2. +2 −4 .github/workflows/test.yaml
  3. +1 −3 CHANGELOG.md
  4. +0 −8 docgen/content-sources/v1/HOME.md
  5. +0 −8 docgen/content-sources/v2/HOME.md
  6. +0 −40 docgen/theme/assets/css/firebase.css
  7. +0 −552 docgen/theme/assets/css/main.css
  8. BIN docgen/theme/assets/images/lockup.png
  9. +0 −35 docgen/theme/layouts/default.hbs
  10. +0 −11 docgen/theme/partials/breadcrumb.hbs
  11. +0 −22 docgen/theme/partials/comment.hbs
  12. +0 −23 docgen/theme/partials/header.hbs
  13. +0 −15 docgen/theme/partials/member.sources.hbs
  14. +0 −22 docgen/theme/partials/navigation.hbs
  15. +0 −72 docgen/theme/templates/reflection.hbs
  16. +445 −400 package-lock.json
  17. +6 −4 package.json
  18. +2 −2 scripts/bin-test/run.sh
  19. +44 −35 scripts/bin-test/test.ts
  20. +75 −17 spec/common/providers/identity.spec.ts
  21. +47 −2 spec/common/providers/tasks.spec.ts
  22. +29 −0 spec/v1/cloud-functions.spec.ts
  23. +2 −2 spec/v1/providers/analytics.spec.ts
  24. +1 −0 spec/v1/providers/database.spec.ts
  25. +43 −2 spec/v1/providers/https.spec.ts
  26. +8 −6 spec/v1/providers/remoteConfig.spec.ts
  27. +5 −0 spec/v1/providers/tasks.spec.ts
  28. +18 −1 spec/v2/providers/alerts/alerts.spec.ts
  29. +21 −0 spec/v2/providers/alerts/appDistribution.spec.ts
  30. +31 −0 spec/v2/providers/alerts/billing.spec.ts
  31. +11 −0 spec/v2/providers/alerts/crashlytics.spec.ts
  32. +18 −0 spec/v2/providers/alerts/performance.spec.ts
  33. +69 −0 spec/v2/providers/database.spec.ts
  34. +18 −0 spec/v2/providers/eventarc.spec.ts
  35. +180 −4 spec/v2/providers/firestore.spec.ts
  36. +74 −2 spec/v2/providers/https.spec.ts
  37. +45 −0 spec/v2/providers/identity.spec.ts
  38. +2 −2 spec/v2/providers/pubsub.spec.ts
  39. +22 −4 spec/v2/providers/remoteConfig.spec.ts
  40. +24 −0 spec/v2/providers/scheduler.spec.ts
  41. +69 −0 spec/v2/providers/storage.spec.ts
  42. +47 −0 spec/v2/providers/tasks.spec.ts
  43. +18 −0 spec/v2/providers/testLab.spec.ts
  44. +2 −1 src/bin/firebase-functions.ts
  45. +5 −5 src/common/change.ts
  46. +39 −0 src/common/onInit.ts
  47. +12 −3 src/common/params.ts
  48. +12 −1 src/common/providers/database.ts
  49. +75 −30 src/common/providers/identity.ts
  50. +82 −9 src/common/providers/tasks.ts
  51. +39 −29 src/params/index.ts
  52. +105 −47 src/params/types.ts
  53. +2 −0 src/v1/cloud-functions.ts
  54. +6 −5 src/v1/function-configuration.ts
  55. +2 −0 src/v1/index.ts
  56. +16 −10 src/v1/providers/https.ts
  57. +9 −8 src/v2/core.ts
  58. +5 −5 src/v2/index.ts
  59. +25 −21 src/v2/options.ts
  60. +2 −1 src/v2/providers/alerts/alerts.ts
  61. +3 −2 src/v2/providers/alerts/appDistribution.ts
  62. +2 −1 src/v2/providers/alerts/billing.ts
  63. +2 −1 src/v2/providers/alerts/crashlytics.ts
  64. +3 −1 src/v2/providers/alerts/performance.ts
  65. +5 −2 src/v2/providers/database.ts
  66. +2 −1 src/v2/providers/eventarc.ts
  67. +35 −23 src/v2/providers/firestore.ts
  68. +37 −11 src/v2/providers/https.ts
  69. +2 −1 src/v2/providers/identity.ts
  70. +2 −1 src/v2/providers/pubsub.ts
  71. +7 −3 src/v2/providers/remoteConfig.ts
  72. +2 −1 src/v2/providers/scheduler.ts
  73. +38 −16 src/v2/providers/storage.ts
  74. +16 −1 src/v2/providers/tasks.ts
  75. +2 −1 src/v2/providers/testLab.ts
2 changes: 1 addition & 1 deletion .github/workflows/postmerge.yaml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- uses: google-github-actions/auth@v0
with:
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -30,9 +30,8 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
@@ -51,9 +50,8 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
- Update list of supported regions for 2nd Gen Functions. (#1402)
- Fix bug where log message on structured log was being overwritten (#1416)
- Fix bug where exists() should return true for falsy values like 0, "" (#1410)
Fix bug with CORS options for an array of one string (#1544)
8 changes: 0 additions & 8 deletions docgen/content-sources/v1/HOME.md

This file was deleted.

8 changes: 0 additions & 8 deletions docgen/content-sources/v2/HOME.md

This file was deleted.

40 changes: 0 additions & 40 deletions docgen/theme/assets/css/firebase.css

This file was deleted.

Loading