8e13c35 | JoostK | 21 September 2021, 21:39:11 UTC | fix(compiler-cli): avoid broken references in .d.ts files due to @internal markers (#43527) The `ErrorCode` enum in the `error_code.ts` file is governed by public api guards but the other top-level exports from that file are exempt from public api documentation and are therefore marked as `@internal`. However, TypeScript is configured with the `stripInternal` compiler option such that declarations with `@internal` markers are not emitted into the `.d.ts` files, but this means that the reexports in the barrel file end up referring to missing declarations. The `stripInternal` option is considered internal and its documentation states to use at your own risk (as per https://github.com/microsoft/TypeScript/issues/45307). Having the option enabled is desirable for us as it works well for hiding class fields that are marked `@internal`, which is an effective way to hide members from the .d.ts file. As a workaround for the issue with top-level symbols, the declarations with `@internal` markers are moved to dedicated files for which no public api guard is setup, therefore allowing their `@internal` markers to be dropped. Fixes #43097 PR Close #43527 | 26 October 2021, 18:22:33 UTC |
59e56e7 | dirk diebel | 24 October 2021, 09:17:20 UTC | docs(docs-infra): change deprecated keyboardEvent.keyCode example to use keyboardEvent.code (#43934) PR Close #43934 | 26 October 2021, 00:05:23 UTC |
940eafa | amayer42 | 25 October 2021, 16:40:23 UTC | docs(localize): fix spelling of documentation link (#43941) Fixes the spelling of 'i18n' in a documentation link. PR Close #43941 | 25 October 2021, 22:05:18 UTC |
15bdd0d | Jessica Janiuk | 25 October 2021, 21:37:43 UTC | Revert "refactor(migrations): remove no longer accessible migrations" (#43943) This reverts commit f21ad8780b211f6fe0c3d9c80e3d85727c33685f. PR Close #43943 | 25 October 2021, 22:02:32 UTC |
087fae5 | Alan Agius | 25 October 2021, 18:11:45 UTC | refactor(migrations): remove no longer accessible migrations (#43942) With this change we remove no longer needed migrations. These migrations are no longer accessible following a change https://github.com/angular/angular-cli/pull/21986 in the Angular CLI. The CLI now shows an error message when users try to update `@angular/` and `@nguniversal/` packages across multiple major versions. Example to update from version 11 to version 13 the recommand approach is to run the following commands ``` ng update @angular/core@12 ng update @angular/core@13 (which is the same as ng update @angular/core) ``` NB: It is recommand that when update from one major to another, users verify that their applications is working as expected. PR Close #43942 | 25 October 2021, 19:32:27 UTC |
8277c38 | Andrew Kushnir | 23 October 2021, 19:46:07 UTC | test(platform-browser): complete component bootstrap before switching to the next test (#43933) The bootstrap tests that reused the same component (the `HelloRootCmp` one) were randomly failing due to the incomplete cleanup between tests. This commit ensures that the component bootstrap is fully cimpleted and there are no pending async actions before going to the next test. PR Close #43933 | 25 October 2021, 17:58:27 UTC |
7c5d642 | George Kalpakas | 23 October 2021, 09:41:42 UTC | fix(ngcc): support alternate UMD layout when adding new imports (#43931) In #43879, `UmdReflectionHost` was updated to deal with the new UMD format used by Rollup, where the parenthesis is around the wrapper function and not the wrapper function call. For reference, this caused failures in the `ngcc-validation` repo ([example 1][1], [example 2][2]). This commit updates `UmdRenderingFormatter` to also handle both UMD formats. In order to validate the change, this commit also updates the `UmdRenderingFormatter` tests to run against both UMD formats. [1]: https://circleci.com/gh/angular/ngcc-validation/65916 [2]: https://circleci.com/gh/angular/ngcc-validation/65758 PR Close #43931 | 25 October 2021, 17:56:27 UTC |
8178a30 | Doug Parker | 13 October 2021, 23:23:00 UTC | docs: deprecate `@angular-devkit/build-optimizer` (#43915) The entire package is deprecated in v13. Deprecation message is mostly copied from the package's [README](https://github.com/angular/angular-cli/blob/13.0.0-next.9/packages/angular_devkit/build_optimizer/README.md), with just some minor edits. (cherry picked from commit d81744e60018281e69f98c051e139f9336127b8e) PR Close #43915 | 25 October 2021, 17:54:52 UTC |
9968a8a | Alan Agius | 21 October 2021, 07:12:04 UTC | docs: remove fesm5 and esm5 deprecation notice. (#43915) This has been removed in version 11 and should no longer be listed. PR Close #43915 | 25 October 2021, 17:54:52 UTC |
e569a9c | Alan Agius | 21 October 2021, 07:06:20 UTC | docs: update CLI deprecation guide to reflect new deprecations (#43915) With this change we update the CLI deprecations sections as per version 13. PR Close #43915 | 25 October 2021, 17:54:52 UTC |
096ebb2 | Alan Agius | 21 October 2021, 06:48:31 UTC | docs: format tables in deprecations page (#43915) Currently, the table are unformatted which makes it extremely hard to read when viewing the markdown file directly. PR Close #43915 | 25 October 2021, 17:54:52 UTC |
97fc9de | ericcheng2005 | 02 October 2021, 19:46:28 UTC | refactor(core): made comment structure consistent in index.ts (#43684) changed second big block of comments to use multi-line comment structure instead of multiple single-line comments PR Close #43684 | 21 October 2021, 18:40:00 UTC |
6dc4d83 | ericcheng2005 | 02 October 2021, 19:39:40 UTC | docs: added commas to sentences in .vscode/README.md (#43684) PR Close #43684 | 21 October 2021, 18:40:00 UTC |
23928a0 | ericcheng2005 | 02 October 2021, 19:29:45 UTC | docs: fixed minor grammar mistakes in CONTRIBUTING (#43684) PR Close #43684 | 21 October 2021, 18:39:59 UTC |
72f6877 | Doug Parker | 15 October 2021, 19:12:45 UTC | docs: remove Ivy-specific guides (#43860) Ivy is the only supported rendering engine in v13, so there is no need to document the concept. Everything in Angular is Ivy. This starts the removal process by deleting Ivy-specific guides and references to them. It also updates the glossary to be more clear that Ivy is the current rendering engine while View Engine is simply a historical note. This does not attempt to fully remove all references to "Ivy" or "View Engine", that will likely be a more involved clean up process. PR Close #43860 | 21 October 2021, 18:14:34 UTC |
adc68b1 | krzysztof-grzybek | 10 October 2021, 09:54:16 UTC | fix(router): reuse route strategy fix (#43791) Currently, it's impossible to cache (detach/attach) parent route without caching child routes. This produces a bug, when navigating from a/b to c, then to a/d, where a route is cached. On the last navigation, we incorrectly restore a/b route instead of a/d. This change introduces new behavior: if the route should be detached/attached, we do so, but we check also child routes recursively. Fixes #17333 PR Close #43791 | 21 October 2021, 16:28:03 UTC |
5d03184 | Alan Agius | 20 October 2021, 11:22:06 UTC | ci: update `angular/dev-infra/github-actions` sha (#43904) Consume latest version of `angular/dev-infra/github-actions`. PR Close #43904 | 21 October 2021, 16:26:36 UTC |
bbbf678 | Alan Agius | 20 October 2021, 11:19:32 UTC | ci: replace `breaking-changes-label` with `commit-message-based-labels` (#43904) See: https://github.com/angular/dev-infra/pull/269 for more context PR Close #43904 | 21 October 2021, 16:26:35 UTC |
22009f6 | Tomasz Domański | 21 October 2021, 08:35:19 UTC | docs: fix typos in the workspace config guide (#43918) PR Close #43918 | 21 October 2021, 14:42:46 UTC |
0039b71 | George Kalpakas | 05 October 2021, 17:14:15 UTC | refactor(service-worker): avoid unnecessary writes to cache when version fails (#43680) When an app version is detected as broken, the SW calls the `Driver#versionFailed()` method. Previously, this method would in turn call the `Driver#sync()` method, which writes some metadata about the SW's state to the `ngsw:/:db:contol` cache. More specifically, `Driver#sync()` persists info about all known app versions, which one is the latest and also what version each client is assigned to. However, no relevant info is changed inside `Driver#versionFailed()`, so the call to `Driver#sync()` is redundant (since there are no changes that need to be synced with the cache). This is a left-over from before #43518, when `Driver#versionFailed()` used to update version assignments and thus did require synchronization with the cache. This commit removes the redundant `Driver#sync()` call to avoid an unnecessary write to the cache. PR Close #43680 | 21 October 2021, 14:20:51 UTC |
665466d | iRealNirmal | 04 October 2021, 13:05:34 UTC | docs: move deprecations example snippets to external file (#43700) Moving angular depreciation examples to external project closes #43337 PR Close #43700 | 20 October 2021, 20:24:55 UTC |
ae52bf1 | Willy Schott | 19 October 2021, 14:34:00 UTC | docs: clarify meaning of ellipsis in bazel command (#43890) PR Close #43890 | 20 October 2021, 20:14:49 UTC |
b31a9a7 | Andrew Kushnir | 20 October 2021, 16:57:26 UTC | release: cut the v13.0.0-rc.1 release (#43911) | 20 October 2021, 16:57:26 UTC |
7d33af0 | JoostK | 19 October 2021, 20:36:00 UTC | test(compiler-cli): run i18n extraction tests using Ivy compiler (#43893) This commit re-enables the `extract_i18n` test target and updates the test to run with the Ivy compiler. PR Close #43893 | 19 October 2021, 23:26:22 UTC |
aef0138 | JoostK | 19 October 2021, 17:24:15 UTC | test(compiler-cli): run watch mode tests using Ivy compiler (#43893) This commit re-enables the `perform_watch` test target and updates the test to run with the Ivy compiler. Additionally, this target was switched over to use Angular v12 packages as input to the test, to allow the ViewEngine tests to continue working with v13 packages which are Ivy-only. This commit reverts those changes now that View Engine tests are disabled, as it's desirable to test against local artifacts that are build within the monorepo instead of depending on NPM packages. PR Close #43893 | 19 October 2021, 23:26:22 UTC |
9d9346c | Alan Agius | 14 October 2021, 16:59:35 UTC | docs: add docs about build cache (#43843) With this change we add docs about persistant disk cache with was enabled by default in the CLI via https://github.com/angular/angular-cli/pull/21827 PR Close #43843 | 19 October 2021, 17:45:30 UTC |
812a33d | Joey Perrott | 15 October 2021, 21:40:58 UTC | ci: mark core/schematics/test:test and compiler-cli/test:perform_watch test as view engine only (#43862) Both test targets fail because, at test time, they use the view engine compiler, even when bazel sets the configuration to use ivy. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
aafde79 | Doug Parker | 15 October 2021, 17:14:23 UTC | refactor(compiler-cli): throw an error when compiling with View Engine. (#43862) The View Engine compiler now throws when constructed and will be removed shortly. Direct users should switch to `NgtscProgram` to build with [Ivy](https://angular.io/guide/ivy). The View Engine compiler is being removed, so this makes it throw an error to ensure no one accidentally depends on code being removed. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
57bf6b7 | Joey Perrott | 15 October 2021, 21:19:18 UTC | ci: correct comment related to building view engine npm packages (#43862) Removing the comment related about building the npm packages using view engine as it was actually done via ivy, now that ivy is used for all builds there is no need for expressing the aspect of the build. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
5e562b6 | Joey Perrott | 15 October 2021, 21:09:44 UTC | ci: remove view engine test job (#43862) Remove the view engine test job as view engine is no longer being tested on CI. Additionally, update size tracking to rely on test job instead of test_ivy_aot. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
04b4209 | Joey Perrott | 15 October 2021, 21:06:15 UTC | ci: remove windows view engine test job (#43862) Remove the windows view engine test job as view engine is no longer being tested on CI. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
f1e1849 | Joey Perrott | 15 October 2021, 20:45:56 UTC | ci: remove saucelabs view engine tests (#43862) Remove the view engine specific saucelabs test job and associated tags/tooling as view engine is no longer being tested on CI. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
442f520 | Joey Perrott | 15 October 2021, 21:02:52 UTC | build: remove ivy-aot bazel tag (#43862) Remove the ivy-aot bazel tag from usage as it served a duplicate purpose as ivy-only which is now removed as both are unneeded with Ivy as the default compiler used. PR Close #43862 | 19 October 2021, 17:06:57 UTC |
90ac770 | Joey Perrott | 15 October 2021, 21:00:18 UTC | build: remove fixme-ivy-aot tag filter (#43862) Remove the fixme-ivy-aot tag filter from usage as no targets are tagged with fixme-ivy-aot as ivy is now the compiler used by default. PR Close #43862 | 19 October 2021, 17:06:56 UTC |
959f563 | Joey Perrott | 15 October 2021, 20:58:45 UTC | build: remove "ivy-only" bazel tag (#43862) Because all actions are assumed to be running on Ivy, things which only work on Ivy should not be marked as Ivy only. PR Close #43862 | 19 October 2021, 17:06:56 UTC |
730511b | Joey Perrott | 15 October 2021, 20:27:17 UTC | build: rename "no-ivy-aot" tag to "view-engine-only" (#43862) Using the tag "view-engine-only" better describes the expected usage of bazel targets with the test. They can only be run with view engine. PR Close #43862 | 19 October 2021, 17:06:56 UTC |
c3f677d | Joey Perrott | 15 October 2021, 20:26:15 UTC | build: remove test-ivy-aot yarn script (#43862) Since building with ViewEngine is not longer desired on CI, removing the ivy vs non-ivy testing yarn scripts is done, informing developers to instead use `yarn test` as all tests should be run using the Ivy complier. PR Close #43862 | 19 October 2021, 17:06:56 UTC |
b75ee8d | Joey Perrott | 15 October 2021, 20:22:30 UTC | build: Use Ivy compiler for bazel builds by default (#43862) Setting the angular_ivy_enabled environment variable to True will default Bazel builds to use the Ivy compiler rather than defaulting to ViewEngine. PR Close #43862 | 19 October 2021, 17:06:56 UTC |
b489ae5 | Joey Perrott | 18 October 2021, 18:27:43 UTC | ci: remove browserstack configuration (#43881) Remove browserstack configuration from the repo as it is not used for our CI. PR Close #43881 | 18 October 2021, 22:00:23 UTC |
c882b9f | Pete Bacon Darwin | 18 October 2021, 16:24:21 UTC | fix(ngcc): support alternate wrapper function layout for UMD (#43879) Recently rollup, used by ng-packagr, changed the position of parentheses around its generated UMD wrapper functions. This commit ensures that ngcc can handle both. Fixes #43870 PR Close #43879 | 18 October 2021, 21:57:03 UTC |
fc6519c | Andrew Kushnir | 18 October 2021, 19:42:00 UTC | Revert "fix(compiler): support i18n interpolated only attribute bindings (#43815)" (#43882) This reverts commit bba0a8705548f16b4db3b88d03deb6e67a85e414. The reason for rollback: this change is breaking some targets in Google's codebase when there is no attribute value is displayed (attr.aria-label) when translated. PR Close #43882 | 18 October 2021, 20:16:01 UTC |
14b492d | Kristiyan Kostadinov | 18 October 2021, 10:56:52 UTC | fix(compiler): do not error if $any is used inside a listener (#43866) Fixes that `$any` casts weren't being converted to statements inside listeners which resulted in a compiler error. Fixes #43841. PR Close #43866 | 18 October 2021, 17:43:03 UTC |
cbde9ed | George Kalpakas | 18 October 2021, 15:21:58 UTC | docs: fix a couple of random typos (#43878) PR Close #43878 | 18 October 2021, 17:41:34 UTC |
dc6909a | Andrew Scott | 15 October 2021, 17:29:25 UTC | fix(router): Do not clear currentNavigation if already set to next one (#43852) Experimentation with the Router URL management exposed a situation where the `currentNavigation` was being cleared in the `finalize` after the `currentNavigation` was already set to the next one. This change ensures that the `currentNavigation` is only cleared if the id of the finalized transition matches the one on the `currentNavigation` object. PR Close #43852 | 18 October 2021, 17:30:54 UTC |
dbcc4be | Andrew Scott | 28 September 2021, 23:34:45 UTC | refactor(router): Remove use of browserUrlTree in scheduleNavigation (#43632) There are no added tests here because the change is generally equivalent to what was there before. The goal of that piece of code is to prevent duplicate navigations due to the location synchronization code between AngularJS and Angular. That is, the Angular router listens to the `popstate` event and triggers navigations, but so does the AngularJS router and triggers navigations through `router.navigateByUrl`. The `setTimeout` in the Angular Router's `setUpLocationChangeListener` is there to make this bit of code work: the 'popstate'/'hashchange' navigation will necessarily come after the imperative nav triggered by AngularJS's location sync. Anyhow, in the long run, I would like to get rid of this bit of code altogether. We should not have special handling for these cases. The AngularJS/Angular location sync should either: 1. Not trigger a duplicate navigation in the first place or 2. Be tolerant to processing the duplicate navigation. In the short term, this change benefits the router while we investigate removing this logic completely because now browserUrlTree has a single responsiblity: to support `onSameUrlNavigation==='reload'`. This means that we can work towards removing the `browserUrlTree` tracking from the Router code at some point as well and have the `onSameUrlNavigation` logic be part of a pre-navigation hook that can be handled outside the `Router`. This may or may not be possible, but the change here opens up that change for investigation. PR Close #43632 | 18 October 2021, 17:29:23 UTC |
db57e39 | David Shevitz | 18 October 2021, 05:44:06 UTC | docs: update getting started links to provide a more consistent user experience (#43872) PR Close #43872 | 18 October 2021, 16:25:36 UTC |
8c91e33 | Pete Bacon Darwin | 12 October 2021, 16:29:12 UTC | fix(compiler): support i18n interpolated only attribute bindings (#43815) While fully dynamic bound properties (and attributes) cannot be marked for localization, properties that only contain interpolation can. This commit ensure that attribute bindings that only contain interpolation can also be marked for localization. Closes #43260 PR Close #43815 | 18 October 2021, 16:24:42 UTC |
ebc9b55 | dario-piotrowicz | 15 October 2021, 19:00:55 UTC | fix(docs-infra): add paddings to docs-card titles (#43859) improve the aio docs-card title by adding some padding so that it doesn't get too close to the card's edges PR Close #43859 | 18 October 2021, 16:23:19 UTC |
017748c | dario-piotrowicz | 16 October 2021, 21:35:41 UTC | fix(docs-infra): move security anchors outside callout elements (#43865) two callout elements in the security guide have anchors as their first child element instead of the callout's header causing ugly/unwanted spacing, move the anchors above the callout elements to fix such issue PR Close #43865 | 18 October 2021, 16:22:39 UTC |
ee2678c | Paul Gschwendtner | 14 October 2021, 14:57:53 UTC | build: update bazel integration test to `rules_nodejs` v4.4.1 (#43853) Updates the Bazel integration test to `rules_nodejs` v4.4.1. Renovate could not complete this update automatically because it is unable to update the `package.json` and `lock` file due to there being relative `file:` references. PR Close #43853 | 15 October 2021, 20:55:53 UTC |
0983eec | Renovate Bot | 14 October 2021, 08:52:51 UTC | build: update all non-major dependencies (#43853) Updates all non-major dependencies to their latest available versions. PR Close #43853 | 15 October 2021, 20:55:53 UTC |
70c14ed | Pete Bacon Darwin | 15 October 2021, 16:48:26 UTC | build(docs-infra): add a box around CLI command line reference syntax (#43850) This commit helps to make the section that describes an overview of the syntax of a CLI command stand out from the surrounding text. Closes #26574 PR Close #43850 | 15 October 2021, 18:35:47 UTC |
772e08d | Andrew Scott | 14 October 2021, 16:44:31 UTC | fix(router): fix Router's public API for canceledNavigationResolution (#43842) The commit which made the `canceledNavigationResolution` property on the `Router` public did not add the corresponding configuration in the `ExtraOptions`. https://github.com/angular/angular/commit/3c6b653089837459809a370ebcaf8911c3bab9ed This was a mistake and is being corrected in this commit. We should not encourage changing the properties post-setup (i.e. `inject(Router).canceledNavigationResolution = 'computed'`). This manner of configuration makes the options non-tree shakeable because we have to keep both implementations in case the value changes at runtime. PR Close #43842 | 15 October 2021, 18:35:02 UTC |
12dfc0e | Younes Jaaidi | 05 October 2021, 15:35:49 UTC | docs: add younes jaaidi to GDE resources (#43721) PR Close #43721 | 15 October 2021, 17:49:26 UTC |
426a3ec | Doug Parker | 01 October 2021, 22:10:53 UTC | fix(compiler-cli): updates `ngc` to pass the build when only warnings are emitted (#43673) Refs #42966. Previously, a build when emitted one warning and no errors would fail with a non-zero exit code. This is not what users would expect, but had not been an issue before since the compiler did not actually emit any warnings. With upcoming extended template diagnostics and other warnings, this is now a case that needs to be supported. Warnings are printed to `stderr` as before, but `ngc` now exits with code `0` and the build is considered successful. Implemented this by adding a new `expectedExitCode` parameter to `driveDiagnostics()` which asserts against the real exit code. Most importantly, it does not **require** the the build to pass since any exit code can be given, so it is up to the test to assert this as well as many messages printed to make sure they are acceptable. This is useful for testing warnings and ensuring the build still passes. PR Close #43673 | 15 October 2021, 17:17:39 UTC |
e3b4abe | JoostK | 02 October 2021, 20:16:21 UTC | docs: include `WrappedValue` as removed API on deprecation page (#43685) A rebase of #43507 seems to have inadvertently dropped the note about the removed `WrappedValue` API from the deprecations page, so this commit reintroduces the text. PR Close #43685 | 15 October 2021, 17:16:03 UTC |
7e52681 | dario-piotrowicz | 14 October 2021, 20:13:31 UTC | fix(docs-infra): apply minor style fixes to aio contributor cards (#43844) improve the aio contributors card by aligning centrally the contributor's name and adding some padding so that it doesn't get too close to the card's edges Note: the name's aligning was already present by wrongly removed in PR #43355 PR Close #43844 | 15 October 2021, 17:12:59 UTC |
91e73c4 | Joe Martin (Crowdstaffing) | 12 October 2021, 23:08:16 UTC | docs: internationalization topics (#43819) Update links and code-examples. Remove redundant comments. PR Close #43819 | 14 October 2021, 22:53:27 UTC |
68cdcd3 | Andrew Scott | 14 October 2021, 21:21:48 UTC | Revert "refactor(router): clean up internal hooks (#43804)" (#43845) This reverts commit 5cc51880db2f0905b456065f339fbc792ae2d03f. PR Close #43845 | 14 October 2021, 21:43:41 UTC |
de5a63b | Renovate Bot | 13 October 2021, 17:07:12 UTC | build: update dependency @typescript-eslint/parser to v5 (#43807) PR Close #43807 | 14 October 2021, 17:14:49 UTC |
5f6e568 | Andrew Scott | 08 October 2021, 22:05:35 UTC | refactor(router): clean up internal hooks (#43804) * beforePreactivation hook is unused * The only place that uses afterPreactivation does not use the arguments Not to say we won't want to provide hooks similar to this in the future, but the current state is over-engineered for what it's being used for. PR Close #43804 | 14 October 2021, 17:04:01 UTC |
39cb30e | Alan Agius | 14 October 2021, 08:41:23 UTC | docs: add missing value types to optimization configuration (#43839) It appears that when the tables were changed from HTML to markdown some value types were lost. With this change we add the missing types and remove the commented out HTML content. PR Close #43839 | 14 October 2021, 17:01:57 UTC |
342d642 | Alan Agius | 14 October 2021, 08:11:44 UTC | docs: remove no longer relevant sections in build page (#43837) `Backward compatibility with Lighthouse` and `Backward compatibility with CSS grid` sections are no longer relevant since Internet Explorer is no longer supported. PR Close #43837 | 14 October 2021, 17:01:20 UTC |
1c3afc9 | Natalia Venditto | 13 October 2021, 15:21:01 UTC | docs: add natalia venditto to GDE resources (#43825) PR Close #43825 | 14 October 2021, 17:00:02 UTC |
6113813 | Joey Perrott | 13 October 2021, 18:43:35 UTC | docs: add missing split marker (#43830) Due to an outdated version of ng-dev running during release the changelog generated did not include a split marker, it should be added to avoid issues in the future. PR Close #43830 | 13 October 2021, 18:48:00 UTC |
b5eccde | Andrew Scott | 13 October 2021, 18:24:59 UTC | release: cut the v13.0.0-rc.0 release (#43828) | 13 October 2021, 18:24:59 UTC |
7ba9591 | Alan Agius | 07 October 2021, 09:36:21 UTC | ci: remove rollup from renovate ignoreDeps (#43737) We can now update to the latest rollup version. PR Close #43737 | 13 October 2021, 16:56:42 UTC |
80449f4 | Alan Agius | 06 October 2021, 13:28:47 UTC | build: update `rollup` dependencies (#43737) With this change we update `rollup` and remove the usage of no longer maintained `rollup-plugin-commonjs` and `rollup-plugin-node-resolve` plugins. PR Close #43737 | 13 October 2021, 16:56:42 UTC |
b155bf7 | dario-piotrowicz | 13 October 2021, 13:15:01 UTC | refactor(docs-infra): remove unnecessary tsconfig.json file (#43818) the tsconfig.json file in aio/content/examples does not seem necessary anymore as it was only used for tslinting and tslint has been removed from the examples in PR #43592 and PR #43746 PR Close #43818 | 13 October 2021, 16:51:11 UTC |
567c8fa | Renovate Bot | 12 October 2021, 17:56:21 UTC | build: update dependency @typescript-eslint/eslint-plugin to v5 (#43806) PR Close #43806 | 13 October 2021, 16:49:50 UTC |
780082c | Joey Perrott | 23 September 2021, 17:31:32 UTC | build: update to cldr@39 (#43820) Update repository to use cldr version 39 as it is the latest available. PR Close #43820 | 13 October 2021, 16:49:24 UTC |
c649635 | Renovate Bot | 02 October 2021, 05:14:37 UTC | build: update dependency @rollup/plugin-commonjs to v21 (#43675) PR Close #43675 | 13 October 2021, 16:48:46 UTC |
098d7ad | dario-piotrowicz | 03 October 2021, 16:11:30 UTC | docs(core): apply minor improvements to the InjectionToken's api docs (#43693) PR Close #43693 | 13 October 2021, 16:46:28 UTC |
ad83290 | Joe Martin (Crowdstaffing) | 05 October 2021, 15:54:06 UTC | docs: update internationalization topics (#43722) Add new $localize and Ivy content. Clean up navigation. PR Close #43722 | 12 October 2021, 21:38:38 UTC |
db01894 | Andrew Scott | 11 October 2021, 20:01:00 UTC | docs: remove mention of router API that 'may be deprecated' (#43765) The `params` and `queryParams` properties are listed in the deprecations as properties that "may be deprecated in the future". We should not document "maybe" deprecations. They are either deprecated or they are not deprecated. For this case, there is no value in the deprecation without a plan for how we will remove them. Once that is in place, we can truly deprecate them. PR Close #43765 | 12 October 2021, 17:56:06 UTC |
663690f | dario-piotrowicz | 26 September 2021, 11:59:23 UTC | fix(docs-infra): improve cancel icon in top-menu search (#43600) webkit browsers show a cancel X icon in the input search on focus/hover which allows to clear the content of the input, such icon has small glitches/imperfections so use a mat-icon instead (this also adds such icon to non-webkit browsers) PR Close #43600 | 12 October 2021, 17:50:30 UTC |
42f9341 | Joey Perrott | 11 October 2021, 19:18:04 UTC | docs: update CHANGELOG.md readme to include entry separators (#43799) Add `<!-- CHANGELOG SPLIT MARKER -->` between changelog entries to match the expected format of the CHANGELOG.md file for the repository tooling. PR Close #43799 | 12 October 2021, 17:49:20 UTC |
af31781 | Renovate Bot | 12 October 2021, 06:24:54 UTC | build: lock file maintenance (#43793) PR Close #43793 | 12 October 2021, 17:48:28 UTC |
39f625a | dario-piotrowicz | 09 October 2021, 13:08:45 UTC | docs(animations): fix wrong code links present in the animations guide (#43787) fix the links present in the animations guide under td elements written as `<code>[text](link)()</code>` which are not rendered properly Note: - the bug was introduced in PR #42885 - the bug is only present for code blocks inside html block elements, the aforementioned format can be used in the inline html elements without issues PR Close #43787 | 12 October 2021, 17:48:00 UTC |
154dda2 | mgechev | 04 October 2021, 16:59:54 UTC | docs: update ngUpgrade support message (#43704) PR Close #43704 | 12 October 2021, 17:46:15 UTC |
27ba803 | Alan Agius | 11 October 2021, 15:08:09 UTC | docs: update how to remove a configuration item (#43795) To remove a configuration item, `undefined` needs to be used as value. PR Close #43795 | 12 October 2021, 17:44:56 UTC |
8e9e27a | Alan Agius | 11 October 2021, 09:50:42 UTC | docs: update config path in per user tracking section (#43795) `cli.analyticsSharing.user` is not a valid config path. `cli.analyticsSharing.uuid` is the correct one. Partially addresses https://github.com/angular/angular-cli/issues/21916 PR Close #43795 | 12 October 2021, 17:44:56 UTC |
05c0311 | Alan Agius | 12 October 2021, 11:25:40 UTC | ci: use Node.js browsers image (#43810) Spinning up a Node.js browsers image has little to no overhead when the image is not cached on the host. `install_chrome_libs` however takes takes ~13s everytime. PR Close #43810 | 12 October 2021, 17:43:15 UTC |
73c1570 | Alan Agius | 12 October 2021, 10:12:15 UTC | build(docs-infra): update min range of node versions (#43810) Eslint 8 which is used in AIO requires Node.js `14.17.x` or later. PR Close #43810 | 12 October 2021, 17:43:15 UTC |
791b6f4 | Alan Agius | 12 October 2021, 10:12:03 UTC | ci: update default circle ci image to `cimg/node:14.17.6` (#43810) With this change we update Node.js version to 14.17 which is needed because of Eslint 8. Also, we replace the legacy images `circleci/node` with the new images `cimg/node`. See: https://circleci.com/developer/images/image/cimg/node PR Close #43810 | 12 October 2021, 17:43:15 UTC |
a589aff | Paul Gschwendtner | 11 October 2021, 20:01:48 UTC | ci: re-enable dev-app building in components-repo-unit-tests job (#43798) Re-enables the building of the `src/dev-app` package in the components repo when the components-repo-unit-test job runs. We previously disabled the dev-app because it was not compatible with template typechecking of ngtsc. This should be fixed now and can re-enable it. This could be valuable for having some actual real test scenarios of type checking. PR Close #43798 | 12 October 2021, 17:42:46 UTC |
562137e | Paul Gschwendtner | 11 October 2021, 20:01:05 UTC | ci: re-enable components-repo-unit-tests job after APF v13 adjustments (#43798) The APF v13 changes have landed in the `angular/components` repository so that the CI check can be re-enabled. PR Close #43798 | 12 October 2021, 17:42:46 UTC |
44f3eeb | David Shevitz | 03 September 2021, 22:07:00 UTC | docs: add redirect from angular.io/guide to angular.io/docs (#43341) PR Close #43341 | 12 October 2021, 17:41:49 UTC |
631769c | Daniel Díaz | 30 September 2021, 15:58:47 UTC | docs: fix typo in hierarchical injectors file (#43652) PR Close #43652 | 12 October 2021, 17:41:25 UTC |
7396021 | Kristiyan Kostadinov | 08 October 2021, 08:44:24 UTC | fix(core): avoid duplicating comments in TestBed teardown migration (#43776) Currently the TestBed teardown migration is set up in a similar way to all other migrations where we take a `CallExpression`, add a parameter to it, print it, and replace the existing call. The problem is that doing so while preserving the `expression` of the original `CallExpression` can cause comments to be duplicated. This can happen quite frequently, because by default the CLI generates comments before `initTestModule` calls. To work around it, these changes make the migration more precise by inserting a new parameter or replacing and existing one using string manipulation. This requires a bit more code, but it's more reliable than the following alternatives: 1. Using `getFullStart` and `getFullWidth` to replace the node. This would work with our current setup, but the problem is that `getFullStart` also includes whitespace and newlines before the leading comment. This can cause us to mess up the user's formatting and figuring out which whitespace to keep and which one to remove is tricky. 2. Recreating the `CallExpression.expression` when constructing the new node. This would also work since it'll drop any existing comments, but the problem is that `CallExpression.expression` can be a wide variety of nodes which we would have to account for. We can't use `getMutableClone`, because it preserves the comments. Fixes #43739. PR Close #43776 | 11 October 2021, 17:18:55 UTC |
6b90452 | dario-piotrowicz | 06 October 2021, 20:12:19 UTC | refactor(docs-infra): remove tslint from cli systemjs examples (#43746) remove the deprecated tslint from the examples of type systemjs note: eslint hasn't be applied and linting has been removed entirely to follow angular's unopinionated view on linting PR Close #43746 | 11 October 2021, 17:14:30 UTC |
2a67227 | Renovate Bot | 09 October 2021, 08:14:29 UTC | build: update dependency jsdom to v18 (#43786) PR Close #43786 | 11 October 2021, 16:44:47 UTC |
ef1a70f | Thomas Turrell-Croft | 08 October 2021, 10:04:31 UTC | docs: Formalize language describing HttpClient (#43778) PR Close #43778 | 11 October 2021, 16:43:16 UTC |
bfb2b81 | Tanguy Nodet | 08 October 2021, 08:16:04 UTC | docs: add missing declaration of `CartComponent` in tutorial (#43774) PR Close #43774 | 11 October 2021, 16:42:36 UTC |
bc36814 | Paul Gschwendtner | 30 September 2021, 20:37:22 UTC | build: update karma-sauce-launcher to latest version with heartbeat to prevent idle timeout (#43659) Updates the `karma-sauce-launcher` to the latest version that comes with the heartbeat implemented. Whenever we create an instance of a browser in Saucelabs, we need to send a Selenium command every X seconds as otherwise Saucelabs will terminate the session due to it thinking the session is already unused. This is especially a problem for Karma unit tests as there is no selenium command at all, except for the initial one loading the Karma site. The latest version of the launcher has implemented an interval that dispatches a noop selenium command every X seconds to notify Saucelabs that the instance is still active. The current version of the launcher does not do that. This is likely the source of some disconnects because after 10-13min, the SL browser is terminated but Karma still waits some minute after realizing the browser is actually disconnected. We (the Angular team), contributed to that version in the past since the heartbeat was very flaky.. and we removed it. With the new version a lot has changed, the underlying Selenium client has changed so it's worth trying again with the heartbeat re-implemented; it worked pretty well so far in the COMP repo). PR Close #43659 | 11 October 2021, 16:41:28 UTC |
1869474 | dario-piotrowicz | 06 October 2021, 20:47:45 UTC | refactor(docs-infra): remove linting from i18n example angular.json (#43747) remove linting from the i18n angular.json example as that is no longer present in the boilerplace angular.json (and the two should be kept in sync) note: the linting was removed from the boilerplate angular.json file in PR #43592 PR Close #43747 | 08 October 2021, 20:42:01 UTC |
978ac81 | Doug Parker | 23 September 2021, 19:06:54 UTC | docs: update CSP section to mention Angular's minimum requirements (#43553) Closes angular/angular-cli#21711. Refs #6361, #37631. PR Close #43553 | 08 October 2021, 20:40:54 UTC |
7778cb3 | George Kalpakas | 08 October 2021, 16:43:16 UTC | fix(docs-infra): ensure `SwUpdatesService` is instantiated (#43766) In 305d05545ad6037b3b8eccb8e53e09735836391e, we accidentally stopped instantiating the `SwUpdatesService` service, which meant that we were no longer subscribing to ServiceWorker update events and proactively checking for updates. We would still gets updates, because the ServiceWorker automatically checks on each navigation request and when a new ServiceWorker instance is created, but we would not proactively fetch updates and also miss `unrecoverable` errors. This commit fixes this by exposing an `enable()` method from `SwUpdatesService`, which has to be explicitly called for the service to be enabled, and ensures that the method is called when `AppComponent` is initialized. The commit also gets rid of the `SwUpdatesModule` (whose only purpose was to provide `SwUpdatesService`) in favor of using `providedIn`. Fixes #43695 PR Close #43766 | 08 October 2021, 20:39:46 UTC |
af11d3b | markostanimirovic | 07 October 2021, 22:26:06 UTC | docs: fix forms in template examples (#43772) PR Close #43772 | 08 October 2021, 20:39:13 UTC |
a64adab | George Kalpakas | 08 October 2021, 16:29:37 UTC | fix(docs-infra): avoid prepending version info to error messages twice (#43767) Previously, we used to prepend version info to error messages by updating their `message` property and their `stack` property. However, due to the fact that on some browsers `error.stack` is lazily computed based on `error.message` the first time the `stack` property is accessed, this resulted in prepending the version info twice. This commit ensures that the version info is only prepended to `error.stack` once to avoid unnecessary repetition in error messages. PR Close #43767 | 08 October 2021, 20:17:59 UTC |