https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
7677963 release: cut the v15.2.0 release 22 February 2023, 21:04:10 UTC
03fcb36 fix(migrations): migrate HttpClientModule to provideHttpClient() (#48949) The `standalone-bootstrap` migration now migrates `HttpClientModule` imports to `provideHttpClient(withInterceptorsFromDi())` instead of `importProvidersFrom(HttpClientModule)`. The `withInterceptorsFromDi()` feature is added to make sure class-based interceptors still works if there are any in the application. Fixes #48948 PR Close #48949 22 February 2023, 19:30:01 UTC
2f08560 docs: escape script tag to prevent rendering problems (#49152) un-commented tags are responsible for rendering problem of markdown document. This commit fixes the http make jsonp request guide. fixes #49151 PR Close #49152 22 February 2023, 19:29:33 UTC
7b4d3c0 build: update actions/cache digest to 69d9d44 (#49148) See associated pull request for more information. PR Close #49148 21 February 2023, 21:36:41 UTC
c98c6a8 fix(migrations): don't copy animations modules into the imports of test components (#49147) Since we have less information about how to copy test components, we copy all the `imports` from the `configureTestingModule` call into the component's `imports`. It fixes some tests, but it can cause issues with animations modules, because they throw errors if they're imported multiple times. These changes add an exception for animations modules imported in testing modules. PR Close #49147 21 February 2023, 21:35:43 UTC
6301935 build: update eslint dependencies to v5.53.0 (#49146) See associated pull request for more information. PR Close #49146 21 February 2023, 21:24:16 UTC
cff84d0 docs(router): `canMatch` route guard method signature update (#49140) Very cosmetic, but it might be necessary : I updated the ```canAccess``` method second signature name and type in the provided sample. As it stands, it triggers `TS(2345): Argument of type 'Route' is not assignable to parameter of type 'string'`. PR Close #49140 21 February 2023, 21:23:08 UTC
ba7a757 fix(migrations): return correct alias when conflicting import exists (#49139) Fixes that the `ImportManager` was returning the `propertyName` instead of the `name` when there's an import with a conflicting identifier. PR Close #49139 21 February 2023, 21:17:21 UTC
ecb3091 build: update AIO to TypeScript 4.9 (#49135) Updates AIO to the latest stable version of TypeScript as a prerequisite to drop support for 4.8. PR Close #49135 21 February 2023, 21:16:36 UTC
2fd8194 docs: add NG Poland 2023 and JS Poland 2023 to events (#48972) docs: add NG Poland 2023 and JS Poland 2023 to events PR Close #48972 21 February 2023, 21:16:06 UTC
0950ef6 ci: attempt to fix node windows job flakiness (#49142) Ocasionally Node is randomly not installed in the Windows job. We've been trying to debug this for a while. With the additonal debug information it looks like in some situations the NodeJS folder from NVM is not even present. One idea is to use `nvm on` to ensure NVM is actually enabled. It's unclear why it would be `off` at VM start, but it's worth giving a try. Trying `nvm off` via SSH yields similar issues as we saw in the flaky workflows: https://app.circleci.com/pipelines/github/angular/angular/56160/workflows/2f1b80b3-29c7-4274-804e-cb994c20aff0/jobs/1287228 PR Close #49142 20 February 2023, 15:16:54 UTC
e69ba26 ci: fix rbe initialization failing in windows job (#49142) The RBE init script from dev-infra is using ES2020 but the image NodeJS version does not support e.g. nullish coalescing. PR Close #49142 20 February 2023, 15:16:54 UTC
6187888 build: update to latest remote build execution setup (#49133) Update to the latest RBE setup after key rotation. PR Close #49133 18 February 2023, 02:42:28 UTC
8ed653b ci: update AIO payload size tracking (#49130) This commit updates a golden file to decrease an expected payload size. PR Close #49130 17 February 2023, 19:55:02 UTC
b76b176 refactor(http): simplify HttpClientModule XSRF configuration (#48957) The current configuration of `HttpClientModule` explicitely enables the XSRF configuration, but this XSRF configuration is the one used by default by `provideHttpClient`. See https://github.com/angular/angular/blob/main/packages/common/http/src/provider.ts#L50-L98 PR Close #48957 17 February 2023, 19:17:55 UTC
f8a932a build: update io_bazel_rules_sass digest to a2efcd6 (#49122) See associated pull request for more information. PR Close #49122 17 February 2023, 19:11:01 UTC
d784986 Revert "fix(platform-server): insert transfer state `script` before other `script` tags (#48868)" (#49112) This reverts commit 2fc5b70fcedb8ac35b825b245c0ae394dc125244 as this change is no longer needed since `type=module` script are deferred by default. Which causes the transfer data to be queried after the browser has finished parsing the DOM. PR Close #49112 17 February 2023, 19:09:22 UTC
31a71a0 refactor: remove unnecessary file (#49042) view had a single export from a file located in the same package, no need to keep it. PR Close #49042 17 February 2023, 19:08:34 UTC
3d8efec test: remove `cli-hello-world-ivy-compat` integration test (#49111) This now is the same as `cli-hello-world` since this test does not use View Engine PR Close #49111 17 February 2023, 19:07:28 UTC
345817f docs: New doc HTTP client - Pass metadata to interceptors. (#48918) PR Close #48918 17 February 2023, 19:06:58 UTC
24b6eea docs: New doc HTTP client - Test requests (#48917) PR Close #48917 17 February 2023, 19:06:04 UTC
d457ffc docs: New doc HTTP client - Security: Cross-Site Request Forgery (XSRF) protection (#48916) PR Close #48916 17 February 2023, 19:05:27 UTC
a378267 docs: New doc extract from original HTTP doc to be retired. (#48913) PR Close #48913 17 February 2023, 19:04:51 UTC
11f8f8d docs: new doc extract from original HTTP doc to be retired. (#48911) PR Close #48911 17 February 2023, 19:04:22 UTC
4811850 docs: new doc extract from original HTTP doc which is to be retired. (#48905) PR Close #48905 17 February 2023, 19:03:49 UTC
5d64409 docs: New document extracted from the original Communicating with backend services using HTTP document, which is to be retired. (#47965) PR Close #47965 17 February 2023, 19:03:06 UTC
25e220a fix(platform-server): avoid duplicate TransferState info after renderApplication call (#49094) This commit updates the `renderApplication` function to avoid duplicate serialization of the data from the `TransferState` class. The `renderApplication` function imports providers from the `ServerModule`, which already include the `TransferState` serialization providers, but the same providers were also included inside the `renderApplication` as well, which led to the duplication. PR Close #49094 17 February 2023, 00:00:30 UTC
c95766e refactor: restore tree shaking for a warning message (#49064) `getInheritedInjectableDef` logs a depreciation warning that can be tree shaked in prod. Let's do it. PR Close #49064 16 February 2023, 23:55:44 UTC
43e9301 docs: fixing typo in angular compiler options (#49085) The strictness flags that this "option" instead of "open". Fixes #49078 PR Close #49085 16 February 2023, 23:54:15 UTC
e63fb80 refactor(router): Remove warning for an invalid ActivatedRoute (#49117) This warning was put in place to surface an error when developers use an ActivatedRoute with an invalid structure in tests. However, there isn't a clear path to fixing it and the tests continue to pass (ideally - that's what the recovery code is there for). Rather than surfacing an error that developers would be confused by and likely ignore, it would be better to not warn at all unless there is a clearer action to take to resolve the issue. resolves #49116 PR Close #49117 16 February 2023, 23:53:29 UTC
25bed17 docs: fix typo in toh-pt5.md (#49108) Line 254 - change 'liberate' to 'liberates'. PR Close #49108 16 February 2023, 23:52:33 UTC
117af7d docs: improve sentence in toh-pt5.md (#49109) Line 302 - improve clarity. PR Close #49109 16 February 2023, 23:51:27 UTC
ee7a924 docs: fix typo in router-tutorial-toh.md (#49095) non-existant -> non-existent PR Close #49095 16 February 2023, 23:50:56 UTC
e1607cd docs(core): typo adding missing comma (#49088) PR Close #49088 16 February 2023, 23:49:09 UTC
b06a1d0 docs: add guide for standalone migration (#49044) Adds a guide describing how to use the standalone migration schematic. The new guide is grouped together with the existing standalone guide. PR Close #49044 16 February 2023, 23:33:18 UTC
a814ed1 docs: close the developer survey (#49092) PR Close #49092 16 February 2023, 23:32:45 UTC
1a7444f build: avoid unnecessary re-evaluation of starlark code (#49106) The experimental allow tags propagation flag is a `BuildLanguage` option and causes all Starlark code to be re-invoked. This causes a slow-down when switching between bazel query/ bazel build because the option is not set for `bazel query`. We fix it by applying the option to all commands, using `common`. PR Close #49106 16 February 2023, 23:31:56 UTC
bf4ad38 fix(platform-browser): remove styles from DOM of destroyed components (#48298) Currently style of components using `encapsulation`, `None` or `Emulated` will not be removed from the DOM once the component get destroyed. This change addresses this by keeping track of the number of times a component is rendered, when the component is destroyed the counter is decreased and once this reaches zero the style element is removed from the DOM. Currently, this new behaviour is on opt-in bases, but it will be changed in the next major version. To opt-in, set the `REMOVE_STYLES_ON_COMPONENT_DESTROY` DI token to `true`. Example ```ts @NgModule({ declarations: [ AppComponent, ], imports: [ BrowserModule ], providers: [ { provide: REMOVE_STYLES_ON_COMPONENT_DESTROY, useValue: true } ], bootstrap: [AppComponent] }) export class AppModule { } ``` Closes #16670 PR Close #48298 16 February 2023, 23:31:24 UTC
86d4016 refactor(compiler): remove remaining usage of getMutableClone (#49070) Uses an alternate approach of preserving default imports that doesn't involve the `getMutableClone` function that is being removed in TypeScript 5.0. The alternate approach was already used in the downlevel transform and it works by patching the EmitResolver of the current transformation context to tell TypeScript to preserve the import. PR Close #49070 16 February 2023, 23:30:53 UTC
440b51b release: cut the v15.2.0-rc.0 release 15 February 2023, 17:45:14 UTC
44f13e2 docs: release notes for the v15.1.5 release 15 February 2023, 17:38:17 UTC
2ca4972 refactor(devtools): consolidate devtools global styles into 1 file (#49001) Previously the DevTools demo app and browser app had duplicated styles in their respective styles.scss files. This commit creates a global styles.scss that is imported with sass @use into the demo and browser app styles.scss files. This will prevent any issues where css changes to one are missed in the other. Also reduces duplication of material css theme definitions by consolidating it inone place. The respective styles.scss files for the demo app and browser app continue to exist incase those need environment specific css. For example the browser app requires that height: 100% is set on a document in order to render properly in a browsers devtools tab. PR Close #49001 14 February 2023, 19:25:23 UTC
7321154 docs: remove former team members from bios (#48999) PR Close #48999 14 February 2023, 17:46:20 UTC
6529ade ci: clean up pull approve file from former team members (#48999) Cleanup pullapprove file PR Close #48999 14 February 2023, 17:46:20 UTC
1f1a312 build: update dependency json5 to v2.2.2 [security] (#48989) See associated pull request for more information. PR Close #48989 14 February 2023, 17:04:01 UTC
a4fdc8f build: update eslint dependencies to v5.52.0 (#49056) See associated pull request for more information. PR Close #49056 14 February 2023, 15:28:01 UTC
7e4c554 docs: fix the broke URL to w3c Trusted Types spec (#49047) PR Close #49047 14 February 2023, 15:25:54 UTC
f874d6e build: update dependency google-closure-compiler to v20230206 (#49028) See associated pull request for more information. PR Close #49028 14 February 2023, 15:24:22 UTC
b98b2b3 build: update cross-repo angular dependencies (#49058) See associated pull request for more information. PR Close #49058 14 February 2023, 15:18:46 UTC
62453bf build: update github/codeql-action action to v2.2.4 (#49055) See associated pull request for more information. PR Close #49055 14 February 2023, 14:02:33 UTC
1c5ae63 refactor(docs-infra): Drop deprecated rxjs multicasting operators (#48969) RxJS has deprecated the `publishReplay` & `publishLast` operators which will be removed in RxJS 8. `connectable()` should be used instead. PR Close #48969 14 February 2023, 13:48:29 UTC
31a2e21 build: update cross-repo angular dependencies (#48929) See associated pull request for more information. PR Close #48929 14 February 2023, 13:46:07 UTC
64f3684 build: update io_bazel_rules_sass digest to b603e6f (#49053) See associated pull request for more information. PR Close #49053 14 February 2023, 13:40:22 UTC
3ec2e2d build: never cache monitoring bazel test target (#49039) We recently switched some of the monitoring e2e tests to Bazel. These tests should never be cached because they rely on an external URL and on network access. The URL itself might stay the same for quite a while, but the underlying site might change based on new deployments. Bazel only sees the URL and caches the test then. We want to avoid this. PR Close #49039 13 February 2023, 19:04:47 UTC
ebae506 fix(migrations): use import remapper in root component (#49046) Fixes that in #49022 the component import remapping function was being passed into the standalone migration. PR Close #49046 13 February 2023, 15:08:18 UTC
0b725a8 build: update dependency eslint-plugin-jsdoc to v40 (#49037) See associated pull request for more information. PR Close #49037 13 February 2023, 15:07:26 UTC
816e76a fix(migrations): automatically prune root module after bootstrap step (#49030) Currently as a part of the bootstrapping API migration we comment out the metadata of the root module and instruct users to re-run the module pruning step which can be cumbersome. These changes run the module pruning automatically. Note that initially I tried to reuse the module pruning logic and to run it against the existing program, but it was problematic, because it was common to have conflicting changes for the same AST nodes. PR Close #49030 13 February 2023, 08:52:07 UTC
b97d591 build: improve debugging of symbol extractor tests (#49000) Always print the path to the JS input file so that its easy to jump to it. PR Close #49000 13 February 2023, 08:12:50 UTC
3c91d7e test: update symbol extractor test goldens to reflect terser updates (#49000) The terser update included various changes, including changes to the inline optimizations. Constants like for the bloom filter are no longer inlined multiple times, but instead the constant is preserved and used with a shortened/mangled name. Note this also applies to other symbols like `SimpleChanges` too. This means that such new variables now show up in the symbols goldens. Concrete examples of inlined & no-longer inlined constants can be seen in the PR description: https://github.com/angular/angular/pull/49000#issue-1576416106 PR Close #49000 13 February 2023, 08:12:50 UTC
3b74be9 build: update dependency terser to 5.16.3 [security] (#49000) See associated pull request for more information. PR Close #49000 13 February 2023, 08:12:50 UTC
42619bd build: remove puppeteer, remaining usages of `webdriver-manager` and migrate AIO production test to Bazel (#49025) This commit does three things that all related and required to get rid of `webdriver-manager`: * Our puppeteer protractor setup in AIO relies on webdriver-manager because we install a corresponding chromedriver based on the puppeteer chromium version. We would like to get rid of this brittle setup. * We don't use `puppeteer` in many places because we manage chromium and the driver through Bazel. This commit removes the remaining puppeteer usage and replaces it with the Bazel-managed canonical browser * We need to migrate the AIO production URL tests to Bazel. These weren't part of Aspect's migration. This is needed so that we can drop puppeteer and use the Bazel browser setup. * Migrates some at-runtime TS `ts-node` test setup to proper idiomatic Bazel code. Needed because it depends on code that also had to be migrated to Bazel given the production e2e test Bazel migration (above points). Note: The xregexp dependency had to be added to the root project because `ts_library` does not support compilation deps from `@aio_npm`. This is something we will fix anyway when we have a more modern toolchain! PR Close #49025 10 February 2023, 19:22:18 UTC
993a43f test: update size goldens to reflect devkit update and terser (#48996) The Angular devkit updated Terser. Terser landed various changes related to variable inlining. Most constants are no longer inlined, but instead the variables are re-used. This led to a bundle size increase of around ~600B in AIO and most integration tests. Here is an example diff: https://screenshot.googleplex.com/4M8owBYDAqU982T PR Close #48996 10 February 2023, 16:28:36 UTC
cb0feed build: update cross-repo angular dependencies (#48996) See associated pull request for more information. PR Close #48996 10 February 2023, 16:28:36 UTC
7af4ea6 build: update actions/cache digest to 6998d13 (#49020) See associated pull request for more information. PR Close #49020 10 February 2023, 16:24:47 UTC
40c976c fix(migrations): use NgForOf instead of NgFor (#49022) Adds a function that allows for the import resolution for files to be customized in the standalone migration. Externally it's only use is to change `NgForOf` to `NgFor`, but we'll need it internally to deduplicate some Material modules. Fixes #49006. PR Close #49022 10 February 2023, 16:19:49 UTC
5968561 fix(forms): Make radio buttons respect `[attr.disabled]` (#48864) `setDisabledState` is supposed to be called whenever the disabled state of a control changes, including upon control creation. However, a longstanding bug caused the method to not fire when an *enabled* control was attached. This bug was fixed in v15. This had a side effect: previously, it was possible to instantiate a reactive form control with `[attr.disabled]=true`, even though the the corresponding control was enabled in the model. (Note that the similar-looking property binding version `[disabled]=true` was always rejected, though.) This resulted in a mismatch between the model and the DOM. Now, because `setDisabledState` is always called, the value in the DOM will be immediately overwritten with the "correct" enabled value. Users should instead disable the control directly in their model. (There are many ways to do this, such as using the `{value: 'foo', disabled: true}` constructor format, or immediately calling `FooControl.disable()` in `ngOnInit`.) If this incompatibility is too breaking, you may also opt out using `FormsModule.withConfig` or `ReactiveFormsModule.withConfig` at the time you import it, via the `callSetDisabledState` option. However, there is an exceptional case: radio buttons. Because Reactive Forms models the entire group of radio buttons as a single `FormControl`, there is no way to control the disabled state for individual radios, so they can no longer be configured as disabled. In this PR, we have special cased radio buttons to ignore their first call to `setDisabledState` when in `callSetDisabledState: 'always'` mode. This preserves the old behavior. PR Close #48864 10 February 2023, 10:25:11 UTC
c194867 test: typos in standalone test names (#49014) Fixes a recurring typo in test names containing `bootstrap` PR Close #49014 10 February 2023, 09:22:21 UTC
0331473 docs(platform-browser): Sanitize method has more explicit documentation (#48765) PR Close #48765 10 February 2023, 08:28:19 UTC
84ad4d0 docs: missing closing parenthesis in withNavigationErrorHandler() example (#49013) PR Close #49013 10 February 2023, 07:46:48 UTC
a28cf24 docs(router): fix error handler deprecation (#49015) The deprecation mentions `withErrorHandler` whereas the feature is called `withNavigationErrorHandler` since 15eccef4ebf58c889b2a28988ebcc297e3cd2df6. PR Close #49015 10 February 2023, 07:41:55 UTC
865e67f build: remove unused webdriver-manager code (#49009) We no longer need webdriver-manager as everything is tested using Bazel with the Bazel-managed browsers and chrome/gecko drivers. The drivers and browser binaries are managed as part of dev-infra's shared browser/driver configuration in `bazel/browsers`. PR Close #49009 10 February 2023, 07:25:58 UTC
4ac25b2 perf(migrations): avoid re-traversing nodes when resolving bootstrap call dependencies (#49010) Fixes that the migration was unnecessarily traversing top-level nodes. This was a large performance bottle-neck, because it involves a lot of language service lookups. PR Close #49010 09 February 2023, 14:37:18 UTC
521ccfb fix(migrations): avoid interrupting the migration if language service lookup fails (#49010) In some internal migrations the language service was throwing for some file reads which was crashing the migration. These changes add a `try/catch` to avoid interrupting it. PR Close #49010 09 February 2023, 14:37:18 UTC
26cb7ab perf(migrations): speed up language service lookups (#49010) For the module pruning and bootstrap API migration steps we depend heavily upon the TypeScript `LanguageService` which ends up being slow on a large project. E.g. in some large internal projects single-file lookups were taking around 30s. These changes introduce a wrapper around the `LanguageService` that we can use to trick it into not traversing the entire project every time. PR Close #49010 09 February 2023, 14:37:18 UTC
642cc1c release: cut the v15.2.0-next.4 release 08 February 2023, 18:26:45 UTC
47387d4 docs: release notes for the v15.1.4 release 08 February 2023, 18:20:03 UTC
bdbf21d fix(migrations): avoid generating imports with forward slashes (#48993) We're using Node's `path` utilities to remap existing imports and create new ones which can yield paths with forward slash separators. These changes add some logic to ensure that we only generate forward slashes. PR Close #48993 08 February 2023, 14:19:59 UTC
c7926b5 fix(migrations): move standalone migrations into imports (#48987) Normally having a standalone declaration in the `imports` array is an error and something we handle in the conversion to standalone, but tests can end up in this situation, because apps may have separate tsconfigs for the main app and for tests. These changes make it so that we move any incorrectly-defined standalone declarations, even if they aren't part of the current migration. PR Close #48987 08 February 2023, 14:18:06 UTC
ffad1b4 fix(migrations): reduce number of files that need to be checked (#48987) Attempts to speed up the standalone migration by: 1. Not analyzing typechecker files. 2. Telling TS not to check libraries. PR Close #48987 08 February 2023, 14:18:05 UTC
e9e4449 fix(migrations): preserve tsconfig in standalone migration (#48987) For the standalone migration we need to pass a couple of compiler flags which accidentally also overwrote the project's compiler options. These changes extend the options instead. PR Close #48987 08 February 2023, 14:18:05 UTC
1afa6ed fix(migrations): don't add ModuleWithProviders to standalone test components (#48987) Fixes that we were copying all expressions in the `imports` array of the test to the `imports` of the component, including any potential `ModuleWithProviders`. Fixes #48971. PR Close #48987 08 February 2023, 14:18:05 UTC
770191c fix(migrations): migrate tests when switching to standalone bootstrap API (#48987) The first step of the migration updates the tests of the component being migrated, however it also skips any bootstraped declarations. We get back to the these declarations when converting to the standalone bootstrapping APIs, but we weren't updating their tests. These changes rework some of the logic so that we migrate any remaining tests as a part of the final step. Relates to #48944. PR Close #48987 08 February 2023, 14:18:05 UTC
6377487 fix(migrations): only exclude bootstrapped declarations from initial standalone migration (#48987) Currently the standalone migration is set up to skip any modules that have a `bootstrap` array with at least one element. This ends up being misleading for small apps who have everything in the root module. These changes add some logic to only skip the root component. Fixes #48944. PR Close #48987 08 February 2023, 14:18:05 UTC
845ef71 build: update github/codeql-action action to v2.2.2 (#48889) See associated pull request for more information. PR Close #48889 08 February 2023, 14:07:06 UTC
5128ba0 refactor(router): Warn if a navigation will change in the upcoming v16 release (#48688) v16 will have a breaking change to the way `UrlTree`s are constructed. This change is actually a bug fix that makes `UrlTree` creation correct in more scenarios (see #48508). However, this can affect applications that are relying on the current incorrect behavior. This commit adds a dev mode warning when the target of a navigation will change once #48508 is submitted. PR Close #48688 07 February 2023, 20:25:59 UTC
4b8b5e3 build: update eslint dependencies to v5.51.0 (#48983) See associated pull request for more information. PR Close #48983 07 February 2023, 19:49:02 UTC
0cf1116 fix(compiler-cli): incorrectly detecting forward refs when symbol already exists in file (#48988) In #48898 the `isForwardRef` flag was added to indicate whether a reference should be wrapped in a `forwardRef`. This logic assumed that the node can't be referring to another node within the same file, however from testing it looks like that's not actually the case, because we hit the same code path when an external import to the same symbol exists already. PR Close #48988 07 February 2023, 17:00:46 UTC
57d0c03 docs: Fixing typo error (#48891) PR Close #48891 06 February 2023, 20:38:26 UTC
431ec6c refactor(forms): removing a workaround comment (#48904) The code is clearer without the reduce, let's just remove the comment. PR Close #48904 06 February 2023, 20:37:48 UTC
c4e5840 refactor(docs-infra): Enable @typescript-eslint/quotes rule for aio content (#48952) The commit enables the @typescript-eslint/quotes rule which mendates single quotes over doubles and allows template literals with backticks. PR Close #48952 06 February 2023, 20:33:23 UTC
7339412 docs(core): standalone-migration schematics typos fix and properties addition (#48961) Fixed a typo and updated the hyphenation in a couple of words to keep consistency across schematics docs style. Assuming beginners reading docs, I also added the property called public showGreeting = true; This is because it is available in the examples `.HTML` `*ngIf` directive snippets without being present in the `.ts` class properties declarations. also this removes potential inference that this absence is a result of the standalone migration schematics work. PR Close #48961 06 February 2023, 20:32:57 UTC
67422f5 fix(dev-infra): Fix code ownership for animations package (#48975) An incorrect username was added to the reviewers list for animations. PR Close #48975 06 February 2023, 20:32:32 UTC
5a886c0 docs(extended-diagnostics): fix code example (#48963) Update code examples to use < and &gt for html elements PR Close #48963 06 February 2023, 20:31:33 UTC
a47721c refactor(migrations): add API to remap generated import names (#48974) Internally we'll need to remap some imports to generate better import statements. These changes add an API that we can use to do the remapping. PR Close #48974 06 February 2023, 20:28:38 UTC
4f6127a refactor(migrations): account for internal module names in module reference check (#48974) Fixes that the code which checks if something is a reference to a specific class didn't work internally. PR Close #48974 06 February 2023, 20:28:38 UTC
32cf4e5 fix(migrations): avoid internal modules when generating imports (#48958) Adds some logic to prefer non-Angular-internal modules when generating imports. This allows us to generate better code for some cases like the `ɵInternalFormsSharedModule` in Forms. Also adds some logic to prefer symbols that are already in the same file. Fixes #48942. PR Close #48958 06 February 2023, 20:27:52 UTC
49a7c9f fix(migrations): standalone migration incorrectly throwing path error for multi app projects (#48958) Fixes that the standalone migration was throwing the "Could not find any paths to migrate..." error on a per-tsconfig-basis, preventing the migration from running on any configs that might occur further down in the project. These changes move the error to after all the configs have been checked. PR Close #48958 06 February 2023, 20:27:52 UTC
54b24eb feat(common): Add loaderParams attribute to NgOptimizedImage (#48907) Add a new loaderParams attribute, which can be used to send arbitrary data to a custom loader, allowing for greater control of image CDN features. PR Close #48907 06 February 2023, 18:10:44 UTC
759db12 fix(migrations): duplicated comments on migrated classes (#48966) Fixes that the migration was duplicating the comments on class nodes that were being converted to standalone. Fixes #48943. PR Close #48966 06 February 2023, 17:52:18 UTC
2de6dae fix(migrations): migrate RouterModule.forRoot with a config object to use features (#48935) Previously if the standalone migration saw a `RouterModule.forRoot` with a config object, it wouldn't migrate it. These changes add some logic that convert the config object to a set of features from the new router API. PR Close #48935 03 February 2023, 19:40:45 UTC
back to top