Skip to content

Commit ca6eb60

Browse files
authored
Merge pull request #1297 from damienbod/fabiangosebrink/update-to-A13
Fabiangosebrink/update to a13
2 parents 9c50075 + 106644c commit ca6eb60

File tree

102 files changed

+22210
-10393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+22210
-10393
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,26 @@ jobs:
6363
sudo npm install --unsafe-perm=true
6464
sudo npm install ../angular-auth-oidc-client/dist/angular-auth-oidc-client
6565
npm test -- --watch=false --browsers=ChromeHeadless
66-
sudo npm run build -- --prod
66+
sudo npm run build
6767
68-
- name: Create new Angular Project and use the schematics to add a module
68+
- name: Create new Angular Project (RxJs 6) and use the schematics to add a module
69+
run: |
70+
cd ..
71+
echo '=== Current Directory ==='
72+
ls
73+
sudo npm install -g @angular/cli
74+
echo 'Creating new angular project'
75+
sudo ng new testProjectSchematicRxJs6 --skip-git --skip-install
76+
cd testProjectSchematicRxJs6
77+
echo '=== Current Directory ==='
78+
ls
79+
sudo npm install --unsafe-perm=true
80+
sudo npm install rxjs@6.5.3
81+
sudo ng add ../angular-auth-oidc-client/dist/angular-auth-oidc-client --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using iframe silent renew" --use-local-package=true --skip-confirmation
82+
npm test -- --watch=false --browsers=ChromeHeadless
83+
sudo npm run build
84+
85+
- name: Create new Angular Project (RxJs 7) and use the schematics to add a module
6986
run: |
7087
cd ..
7188
echo '=== Current Directory ==='
@@ -77,6 +94,6 @@ jobs:
7794
echo '=== Current Directory ==='
7895
ls
7996
sudo npm install --unsafe-perm=true
80-
sudo ng add ../angular-auth-oidc-client/dist/angular-auth-oidc-client --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using iframe silent renew" --skip-confirmation
97+
sudo ng add ../angular-auth-oidc-client/dist/angular-auth-oidc-client --authority-url-or-tenant-id "my-authority-url" --flow-type "OIDC Code Flow PKCE using iframe silent renew" --use-local-package=true --skip-confirmation
8198
npm test -- --watch=false --browsers=ChromeHeadless
82-
sudo npm run build -- --prod
99+
sudo npm run build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ speed-measure-plugin*.json
3232
.history/*
3333

3434
# misc
35+
/.angular/cache
3536
/.sass-cache
3637
/connect.lock
3738
/coverage

.vscode/settings.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,18 @@
2323
"[less]": {
2424
"editor.defaultFormatter": "esbenp.prettier-vscode"
2525
},
26-
"cSpell.words": ["Authorisation", "autologin", "azuread", "jwtkeys", "oidc", "openid"]
26+
"cSpell.words": [
27+
"Authorisation",
28+
"autologin",
29+
"azuread",
30+
"jwtkeys",
31+
"oidc",
32+
"openid"
33+
],
34+
"markdownlint.config": {
35+
"MD028": false,
36+
"MD025": {
37+
"front_matter_title": ""
38+
}
39+
}
2740
}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Angular Lib for OpenID Connect/OAuth2 Changelog
22

3+
### 2021-11-19 13.0.0
4+
5+
- Update to Angular 13 and rxjs 7
6+
37
### 2021-08-17 12.0.3
48

59
- docs(guards): use UrlTree for redirect, clean up

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ const httpOptions = {
161161

162162
## Versions
163163

164-
Current Version is Version 12.x
164+
Current Version is Version 13.x
165165

166+
- [Info about Version 12](https://github.com/damienbod/angular-auth-oidc-client/tree/version-12)
166167
- [Info about Version 11](https://github.com/damienbod/angular-auth-oidc-client/tree/version-11)
167168
- [Info about Version 10](https://github.com/damienbod/angular-auth-oidc-client/tree/version-10)
168169

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ currently being supported with security updates.
77

88
| Version | Supported |
99
| ------- | ------------------ |
10+
| 13.x | :white_check_mark: |
1011
| 12.x | :white_check_mark: |
11-
| 11.x | :white_check_mark: |
12-
| < 11 | :x: |
12+
| < 12 | :x: |
1313

1414
## Reporting a Vulnerability
1515

angular.json

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
"sourceMap": true,
102102
"namedChunks": true
103103
}
104-
}
104+
},
105+
"defaultConfiguration": "production"
105106
},
106107
"serve": {
107108
"builder": "@angular-devkit/build-angular:dev-server",
@@ -1777,17 +1778,6 @@
17771778
"scripts": []
17781779
}
17791780
},
1780-
"lint": {
1781-
"builder": "@angular-devkit/build-angular:tslint",
1782-
"options": {
1783-
"tsConfig": [
1784-
"projects/sample-code-flow-popup/tsconfig.app.json",
1785-
"projects/sample-code-flow-popup/tsconfig.spec.json",
1786-
"projects/sample-code-flow-popup/e2e/tsconfig.json"
1787-
],
1788-
"exclude": ["**/node_modules/**"]
1789-
}
1790-
},
17911781
"e2e": {
17921782
"builder": "@angular-devkit/build-angular:protractor",
17931783
"options": {
@@ -1900,17 +1890,6 @@
19001890
"scripts": []
19011891
}
19021892
},
1903-
"lint": {
1904-
"builder": "@angular-devkit/build-angular:tslint",
1905-
"options": {
1906-
"tsConfig": [
1907-
"projects/sample-code-flow-par/tsconfig.app.json",
1908-
"projects/sample-code-flow-par/tsconfig.spec.json",
1909-
"projects/sample-code-flow-par/e2e/tsconfig.json"
1910-
],
1911-
"exclude": ["**/node_modules/**"]
1912-
}
1913-
},
19141893
"e2e": {
19151894
"builder": "@angular-devkit/build-angular:protractor",
19161895
"options": {

docs/site/angular-auth-oidc-client/docs/migrations/v11-to-v12.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
sidebar_position: 1
33
---
44

5+
# Version 12 to 13
6+
7+
Update nodejs. This version is now using rxjs 7
8+
59
# Version 11 to 12
610

711
Version 12 introduces a big new feature with supporting multiple configurations and with that multiple identity provider. With that the configuration and the interface for the users changes.

0 commit comments

Comments
 (0)