From 07f8b0f9448fcfde5dc075dbcc9d481b6fcf7a1b Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sat, 24 Oct 2020 23:12:45 +0300 Subject: [PATCH 1/2] docs(changelog): fix typos in 1.8.1/1.8.2 notes - Remove stray backtick. - Add missing preposition (`identical` --> `identical to`). - Remove 1.8.1 change from the 1.8.2 section. --- CHANGELOG.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 747649a3c8f3..f8b8deca2ac3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,9 @@ # 1.8.2 meteoric-mining (2020-10-21) ## Bug Fixes -- **$sceDelegate:** ensure that `resourceUrlWhitelist()` is identical `trustedResourceUrlList()` +- **$sceDelegate:** ensure that `resourceUrlWhitelist()` is identical to `trustedResourceUrlList()` ([e41f01](https://github.com/angular/angular.js/commit/e41f018959934bfbf982ba996cd654b1fce88d43), [#17090](https://github.com/angular/angular.js/issues/17090)) -- **$sanitize:** do not trigger CSP alert/report in Firefox and Chrome - ([2fab3d](https://github.com/angular/angular.js/commit/2fab3d4e00f4fe35bfa3cf255160cb97404baf24)) @@ -28,7 +26,7 @@ ## Deprecation Notices - Deprecated ~~`$compileProvider.aHrefSanitizationWhitelist`~~. - It is now [aHrefSanitizationTrustedUrlList](https://docs.angularjs.org/api/ng/provider/$compileProvider#aHrefSanitizationTrustedUrlList)`. + It is now [aHrefSanitizationTrustedUrlList](https://docs.angularjs.org/api/ng/provider/$compileProvider#aHrefSanitizationTrustedUrlList). - Deprecated ~~`$compileProvider.imgSrcSanitizationWhitelist`~~. It is now [imgSrcSanitizationTrustedUrlList](https://docs.angularjs.org/api/ng/provider/$compileProvider#imgSrcSanitizationTrustedUrlList). - Deprecated ~~`$httpProvider.xsrfWhitelistedOrigins`~~. From 7b16eda0d94e8ef8735053de948a77d0f8c586f3 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sun, 25 Oct 2020 11:36:12 +0200 Subject: [PATCH 2/2] fixup! docs(changelog): fix typos in 1.8.1/1.8.2 notes --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8b8deca2ac3..e823d02f9477 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,15 +26,15 @@ ## Deprecation Notices - Deprecated ~~`$compileProvider.aHrefSanitizationWhitelist`~~. - It is now [aHrefSanitizationTrustedUrlList](https://docs.angularjs.org/api/ng/provider/$compileProvider#aHrefSanitizationTrustedUrlList). + It is now [`aHrefSanitizationTrustedUrlList`](https://docs.angularjs.org/api/ng/provider/$compileProvider#aHrefSanitizationTrustedUrlList). - Deprecated ~~`$compileProvider.imgSrcSanitizationWhitelist`~~. - It is now [imgSrcSanitizationTrustedUrlList](https://docs.angularjs.org/api/ng/provider/$compileProvider#imgSrcSanitizationTrustedUrlList). + It is now [`imgSrcSanitizationTrustedUrlList`](https://docs.angularjs.org/api/ng/provider/$compileProvider#imgSrcSanitizationTrustedUrlList). - Deprecated ~~`$httpProvider.xsrfWhitelistedOrigins`~~. - It is now [xsrfTrustedOrigins](https://docs.angularjs.org/api/ng/provider/$httpProvider#xsrfTrustedOrigins). + It is now [`xsrfTrustedOrigins`](https://docs.angularjs.org/api/ng/provider/$httpProvider#xsrfTrustedOrigins). - Deprecated ~~`$sceDelegateProvider.resourceUrlWhitelist`~~. - It is now [trustedResourceUrlList](https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider#trustedResourceUrlList). + It is now [`trustedResourceUrlList`](https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider#trustedResourceUrlList). - Deprecated ~~`$sceDelegateProvider.resourceUrlBlacklist`~~. - It is now [bannedResourceUrlList](https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider#bannedResourceUrlList). + It is now [`bannedResourceUrlList`](https://docs.angularjs.org/api/ng/provider/$sceDelegateProvider#bannedResourceUrlList). For the purposes of backward compatibility, the previous symbols are aliased to their new symbol.