https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
ded96ca release: cut the v14.0.0-next.4 release (#45184) 23 February 2022, 20:50:34 UTC
0c26c93 docs: release notes for the v13.2.4 release (#45183) 23 February 2022, 20:49:04 UTC
f58ad88 test(common): remove initial navigation since it may redirect to debug.html (#45171) The `should unregister a URL change listener` may fail in Firefox randomly because of the `initialNavigation` being set to `true`. This may navigate to `/debug.html` and the router throws an error `Cannot match any routes: 'debug.html'`. PR Close #45171 23 February 2022, 17:42:44 UTC
75f20d8 docs: fix test description to match code example (#45101) PR Close #45101 23 February 2022, 16:58:40 UTC
f8dc660 fix(animations): allow animations with unsupported CSS properties (#44729) currently animations with unsupported CSS properties cause a hard error and the crash of the animation itself, instead of this behaviour just ignore such properties and provide a warning for the developer in the console (only in dev mode) this change also introduces a general way to present warnings in the animations code resolves #23195 PR Close #44729 23 February 2022, 16:57:57 UTC
d65706a feat(zone.js): update electron patch to support electron/remote 14 (#45073) Close #43346 From electron 14, the `CallbacksRegistry` is moved to `@electron/remote` package, so all `remote` call between `main` process and `renderer` process is not being patched since the new version of electron released. Also `CallbacksRegistry` is not exported outside, so this commit make a `hack` patch to load `CallbacksRegistry` from `@electron/remote/dist/src/renderer/callbacks-registry` for patching. PR Close #45073 23 February 2022, 16:57:12 UTC
4fa5307 fix(docs-infra): removed duplicated style in aio examples (#45157) Removed duplicated style in aio example scss files. PR Close #45157 22 February 2022, 23:35:16 UTC
59559fd refactor(animations): make `AnimationDriver.getParentElement` required (#45114) This change is a follow up to #45057 to make `AnimationDriver.getParentElement` a required method, which allows removing the slow path for the animation namespace insertion logic. BREAKING CHANGE: The `AnimationDriver.getParentElement` method has become required, so any implementors of this interface are now required to provide an implementation for this method. This breakage is unlikely to affect application developers, as `AnimationDriver` is not expected to be implemented in user code. PR Close #45114 22 February 2022, 22:05:17 UTC
bd168fc build: update ossf/scorecard-action commit hash to 3662744 (#45162) PR Close #45162 22 February 2022, 20:48:11 UTC
ff6be32 refactor(compiler): remove usages of deprecated AST creation functions (#45134) Proactively replaces our usages of the deprecated `ts.create*` methods in favor of using `ts.factory.create*` so that we're not surprised when the TS removes them in the future. Also accounts for some cases where the signature had changed. PR Close #45134 22 February 2022, 18:22:47 UTC
c0778b4 fix(compiler-cli): Support resolve animation name from the DTS (#45107) Before this, the compiler resolves the value in the DTS as dynamic. If the `trigger` is imported from `@angular/animations`, this PR will use FFR to simulate the actual implementation in JS and extracts the animation name. PR Close #45107 22 February 2022, 18:21:39 UTC
f80c59e ci: update SHA for components-repo-unit-tests job to fix flakiness (#45166) This commit attemps to fix the flakiness that shows up sometimes in the `components-repo-unit-tests` job. See: https://app.circleci.com/pipelines/github/angular/angular/43024/workflows/fa9bc546-179a-4215-a7f1-db123efa0fa4/jobs/1126909 We updated Firefox/Chromium in dev-infra, hoping to fix this non-reproducable flakiness (also checked memory/CPU consumption in the test). So far it looks like the update helped in the COMP repo so we should try it here as well. PR Close #45166 22 February 2022, 18:20:32 UTC
5957ff4 build: update scorecard action dependencies to 040feef (#45135) PR Close #45135 18 February 2022, 21:57:03 UTC
f28276c docs: replace deprecated `SwUpdate#available/activated` with new API (#44858) Since `SwUpdate#available` and `SwUpdate#activated` are deprecated, the new way should be included in the docs instead of the deprecated one. docs: added missing imports added imports for VersionReadyEvent, filter, and map docs: updated service-worker-communications.md rewrite of SwUpdate service to describe the new versionUpdates property docs: Apply suggestions from code review Co-authored-by: George Kalpakas <kalpakas.g@gmail.com> docs: added events added VERSION_DETECTED and VERSION_INSTALLATION_FAILED docs: Apply suggestions from code review Co-authored-by: George Kalpakas <kalpakas.g@gmail.com> PR Close #44858 18 February 2022, 21:40:34 UTC
1e60fe0 perf(core): make `LOCALE_ID` and other tokens from `ApplicationModule` tree-shakable (#45102) The `ApplicationModule` module has a number of tokens declared as non-tree-shakable providers. This commit updates them to make tree-shakable. PR Close #45102 18 February 2022, 21:40:02 UTC
a96c482 perf(core): make `Compiler`, `ApplicationRef` and `ApplicationInitStatus` tree-shakable (#45102) The `Compiler`, `ApplicationRef` and `ApplicationInitStatus` classes are registered as non-tree-shakable providers in the `ApplicationModule`. This commit converts them to the tree-shakable providers instead. PR Close #45102 18 February 2022, 21:40:02 UTC
fcd0473 refactor(core): drop unused `SCHEDULER` provider (#45102) The `SCHEDULER` provider was used previously when both ViewEngine and Ivy code was present. After some prior refactoring, all references to the `SCHEDULER` token were removed, but the token itself remains present in the `ApplicationModule`, which makes it non-tree-shakable. This commit removes the `SCHEDULER` token as unused. PR Close #45102 18 February 2022, 21:40:02 UTC
702e196 fix(docs-infra): make hamburger menu non focusable when not visible (#45067) the header hamburger menu gets removed from the page by moving it outside the screen, it can however still be accessed via keyboard navigation, add a visibility hidden to the element to prevent such behavior PR Close #45067 18 February 2022, 21:36:11 UTC
be50401 docs(animations): remove query call in animations example (#45126) the query call used for the transition between the Home and About tabs doesn't work as intented since it doesn't find any matching element, remove such quering since it is not needed PR Close #45126 18 February 2022, 21:35:22 UTC
4ba95ea docs(forms): remove `type` duplicate from `button` in reactive-forms example (#45124) PR Close #45124 18 February 2022, 21:34:59 UTC
561bd75 build: update dependency io_bazel_rules_sass to v1.49.8 (#45128) PR Close #45128 18 February 2022, 21:34:14 UTC
32f83ab docs: solve the problem with Dynamic Component guide example (#45123) solve ExpressionChangedAfterItHasBeenChecked error by changing the angular lifecycle hook ngAfterViewInit to ngOnInit resolves angular#44925 PR Close #45123 18 February 2022, 21:33:15 UTC
66d45b0 docs: fix test examples to use withContext (#45100) PR Close #45100 18 February 2022, 21:32:44 UTC
071c8af perf(core): avoid storing LView in __ngContext__ (#45051) These changes combine #41358 and #41894. Currently we save a reference to an `LView` on most DOM nodes created by Angular either by saving the `LView` directly in the `__ngContext__` or by saving the `LContext` which has a reference to the `LView`. This can be a problem if the DOM node is retained in memory, because the `LView` has references to all of the child nodes of the view, as well as other internal data structures. Previously we tried to resolve the issue by clearing the `__ngContext__` when a node is removed (see https://github.com/angular/angular/pull/36011), but we decided not to proceeed, because it can slow down destruction due to a megamorphic write. These changes aim to address the issue while reducing the performance impact by assigning a unique ID when an `LView` is created and adding it to `__ngContext__`. All active views are tracked in a map where their unique ID is used as the key. We don't need to worry about leaks within that map, because `LView`s are an internal data structure and we have complete control over when they are created and destroyed. Fixes #41047. PR Close #45051 18 February 2022, 21:32:11 UTC
235bffc release: cut the v14.0.0-next.3 release 17 February 2022, 21:35:05 UTC
4333662 docs: release notes for the v13.2.3 release 17 February 2022, 21:32:15 UTC
db4a658 build: update scorecard action dependencies to c4e058a (#45036) PR Close #45036 16 February 2022, 21:52:24 UTC
ee381da test(zone.js): add integration test for zone.js Mocha patch (#45047) Add integration test for `Mocha` patch from `zone.js` to verify the issue #42384 is fixed PR Close #45047 16 February 2022, 21:51:51 UTC
8efbdb5 fix(zone.js): patch global instead of Mocha object (#45047) Close #42834 In the new version fo Mocha, all global test functions are from `global` object instead of `Mocha` object. Adn the current `zone.js` Mocha patch's logic looks like this. ``` global.describe = Mocha.describe = function() { return originalMochaDescribe.apply(this, arguments); } ``` and `originalMochaDescribe` is the unpathced Mocha implementation looks like this ``` function describe() { return context.describe(...); } ``` And the `context` will finally delegate to `global.describe()`, so the current `zone.js` patch causes infinite loop. This commit will not patch function of `Mocha` object any longer. PR Close #45047 16 February 2022, 21:51:51 UTC
6769f94 build: update all non-major dependencies (#45037) PR Close #45037 16 February 2022, 21:50:43 UTC
5c7c56b perf(animations): improve algorithm to balance animation namespaces (#45057) The prior approach would consider all existing namespaces from back to front to find the one that's the closest ancestor for a given host element. An expensive `contains` operation was used which needed to traverse all the way up the document root _for each existing namespace_. This commit implements an optimization where the closest namespace is found by traversing up from the host element, avoiding repeated DOM traversal. Closes #45055 PR Close #45057 16 February 2022, 21:48:51 UTC
1eae65e build: update .pullapprove.yml (#45061) Remove errant extra space in fw-compiler glob matcher. PR Close #45061 16 February 2022, 21:46:31 UTC
b94da63 build: update angular (#45061) PR Close #45061 16 February 2022, 21:46:31 UTC
81bb0eb docs: clarify install of build schematics deps (#45104) PR Close #45104 16 February 2022, 21:44:47 UTC
80585f4 docs: fix typos (#45103) correct word 'questionaire' to 'questionnaire' in Building dynamic forms guide PR Close #45103 16 February 2022, 21:42:44 UTC
df3a075 docs: fix case types guide (#45095) fix case types guide text for more detailed guidance PR Close #45095 16 February 2022, 21:36:08 UTC
57b5262 docs: remove duplicate link (#45095) The link to complete schema, is exactly the same as the one above PR Close #45095 16 February 2022, 21:36:07 UTC
45d98e7 perf(core): make `IterableDiffers` and `KeyValueDiffers` tree-shakable (#45094) This commit removed references to the `IterableDiffers` and `KeyValueDiffers` classes from the `ApplicationModule`, which effectively make them tree-shakable. Both classes have `prov` static field with the right setup, so they'll be properly initialized when referenced. PR Close #45094 16 February 2022, 21:35:18 UTC
f1d10ba docs(localize): fix angular.json syntax error about i18n (#45048) In chapter internationlization at section "Deploy multiple locales" the syntax for angular.json is wrong. Close #45032 PR Close #45048 15 February 2022, 20:31:11 UTC
1317242 docs: fix grammatical error (#45092) 'an' is replaced with 'a' for the adjective 'straightforward' resolves angular#45075 PR Close #45092 15 February 2022, 20:29:59 UTC
787eaa7 test(animations): Fix e2e intermittent failures (#45083) This addresses a problem with animations e2e tests that were failing intermittently due to a missing timeout value PR Close #45083 14 February 2022, 23:45:40 UTC
e029d94 docs: extend the LTS for ngUpgrade with a year (#45078) PR Close #45078 14 February 2022, 22:06:59 UTC
3678434 docs(animations): clarify information about query with `:leave` (#45059) add information to the query api docs clarifying that elements with a trigger can be queried via `:leave` when their parent is leaving this exception is potentially something to be changed (see #45058) but for the time being the docs can be updated to make the users aware of such behavior PR Close #45059 14 February 2022, 22:05:22 UTC
db59f5b docs: change dependencies to devDependencies in document (#45053) after installing @angular/localize package, it will be placed in devDependencies object PR Close #45053 14 February 2022, 22:03:45 UTC
e461f71 feat(core): move ANIMATION_MODULE_TYPE injection token into core (#44970) Moves the `ANIMATION_MODULE_TYPE` DI token into core so that libraries like Material don't have to introduce a dependency to animations only to figure out whether animations are disabled. PR Close #44970 14 February 2022, 22:03:07 UTC
bedb257 fix(common): cleanup URL change listeners when the root view is removed (#44901) The `Location` creates the `_urlChangeSubscription` when the `onUrlChange` is called for the first time. The subscription `next` function captures `this` and prevents the `Location` from being garbage collected when the root view is removed. PR Close #44901 14 February 2022, 22:02:26 UTC
f17e26f fix(docs-infra): fix broken link in Glossary (#45068) Fix broken link in Glossary document PR Close #45068 14 February 2022, 20:51:30 UTC
569a262 docs(animations): improve aio animations guides info around :enter/:leave (#44550) improve the aio animations guide information around elements entering and leaving, this includes, querying them, their transitions and also improvements to the animations guide live examples PR Close #44550 14 February 2022, 17:16:29 UTC
e872e9d build(docs-infra): upgrade cli command docs sources to ac175ff10 (#45065) Updating [angular#master](https://github.com/angular/angular/tree/master) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master). ## Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/be7c79b5a...ac175ff10): **Modified** - help/extract-i18n.json PR Close #45065 14 February 2022, 17:15:21 UTC
4443548 refactor(docs-infra): replace deprecated toPromise usages (#45045) This commit replaces deprecated `Observable.toPromise` usages with `lastValueFrom`. PR Close #45045 11 February 2022, 22:34:28 UTC
b415744 refactor(docs-infra): replace deprecated subscribe usages (#45046) This commit replaces deprecated `Observable.subscribe` usages. PR Close #45046 11 February 2022, 22:33:45 UTC
723032a build: update angular (#45049) PR Close #45049 11 February 2022, 22:33:17 UTC
8793dbd build: update angular (#45011) PR Close #45011 10 February 2022, 17:15:41 UTC
bbababe refactor(http): deprecated symbol used (#44985) Support for passing an error value to "throwError" method will be removed in v8 of rxjs. More info at https://rxjs.dev/api/index/function/throwError#throwerror PR Close #44985 09 February 2022, 19:46:32 UTC
4c778cd perf(animations): made errors in the animations package tree shakeable (#45004) This moves all the error strings into exported functions that can be tree shaken away. PR Close #45004 09 February 2022, 19:43:42 UTC
5ac5967 build: update .pullapprove.yml (#45007) Add aleksanderbodurri@ to the list of require minimum reviews to allow for approvals to count for that minimum requirement as well. PR Close #45007 09 February 2022, 19:27:48 UTC
7ea70c4 docs: improve try-it-now card focus area (#45002) the focus/interactable area for the try-it-now card is wider than necessary, reduce such width to the appropriate size PR Close #45002 09 February 2022, 18:23:07 UTC
7d9413e docs: remove aikidave@ from contributors.json as part of offboarding (#45006) PR Close #45006 09 February 2022, 18:22:29 UTC
163e2eb build: update .pullapprove.yml (#45006) Remove aikidave@ from pull approve config as part of offboarding. PR Close #45006 09 February 2022, 18:22:29 UTC
b8f8e8c build: update scorecard action dependencies to 7f9dca2 (#45026) PR Close #45026 09 February 2022, 18:21:47 UTC
d5565cc fix(zone.js): fix several test cases which trigger `done()` multiple times (#45025) Several test cases trigger the `done()` multiple times and cause warning from jasmine. This commit fixes these test cases. PR Close #45025 09 February 2022, 18:18:56 UTC
dea7234 fix(zone.js): async-test should only call done once (#45025) `AsyncTestZoneSpec` triggers jasmine `done()` function multiple times and causes warning ``` An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information ``` The reproduce case will be running some `Zone.run()` inside `waitForAsync()`. ``` it('multiple done', waitForAsync(() => { Zone.current.run(() => {}); Zone.current.run(() => {}); })); ``` The reason the `done()` is called in the `onInvoke()` hook is to handle the case that the testBody is totally sync, but we should only do this check for the entry function not for all `Zone.run()` scenario. Another issue is if we run nested zone inside `waitForAsync()`, the `onHasTask()` hook will be triggered multiple times, and cause `done()` be triggered multiple times, so we need to only trigger the `done()` when the zone is `AsyncTestZone`. PR Close #45025 09 February 2022, 18:18:56 UTC
c88e87d build: lock file maintenance (#44993) PR Close #44993 08 February 2022, 19:18:28 UTC
a599fa8 build: update dependency google-closure-compiler to v20220202 (#45013) PR Close #45013 08 February 2022, 19:16:07 UTC
226cb08 build: update scorecard action dependencies to 230611d (#45012) PR Close #45012 08 February 2022, 19:15:36 UTC
3d464c9 docs(forms): improve email validator directive docs (#45014) PR Close #45014 08 February 2022, 17:57:57 UTC
822439f fix(core): `ViewContainerRef.createComponent` should consult module injector when custom one is provided (#44966) Before Ivy, it was only possible to call the `ViewContainerRef.createComponent` function with the ComponentFactory as the first argument. An instance of a `ComponentFactory` resolved via `ComponentFactoryResolver` contained a reference to an `NgModule` where the component is declared. As a result, the component maintained a DI connection with the module injector tree (by retrieving an instance of `NgModuleRef` internally), even when the custom injector was provided (we try to find a token in a custom injector first and consult module injector after that). With Ivy, we expanded the `ViewContainerRef.createComponent` function API to support direct references to the Component classes without going through the factory resolution step. As a result, there was no connection to the NgModule that declares the component. Thus, if you provide a custom injector, this is the only injector that is taken into account. This commit updates the logic for the factory-less case to try retrieving an instance of an `NgModuleRef` using the DI tree which `ViewContainerRef` belongs to. The `NgModuleRef` instance is then used to get a hold of a module injector tree. This brings the factory-less and factory-based logic to more consistent state. Closes #44897. PR Close #44966 08 February 2022, 17:57:20 UTC
1b91e10 perf(compiler): chain element start/end instructions (#44994) In templates with several levels of nested nodes, it's common for several `elementStart`/`elementEnd` instructions to show up in a row which can be optimized away. These changes add chaining support for `elementStart`, `elementEnd`, `elementContainerStart` and `elementContainerEnd` to shave off some bytes when possible. PR Close #44994 08 February 2022, 17:56:50 UTC
8f1f35b refactor(compiler): rework instruction generation logic for improved flexibility (#44994) Previously the logic for generating chained instructions was somewhat rigid, because we had to collect all of the calls ahead of time and then call one of the chained instruction helpers. This doesn't work for something like `elementStart`, because we have to descend into other elements that could add to the chain. These changes refactor the code so that we collect the list of instructions in a flat array and we do the chaining only once at the end when we have the entire instruction set for the code block. The new approach has the advantage of being (almost) entirely configuration-based via the `CHAINABLE_INSTRUCTIONS` array and being more flexible in allowing us to chain instructions that span across elements. PR Close #44994 08 February 2022, 17:56:49 UTC
635683a docs(common): mark lifecycle methods as nodoc (#45017) PR Close #45017 08 February 2022, 17:56:28 UTC
df6f616 docs: release notes for the v13.2.2 release (#45019) PR Close #45019 08 February 2022, 17:51:54 UTC
486cade docs: fix command to clear cache on Windows (#44988) PR Close #44988 08 February 2022, 05:18:03 UTC
28e9436 refactor: one more CHANGELOG fixup. (#45010) PR Close #45010 08 February 2022, 01:40:29 UTC
4d63b80 refactor: CHANGELOG is poorly formatted for most recent version. (#45009) PR Close #45009 08 February 2022, 01:34:50 UTC
a3de44c release: cut the v14.0.0-next.2 release (#45008) PR Close #45008 08 February 2022, 01:19:17 UTC
64acbc4 refactor(core): drop all `.ngfactory` and `.ngsummary` imports (#44957) This commit updates various places in the repo (mostly tests/examples) to drop all `.ngfactory` and `.ngsummary` imports as they are no longer needed in Ivy. PR Close #44957 07 February 2022, 23:31:49 UTC
d4da832 docs: add Cost-Effective Angular Testing (#44969) to resources PR Close #44969 07 February 2022, 21:17:34 UTC
ebf2fc5 fix(forms): incorrectly keeping track of ngModel with ngFor inside a form (#40459) When an `NgModel` is created within a `form`, it receives an `NgControl` based on its `name`, but the control doesn't get swapped out if the name changes. This can lead to problems if the `NgModel` is part of an `ngFor`, because the name can change based on its position in the list and a new control can be defined with the same name, leading us to having multiple directives pointing to the same control. For example, if we start off with a list like : ``` [0, 1, 2]; -> [NgModel(0), NgModel(1), NgModel(2)] ``` Then we remove the second item: ``` [0, 2]; -> [NgModel(0), NgModel(2)] ``` And finally, if we decide to add an item to the end of the list, we'll already have a control for index 2, causing the list to look like: ``` [0, 2, 3]; -> [NgModel(0), NgModel(2), NgModel(2)] ``` These changes fix the issue by removing the old control when the `name` of the directive changes. Fixes #38465. Fixes #37920. PR Close #40459 07 February 2022, 21:16:10 UTC
b5cce71 build: update dependency @types/chrome to ^0.0.178 (#44982) PR Close #44982 07 February 2022, 20:08:28 UTC
70e29be refactor(forms): update `PatternValidator` to inherit `AbstractValidatorDirective` (#44887) This commit updates the `PatternValidator` class to inherit `AbstractValidatorDirective` to make it conistent with other validators. Closes angular#42267 PR Close #44887 07 February 2022, 20:07:34 UTC
d5719c2 fix(core): input coercion (#42803) BREAKING CHANGE: Forms [email] input coercion Forms [email] input value will be considered as true if it is defined with any value rather than false and 'false'. PR Close #42803 07 February 2022, 18:52:59 UTC
db6cf7e fix(compiler): allow banana-in-a-box bindings to end with non-null assertion (#37809) For two-way-bindings that use the banana-in-a-box syntax, the compiler synthesizes an event assignment expression from the primary expression. It is valid for the primary expression to be terminated by the non-null operator, however naive string substitution is used for the synthesized expression, such that the `!` would immediately precede the `=` token, resulting in the valid `!=` operator token. The expression would still parse correctly but it doesn't implement the proper semantics, resulting in incorrect runtime behavior. Changing the expression substitution to force a space between the primary expression and the assignment avoids this mistake, but it uncovers a new issue. The grammar does not allow for the LHS of an assignment to be the non-null operator, so the synthesized expression would fail to parse. To alleviate this, the synthesized expression is parsed with a special parser flag to allow for this syntax. Fixes #36551 PR Close #37809 07 February 2022, 18:46:52 UTC
638a2d5 ci: group all scorecard action dependencies (#44998) With this change we group all the scorecard action dependencies so that Renovate opens a single PR. PR Close #44998 07 February 2022, 17:46:29 UTC
4708cd0 docs(docs-infra): fix cosidered typo (#44987) fix the "cosidered" typo (which should be "considered") PR Close #44987 07 February 2022, 17:45:21 UTC
33df840 docs(router): clarify execution order for resolvers (#44995) Fixes #44971 PR Close #44995 07 February 2022, 17:44:21 UTC
2cda6cf build: update angular (#44981) PR Close #44981 07 February 2022, 17:21:09 UTC
2839303 perf(http): remove IE special status handling (#44354) revert the condition as dev only PR Close #44354 04 February 2022, 19:45:15 UTC
9917152 refactor(core): cleanup `DebugNode` and `DebugElement` implementations (#44270) This commit updates `DebugNode` and `DebugElement` implementaitons to cleanup ViewEngine removal artifacts. There is no need for a separate interface and implementation class, so we can combine them now. This comment also gets rid of `R3` suffixes (denoting Ivy) in helper methods. PR Close #44270 04 February 2022, 18:43:42 UTC
38c03a2 feat(common): support years greater than 9999 (#43622) Since According to ISO8601 the Year is minimum of 4 digits, we should support years greater than 9999. (This is similar to the change in input.js: https://github.com/LeeAdcock/angular.js/commit/e157d6fa69fecbee766e109c6b452f629bc00c8a) Changed /^(\d{4}) to /^(\d{4,}) PR Close #43622 04 February 2022, 18:43:11 UTC
d183e7d docs: correct typo (#44793) Service worker card contains typo 'us' when it should be 'use.' PR Close #44793 04 February 2022, 18:42:25 UTC
459cbed refactor(dev-infra): convert nullish coalescing operator to plain javascript (#44968) low version nodejs doesn't support nullish coalescing operator very well PR Close #44968 04 February 2022, 18:40:43 UTC
8dd3f82 fix(forms): Correct empty validator to handle objects with a property `length: 0`. (#33729) Form required validator should not reject objects that contain a length attribute set to zero. Fixes #30718. Co-authored-by: Dylan Hunn <dylhunn@gmail.com> BREAKING CHANGE: objects with a length key set to zero will no longer validate as empty. This is technically a breaking change, since objects with a key `length` and value `0` will no longer validate as empty. This is a very minor change, and any reliance on this behavior is probably a bug anyway. PR Close #33729 04 February 2022, 07:15:27 UTC
b32647d fix(platform-browser): Make transfer state key typesafe. (#23020) Make `StateKey` typesafe by narrowing the type. BREAKING CHANGE: This may break invalid calls to `TransferState` methods. This tightens parameter types of `TransferState` usage, and is a minor breaking change which may reveal existing problematic calls. PR Close #23020 04 February 2022, 06:46:50 UTC
64f837d fix(router): Update `Navigation#initialUrl` to match documentation and reality (#43863) BREAKING CHANGE: * The type of `initialUrl` is set to `string|UrlTree` but in reality, the `Router` only sets it to a value that will always be `UrlTree` * `initialUrl` is documented as "The target URL passed into the `Router#navigateByUrl()` call before navigation" but the value actually gets set to something completely different. It's set to the current internal `UrlTree` of the Router at the time navigation occurs. With this change, there is no exact replacement for the old value of `initialUrl` because it was enver intended to be exposed. `Router.url` is likely the best replacement for this. In more specific use-cases, tracking the `finalUrl` between successful navigations can also be used as a replacement. PR Close #43863 04 February 2022, 01:07:01 UTC
e46b379 fix(animations): implement missing transition delay (#44799) fix the transition function accepting a delay in its AnimationOptions input but not acting on it by adding such delay to all the transition's timelines (note: adding the delay to all the transition's timelines is the only way to accomplish this since transitions have their own logic and do not have their own timelines like other animation functions have) resolves #29762 PR Close #44799 03 February 2022, 23:54:16 UTC
6a5f2da build: exclude devtools scope from generated changelogs (#44964) The devtools scoped commits are not included in the repository's CHANGELOG.md file as these commits are not references areas which are included in the primary released artifacts. PR Close #44964 03 February 2022, 23:19:25 UTC
f44fa4b docs: update input-output-diagram.svg (#39900) "deleteRequest" is the *event* (not target) and "crossOffItem" is the *handler* of the event (not "source"). PR Close #39900 03 February 2022, 22:50:59 UTC
f22bb74 build: setup OpenSSF Scorecard (#44960) Set up OpenSSF Scorecard to begin tracking security metrics within the repo. PR Close #44960 03 February 2022, 22:50:22 UTC
76f5528 docs: add po-ui to UI Components resources (#43689) PR Close #43689 03 February 2022, 20:45:39 UTC
0d19be1 refactor(docs-infra): add types to all the aio examples buttons (#44557) add types to all the buttons in the angular.io examples to encourage the best practice of always including a type per button (regardless to whether it is in a form or now) PR Close #44557 03 February 2022, 20:44:47 UTC
back to top