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-js-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: firebase@9.3.0
Choose a base ref
...
head repository: firebase/firebase-js-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: firebase@9.4.0
Choose a head ref
  • 6 commits
  • 75 files changed
  • 6 contributors

Commits on Nov 3, 2021

  1. Allow type T in WithFieldValue<T> (#5675)

    Brian Chen authored Nov 3, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    532b3cd View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6ee947d View commit details

Commits on Nov 4, 2021

  1. Merge branch 'release'

    Feiyang1 committed Nov 4, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ee440a8 View commit details
  2. [Auth] Add tabindex=-1 to iframe to fix issue with aria-hidden (#5700)

    * Add tabindex=-1 to iframe to fix issue with aria-hidden
    
    * Add changeset
    sam-gc authored Nov 4, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    dbd54f7 View commit details

Commits on Nov 8, 2021

  1. Update build scripts to work with exports (#5708)

    * fix standalone build
    
    * add missing entry points to exports
    
    * Create spotty-ducks-buy.md
    
    * add fields back
    
    * use the same name in all places
    Feiyang1 authored Nov 8, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3281315 View commit details
  2. Version Packages (#5710)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    google-oss-bot and github-actions[bot] authored Nov 8, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1fb84c6 View commit details
Showing with 760 additions and 208 deletions.
  1. +4 −4 common/api-review/firestore-lite.api.md
  2. +4 −4 common/api-review/firestore.api.md
  3. +14 −14 integration/compat-interop/package.json
  4. +1 −1 integration/firebase/package.json
  5. +2 −2 integration/firestore/package.json
  6. +1 −1 integration/messaging/package.json
  7. +11 −0 packages/analytics-compat/CHANGELOG.md
  8. +6 −5 packages/analytics-compat/package.json
  9. +12 −0 packages/analytics/CHANGELOG.md
  10. +7 −6 packages/analytics/package.json
  11. +12 −0 packages/app-check-compat/CHANGELOG.md
  12. +7 −6 packages/app-check-compat/package.json
  13. +11 −0 packages/app-check/CHANGELOG.md
  14. +6 −5 packages/app-check/package.json
  15. +12 −0 packages/app-compat/CHANGELOG.md
  16. +9 −6 packages/app-compat/package.json
  17. +1 −1 packages/app-compat/rollup.config.js
  18. +11 −0 packages/app/CHANGELOG.md
  19. +5 −4 packages/app/package.json
  20. +11 −0 packages/auth-compat/CHANGELOG.md
  21. +6 −5 packages/auth-compat/package.json
  22. +13 −0 packages/auth/CHANGELOG.md
  23. +7 −5 packages/auth/package.json
  24. +1 −0 packages/auth/src/platform_browser/iframe/iframe.test.ts
  25. +2 −1 packages/auth/src/platform_browser/iframe/iframe.ts
  26. +9 −0 packages/component/CHANGELOG.md
  27. +3 −2 packages/component/package.json
  28. +13 −0 packages/database-compat/CHANGELOG.md
  29. +8 −7 packages/database-compat/package.json
  30. +1 −1 packages/database-compat/rollup.config.js
  31. +7 −0 packages/database-types/CHANGELOG.md
  32. +2 −2 packages/database-types/package.json
  33. +11 −0 packages/database/CHANGELOG.md
  34. +7 −5 packages/database/package.json
  35. +36 −0 packages/firebase/CHANGELOG.md
  36. +2 −2 packages/firebase/compat/rollup.config.js
  37. +25 −25 packages/firebase/package.json
  38. +11 −0 packages/firestore-compat/CHANGELOG.md
  39. +6 −5 packages/firestore-compat/package.json
  40. +15 −0 packages/firestore/CHANGELOG.md
  41. +9 −7 packages/firestore/package.json
  42. +14 −10 packages/firestore/src/lite-api/reference.ts
  43. +166 −2 packages/firestore/test/lite/integration.test.ts
  44. +11 −0 packages/functions-compat/CHANGELOG.md
  45. +6 −5 packages/functions-compat/package.json
  46. +10 −0 packages/functions/CHANGELOG.md
  47. +5 −4 packages/functions/package.json
  48. +11 −0 packages/installations-compat/CHANGELOG.md
  49. +6 −5 packages/installations-compat/package.json
  50. +10 −0 packages/installations/CHANGELOG.md
  51. +5 −4 packages/installations/package.json
  52. +6 −0 packages/logger/CHANGELOG.md
  53. +2 −1 packages/logger/package.json
  54. +11 −0 packages/messaging-compat/CHANGELOG.md
  55. +6 −5 packages/messaging-compat/package.json
  56. +11 −0 packages/messaging/CHANGELOG.md
  57. +6 −5 packages/messaging/package.json
  58. +12 −0 packages/performance-compat/CHANGELOG.md
  59. +7 −6 packages/performance-compat/package.json
  60. +12 −0 packages/performance/CHANGELOG.md
  61. +7 −6 packages/performance/package.json
  62. +12 −0 packages/remote-config-compat/CHANGELOG.md
  63. +7 −6 packages/remote-config-compat/package.json
  64. +12 −0 packages/remote-config/CHANGELOG.md
  65. +7 −6 packages/remote-config/package.json
  66. +11 −0 packages/storage-compat/CHANGELOG.md
  67. +7 −6 packages/storage-compat/package.json
  68. +10 −0 packages/storage/CHANGELOG.md
  69. +6 −5 packages/storage/package.json
  70. +8 −0 packages/template/CHANGELOG.md
  71. +3 −2 packages/template/package.json
  72. +6 −0 packages/util/CHANGELOG.md
  73. +2 −1 packages/util/package.json
  74. +1 −0 packages/webchannel-wrapper/package.json
  75. +3 −3 repo-scripts/size-analysis/package.json
8 changes: 4 additions & 4 deletions common/api-review/firestore-lite.api.md
Original file line number Diff line number Diff line change
@@ -204,9 +204,9 @@ export function orderBy(fieldPath: string | FieldPath, directionStr?: OrderByDir
export type OrderByDirection = 'desc' | 'asc';

// @public
export type PartialWithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
export type PartialWithFieldValue<T> = Partial<T> | (T extends Primitive ? T : T extends {} ? {
[K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue;
} : Partial<T>;
} : never);

// @public
export type Primitive = string | number | boolean | undefined | null;
@@ -352,9 +352,9 @@ export function where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value
export type WhereFilterOp = '<' | '<=' | '==' | '!=' | '>=' | '>' | 'array-contains' | 'in' | 'array-contains-any' | 'not-in';

// @public
export type WithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
export type WithFieldValue<T> = T | (T extends Primitive ? T : T extends {} ? {
[K in keyof T]: WithFieldValue<T[K]> | FieldValue;
} : Partial<T>;
} : never);

// @public
export class WriteBatch {
8 changes: 4 additions & 4 deletions common/api-review/firestore.api.md
Original file line number Diff line number Diff line change
@@ -328,9 +328,9 @@ export function orderBy(fieldPath: string | FieldPath, directionStr?: OrderByDir
export type OrderByDirection = 'desc' | 'asc';

// @public
export type PartialWithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
export type PartialWithFieldValue<T> = Partial<T> | (T extends Primitive ? T : T extends {} ? {
[K in keyof T]?: PartialWithFieldValue<T[K]> | FieldValue;
} : Partial<T>;
} : never);

// @public
export interface PersistenceSettings {
@@ -504,9 +504,9 @@ export function where(fieldPath: string | FieldPath, opStr: WhereFilterOp, value
export type WhereFilterOp = '<' | '<=' | '==' | '!=' | '>=' | '>' | 'array-contains' | 'in' | 'array-contains-any' | 'not-in';

// @public
export type WithFieldValue<T> = T extends Primitive ? T : T extends {} ? {
export type WithFieldValue<T> = T | (T extends Primitive ? T : T extends {} ? {
[K in keyof T]: WithFieldValue<T[K]> | FieldValue;
} : Partial<T>;
} : never);

// @public
export class WriteBatch {
28 changes: 14 additions & 14 deletions integration/compat-interop/package.json
Original file line number Diff line number Diff line change
@@ -8,20 +8,20 @@
"test:debug": "karma start --browsers Chrome --auto-watch"
},
"dependencies": {
"@firebase/app": "0.7.6",
"@firebase/app-compat": "0.1.7",
"@firebase/analytics": "0.7.3",
"@firebase/analytics-compat": "0.1.4",
"@firebase/auth": "0.19.1",
"@firebase/auth-compat": "0.2.1",
"@firebase/functions": "0.7.4",
"@firebase/functions-compat": "0.1.5",
"@firebase/messaging": "0.9.3",
"@firebase/messaging-compat": "0.1.3",
"@firebase/performance": "0.5.3",
"@firebase/performance-compat": "0.1.3",
"@firebase/remote-config": "0.3.2",
"@firebase/remote-config-compat": "0.1.3"
"@firebase/app": "0.7.7",
"@firebase/app-compat": "0.1.8",
"@firebase/analytics": "0.7.4",
"@firebase/analytics-compat": "0.1.5",
"@firebase/auth": "0.19.2",
"@firebase/auth-compat": "0.2.2",
"@firebase/functions": "0.7.5",
"@firebase/functions-compat": "0.1.6",
"@firebase/messaging": "0.9.4",
"@firebase/messaging-compat": "0.1.4",
"@firebase/performance": "0.5.4",
"@firebase/performance-compat": "0.1.4",
"@firebase/remote-config": "0.3.3",
"@firebase/remote-config-compat": "0.1.4"
},
"devDependencies": {
"typescript": "4.2.2"
2 changes: 1 addition & 1 deletion integration/firebase/package.json
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test"
},
"devDependencies": {
"firebase": "9.3.0",
"firebase": "9.4.0",
"@types/chai": "4.2.22",
"@types/mocha": "9.0.0",
"chai": "4.3.4",
4 changes: 2 additions & 2 deletions integration/firestore/package.json
Original file line number Diff line number Diff line change
@@ -14,8 +14,8 @@
"test:memory:debug": "yarn build:memory; karma start --auto-watch --browsers Chrome"
},
"devDependencies": {
"@firebase/app": "0.7.6",
"@firebase/firestore-compat": "0.1.6",
"@firebase/app": "0.7.7",
"@firebase/firestore-compat": "0.1.7",
"@types/mocha": "9.0.0",
"gulp": "4.0.2",
"gulp-filter": "7.0.0",
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
"test:manual": "mocha --exit"
},
"devDependencies": {
"firebase": "9.3.0",
"firebase": "9.4.0",
"chai": "4.3.4",
"chromedriver": "94.0.0",
"express": "4.17.1",
11 changes: 11 additions & 0 deletions packages/analytics-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @firebase/analytics-compat

## 0.1.5

### Patch Changes

- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field

- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
- @firebase/analytics@0.7.4
- @firebase/component@0.5.9
- @firebase/util@1.4.2

## 0.1.4

### Patch Changes
11 changes: 6 additions & 5 deletions packages/analytics-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/analytics-compat",
"version": "0.1.4",
"version": "0.1.5",
"description": "",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
@@ -10,6 +10,7 @@
"exports": {
".": {
"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm.js",
"default": "./dist/esm/index.esm2017.js"
},
"./package.json": "./package.json"
@@ -22,7 +23,7 @@
"@firebase/app-compat": "0.x"
},
"devDependencies": {
"@firebase/app-compat": "0.1.7",
"@firebase/app-compat": "0.1.8",
"rollup": "2.57.0",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.30.0",
@@ -51,10 +52,10 @@
},
"typings": "dist/src/index.d.ts",
"dependencies": {
"@firebase/component": "0.5.8",
"@firebase/analytics": "0.7.3",
"@firebase/component": "0.5.9",
"@firebase/analytics": "0.7.4",
"@firebase/analytics-types": "0.7.0",
"@firebase/util": "1.4.1",
"@firebase/util": "1.4.2",
"tslib": "^2.1.0"
},
"nyc": {
12 changes: 12 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @firebase/analytics

## 0.7.4

### Patch Changes

- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field

- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
- @firebase/component@0.5.9
- @firebase/installations@0.5.4
- @firebase/logger@0.3.2
- @firebase/util@1.4.2

## 0.7.3

### Patch Changes
13 changes: 7 additions & 6 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/analytics",
"version": "0.7.3",
"version": "0.7.4",
"description": "A analytics package for new firebase packages",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
@@ -10,6 +10,7 @@
"exports": {
".": {
"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm.js",
"default": "./dist/esm/index.esm2017.js"
},
"./package.json": "./package.json"
@@ -38,15 +39,15 @@
"@firebase/app": "0.x"
},
"dependencies": {
"@firebase/installations": "0.5.3",
"@firebase/logger": "0.3.1",
"@firebase/util": "1.4.1",
"@firebase/component": "0.5.8",
"@firebase/installations": "0.5.4",
"@firebase/logger": "0.3.2",
"@firebase/util": "1.4.2",
"@firebase/component": "0.5.9",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.7.6",
"@firebase/app": "0.7.7",
"rollup": "2.57.0",
"@rollup/plugin-commonjs": "21.0.0",
"@rollup/plugin-json": "4.1.0",
12 changes: 12 additions & 0 deletions packages/app-check-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @firebase/app-check-compat

## 0.2.1

### Patch Changes

- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field

- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
- @firebase/app-check@0.5.1
- @firebase/component@0.5.9
- @firebase/logger@0.3.2
- @firebase/util@1.4.2

## 0.2.0

### Minor Changes
13 changes: 7 additions & 6 deletions packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app-check-compat",
"version": "0.2.0",
"version": "0.2.1",
"description": "A compat App Check package for new firebase packages",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
@@ -10,6 +10,7 @@
"exports": {
".": {
"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm.js",
"default": "./dist/esm/index.esm2017.js"
},
"./package.json": "./package.json"
@@ -33,15 +34,15 @@
"@firebase/app-compat": "0.x"
},
"dependencies": {
"@firebase/app-check": "0.5.0",
"@firebase/logger": "0.3.1",
"@firebase/util": "1.4.1",
"@firebase/component": "0.5.8",
"@firebase/app-check": "0.5.1",
"@firebase/logger": "0.3.2",
"@firebase/util": "1.4.2",
"@firebase/component": "0.5.9",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.1.7",
"@firebase/app-compat": "0.1.8",
"rollup": "2.57.0",
"@rollup/plugin-commonjs": "21.0.0",
"@rollup/plugin-json": "4.1.0",
11 changes: 11 additions & 0 deletions packages/app-check/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @firebase/app-check

## 0.5.1

### Patch Changes

- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field

- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
- @firebase/component@0.5.9
- @firebase/logger@0.3.2
- @firebase/util@1.4.2

## 0.5.0

### Minor Changes
11 changes: 6 additions & 5 deletions packages/app-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app-check",
"version": "0.5.0",
"version": "0.5.1",
"description": "The App Check component of the Firebase JS SDK",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
@@ -10,6 +10,7 @@
"exports": {
".": {
"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm.js",
"default": "./dist/esm/index.esm2017.js"
},
"./package.json": "./package.json"
@@ -36,14 +37,14 @@
"@firebase/app": "0.x"
},
"dependencies": {
"@firebase/util": "1.4.1",
"@firebase/component": "0.5.8",
"@firebase/logger": "0.3.1",
"@firebase/util": "1.4.2",
"@firebase/component": "0.5.9",
"@firebase/logger": "0.3.2",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.7.6",
"@firebase/app": "0.7.7",
"rollup": "2.57.0",
"@rollup/plugin-commonjs": "21.0.0",
"@rollup/plugin-json": "4.1.0",
12 changes: 12 additions & 0 deletions packages/app-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @firebase/app-compat

## 0.1.8

### Patch Changes

- [`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a) [#5708](https://github.com/firebase/firebase-js-sdk/pull/5708) (fixes [#1487](https://github.com/firebase/firebase-js-sdk/issues/1487)) - Update build scripts to work with the exports field

- Updated dependencies [[`3281315fa`](https://github.com/firebase/firebase-js-sdk/commit/3281315fae9c6f535f9d5052ee17d60861ea569a)]:
- @firebase/app@0.7.7
- @firebase/component@0.5.9
- @firebase/logger@0.3.2
- @firebase/util@1.4.2

## 0.1.7

### Patch Changes
15 changes: 9 additions & 6 deletions packages/app-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"name": "@firebase/app-compat",
"version": "0.1.7",
"version": "0.1.8",
"description": "The primary entrypoint to the Firebase JS SDK",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
"browser": "dist/esm/index.esm2017.js",
"module": "dist/esm/index.esm2017.js",
"esm5": "dist/esm/index.esm5.js",
"lite": "dist/index.lite.js",
"lite-esm5": "dist/index.lite.esm5.js",
"liteesm5": "dist/index.lite.esm5.js",
"exports": {
".": {
"require": "./dist/index.cjs.js",
"esm5": "./dist/esm/index.esm5.js",
"lite": "./dist/index.lite.js",
"liteesm5": "./dist/index.lite.esm5.js",
"default": "./dist/esm/index.esm2017.js"
},
"./package.json": "./package.json"
@@ -36,10 +39,10 @@
},
"license": "Apache-2.0",
"dependencies": {
"@firebase/app": "0.7.6",
"@firebase/util": "1.4.1",
"@firebase/logger": "0.3.1",
"@firebase/component": "0.5.8",
"@firebase/app": "0.7.7",
"@firebase/util": "1.4.2",
"@firebase/logger": "0.3.2",
"@firebase/component": "0.5.9",
"tslib": "^2.1.0"
},
"devDependencies": {
2 changes: 1 addition & 1 deletion packages/app-compat/rollup.config.js
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ const esmBuilds = [
{
input: 'src/index.lite.ts',
output: {
file: pkg['lite-esm5'],
file: pkg['liteesm5'],
format: 'es',
sourcemap: true
},
Loading