https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
f6c229f release: cut the v13.2.7 release (#45363) 16 March 2022, 18:26:17 UTC
9361f09 docs: add ngx-gantt to "EXPLORE ANGULAR RESOURCES" page (#45351) PR Close #45351 15 March 2022, 23:29:24 UTC
eac94f0 fix(forms): improve error message for invalid value accessors (#45192) improve error message for invalid value accessors when accessor is not provided as array PR Close #45192 15 March 2022, 20:26:04 UTC
b0892c0 fix(docs-infra): fix tour of heroes global styles (#45329) fix button styles in src/styles.css that are missing from code snippets PR Close #45329 15 March 2022, 20:24:53 UTC
16eda01 docs: fix small English typo (#45340) PR Close #45340 14 March 2022, 20:10:19 UTC
b096869 docs: Fix typo in issue template (#45327) PR Close #45327 14 March 2022, 16:31:02 UTC
78781a9 refactor(core): Switch over to new closure LOCALE vs getLocale() (#45302) This is a change requested via an LSC due to a deprecation. PR Close #45302 10 March 2022, 20:48:30 UTC
6336b8e refactor(router): Make a few adjustments to createUrlTree for clarity (#45306) * `tree` function now accepts the old root rather than the old `UrlTree`. The `urlTree` argument was only used to get the `root`. This change makes it more clear what that pararmeter is used for and what's actually being used * Move the `oldRoot` (previously `urlTree`) to be the first argument of `tree`. This change now mirrors the argument order for `replaceSegment` and can be read from left to right more easily "in this root, replace this old segment group with this new segment group". * Extract `newRoot` to a variable. This just makes it more clear what's going on at the end rather than combining a bunch of operations into one. These changes are being made so that hopefully a future refactor can be done which does not rely on the `urlTree` argument at all in the `createUrlTree` function. These refactorings will make it easier to see 1:1 functionlity in these various places. PR Close #45306 09 March 2022, 21:52:38 UTC
10de528 docs: update <div> to <p> in lifecycle-hooks.md (#45063) Changes <div> to <p> in description to match the elements in the screenshot. Update lifecycle-hooks.md Changes <div> to <p> in description to match the elements in the screenshot. PR Close #45063 09 March 2022, 21:52:16 UTC
6f1c941 release: cut the v13.2.6 release (#45299) 09 March 2022, 16:53:23 UTC
9bce9ce fix(language-service): Prioritize Angular-specific completions over DOM completions (#45293) When authoring Angular templates, developers are likely to be most interested in the current Directive/Component inputs and outputs, then potential attributes which would match other directives to the element, and lastly the plethora of DOM events and attributes. This change ensures that Angular-specific information appears above DOM information by prepending the first printable ASCII characters to the sort text. Fixes https://github.com/angular/vscode-ng-language-service/issues/1537 PR Close #45293 08 March 2022, 22:48:38 UTC
8227eb9 refactor(migrations): update `isReferenceToImport` to not use `valueDeclaration` (#45292) valueDeclaration is only set when the Symbol type is a `Value`: * [setValueDeclaration](https://sourcegraph.com/github.com/microsoft/TypeScript@d8b21a8d6cef772fea5cf2a507b651c5d38194bd/-/blob/src/compiler/binder.ts?L321-322) * [Value union](https://sourcegraph.com/github.com/microsoft/TypeScript@d8b21a8d6cef772fea5cf2a507b651c5d38194bd/-/blob/src/compiler/types.ts?L4849:9#tab=references) This won't be the case if the symbol is an interface (notice that `Interface` is not in the union for `Value` above). For this reason, we can't rely on the `valueDeclaration` property of the symbol. Instead, it's more reliable to just compare the first items in the `declarations` list. PR Close #45292 08 March 2022, 21:13:26 UTC
23003f8 build: update actions/checkout action to v3 (#45248) PR Close #45248 08 March 2022, 18:28:32 UTC
d98ce5e fix(docs-infra): remove anchor tags from heritage docs (#45287) Remove anchor tags from heritage docs and let `autoLinkCode` insert them properly. PR Close #45287 08 March 2022, 18:26:50 UTC
cff1c56 fix(service-worker): file system hash in batch of 500 elements (#45262) Add file system concurrency hash test Fixes #45133 PR Close #45262 08 March 2022, 18:23:39 UTC
6efa366 fix(compiler): compute correct offsets when interpolations have HTML entities (#44811) When parsing interpolations, the input string is _decoded_ from what was in the orginal template. This means that we cannot soley rely on the input string to compute source spans because it does not necessarily reflect the exact content of the original template. Specifically, when there is an HTML entity (i.e. `&nbsp;`), this will show up in its decoded form when processing the interpolation (' '). We need to compute offsets using the original _encoded_ string. Note that this problem only surfaces in the splitting of interpolations. The spans to this point have already been tracked accurately. For example, given the template `&nbsp;<div></div>`, the source span for the `div` is already correctly determined to be 6. Only when we encounter interpolations with many parts do we run into situations where we need to compute new spans for the individual parts of the interpolation. PR Close #44811 08 March 2022, 18:23:08 UTC
ad9d981 docs: Change tag name to TD from TR in context of colspan usage (#45257) PR Close #45257 07 March 2022, 23:41:37 UTC
8390e12 docs: update `flush` description to include microtasks (#45237) PR Close #45237 07 March 2022, 23:41:08 UTC
43bbaf8 build: update dependency google-closure-compiler to v20220301 (#45260) PR Close #45260 07 March 2022, 22:30:47 UTC
6842bf0 build: update dependency magic-string to v0.26.1 (#45247) PR Close #45247 07 March 2022, 22:29:46 UTC
f261fa7 test(compiler): fix deprecation warning (#45285) Jasmine logs a warning when there's a `describe` with no tests. These changes fix one such case in the compiler that happens when the tests are run against Windows. PR Close #45285 07 March 2022, 19:36:48 UTC
d29883a ci: components CI test should use local zone.js build (#45277) CI components test install the angular package from the local version, but still use the zone.js from npm, so this commit let components also install zone.js from local too. PR Close #45277 07 March 2022, 19:35:00 UTC
de67c9f refactor(router): Use helper function to throw NoMatch (#45244) This update matches the other locations where noMatch is thrown. PR Close #45244 04 March 2022, 23:24:14 UTC
9a8ef7c build: patch snapshot issue in dev-infra selecting the latest version tag (#45269) Local patch ahead of landing of https://github.com/angular/dev-infra/pull/449 PR Close #45269 04 March 2022, 23:23:40 UTC
4e1d825 docs: change link for devtools to angular repo (#45207) PR Close #45207 03 March 2022, 20:28:25 UTC
356c521 docs: add Greek localization for Angular Docs (#45152) PR Close #45152 03 March 2022, 20:27:53 UTC
9a7eba2 fix(zone.js): defineProperties should also set symbol props (#45098) Close #44095 Fix `defineProperties` patch not set `symbol` props issue. Co-authored-by: varomodt<varomodt@users.noreply.github.com> Co-authored-by: AndrewKushnir<AndrewKushnir@users.noreply.github.com> PR Close #45098 03 March 2022, 20:22:05 UTC
e16dab8 refactor(router): Remove special logic for hybrid apps (#45240) This commit removes special (undocumented) logic in the Router code that is meant to prevent duplicate navigations that result from location syncs in AngularJS/Angular hybrid applications. The duplicate navigations can occur when both the Router and the AngularJS sync code detect a location change via a popstate/hashchange event. When this happens, the Angular Router schedules a navigation to sync itself with the browser, but the hybrid listener may also schedule an additional navigation. There are a few reasons this logic should not be included in the Router: * This special logic is not tree shakeable so it introduces a bundle size cost for all applications, most of which don't need it. * There have been many updates to the routing pipeline to tolerate duplicate navigations. That is, duplicate navigations can happen and routing should still complete successfully. * https://github.com/angular/angular/commit/0e8548f667e5fdefa3ac7cdf1ba47e3e17011ffc * https://github.com/angular/angular/commit/9e039ca68bfae5328f3fc1f16fabd7673c466a25 * The logic is really in the wrong place: The hybrid sync code should be the location to handle this. If duplicate navigations are meant to be avoided, the hybrid sync code should have handling to _not_ trigger duplicate navs. * This logic _also_ used to exist because the mock location helper used for test incorrectly triggered popstate events during router navigations. In order to avoid unexpected behavior in tests, this logic needed to be added. This incorrect mocking may also have been put in place because the upgrade module _would_ see a location change event and trigger a duplicate navigation. The location mock has since been updated to match real browser behavior so this is no longer necessary. The upgrade module has also been updated to not trigger duplicate navigations. The following commits are related to this: * https://github.com/angular/angular/commit/202a1a56314af4ddb99c476f974536a10e390319 * https://github.com/angular/angular/commit/c6a93001eb74374b0fbc6aea1286fe1183d21382 Side note: The `setTimeout` in the location change listener is used to ensure the ordering of duplicate navigations was consistent. You can see that the logic being removed here expects the imperative navigation to precede the popstate/hashchange. With the removal of this code, the `setTimeout` no longer serves a purpose. However, it has been found that tests can rely on this behavior (incorrectly) because they expect the navigation to be complete but in reality, it hasn't even started because the test has not flushed the timeout. Removing the timeout would be a breaking change as a result. PR Close #45240 03 March 2022, 17:14:39 UTC
913bbba ci: update aio payload size golden to reflect Angular update (#45239) Similar to 63e9cc7cba4b8ac29aca335a1c0afffd22f2cdc5, but for the patch branch where the `aio` job increased in total by ~100b. New total: 718427 bytes Before total: 718357 bytes PR Close #45239 03 March 2022, 17:14:08 UTC
c7e5cb0 build: update .pullapprove.yml (#45061) (#45239) Remove errant extra space in fw-compiler glob matcher. PR Close #45061 PR Close #45239 03 March 2022, 17:14:08 UTC
aa616db build: update tooling to use new entry-point for dev-infra exports (#45239) Previously, dev-infra only bundled the CLI with all its dependencies, while we still also kept all bundled dependencies in the `dependencies`. This basically meant that the CLI bundling did not provide any value at all. We fixed this upstream and now dependencies are still bundled, but no longer also declared as `dependencies`. We also stopped shipping deep JS files, only shipping the bundles now. As part of this deep file removal, we introduced a runtime entry-point for exports/types. This one will also benefit from the bundling and it will be predictable what symbols dev-infra consumer projects rely on (allowing us to also have an API guard or something in the future). PR Close #45239 03 March 2022, 17:14:08 UTC
de92900 build: update angular (#45239) Updates Angular through Renovate. Patch port. PR Close #45239 03 March 2022, 17:14:08 UTC
2c7d96a build: add retry logic to postinstall script (#45252) Several people on the team (myself included) have had issues where the `webdriver-manager` step of the `postinstall` script fails on the first run, but work correctly on the second one. These changes attempt to simplify the workflow by retrying the script up to 3 times before giving up. PR Close #45252 03 March 2022, 17:13:26 UTC
8bf3b53 release: cut the v13.2.5 release (#45241) 02 March 2022, 18:18:07 UTC
56ca7d3 perf(common): make `NgLocalization` token tree-shakable (#45118) (#45226) This commit updates the `NgLocalization` token to become tree-shakable (vs using a direct reference to that token in the `providers` section of the `CommonModule`). The `NgLocalization` token is used for apps that use i18n and for other apps it would be excluded from the bundle. PR Close #45118 PR Close #45226 02 March 2022, 01:02:54 UTC
e8fd452 fix(core): remove individual commands for updating gold files (#45198) The documented command for updating the forms gold files was outdated and didn't work. Since this command list can easily become outdated, remove the individual commands in favor of the simpler global scripts. PR Close #45198 01 March 2022, 19:16:53 UTC
71ff12c perf(core): make `LOCALE_ID` and other tokens from `ApplicationModule` tree-shakable (#45102) (#45222) 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 PR Close #45222 01 March 2022, 18:38:18 UTC
82d7728 perf(core): make `Compiler`, `ApplicationRef` and `ApplicationInitStatus` tree-shakable (#45102) (#45222) 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 PR Close #45222 01 March 2022, 18:38:17 UTC
2bebaa9 refactor(core): drop unused `SCHEDULER` provider (#45102) (#45222) 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 PR Close #45222 01 March 2022, 18:38:17 UTC
8907fbb docs: improve structure of http example (#44986) improve the http aio example by: - adding a background color to the messages section so that it can be distinguished from the others - avoid using `hr` elements to divide the various sections, use css instead (so that the divisions can also be omitted when the sections are not being shown) - fix the erroneous presence of an input text element inside a button (see: https://github.com/angular/angular/pull/44557#discussion_r787239658) PR Close #44986 28 February 2022, 19:31:25 UTC
84b4ad8 docs(docs-infra): fix the stackblitz on page i18n-example (#45097) The previous configuration didn't allow to serve in any language. Fixes #45066 PR Close #45097 28 February 2022, 17:25:41 UTC
76c6dca ci: instruct renovate to not update/override merge ready PRs (#45204) Sometimes Renovate proposes an update and we need to add some manual fixups, like updating a size golden. For this we push to same upstream branch. Renovate will update the PR though when another new revision/version becomes available, overriding the fixup and discarding it. This happened quite often now and causes significantly more work required by the dev-infra time.. PR Close #45204 25 February 2022, 22:10:55 UTC
8554659 ci: fix stamping for builds performed in CI (#45147) Fixes the stamping for snapshot builds and the artifact deployment job. Currently the stamped versions will have the `.with-local-changes` version suffix given that we add a file to the Git repo that is just needed for the CircleCI cache key computation. PR Close #45147 25 February 2022, 19:14:05 UTC
55b8c4f ci: allow Babel to be updated by Renovate (#45203) Automatic updating of Babel was disabled because there were build failures when using the latest version of Babel, but these have been resolved in #44931. This commit removes Babel packages from Renovate's ignored list to allow automatic updates again. PR Close #45203 25 February 2022, 19:13:23 UTC
1e6f700 refactor(localize): update version of Babel (#45203) The `@angular/localize` package depends on a version of Babel that is two years old, so this commit updates to the latest version. Some changes were made to the linker and compliance tests to account for slight changes in source maps, along with a few code updates because of changes to the typings of Babel. PR Close #45203 25 February 2022, 19:13:23 UTC
01fde59 refactor(router): Refactor errors in applyRedirects to use common throwError function (#45170) The implementation of `throwError` in `rxjs` is identical to what is done manually in the Router code. PR Close #45170 24 February 2022, 23:50:01 UTC
a4debf1 refactor(router): Update match result to be more explicit (#45170) The `lastChild` property in the match result is only used to compute the remaining segments (i.e. the ones which were not consumed). The updated type here makes it easier to use and more clear. PR Close #45170 24 February 2022, 23:50:01 UTC
c6e64aa docs: fix style guide example app included as routing (#45148) in the aio example apps page the style guide for documentation contributions is included in the Routing section instead of being in its own section, add a documentation section and include the example in that one PR Close #45148 24 February 2022, 22:57:54 UTC
7379d75 ci: add permissions to current github action workflows (#45177) The currently recommended best practice for Github action workflows is to set top-level permissions to read only. And if the job uses the automatic `GITHUB_TOKEN`, fine-grained permissions for each job based on the job's requirements should also be added. All existing workflows in the repository now have top-level read only permission blocks. Only the `scorecard` workflow currently requires additional job level permissions and the minimum set of permissions were already present for the job. PR Close #45177 24 February 2022, 21:39:38 UTC
21a51fb test(animations): Fix flaky animations e2e test (#45196) This adds a 300ms wait to the animations tests to ensure they are fully done animating before asserting. PR Close #45196 24 February 2022, 21:15:33 UTC
b39db80 test(animations): add route animation delay to pages tests (#45144) PR #44550 introduced an animation for pages/tabs transitions in the animations example application, after such change intermittent e2e failures started to occur (see for example: #45083), add a delay to account for such animation to all the animations pages/tabs e2e tests so to fix the flakyness caused by the animation PR Close #45144 24 February 2022, 18:41:56 UTC
3b86dda refactor(http): change <script>'s ownerDocument in jsonp teardown (#36807) handler Cancel pending json handler by adopting its <script> element into another document (https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block) This way the browser will prevent the script from being parsed and executed. Fixes #34818 PR Close #36807 24 February 2022, 17:24:34 UTC
64da1da fix(common): canceled JSONP requests won't throw console error with missing callback function (#36807) This commit fixes a use-case where unsubscribing from a JSONP request will result in "Uncaught ReferenceError: ng_jsonp_callback_xy is not defined" thrown into console. Unsubscribing won't remove its associated callback function because the requested script will finish loading anyway and will try to call the handler. PR Close #34818 PR Close #36807 24 February 2022, 17:24:34 UTC
d388522 fix(localize): avoid imports into `compiler-cli` package (#45180) The compiler-cli's declaration files are not necessarily compatible with web environments that use `@angular/localize`, and would inadvertently include `typescript` declaration files in any compilation unit that uses `@angular/localize` (which increases parsing time and memory usage during builds) using a default import that only type-checks when `allowSyntheticDefaultImports` is enabled. Fixes #45179 PR Close #45180 24 February 2022, 17:12:10 UTC
4f18703 docs: remove activatedRouteData backward accesses in aio guides (#45140) developers should not access the router-outlet directive in their template before defining a template variable for it, such implementation is present in a couple of aio guides, fix such guides so that they show the more correct way of accessing the outlet's data resolves #36173 PR Close #45140 24 February 2022, 00:55:19 UTC
6c906a5 fix(compiler-cli): Support resolve animation name from the DTS (#45169) 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 #45169 24 February 2022, 00:54:33 UTC
6c61d20 fix(animations): allow animations with unsupported CSS properties (#45185) 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 #45185 24 February 2022, 00:53:50 UTC
e914da1 release: cut the v13.2.4 release (#45181) 23 February 2022, 20:35:31 UTC
6550c59 docs: fix test description to match code example (#45101) PR Close #45101 23 February 2022, 16:58:41 UTC
0322762 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:17 UTC
d607d0b build: update ossf/scorecard-action commit hash to 3662744 (#45162) PR Close #45162 22 February 2022, 20:48:12 UTC
c02e4d7 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
4d2ef0f build: update scorecard action dependencies to 040feef (#45135) PR Close #45135 18 February 2022, 21:57:04 UTC
1a4b489 perf(animations): improve algorithm to balance animation namespaces (#45113) 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 #45113 18 February 2022, 21:44:44 UTC
cbd23ee perf(core): make `IterableDiffers` and `KeyValueDiffers` tree-shakable (#45094) (#45115) 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 PR Close #45115 18 February 2022, 21:43:05 UTC
5d08390 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:35 UTC
9b1d3d2 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
f71eb58 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:23 UTC
f7a2dd8 docs(forms): remove `type` duplicate from `button` in reactive-forms example (#45124) PR Close #45124 18 February 2022, 21:35:00 UTC
031e23b 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:16 UTC
5b0980f docs: fix test examples to use withContext (#45100) PR Close #45100 18 February 2022, 21:32:45 UTC
54d09a6 release: cut the v13.2.3 release (#45116) PR Close #45116 16 February 2022, 23:50:24 UTC
782f678 build: update scorecard action dependencies to c4e058a (#45036) PR Close #45036 16 February 2022, 21:52:24 UTC
62cec95 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:52 UTC
2ec696a 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:52 UTC
119fbdd docs: clarify install of build schematics deps (#45104) PR Close #45104 16 February 2022, 21:44:47 UTC
e8e09d3 docs: fix typos (#45103) correct word 'questionaire' to 'questionnaire' in Building dynamic forms guide PR Close #45103 16 February 2022, 21:42:45 UTC
d7c20c8 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
3e1fad4 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:08 UTC
aeeb1b5 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:12 UTC
331383b 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
0050b01 perf(animations): made errors in the animations package tree shakeable (#45079) This moves all the error strings into exported functions that can be tree shaken away. PR Close #45079 15 February 2022, 00:13:36 UTC
e632fd1 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:41 UTC
128038e docs: extend the LTS for ngUpgrade with a year (#45078) PR Close #45078 14 February 2022, 22:06:59 UTC
42c8533 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
2cc8fb0 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
4013db6 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
95ee74a 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:30 UTC
a782be6 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
dc4115d refactor(docs-infra): replace deprecated subscribe usages (#45046) This commit replaces deprecated `Observable.subscribe` usages. PR Close #45046 11 February 2022, 22:33:46 UTC
d8a1871 build: update angular (#45040) Update Angular packages to latest versions. PR Close #45040 10 February 2022, 17:16:14 UTC
dd177e2 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
0b82086 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:08 UTC
7af1f0a build: update scorecard action dependencies to 7f9dca2 (#45026) PR Close #45026 09 February 2022, 18:21:47 UTC
d0b88a6 build: update angular (#44981) (#45027) Updates Angular PR Close #44981 PR Close #45027 09 February 2022, 18:18:09 UTC
fd860e3 build: lock file maintenance (#45027) Lock file maintenance, patch port #44993. PR Close #45027 09 February 2022, 18:18:09 UTC
a01ae48 build: update dependency google-closure-compiler to v20220202 (#45013) PR Close #45013 08 February 2022, 19:16:08 UTC
3769de2 build: update scorecard action dependencies to 230611d (#45012) PR Close #45012 08 February 2022, 19:15:36 UTC
835b326 docs(forms): improve email validator directive docs (#45014) PR Close #45014 08 February 2022, 17:57:58 UTC
92cf9fb 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:21 UTC
back to top