Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
b34b218
feat(core): Upgrade to Firebase v9 & more (#2770)
davideast Aug 19, 2021
05d6014
docs(firestore): fix type in example (#2843)
obumnwabude Aug 19, 2021
b86bae7
chore(release): Release candidate (#2894)
jamesdaniels Aug 19, 2021
79b4c4b
docs(messaging): Typo (#2887)
Aug 20, 2021
fc4a1f4
chore(release): rc.1 (#2896)
jamesdaniels Aug 20, 2021
338da72
chore(release): Release v7 (#2898)
jamesdaniels Aug 25, 2021
4f538db
docs(upgrade): Fix typo initalizeApp -> initializeApp (#2904)
kirjs Aug 28, 2021
b32f463
docs(upgrade): Fix typo: AngularFire -> AngularFireModule (#2905)
kirjs Aug 30, 2021
7875df9
chore(release): 7.0.1 (#2908)
jamesdaniels Aug 30, 2021
9eca578
chore(release): 7.0.2 (#2911)
jamesdaniels Aug 31, 2021
b387b33
chore(schematics): Updated id to $id (#2831)
odenman250 Sep 1, 2021
db76d50
docs(getting-started): `/compat` missing from firebase import (#2917)
syamanashi Sep 1, 2021
b36b6a7
chore(release): 7.0.3 (#2915)
jamesdaniels Sep 2, 2021
6a652df
docs(firestore): Typo (#2849)
kwhjvdkamp Sep 2, 2021
b0e147e
fix(perf): AFP should not error in Jest #2813 (#2920)
jamesdaniels Sep 2, 2021
2788980
chore(): Fix build in windows and test build/node in different OSes (…
jamesdaniels Sep 2, 2021
c006da8
fix(compat/database): Zone should be destabilized on get (#2923)
jamesdaniels Sep 7, 2021
9071faa
fix(schematics): ng upgrade when e2e is present, fixes #2924 (#2927)
jamesdaniels Sep 7, 2021
b22c824
chore(release): Release 7.0.4 (#2928)
jamesdaniels Sep 7, 2021
402f3ff
chore(samples): Flushing out samples (#2933)
jamesdaniels Sep 9, 2021
061d44e
chore(samples): Moving all samples to emulators, simplifying (#2938)
jamesdaniels Sep 9, 2021
5ba20c7
chore(sample): Update deps, fixes compat issues #2932 (#2939)
jamesdaniels Sep 10, 2021
337116f
feat(app-check): Support Firebase AppCheck (#2940)
jamesdaniels Sep 11, 2021
405f0fd
chore(samples): Cleanup provideAppCheck (#2941)
jamesdaniels Sep 11, 2021
3277cf2
docs(upgrade): fix typos (#2930)
Meistercoach83 Sep 11, 2021
d6cfe16
feat(multiple): Minor additions (#2921)
jamesdaniels Sep 11, 2021
72d3c2e
feat(schematics): Super charge the schematics (#2836)
jamesdaniels Sep 14, 2021
b1eb567
fix(schematics): Missing deps, fixed ng add bug (#2952)
jamesdaniels Sep 14, 2021
73bde38
fixes(schematics): ng add/deploy universal fixes (#2954)
jamesdaniels Sep 14, 2021
ca6eac2
feat(schematics): adding multi-user support. (#2958)
jamesdaniels Sep 14, 2021
1440fb1
feat(deploy): target support for multi-site deploy options (#2726)
hiepxanh Sep 16, 2021
8ea544b
feat(compat/storage): Adding list function (#2960)
jamesdaniels Sep 16, 2021
dd414b2
fix(schematics): Various improvements (#2961)
jamesdaniels Sep 16, 2021
d724d81
feat(core): Flushing out the new API (#2963)
jamesdaniels Oct 6, 2021
5ef9de6
chore(deps): bump object-path from 0.11.7 to 0.11.8 in /samples/advan…
dependabot[bot] Oct 6, 2021
f7ac509
chore(deps): bump nth-check from 2.0.0 to 2.0.1 in /samples/advanced …
dependabot[bot] Oct 6, 2021
fc00353
chore(deps): bump object-path from 0.11.7 to 0.11.8 in /samples/modul…
dependabot[bot] Oct 6, 2021
a758463
chore(deps): bump nth-check from 2.0.0 to 2.0.1 in /samples/modular (…
dependabot[bot] Oct 6, 2021
63ae920
chore(deps): bump nth-check from 2.0.0 to 2.0.1 (#2975)
dependabot[bot] Oct 6, 2021
197e3ff
docs(upgrade): fix import (#2997)
Albejr Oct 6, 2021
c0df294
chore(deps): More tests & mark rxjs 7 peer (#2998)
jamesdaniels Oct 7, 2021
f0b932a
chore(deps): bump semver-regex from 3.1.2 to 3.1.3 (#2971)
dependabot[bot] Oct 7, 2021
9248c3a
chore(deps): bump object-path from 0.11.7 to 0.11.8 in /samples/compa…
dependabot[bot] Oct 7, 2021
5d6d8bf
chore(deps): bump nth-check from 2.0.0 to 2.0.1 in /samples/compat (#…
dependabot[bot] Oct 7, 2021
3ae6ce5
feat(auth-guard): Adding in modular auth guards (#3001)
jamesdaniels Oct 8, 2021
236b658
chore(release): 9.1.0 (#3002)
jamesdaniels Oct 8, 2021
95edc36
chore(release): Quick fixes to 9.1.0 (#3003)
jamesdaniels Oct 8, 2021
bea9d67
chore(release): Fix hang in the test suite (#3005)
jamesdaniels Oct 8, 2021
6ed7aef
fix(schematics): Fix ng add on Windows (#3022)
jamesdaniels Oct 14, 2021
5ecf875
chore(release): 7.1.1 (#3024)
jamesdaniels Oct 18, 2021
7e931cb
fix(schematics): ng-add should pass if sourceRoot is relative to work…
AgentEnder Nov 11, 2021
bbb97de
docs(upgrade): connectFirestoreEmulator (#3041)
Pingear Nov 11, 2021
390691b
feat(core): NG13 peer (#3057)
jamesdaniels Nov 11, 2021
eeb9dcc
docs(core): Dropping ng8 & adding ng13 to readme (#3058)
jamesdaniels Nov 11, 2021
b60670c
/compat missing from firebase import (#2917) (#3048)
boragursel Jan 6, 2022
058d624
fix(schematic): use oneOf rather than array types in the deploy schem…
kfrancois Feb 7, 2022
8b693e4
fix(core): avoid referring to arguments in arrow functions (#3127)
lacolaco Feb 7, 2022
f61bc7d
fix(compat): Typescript 4.5 inference breaks the PromiseProxy (#3144)
jamesdaniels Feb 7, 2022
520930b
fix(core): Defensively catch Firebase isSupported calls (#3146)
jamesdaniels Feb 7, 2022
4852c35
fix(schematics): Address ng add console lock up (#3151)
jamesdaniels Feb 10, 2022
4a76e02
chore(release): 7.2.1 (#3152)
jamesdaniels Feb 10, 2022
4c877b1
chore(tests): Add firebase-tools 10 to the matrix (#3157)
jamesdaniels Feb 11, 2022
a6abd1d
Update Firebase, make it a dep rather than peer (#3159)
jamesdaniels Mar 23, 2022
88796bc
fix(core): added missing injector input signatures (#3191)
dereekb Apr 12, 2022
a7dd68a
docs(auth): Fixed a typo (#3185)
ksilz Apr 12, 2022
8d5bc12
docs(common): url link format from http to https updated (#3108)
alkavats1 Apr 12, 2022
3c3a343
feat(core): mark ng 14 as allowed peer (#3230)
jamesdaniels Jun 4, 2022
7d47166
chore(misc): bump deps, version, changelog, readme
jamesdaniels Jun 4, 2022
27d4bad
chore(deps): Allow firebase-tools 11 peer
jamesdaniels Jun 7, 2022
89fd6e9
build: update contributing guide to reflect branch name of `code-of-c…
devversion Jun 30, 2022
57d9005
Mark compatibility with ng 15 peer (#3291)
jamesdaniels Nov 22, 2022
1ec218a
New modular docs (#3236)
jamesdaniels Mar 18, 2023
7a2402a
Allow ng16 peer (#3361)
jamesdaniels May 27, 2023
b4c3da8
Quick fixes (#3362)
jamesdaniels May 27, 2023
4b6639d
Fixed typos in docs/auth.md (#3372)
JothishJJ Jun 22, 2023
dbbafbd
fix: remove not exported function (#3378)
HYACCCINT Jun 22, 2023
960dd59
fix: sample code with wrong reference (#3384)
asyncLucas Jun 22, 2023
bb3d922
fixes Typo in Install/Setup.md Step 4 #3337 (#3338)
hsandhar Jun 23, 2023
c169c67
Fix spelling for determine (#3349)
asithade Jun 23, 2023
59b95af
Interface Type Implementation Fix (#3358)
danielcornejo14 Jun 23, 2023
450ee6e
fix: fixes generic type exception in firestore interfaces: (#3290) (#…
eyoeldefare Jun 23, 2023
e7e6708
docs(universal): fix issues with inconsistent documentation (#3268)
yharaskrik Jun 23, 2023
fe82747
Fix code example (#3334)
leoruhland Jun 23, 2023
60943d6
fix(deploy): deploying with service account (#3396)
davideast Jun 23, 2023
8370222
Update dependencies (#3398)
davideast Jun 23, 2023
9bdd73d
#3399 Typos in docs (#3400)
KONRADS098 Jun 26, 2023
a26980b
fix: typo in docs (#3388)
KONRADS098 Jun 27, 2023
34e89a4
fix: Bundle includes unused firebase modules (#3366)
robertIsaac Jul 11, 2023
e04cd7f
Update to Angular 16, TypeScript 5, and latest Firebase SDK (#3402)
davideast Aug 28, 2023
596e208
Fix(issue 3075): bundle includes optional app check (#3413)
robertIsaac Aug 28, 2023
4172abd
add eslint (#3421)
robertIsaac Aug 29, 2023
5793d6f
Fix version range and add getCountFromServer() zone wrapped method (#…
davideast Sep 1, 2023
78407bc
AngularFire v16 (#3449)
jamesdaniels Oct 25, 2023
1350920
Standalone schematics (#3451)
jamesdaniels Oct 26, 2023
99a1bb1
Release v17 (#3471)
jamesdaniels Dec 7, 2023
6604db7
Few things (#3472)
jamesdaniels Dec 7, 2023
8157744
Default ng-deploy to production (#3474)
jamesdaniels Dec 7, 2023
73b40da
allow firebase-tools v13 peer
jamesdaniels Jan 11, 2024
3d6bb0b
Update compat.md (#3501)
jeremy-kunzhou May 14, 2024
bd18c61
Update install-and-setup.md (#3500)
erikhaddad May 14, 2024
2b0ce92
Update README.md (#3465)
estrellajm May 14, 2024
eefc2bb
Cast collectionData to avoid TS errors (#3434)
ahmetkizilay May 14, 2024
a60fe5e
fixed grammar and typo (#3428)
keshavlingala May 14, 2024
5eccebc
update docs link (#3520)
jamesdaniels May 14, 2024
c415586
docs: update firestore query api link and collection reference link(#…
sasidharansd May 14, 2024
83bc879
Update emulators.md #3308 (#3521)
jamesdaniels May 14, 2024
35ab9cc
Updating the Cloud Messaging docs for Angular Fire modular (#3516)
lukeweston1234 May 14, 2024
4d322f9
feat: provide real standalone providers (#3503)
robertIsaac May 14, 2024
1b92cb0
No longer need importProvidersFrom (#3522)
jamesdaniels May 14, 2024
05e9da2
ng-add providers (#3523)
jamesdaniels May 14, 2024
1302e3a
v17.1.0 (#3524)
jamesdaniels May 14, 2024
827a717
Doc changes (#3525)
jamesdaniels May 14, 2024
4b47014
Standlone DI in the docs (#3527)
jamesdaniels May 15, 2024
ce393ee
Update messaging.md
jamesdaniels May 15, 2024
ffd6672
Drop realtime from all the docs (#3528)
jamesdaniels May 15, 2024
1064042
FirebaseServerApp documentation (#3529)
jamesdaniels May 15, 2024
58e6c3b
VertexAI docs (#3530)
jamesdaniels May 15, 2024
c866d08
Prepping for v18 release (#3533)
jamesdaniels May 22, 2024
bfc27e2
v18 (#3534)
jamesdaniels May 22, 2024
cd18129
Bump versions
jamesdaniels May 23, 2024
3639e41
Version bump
jamesdaniels May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
src/**/firebase.ts linguist-generated=true
src/**/rxfire.ts linguist-generated=true
src/compat/**/base.ts linguist-generated=true
samples/**/* linguist-generated=true
yarn.lock linguist-generated=true
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
203 changes: 122 additions & 81 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,177 +3,218 @@ name: Test and publish
on:
push:
branches:
- "**"
- master
paths-ignore:
- "**/*.md"
pull_request:
branches:
branches:
- "**"
release:
types:
- published
schedule:
- cron: 0 0 * * 1-5

jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v3
with:
node-version: '18'
check-latest: false
- name: angular build cache
uses: actions/cache@v3
with:
node-version: '14'
path: ./.angular
key: angular-cache
- name: node_modules cache
uses: actions/cache@v2
uses: actions/cache@v3
id: node_modules_cache
with:
path: ./node_modules
key: ${{ runner.os }}-14-8-node_modules-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-18-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-14-8-node_modules-
${{ runner.os }}-14-node_modules-
- name: Yarn offline cache
if: steps.node_modules_cache.outputs.cache-hit != 'true'
uses: actions/cache@v2
with:
path: ~/.npm-packages-offline-cache
key: yarn-offline-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-offline
${{ runner.os }}-18-
- name: Install deps
if: steps.node_modules_cache.outputs.cache-hit != 'true'
run: |
yarn config set yarn-offline-mirror ~/.npm-packages-offline-cache
yarn config set yarn-offline-mirror-pruning true
yarn install --frozen-lockfile --prefer-offline
npm ci
- name: Build
id: yarn-pack-dir
run: ./tools/build.sh
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: angularfire-${{ github.run_id }}
path: dist
retention-days: 1

test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
needs: build
strategy:
matrix:
node: ["12", "14", "16"]
firebase: ["7", "8"]
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: ["18", "20"]
fail-fast: false
name: Test Firebase v${{ matrix.firebase }} on Node.js ${{ matrix.node }}
name: Test Node ${{ matrix.node }} (${{ matrix.os }})
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: node_modules cache
id: node_modules_cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ matrix.firebase }}-node_modules-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-${{ matrix.firebase }}-node_modules-
${{ runner.os }}-${{ matrix.node }}-node_modules-
- name: Yarn offline cache
${{ runner.os }}-${{ matrix.node }}-
- name: Install deps
if: steps.node_modules_cache.outputs.cache-hit != 'true'
uses: actions/cache@v2
run: npm ci
- name: Download Artifacts
uses: actions/download-artifact@v3
- name: Relocate Artifacts
run: mv angularfire-${{ github.run_id }} dist
- name: Test Node
run: |
npm run build:jasmine
npm run test:node

browser:
runs-on: ${{ matrix.os }}
needs: build
name: Test ${{ matrix.browser }}
strategy:
matrix:
os: [ ubuntu-latest ]
browser: [ chrome-headless, firefox-headless ]
# TODO(davideast): Figure out why Safari tests timeout only on CI
# include:
# - os: macos-latest
# browser: safari
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: false
- name: Setup java
uses: actions/setup-java@v3
with:
path: ~/.npm-packages-offline-cache
key: yarn-offline-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-offline
distribution: 'temurin'
java-version: '11'
- name: node_modules cache
id: node_modules_cache
uses: actions/cache@v3
with:
path: ./node_modules
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-
- name: Install deps
if: steps.node_modules_cache.outputs.cache-hit != 'true'
run: |
yarn config set yarn-offline-mirror ~/.npm-packages-offline-cache
yarn install --frozen-lockfile --prefer-offline --ignore-engines
yarn add firebase@^${{ matrix.firebase }}.0 --prefer-offline --ignore-engines
run: npm ci
- name: Firebase emulator cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/firebase/emulators
key: firebase_emulators
- name: 'Download Artifacts'
uses: actions/download-artifact@v2
- name: Run tests
run: |
mv angularfire-${{ github.run_id }} dist
yarn test:node
- name: Download Artifacts
uses: actions/download-artifact@v3
- name: Relocate Artifacts
run: mv angularfire-${{ github.run_id }} dist
- name: Test browser
run: npm run test:${{ matrix.browser }}

headless:
runs-on: ubuntu-latest
needs: build
name: Test Firebase v${{ matrix.firebase }} on Headless Chrome
contribute:
runs-on: ${{ matrix.os }}
name: Contribute Node ${{ matrix.node }} (${{ matrix.os }})
strategy:
matrix:
firebase: ["7", "8"]
os: [ ubuntu-latest, macos-latest, windows-latest ]
node: ["18"]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: ${{ matrix.node }}
check-latest: true
- name: node_modules cache
uses: actions/cache@v3
id: node_modules_cache
uses: actions/cache@v2
with:
path: ./node_modules
key: ${{ runner.os }}-14-${{ matrix.firebase }}-node_modules-${{ hashFiles('yarn.lock') }}
key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-14-${{ matrix.firebase }}-node_modules-
${{ runner.os }}-14-node_modules-
- name: Yarn offline cache
if: steps.node_modules_cache.outputs.cache-hit != 'true'
uses: actions/cache@v2
with:
path: ~/.npm-packages-offline-cache
key: yarn-offline-${{ hashFiles('**/yarn.lock') }}
restore-keys: yarn-offline
${{ runner.os }}-${{ matrix.node }}-
- name: Install deps
if: steps.node_modules_cache.outputs.cache-hit != 'true'
run: npm ci
#- name: Lint
# run: npm run lint
- name: Build
run: npm run build
- name: Test Node
run: |
yarn config set yarn-offline-mirror ~/.npm-packages-offline-cache
yarn install --frozen-lockfile --prefer-offline
yarn add firebase@^${{ matrix.firebase }}.0 --prefer-offline
npm run build:jasmine
npm run test:node
- name: Firebase emulator cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/firebase/emulators
key: firebase_emulators
- name: 'Download Artifacts'
uses: actions/download-artifact@v2
- name: Run tests
run: |
mv angularfire-${{ github.run_id }} dist
yarn test:chrome-headless
- name: Setup java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Test headless
run: npm run test:chrome-headless
# Tests are flaky on Windows
continue-on-error: ${{ matrix.os == 'windows-latest' }}

# Break the branch protection test into a seperate step, so we can manage the matrix more easily
test_and_contribute:
runs-on: ubuntu-latest
name: Branch protection
needs: ['test', 'contribute', 'browser']
steps:
- run: true

publish:
runs-on: ubuntu-latest
name: Publish (NPM)
needs: ['test', 'headless']
needs: ['build', 'test', 'browser']
if: ${{ github.ref == 'refs/heads/master' || github.event_name == 'release' }}
steps:
- name: Setup node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v3
with:
node-version: '14'
node-version: '18'
registry-url: 'https://registry.npmjs.org'
check-latest: false
- name: 'Download Artifacts'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- name: Publish
run: |
cd ./angularfire-${{ github.run_id }}/packages-dist
chmod +x publish.sh
./publish.sh
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ angularfire2-*.tgz
.DS_Store
yarn-error.log
*.bak
package-lock.json
yarn.lock
test/ng-build/**/yarn.lock
tools/build.js
coverage
*.log
api-*.json
src/**/base.ts
angularfire.tgz
unpack.sh
publish.sh
publish.sh
.firebase
.angular
.vscode
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*.spec.*
test-config.*
publish.sh
publish.sh
__ivy_ngcc__/
*.min.js
*.min.js.map
*.__ivy_ngcc_bak
Loading