30c52ac | Kristiyan Kostadinov | 03 March 2022, 14:26:24 UTC | 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:25 UTC |
6459b25 | Jessica Janiuk | 02 March 2022, 18:51:46 UTC | release: cut the v14.0.0-next.5 release (#45243) | 02 March 2022, 18:51:46 UTC |
3b85a12 | Jessica Janiuk | 02 March 2022, 18:27:13 UTC | docs: release notes for the v13.2.5 release (#45242) | 02 March 2022, 18:27:13 UTC |
69018c9 | Kristiyan Kostadinov | 02 March 2022, 06:45:17 UTC | feat(core): allow for injector to be specified when creating an embedded view (#45156) Adds support for passing in an optional injector when creating an embedded view through `ViewContainerRef.createEmbeddedView` and `TemplateRef.createEmbeddedView`. The injector allows for the DI behavior to be customized within the specific template. This is a second stab at the changes in #44666. The difference this time is that the new injector acts as a node injector, rather than a module injector. Fixes #14935. PR Close #45156 | 02 March 2022, 16:38:00 UTC |
05d50b8 | Andrew Kushnir | 17 February 2022, 06:17:59 UTC | perf(common): make `NgLocalization` token tree-shakable (#45118) 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 | 01 March 2022, 20:42:39 UTC |
c8e4d62 | Dylan Hunn | 28 February 2022, 20:52:35 UTC | refactor(forms): Split up `model.ts`. (#45217) model.ts is currently extremely large. This is the first step in an attempt to refactor it to be more easily navigable and reviewable. This commit breaks up `model.ts` into the following new files: * `model/abstract_model.ts`: The remainder of the model, including the `AbstractControl` base class and helper functions which are used throughout. * `model/form_control.ts`: `FormControl`, `FormControlOptions`, and helpers, plus the constructor and untyped friends. * `model/form_array.ts`: `FormArray` and untyped friends. * `model/form_group.ts`: `FormGroup` and untyped friends. This first phase is a purely mechanical code move. There is no new code at all, and no interfaces have been separated. PR Close #45217 | 01 March 2022, 19:49:31 UTC |
c5df474 | Theodore Brown | 25 February 2022, 02:51:22 UTC | 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 |
1b85811 | JiaLiPassion | 10 March 2021, 02:38:28 UTC | refactor(zone.js): for legacy browser, still use hard coding eventNames (#40962) For legacy browsers, we still use the eventNames array to patch event instead of using `Object.getOwnPropertyNames()` to keep backward compatibility. PR Close #40962 | 01 March 2022, 18:41:15 UTC |
0f298a1 | JiaLiPassion | 23 February 2021, 13:45:03 UTC | refactor(zone.js): remove onProp eventNames array to reduce the bundle size (#40962) Zone.js supports the google closure compiler in the advance optimization mode, to prevent closure compiler modify the `onProperty` name such as `Element.prototype.onclick`, Zone.js implements the `onProperty` patch logic by declaring all the event names in the source code, this increases the bundle size and also require updating the event names array to keep the information updated. Now google closure compiler has the required event names defined in the built-in externs files, so zone.js can use more simple implementation and decrease the bundle size of zone.js (about 4k). PR Close #40962 | 01 March 2022, 18:41:15 UTC |
c967976 | Dmitrij Kuba | 28 December 2021, 13:46:27 UTC | refactor(router): take only the first emitted value of every resolver to make it consistent with guards (#44573) The router used to wait for the resolvers to complete and take the last value. The changes here take only the first emitted value of every resolver and proceed the navigation. This matches how other guards work in the `Router` code. Resolves https://github.com/angular/angular/issues/44643 BREAKING CHANGE: Previously, resolvers were waiting to be completed before proceeding with the navigation and the Router would take the last value emitted from the resolver. The router now takes only the first emitted value by the resolvers and then proceeds with navigation. This is now consistent with `Observables` returned by other guards: only the first value is used. PR Close #44573 | 01 March 2022, 17:12:37 UTC |
bd12f9e | Dylan Hunn | 25 February 2022, 06:52:25 UTC | refactor(forms): Move `getRawValue` into the `AbstractControl` hierarchy. (#45200) Currently, there is a freestanding `getRawValue` function which examines the type of the control. This is an issue for refactoring `model.ts` because it creates unnecessary dependencies between the `AbstractControl` classes. It is cleaner to simply add this method to the model hierarchy and call it directly, and will ease upcoming refactoring. PR Close #45200 | 01 March 2022, 01:07:12 UTC |
4b936a1 | Dylan Hunn | 01 March 2022, 00:38:39 UTC | Revert "feat(core): allow for injector to be specified when creating an embedded view (#45156)" (#45220) This reverts commit 94c949a60ad0de1f5385ec97f2c1933cb1d55f22. PR Close #45220 | 01 March 2022, 01:04:57 UTC |
b817f3c | Dylan Hunn | 28 February 2022, 23:45:34 UTC | Revert "refactor(forms): Move `getRawValue` into the `AbstractControl` hierarchy. (#45200)" (#45219) This reverts commit dfc4301b33c3e08456af59f77e7f3bb611bceb6b. PR Close #45219 | 01 March 2022, 00:07:39 UTC |
dfc4301 | Dylan Hunn | 25 February 2022, 06:52:25 UTC | refactor(forms): Move `getRawValue` into the `AbstractControl` hierarchy. (#45200) Currently, there is a freestanding `getRawValue` function which examines the type of the control. This is an issue for refactoring `model.ts` because it creates unnecessary dependencies between the `AbstractControl` classes. It is cleaner to simply add this method to the model hierarchy and call it directly, and will ease upcoming refactoring. PR Close #45200 | 28 February 2022, 19:44:07 UTC |
7ee121f | Dylan Hunn | 25 February 2022, 17:47:45 UTC | feat(forms): Add untyped versions of the model classes for use in migration. (#45205) We had previously introduced an `AnyForUntypedForms` type alias. However, given our updated migration plan, we actually want to use aliases for the model classes themselves. This commit introduces these aliases, and adds them to the public API. It must be merged before the types, in order to migrate google3. PR Close #45205 | 28 February 2022, 19:43:22 UTC |
94c949a | Kristiyan Kostadinov | 28 February 2022, 18:49:52 UTC | feat(core): allow for injector to be specified when creating an embedded view (#45156) Adds support for passing in an optional injector when creating an embedded view through `ViewContainerRef.createEmbeddedView` and `TemplateRef.createEmbeddedView`. The injector allows for the DI behavior to be customized within the specific template. This is a second stab at the changes in #44666. The difference this time is that the new injector acts as a node injector, rather than a module injector. Fixes #14935. PR Close #45156 | 28 February 2022, 19:42:26 UTC |
9366a3c | dario-piotrowicz | 06 February 2022, 16:21:50 UTC | 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 |
4d494d2 | JiaLiPassion | 12 February 2022, 23:53:31 UTC | feat(zone.js): add Promise.any() implementation (#45064) Implements `Promise.any()` introduced in ES2021. Close #44393 PR Close #45064 | 28 February 2022, 17:39:28 UTC |
f4fd488 | Paul Gschwendtner | 26 February 2022, 20:59:18 UTC | build: update tooling to use new entry-point for dev-infra exports (#45206) 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 #45206 | 28 February 2022, 17:38:26 UTC |
064cbed | Renovate Bot | 28 February 2022, 16:00:35 UTC | build: update angular (#45206) PR Close #45206 | 28 February 2022, 17:38:26 UTC |
4c80ca3 | Dylan Hunn | 25 February 2022, 06:41:54 UTC | refactor(forms): Clean up the find function. (#45199) Move `find` into the `AbstractControl` hierarchy, and clean up a longstanding implementation todo. PR Close #45199 | 28 February 2022, 17:26:31 UTC |
cbbf13f | Guillaume Bonnet | 15 February 2022, 22:41:04 UTC | 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:40 UTC |
78a0ac0 | Paul Gschwendtner | 25 February 2022, 12:25:00 UTC | 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 |
e56472d | Paul Gschwendtner | 20 February 2022, 10:27:27 UTC | 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 |
e01820c | Renovate Bot | 25 February 2022, 09:28:33 UTC | build: update dependency @types/chrome to ^0.0.179 (#45201) PR Close #45201 | 25 February 2022, 19:07:27 UTC |
63e9cc7 | Paul Gschwendtner | 18 February 2022, 20:14:32 UTC | ci: update aio payload size golden to reflect Angular update (#45117) Updates the AIO payload size golden to reflect the Angular update as proposed by Renovate (see previous commit). The main bundle got reduced and exceeded the threshold, so we needed to update the golden. As part of this, all other bundle metrics are updated even though not exceeding the threshold yet. PR Close #45117 | 25 February 2022, 19:03:16 UTC |
2f7fc3d | Paul Gschwendtner | 18 February 2022, 20:09:49 UTC | build: switch to karma web test rule from shared dev-infra (#45117) Switches the Karma web test rule from `@bazel/concatjs` to our wrapped/extended variant from the shared dev-infra code. One benefit is that we now get a `_debug` target for web tests where no browser is being launched and the action is kept alive. Allowing developers to conveniently connect a browser manually for debugging. Also works with iBazel for the manually connected browser. PR Close #45117 | 25 February 2022, 19:03:16 UTC |
1f4c92d | Renovate Bot | 17 February 2022, 23:47:13 UTC | build: update angular (#45117) PR Close #45117 | 25 February 2022, 19:03:16 UTC |
aae07c3 | Renovate Bot | 24 February 2022, 23:01:45 UTC | build: lock file maintenance (#45071) PR Close #45071 | 24 February 2022, 23:56:13 UTC |
88f1168 | Kristiyan Kostadinov | 23 February 2022, 09:12:42 UTC | perf(core): only track LViews that are referenced in __ngContext__ (#45172) Follow-up to #45051 where every `LView` that was being created was tracked in the `TRACKED_LVIEWS` map. This isn't necessary, because we only need to track the view that have been referenced by an `__ngContext__`. PR Close #45172 | 24 February 2022, 23:51:38 UTC |
0920104 | Andrew Scott | 23 February 2022, 00:32:15 UTC | 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:00 UTC |
d8428ca | Andrew Scott | 23 February 2022, 00:26:53 UTC | 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:00 UTC |
24e39a7 | dario-piotrowicz | 20 February 2022, 11:51:21 UTC | 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:53 UTC |
0465451 | Renovate Bot | 24 February 2022, 21:46:10 UTC | build: update all non-major dependencies (#45189) PR Close #45189 | 24 February 2022, 22:55:12 UTC |
0debf84 | JoostK | 02 February 2022, 18:59:09 UTC | ci: allow Babel to be updated by Renovate (#44931) 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 #44931 | 24 February 2022, 21:42:54 UTC |
7bbddb5 | JoostK | 01 February 2022, 21:12:44 UTC | refactor(localize): update version of Babel (#44931) 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 #44931 | 24 February 2022, 21:42:54 UTC |
8d634ac | Charles Lyding | 23 February 2022, 16:42:17 UTC | 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 |
451bc27 | Jessica Janiuk | 24 February 2022, 20:45:35 UTC | 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:31 UTC |
7fd416d | Andrew Scott | 23 February 2022, 16:37:02 UTC | fix(router): Fix type of Route.pathMatch to be more accurate (#45176) Route.pathMatch only allows `'full'|'prefix'` in reality. This commit adjusts the type to be more strict and also adds a migration to adjust existing code. resolves #37469 BREAKING CHANGE: The type of `Route.pathMatch` is now more strict. Places that use `pathMatch` will likely need to be updated to have an explicit `Route`/`Routes` type so that TypeScript does not infer the type as `string`. PR Close #45176 | 24 February 2022, 18:44:07 UTC |
66f3551 | dario-piotrowicz | 19 February 2022, 18:40:34 UTC | 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:55 UTC |
909b21a | Martin Sikora | 21 November 2021, 22:50:29 UTC | 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:33 UTC |
7671a1e | Martin Sikora | 24 April 2020, 18:49:34 UTC | 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:33 UTC |
ca5603b | JoostK | 23 February 2022, 19:42:15 UTC | 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 |
8eb8288 | Renovate Bot | 24 February 2022, 08:35:55 UTC | build: update github/codeql-action action to v1.1.3 (#45188) PR Close #45188 | 24 February 2022, 17:11:16 UTC |
bad5096 | dario-piotrowicz | 17 February 2022, 21:03:05 UTC | 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:18 UTC |
2e7e46f | Charles Lyding | 23 February 2022, 16:53:27 UTC | ci: use renovate Github Action tag version pinning (#45178) Renovate supports using hashed version pinning for individual Github actions while still following SemVer-based tags. All workflow actions external to the Angular organization now leverage this support to ensure both that stable versions of the actions are used and that the actions are pinned to a hashed version of the tag. PR Close #45178 | 23 February 2022, 21:02:47 UTC |
ded96ca | Andrew Scott | 23 February 2022, 20:50:34 UTC | release: cut the v14.0.0-next.4 release (#45184) | 23 February 2022, 20:50:34 UTC |
0c26c93 | Andrew Scott | 23 February 2022, 20:49:04 UTC | docs: release notes for the v13.2.4 release (#45183) | 23 February 2022, 20:49:04 UTC |
f58ad88 | arturovt | 23 February 2022, 04:31:51 UTC | 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 | Alan Cohen | 16 February 2022, 02:50:27 UTC | docs: fix test description to match code example (#45101) PR Close #45101 | 23 February 2022, 16:58:40 UTC |
f8dc660 | dario-piotrowicz | 12 February 2022, 22:32:03 UTC | 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 | JiaLiPassion | 14 February 2022, 11:49:49 UTC | 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 | Daniele Maltese | 21 February 2022, 16:40:42 UTC | 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 | JoostK | 16 February 2022, 22:11:33 UTC | 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 | Renovate Bot | 22 February 2022, 08:30:13 UTC | build: update ossf/scorecard-action commit hash to 3662744 (#45162) PR Close #45162 | 22 February 2022, 20:48:11 UTC |
ff6be32 | Kristiyan Kostadinov | 18 February 2022, 10:10:03 UTC | 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 | ivanwonder | 16 February 2022, 14:04:12 UTC | 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 | Paul Gschwendtner | 22 February 2022, 10:40:23 UTC | 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 | Renovate Bot | 18 February 2022, 10:19:01 UTC | build: update scorecard action dependencies to 040feef (#45135) PR Close #45135 | 18 February 2022, 21:57:03 UTC |
f28276c | manuelkroiss | 27 January 2022, 14:10:04 UTC | 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 | Andrew Kushnir | 16 February 2022, 06:22:27 UTC | 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 | Andrew Kushnir | 16 February 2022, 00:32:30 UTC | 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 | Andrew Kushnir | 15 February 2022, 23:23:12 UTC | 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 | dario-piotrowicz | 13 February 2022, 16:50:40 UTC | 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 | dario-piotrowicz | 17 February 2022, 21:15:24 UTC | 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 | David Wolf | 17 February 2022, 21:25:21 UTC | docs(forms): remove `type` duplicate from `button` in reactive-forms example (#45124) PR Close #45124 | 18 February 2022, 21:34:59 UTC |
561bd75 | Renovate Bot | 17 February 2022, 23:47:24 UTC | build: update dependency io_bazel_rules_sass to v1.49.8 (#45128) PR Close #45128 | 18 February 2022, 21:34:14 UTC |
32f83ab | AlirezaEbrahimkhani | 17 February 2022, 20:05:00 UTC | 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 | Alan Cohen | 18 February 2022, 05:00:50 UTC | docs: fix test examples to use withContext (#45100) PR Close #45100 | 18 February 2022, 21:32:44 UTC |
071c8af | Kristiyan Kostadinov | 17 February 2022, 07:35:10 UTC | 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 | Joey Perrott | 17 February 2022, 21:34:21 UTC | release: cut the v14.0.0-next.3 release | 17 February 2022, 21:35:05 UTC |
4333662 | Joey Perrott | 17 February 2022, 21:30:21 UTC | docs: release notes for the v13.2.3 release | 17 February 2022, 21:32:15 UTC |
db4a658 | Renovate Bot | 16 February 2022, 17:25:33 UTC | build: update scorecard action dependencies to c4e058a (#45036) PR Close #45036 | 16 February 2022, 21:52:24 UTC |
ee381da | JiaLiPassion | 11 February 2022, 04:34:49 UTC | 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 | JiaLiPassion | 11 February 2022, 04:31:54 UTC | 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 | Renovate Bot | 15 February 2022, 16:29:13 UTC | build: update all non-major dependencies (#45037) PR Close #45037 | 16 February 2022, 21:50:43 UTC |
5c7c56b | JoostK | 11 February 2022, 20:46:55 UTC | 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 | Joey Perrott | 15 February 2022, 17:01:46 UTC | 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 | Renovate Bot | 15 February 2022, 01:06:09 UTC | build: update angular (#45061) PR Close #45061 | 16 February 2022, 21:46:31 UTC |
81bb0eb | Aristeidis Bampakos | 16 February 2022, 09:01:08 UTC | docs: clarify install of build schematics deps (#45104) PR Close #45104 | 16 February 2022, 21:44:47 UTC |
80585f4 | Yousaf Nawaz | 16 February 2022, 06:35:14 UTC | 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 | AlirezaEbrahimkhani | 16 February 2022, 19:27:48 UTC | 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 | AlirezaEbrahimkhani | 16 February 2022, 19:27:21 UTC | 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 | Andrew Kushnir | 15 February 2022, 19:47:09 UTC | 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 | zuckjet | 11 February 2022, 04:52:03 UTC | 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 | AlirezaEbrahimkhani | 15 February 2022, 16:55:30 UTC | 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 | Jessica Janiuk | 14 February 2022, 23:17:55 UTC | 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 | mgechev | 14 February 2022, 17:43:10 UTC | docs: extend the LTS for ngUpgrade with a year (#45078) PR Close #45078 | 14 February 2022, 22:06:59 UTC |
3678434 | dario-piotrowicz | 11 February 2022, 22:13:37 UTC | 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 | Mina Hosseini Moghadam | 11 February 2022, 10:08:27 UTC | 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 | Kristiyan Kostadinov | 14 February 2022, 19:53:53 UTC | 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 | arturovt | 30 January 2022, 22:40:10 UTC | 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 | Patrick Cameron | 13 February 2022, 17:22:50 UTC | 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 | Dario Piotrowicz | 22 December 2021, 18:39:20 UTC | 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 | George Kalpakas | 13 February 2022, 08:45:20 UTC | 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 | markostanimirovic | 10 February 2022, 23:02:32 UTC | 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 | markostanimirovic | 10 February 2022, 23:19:33 UTC | 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 | Renovate Bot | 11 February 2022, 13:52:00 UTC | build: update angular (#45049) PR Close #45049 | 11 February 2022, 22:33:17 UTC |
8793dbd | Renovate Bot | 09 February 2022, 22:27:15 UTC | build: update angular (#45011) PR Close #45011 | 10 February 2022, 17:15:41 UTC |
bbababe | Srdjan Milic | 06 February 2022, 07:49:51 UTC | 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 |