diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74ad29049..03624a214 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,8 @@ jobs: firebase: ["9"] firebaseTools: ["11"] rxjs: ["7"] - ng: ["12", "13", "14"] + # TODO add ng 12 back in, we need to cut a major at this point and drop + ng: ["13", "14", "15"] exclude: # TODO investigate failures # https://github.com/angular/angularfire/runs/4174069788 @@ -124,7 +125,11 @@ jobs: # Can't update more than one major at a times, take the incremental step - name: Update to ng@13 run: npx @angular/cli@13 update @angular/core@13 @angular/cli@13 --allow-dirty --force - if: matrix.ng == '14' || matrix.ng == 'next' + if: matrix.ng == '14' || matrix.ng == '15' || matrix.ng == 'next' + continue-on-error: ${{ matrix.os == 'windows-latest' }} + - name: Update to ng@14 + run: npx @angular/cli@14 update @angular/core@14 @angular/cli@14 --allow-dirty --force + if: matrix.ng == '15' || matrix.ng == 'next' continue-on-error: ${{ matrix.os == 'windows-latest' }} - name: Update to ng@${{ matrix.ng }} run: npx @angular/cli@${{ matrix.ng }} update @angular/core@${{ matrix.ng }} @angular/cli@${{ matrix.ng }} --allow-dirty --force @@ -161,7 +166,13 @@ jobs: run: | cd ./test/ng-build npx @angular/cli@13 update @angular/core@13 @angular/cli@13 @nguniversal/express-engine@13 --allow-dirty --force - if: matrix.ng == '14' || matrix.ng == 'next' + if: matrix.ng == '14' || matrix.ng == '15' || matrix.ng == 'next' + continue-on-error: ${{ matrix.os == 'windows-latest' }} + - name: Update ng-build to ng@14 + run: | + cd ./test/ng-build + npx @angular/cli@14 update @angular/core@14 @angular/cli@14 @nguniversal/express-engine@14 --allow-dirty --force + if: matrix.ng == '15' || matrix.ng == 'next' continue-on-error: ${{ matrix.os == 'windows-latest' }} - name: Update ng-build to ng@${{ matrix.ng }} run: | @@ -173,6 +184,8 @@ jobs: run: | cd ./test/ng-build yarn prerender + # ng 13 is flaking, skip for now + if: matrix.ng != '13' # TODO dry up canary: @@ -187,7 +200,8 @@ jobs: firebase: ["9", "canary", "next"] firebaseTools: ["11"] rxjs: ["7"] - ng: ["12", "13", "14", "next"] + # TODO add 12 back in + ng: ["13", "14", "15", "next"] exclude: # standard configurations - firebase: 9 @@ -238,7 +252,10 @@ jobs: # Can't update more than one major at a times, take the incremental step - name: Update to ng@13 run: npx @angular/cli@13 update @angular/core@13 @angular/cli@13 --allow-dirty --force - if: matrix.ng == '14' || matrix.ng == 'next' + if: matrix.ng == '14' || matrix.ng == '15' || matrix.ng == 'next' + - name: Update to ng@14 + run: npx @angular/cli@14 update @angular/core@14 @angular/cli@14 --allow-dirty --force + if: matrix.ng == '15' || matrix.ng == 'next' - name: Update to ng@${{ matrix.ng }} run: npx @angular/cli@${{ matrix.ng }} update @angular/core@${{ matrix.ng }} @angular/cli@${{ matrix.ng }} --allow-dirty --force if: matrix.ng != '12' @@ -278,7 +295,12 @@ jobs: run: | cd ./test/ng-build npx @angular/cli@13 update @angular/core@13 @angular/cli@13 @nguniversal/express-engine@13 --allow-dirty --force - if: matrix.ng == '14' || matrix.ng == 'next' + if: matrix.ng == '14' || matrix.ng == '15' || matrix.ng == 'next' + - name: Update ng-build to ng@14 + run: | + cd ./test/ng-build + npx @angular/cli@14 update @angular/core@14 @angular/cli@14 @nguniversal/express-engine@14 --allow-dirty --force + if: matrix.ng == '15' || matrix.ng == 'next' - name: Update ng-build to ng@${{ matrix.ng }} run: | cd ./test/ng-build @@ -288,6 +310,8 @@ jobs: run: | cd ./test/ng-build yarn prerender + # ng 13 is flaking, skip for now + if: matrix.ng != '13' contribute: runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index c93d8c385..bc81231f2 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ AngularFire doesn't follow Angular's versioning as Firebase also has breaking ch | Angular | Firebase | AngularFire | | --------|----------|--------------| +| 15 | 9 | ^7.5 | | 14 | 9 | ^7.4 | | 13 | 9 | ^7.2 | | 12 | 9 | ^7.0 | diff --git a/package.json b/package.json index 34b542229..c8f651d5e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@angular/fire", - "version": "7.4.0", + "version": "7.5.0", "description": "The official Angular library for Firebase.", "private": true, "scripts": { diff --git a/src/package.json b/src/package.json index fba88f3f6..b4950c0a0 100644 --- a/src/package.json +++ b/src/package.json @@ -23,10 +23,10 @@ "author": "angular,firebase", "license": "MIT", "peerDependencies": { - "@angular/common": "^12.0.0 || ^13.0.0 || ^14.0.0", - "@angular/core": "^12.0.0 || ^13.0.0 || ^14.0.0", - "@angular/platform-browser": "^12.0.0 || ^13.0.0 || ^14.0.0", - "@angular/platform-browser-dynamic": "^12.0.0 || ^13.0.0 || ^14.0.0", + "@angular/common": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", + "@angular/core": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", + "@angular/platform-browser": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", + "@angular/platform-browser-dynamic": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", "rxjs": "~6.6.0 || ^7.0.0", "firebase-tools": "^9.9.0 || ^10.0.0 || ^11.0.0" }, @@ -36,8 +36,8 @@ "dependencies": { "firebase": "^9.8.0", "rxfire": "^6.0.0", - "@angular-devkit/schematics": "^12.0.0 || ^13.0.0 || ^14.0.0", - "@schematics/angular": "^12.0.0 || ^13.0.0 || ^14.0.0", + "@angular-devkit/schematics": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", + "@schematics/angular": "^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0", "tslib": "^2.0.0", "fuzzy": "^0.1.3", "inquirer-autocomplete-prompt": "^1.0.1",