868dcab | Virginia Dooley | 16 March 2023, 16:58:23 UTC | docs: Send data to server - insert updated links. (#49447) PR Close #49447 | 20 March 2023, 07:49:21 UTC |
8f6cbb6 | Matthieu Riegler | 14 March 2023, 11:51:45 UTC | docs: remove bazel builder section (#49423) PR Close #49423 | 20 March 2023, 07:48:43 UTC |
c807a32 | Angular Robot | 17 March 2023, 06:05:43 UTC | build: update actions/checkout digest to 24cb908 (#49436) See associated pull request for more information. PR Close #49436 | 17 March 2023, 07:38:16 UTC |
2e37e23 | Virginia Dooley | 16 March 2023, 02:04:18 UTC | docs: Optimize server interaction - insert updated link. (#49438) PR Close #49438 | 17 March 2023, 07:36:59 UTC |
bb2753d | Virginia Dooley | 16 March 2023, 02:48:58 UTC | docs: Track and show request progress - insert updated link. (#49439) PR Close #49439 | 17 March 2023, 07:35:45 UTC |
e6736c7 | Virginia Dooley | 16 March 2023, 16:38:16 UTC | docs: Intercept requests - insert updated link. (#49446) PR Close #49446 | 17 March 2023, 07:34:15 UTC |
3d71d9d | Alex Rickabaugh | 16 March 2023, 19:01:11 UTC | release: cut the v15.2.3 release | 16 March 2023, 19:08:14 UTC |
c981644 | Angular Robot | 10 March 2023, 13:12:04 UTC | build: update actions/cache digest to 940f3d7 (#49377) See associated pull request for more information. PR Close #49377 | 16 March 2023, 00:27:22 UTC |
589e76b | Alan Agius | 15 March 2023, 09:43:39 UTC | test(common): update async pipe tests to fix test errors (#49433) The below error is displayed during some tests ```js ERROR: 'Unhandled Promise rejection:', 'Cannot read properties of null (reading 'markForCheck')', '; Zone:', 'ProxyZone', '; Task:', 'Promise.then', '; Value:', TypeError: Cannot read properties of null (reading 'markForCheck') TypeError: Cannot read properties of null (reading 'markForCheck') at AsyncPipe2._updateLatestValue (http://angular-ci.local:9876/base/dist/legacy-test-bundle.spec.js?49174f830d8743d5c8a9551b77550b859b934291:51947:19) ``` This is caused by the fact that `ref` in `AsyncPipe` is initialized with a value of `null` which causes `_updateLatestValue` to fail since it is not expected to be `null`. This change ensures that a `ref` is always provided and that all subscriptions are disposed off after each test. PR Close #49433 | 16 March 2023, 00:19:38 UTC |
bba3fcb | Virginia Dooley | 14 March 2023, 22:53:54 UTC | docs: Understanding communicating with http - insert updated links. (#49429) PR Close #49429 | 16 March 2023, 00:18:54 UTC |
6f139b4 | Angular Robot | 14 March 2023, 22:06:43 UTC | build: update io_bazel_rules_sass digest to 3d2ad47 (#49428) See associated pull request for more information. PR Close #49428 | 16 March 2023, 00:11:56 UTC |
dfa7f64 | Angular Robot | 14 March 2023, 22:06:49 UTC | build: update github/codeql-action action to v2.2.6 (#49420) See associated pull request for more information. PR Close #49420 | 16 March 2023, 00:01:01 UTC |
5a3d121 | Alan Agius | 10 March 2023, 15:05:46 UTC | test: fix misconfiguration in tests (#49391) Currently, tests are tested twice using "production" like configuration. This commit disabled "optimization" for non production builds. PR Close #49391 | 15 March 2023, 23:59:51 UTC |
e4516c7 | Esteban Gehring | 13 March 2023, 14:45:21 UTC | docs(upgrade): mark lifecycle methods as nodoc (#49416) PR Close #49416 | 14 March 2023, 16:41:36 UTC |
32e98f7 | Esteban Gehring | 13 March 2023, 14:36:24 UTC | docs(common): mark lifecycle methods as nodoc (#49416) PR Close #49416 | 14 March 2023, 16:41:36 UTC |
6c189ed | Angular Robot | 11 March 2023, 01:32:10 UTC | build: update io_bazel_rules_sass digest to aa03944 (#49397) See associated pull request for more information. PR Close #49397 | 14 March 2023, 16:25:16 UTC |
2df92f7 | Angular Robot | 10 March 2023, 17:04:45 UTC | build: update cross-repo angular dependencies (#49410) See associated pull request for more information. PR Close #49410 | 13 March 2023, 13:50:33 UTC |
1535ab9 | Virginia Dooley | 02 March 2023, 18:04:50 UTC | docs: New doc: Understanding communicating with backend services using HTTP (#49294) PR Close #49294 | 09 March 2023, 17:21:14 UTC |
c272665 | Virginia Dooley | 02 February 2023, 01:17:58 UTC | docs: New doc extract from original HTTP doc to be retired. (#48914) PR Close #48914 | 09 March 2023, 17:19:04 UTC |
a44224c | Virginia Dooley | 09 March 2023, 00:36:14 UTC | docs: delete outdated link. (#48909) PR Close #48909 | 09 March 2023, 17:17:02 UTC |
3c71e48 | Virginia Dooley | 02 March 2023, 19:41:04 UTC | docs: delete or revise outdated links. (#48909) PR Close #48909 | 09 March 2023, 17:17:02 UTC |
43dff1f | Virginia Dooley | 02 February 2023, 00:25:37 UTC | docs: New doc extract from original HTTP doc to be retired. (#48909) PR Close #48909 | 09 March 2023, 17:17:01 UTC |
7e23883 | Matthieu Riegler | 08 March 2023, 10:03:00 UTC | refactor(dev-infra): remove obsolete todos (#49362) These todos do not apply anymore, let's remove them. PR Close #49362 | 08 March 2023, 23:39:56 UTC |
7efaf52 | Matthieu Riegler | 08 March 2023, 10:14:50 UTC | docs: Remove `RenderComponentType` from the depreciation list. (#49363) `RenderComponentType` was removed by #33019 PR Close #49363 | 08 March 2023, 23:39:03 UTC |
f099df8 | Angular Robot | 08 March 2023, 15:03:47 UTC | docs: update events (#49366) Generated `events.json` with the latest events retrieved from the Firebase DB. Closes #49355 PR Close #49366 | 08 March 2023, 21:54:24 UTC |
c9e8804 | Angular Robot | 07 March 2023, 06:07:42 UTC | build: update eslint dependencies to v5.54.1 (#49348) See associated pull request for more information. PR Close #49348 | 08 March 2023, 21:08:34 UTC |
2dee505 | Alan Agius | 07 March 2023, 13:07:34 UTC | refactor(core): split `ɵɵdefineDirective` and `ɵɵdefineComponent` (#49350) Before this change `ɵɵdefineDirective` called `ɵɵdefineComponent` under the hood. This is problematic for the consistent component id generation as it could result in hash collisions for certain directives. Directives however do not require an id. This changes moves common definition generation logic into a separate function that is re-used in `ɵɵdefineDirective` and `ɵɵdefineComponent`. PR Close #49350 | 08 March 2023, 21:07:54 UTC |
75d5bfd | Jessica Janiuk | 08 March 2023, 18:38:46 UTC | release: cut the v15.2.2 release | 08 March 2023, 18:43:09 UTC |
9937508 | Paul Gschwendtner | 07 March 2023, 10:30:23 UTC | refactor(compiler-cli): remove unused class decorator downlevel code (#49351) The decorator downlevel transform is never used for actual class decorators because Angular class decorators rely on immediate execution for JIT. Initially we also supported downleveling of class decorators for View Engine library output, but libraries are shipped using partial compilation output and are not using this transform anymore. The transform is exclusively used for JIT processing, commonly for test files to help ease temporal dead-zone/forward-ref issues. We can remove the class decorator downlevel logic to remove technical debt. PR Close #49351 | 08 March 2023, 17:59:12 UTC |
88a0ff7 | Matthieu Riegler | 06 March 2023, 21:15:05 UTC | docs(docs-infra): Split Error by categories & sort by code. (#49343) * 2 categories : Runtime errors and Compiler Errors. * Numeric sort on error code. PR Close #49343 | 07 March 2023, 19:18:01 UTC |
75b2a26 | Sai Kartheek Bommisetty | 03 March 2023, 12:30:36 UTC | docs: update toh-pt5.md (#49307) PR Close #49307 | 07 March 2023, 19:17:25 UTC |
d0a73b2 | Vinit Neogi | 07 March 2023, 17:25:25 UTC | docs(docs-infra): missing "is" in glossary (#49356) documentation glossary for view hierarchy is missing a "is" to be grammatically correct Fixes #49352 PR Close #49356 | 07 March 2023, 19:16:42 UTC |
e0be553 | Matthieu Riegler | 06 March 2023, 21:41:50 UTC | docs(forms): change error code in filename to match enum value. (#49344) Error code for bad AsyncValidatorFn is 1101 not 1003. PR Close #49344 | 07 March 2023, 17:38:02 UTC |
ffccb8e | Matthieu Riegler | 27 February 2023, 18:33:12 UTC | refactor(animations): handle #24571 todos (#49231) This commit removes the remaining ones in animations code base PR Close #49231 | 06 March 2023, 18:45:34 UTC |
b13e079 | Matthieu Riegler | 02 March 2023, 19:34:58 UTC | refactor(core): Remove `ChangeDetectorStatus` & `isDefaultChangeDetectionStrategy` (#49299) Unused code in core and other packages. They were private exports. PR Close #49299 | 06 March 2023, 16:57:02 UTC |
84f4536 | Matthieu Riegler | 02 March 2023, 21:48:05 UTC | refactor(platform-browser): remove ununsed functions. (#49302) Both `camelCaseToDashCase` and `dashCaseToCamelCase` haven't been used since 2.2.0. PR Close #49302 | 06 March 2023, 16:56:32 UTC |
9801475 | Andrew Kushnir | 04 March 2023, 03:14:42 UTC | refactor(core): rename TNode.tViews to TNode.tView (#49313) Previously (at the early days of Ivy) a TNode used to keep an array of TViews, but the logic was changed since that time, but the `tViews` field remained on TNode interface (+ corresponding typings). This commit renames TNode.tViews to TNode.tView and cleans up typings. PR Close #49313 | 06 March 2023, 16:56:00 UTC |
1822585 | Matthieu Riegler | 27 February 2023, 18:36:39 UTC | refactor(platform-browser): handle #24571 todos (#49232) This commit removes the remaining TODO(issue/24571) in platform-browser code base. PR Close #49232 | 06 March 2023, 16:54:38 UTC |
ac59054 | Andrew Scott | 02 March 2023, 22:12:03 UTC | refactor(migrations): Move ChangeTracker to common utils (#49308) The `ChangeTracker` is generally useful and could be used by a lot of migrations instead of having to rewrite similar boilerplate. PR Close #49308 | 03 March 2023, 22:03:37 UTC |
b90b329 | Paul Gschwendtner | 03 March 2023, 16:08:09 UTC | test: fix router testing example breaking due to non-existent stub (#49293) We recently migrated the testing example to use the router testing harness. There was one instance of the previous non-`TestBed` examples left that still relies on a stub that has already been removed. This example is not used anywhere and we should rather encourage a single pattern of testing. i.e. the harness as per recent changes. This commit removes the broken file. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
4ae753d | Paul Gschwendtner | 03 March 2023, 15:05:02 UTC | build: always preserve symlinks when executing e2e test commands (#49293) Currently, examples with test commands like `ng build` are *never* using the local version of `//packages/compiler-cli`. This is because the CLI is invoked accidentally from within `external/aio_example_deps`. Since the CLI relies on importing the compiler-cli, it will always resolve the dependency from that directory- causing it to be always the version installed via `aio/examples/tools/shared/package.json`. We should never resolve symlinks and escape the e2e sandbox. That way the compiler-cli would be resolved properly and could also become the locally built one, depending on the test mode (i.e. npm or "local"). PR Close #49293 | 03 March 2023, 19:41:36 UTC |
f859de3 | Paul Gschwendtner | 03 March 2023, 14:18:08 UTC | build: ensure chromium is not using sandbox within Bazel sandbox for AIO example e2e tests (#49293) Chromium is launched via Karma from within the Bazel AIO example e2e tests. This breaks depending on the platform and sandbox mechanism used. We should never use Chromium's sandbox on top of Bazel's sandbox invocation. The Angular CLI exposes a browser exactly for this use-case. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
5bb4407 | Paul Gschwendtner | 03 March 2023, 13:55:27 UTC | build: fix AIO local e2e examples picking up incorrect dependencies (#49293) Whenever we run example tests using the local framework packages, the e2e tests will have the local framework packages symlinked in the `node_modules`. This works well in general, but due to NodeJS by default resolving symlinks to the target location, NodeJS will end up looking for transitive dependencies in the `bazel-bin` instead of in the example `node_modules` folder. This means that we end up incorrectly resolving older versions of `@angular/core` that end up existing in the main project dependencies. This causes errors like: ``` Error: ../../home/circleci/.cache/bazel/_bazel_circleci/9ce5c2144ecf75d11717c0aa41e45a8d/execroot/angular/bazel-out/k8-fastbuild/bin/packages/common/npm_package/http/testing/index.d.ts:12:21 - error TS2307: Cannot find module '@angular/common/http' or its corresponding type declarations. 12 import * as i1 from '@angular/common/http'; ~~~~~~~~~~~~~~~~~~~~~~ Error: ../../home/circleci/.cache/bazel/_bazel_circleci/9ce5c2144ecf75d11717c0aa41e45a8d/execroot/angular/bazel-out/k8-fastbuild/bin/packages/common/npm_package/index.d.ts:1630:18 - error TS2707: Generic type 'ɵɵDirectiveDeclaration' requires between 6 and 8 type arguments. 1630 static ɵdir: i0.ɵɵDirectiveDeclaration<NgClass, "[ngClass]", never, { "klass": "class"; "ngClass": "ngClass"; }, {}, never, never, true, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` We can fix this by properly ensuring that NodeJS does not resolve symlinks, but rather preserves them. In the error above, the e2e tests end up accidentally resolving `@angular/core` v14 that comes from `@angular/benchpress`. Angular Benchpress is installed via `@angular/build-tooling` in the project root. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
5e85c13 | Paul Gschwendtner | 03 March 2023, 13:33:42 UTC | test: fix node and dom types conflict in `practical-observable-usage` example (#49293) This causes the e2e tests to fail. The tests were compiled using a tsconfig with `lib=dom`, but the tests explicitly tried to pull in the Node types. This causes a conflict for e.g. `AbortController` types. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
b23fa5e | Paul Gschwendtner | 02 March 2023, 16:42:57 UTC | build(docs-infra): fix example e2e tests not failing properly in some situations (#49293) The `run-example-e2e` script does not properly fail if configured tests of examples are failing. This happens when a CLI example configures multiple tests in the `example-config`. Due to incorrect usage of promises in combination with reduce, only the last test command had an effect on the overall test conclusion. A similar issue seems to occur with SystemJS Protractor tests. This commit fixes the problem and also cleans up the code a little by switching it to `async/await`. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
05db479 | Paul Gschwendtner | 02 March 2023, 16:11:07 UTC | build: format `run-example-e2e.mjs` with prettier (#49293) Formats the `run-example-e2e.mjs` file with prettier to ease future diffs. PR Close #49293 | 03 March 2023, 19:41:36 UTC |
6b9ec0b | Matthieu Riegler | 02 March 2023, 18:38:26 UTC | refactor(core): Remove ɵivyEnabled (#49296) The unit tests have been updated in #44120, this export is unused now. PR Close #49296 | 03 March 2023, 19:41:10 UTC |
b0a9e67 | Matthieu Riegler | 03 March 2023, 10:59:27 UTC | docs: fix links on untyped forms (#49306) PR Close #49306 | 03 March 2023, 19:40:00 UTC |
f321e65 | Matthieu Riegler | 02 March 2023, 21:12:59 UTC | refactor(common): remove `BrowserPlatformLocation` from private exports. (#49301) `BrowserPlatformLocation` was add to the public API by #48488. PR Close #49301 | 03 March 2023, 16:39:54 UTC |
13e675e | Angular Robot | 28 February 2023, 03:09:54 UTC | build: update all non-major dependencies (#49267) See associated pull request for more information. PR Close #49267 | 02 March 2023, 22:09:15 UTC |
de48c99 | Kristiyan Kostadinov | 02 March 2023, 13:19:27 UTC | refactor(migrations): expose current file in import remapper (#49288) Passes the path of the current file to the import remapper. Useful if we want to generate absolute paths. PR Close #49288 | 02 March 2023, 21:48:35 UTC |
81e32f4 | Andrew Scott | 28 February 2023, 22:42:06 UTC | docs(router): Update component testing to user `RouterTestingHarness` (#48553) This commit updates the documentation on testing the `Router` to use the `RouterTestingHarness` rather than stubs. The stubs described in the previous form of this document actually creates tests which are incapable of catching bugs related to the component's interaction with the `Router`. In addition, managing the stubs is more difficult than using the real `Router` classes. Stubbing something like the `RouterLink` is quite harmful because it neither tests the actual URL being created, nor the end result of the navigation. There have been serveral bug fixes in the Router over the years the would change the outcome of these but would not be caught by tests which create a stub. PR Close #48553 | 02 March 2023, 21:17:17 UTC |
e20b6d9 | Paul Gschwendtner | 02 March 2023, 13:59:37 UTC | build: remove `ts-node` forking bug workaround (#49289) In the past, `ts-node` had a bug that prevented forking processes when used in combination with `--esm`. We contributed a fix upstream to `ts-node` to fix this, and this commit updates to the latest version so that we can simplify our `ng-dev` invocation. https://github.com/TypeStrong/ts-node/commit/32d07e2b2fcbaab97c11e71ee5fc3a79fc20c802 Fixes #46858 PR Close #49289 | 02 March 2023, 21:16:20 UTC |
d42032a | Matthieu Riegler | 02 March 2023, 18:46:40 UTC | refactor(core): Remove `isListLikeIterable` from private export. (#49297) PR #48433 removed the last external usage of `isListLikeIterable`. We can now remove it from the private exports. PR Close #49297 | 02 March 2023, 20:53:01 UTC |
ffc6843 | Matthieu Riegler | 02 March 2023, 13:08:33 UTC | docs: Add NG8107 entry : Optional chain not nullable extended diagnostic (#49287) PR Close #49287 | 02 March 2023, 19:56:37 UTC |
8f7fbdd | Matthieu Riegler | 14 February 2023, 21:53:41 UTC | refactor: remove duplicate key from component metadata (#49065) `directiveMetadata()` already assigns the `standalone` property to the `R3ComponentMetadataFacade` there is no need to do it twice. PR Close #49065 | 01 March 2023, 22:36:50 UTC |
bca3aed | Alan Agius | 28 February 2023, 15:21:26 UTC | build: remove core-js-bundle from dependencies (#49259) This is no longer needed as Angular is ever green. PR Close #49259 | 01 March 2023, 19:19:49 UTC |
819b9f3 | Andrew Kushnir | 01 March 2023, 04:58:20 UTC | refactor(core): move `APP_BOOTSTRAP_LISTENER` to avoid circular deps (#49273) This commit moves the `APP_BOOTSTRAP_LISTENER` token into the `application_ref.ts` to avoid a risk of circular dependencies. The main problem is that the token refers to the `ComponentRef`, which in turn refers to more symbols, thus making the `application_tokens.ts` file susceptible to circular dependencies. Such a dependency was identified in https://github.com/angular/angular/pull/49271. PR Close #49273 | 01 March 2023, 19:18:28 UTC |
6207d6f | Kristiyan Kostadinov | 01 March 2023, 10:29:34 UTC | fix(migrations): add protractor support if protractor imports are detected (#49274) The new `bootstrapApplication` API doesn't include Protractor support anymore which may cause existing e2e tests to break after the migration. These changes add some logic that will provide Protractor support if any imports to `protractor` or `protractor/*` are detected. PR Close #49274 | 01 March 2023, 19:13:57 UTC |
1749971 | Andrew Kushnir | 01 March 2023, 18:45:33 UTC | release: cut the v15.2.1 release | 01 March 2023, 18:53:10 UTC |
439b4d3 | Stephanie Tuerk | 01 March 2023, 00:16:25 UTC | docs: clarify ActivatedRouter injection location (#49270) The example in the code snippet below this line of text shows `ActivatedRouter` being injected into a component's constructor. When I read instruction to inject A`ActivatedRouter` into **application's** constructor, I assumed this meant the constructor for `app.component.ts`. Editing to clarify/match code example below. PR Close #49270 | 01 March 2023, 01:13:37 UTC |
377d0c9 | Joey Perrott | 28 February 2023, 19:19:52 UTC | build: update cross-repo angular dependencies (#49268) See associated pull request for more information. PR Close #49268 | 28 February 2023, 20:43:42 UTC |
d60ea6a | Alan Agius | 28 February 2023, 08:30:50 UTC | fix(core): update zone.js peerDependencies ranges (#49244) This ensures that the latest version of zone.js is supported. PR Close #49244 | 28 February 2023, 19:55:54 UTC |
dafb765 | Matthieu Riegler | 25 February 2023, 23:26:52 UTC | refactor(core): Drop Symbol.iterator shim (#49207) We are targeting evergreen browsers, we can drop the shim. PR Close #49207 | 28 February 2023, 18:05:42 UTC |
44d095a | Kristiyan Kostadinov | 28 February 2023, 08:51:23 UTC | fix(migrations): avoid migrating the same class multiple times in standalone migration (#49245) If a class is declared in multiple modules, the standalone migration may end up generating invalid code. While declaring a class in multiple modules is an error, it can happen with modules in tests. These changes avoid the issue by using a `Set` to track the classes being migrated. PR Close #49245 | 28 February 2023, 18:04:55 UTC |
600fd12 | Virginia Dooley | 02 February 2023, 01:27:47 UTC | docs: New doc extract from original HTTP doc to be retired. (#48915) PR Close #48915 | 28 February 2023, 17:32:30 UTC |
d100ddf | Virginia Dooley | 02 February 2023, 01:01:43 UTC | docs: New doc extract from original HTTP doc to be retired. (#48912) PR Close #48912 | 28 February 2023, 17:31:31 UTC |
1aadabb | Virginia Dooley | 02 February 2023, 00:17:04 UTC | docs: New doc extract from original HTTP doc to be retired. (#48908) PR Close #48908 | 28 February 2023, 17:30:14 UTC |
d252187 | Virginia Dooley | 04 November 2022, 00:49:27 UTC | docs: New document extracted from the original Communicating with backend services using HTTP document, which is to be retired. (#47971) PR Close #47971 | 28 February 2023, 17:29:13 UTC |
6d6b76c | Matthieu Riegler | 25 February 2023, 14:44:38 UTC | docs(router): Improving linking (#49203) Add links to @see elements and suggest a more explicit alternative for the depreciation of `CanActivate`. PR Close #49203 | 28 February 2023, 16:24:11 UTC |
5f2822c | Matthieu Riegler | 27 February 2023, 18:41:18 UTC | refactor(platform-server): handle #24571 todos (#49233) This commit removes the remaining TODO(issue/24571) in platform-server code base. PR Close #49233 | 28 February 2023, 16:19:58 UTC |
acc87a4 | Matthieu Riegler | 27 February 2023, 18:41:00 UTC | docs: remove TODO from doc example (#49233) This commit removes a TODO(issue/24571) that leaking into the docs examples PR Close #49233 | 28 February 2023, 16:19:57 UTC |
7eec66c | Matthieu Riegler | 27 February 2023, 18:40:23 UTC | refactor(elements): handle #24571 todos (#49233) This commit removes the remaining TODO(issue/24571) in elements code base. PR Close #49233 | 28 February 2023, 16:19:57 UTC |
8fc02f5 | Angular Robot | 28 February 2023, 06:06:43 UTC | build: update eslint dependencies to v5.54.0 (#49243) See associated pull request for more information. PR Close #49243 | 28 February 2023, 16:19:07 UTC |
313760b | Angular Robot | 28 February 2023, 06:05:27 UTC | build: update github/codeql-action action to v2.2.5 (#49242) See associated pull request for more information. PR Close #49242 | 28 February 2023, 16:18:22 UTC |
87252dc | Matthieu Riegler | 25 February 2023, 23:37:17 UTC | docs: improve section title in TOH-pt4 (#49208) fixes #49165 PR Close #49208 | 28 February 2023, 16:16:39 UTC |
785ab81 | Alan Agius | 28 February 2023, 14:30:35 UTC | ci: add several dependencies to renovate ignore list (#49258) Add ignored dependencies in Renovate config. These have been collected from the dependency dashboard (https://github.com/angular/angular/issues/46728) The reason for this change is that Renovate is re-opened dependency updates for ignored PRs. Example: https://github.com/angular/angular/pull/49256 https://github.com/angular/angular/pull/47852 PR Close #49258 | 28 February 2023, 16:15:05 UTC |
19a4cde | Virginia Dooley | 02 November 2022, 00:47:39 UTC | docs: New document extracted from the original Communicating with backend services using HTTP document, which is to be retired. (#47937) PR Close #47937 | 27 February 2023, 23:24:41 UTC |
3062442 | Iván Navarro | 22 February 2023, 17:10:43 UTC | fix(router): add error message when using loadComponent with a NgModule (#49164) Add a more specific error message when defining a lazy-loaded route using `loadComponent` and passing it a NgModule instead of a standalone component, when the user should actually be using `loadChildren`. PR Close #49164 | 27 February 2023, 18:09:55 UTC |
138b493 | Doug Parker | 16 February 2023, 23:39:10 UTC | release: bump DevTools version (#49121) PR Close #49121 | 27 February 2023, 18:07:54 UTC |
af31adb | Matthieu Riegler | 26 February 2023, 03:15:06 UTC | refactor(common): Use isPromise from @angular/core (#49210) This commit removes `isPromise()` from Common as it's a duplicate function that can be imported from `@angular/core`. PR Close #49210 | 27 February 2023, 18:03:21 UTC |
f0e9260 | Vincent | 23 February 2023, 16:48:14 UTC | fix(common): make Location.normalize() return the correct path when the base path contains characters that interfere with regex syntax. (#49181) Fix the function stripping the base path from the URL, as the current implementation uses the base path as part of a regex, which wrongly makes paths fails that contain characters such as a parenthesis (example: C:/Users/MyUser(Test)/project). Fixes #49179 PR Close #49181 | 27 February 2023, 18:02:33 UTC |
7ec76de | Andrew Kushnir | 27 February 2023, 03:33:37 UTC | refactor(core): add previous sibling node reference to TNode (#49223) This commit updates the `TNode` to include a reference to the previous sibling node. Currently, TNode has references to the next sibling and parent nodes, but in followup changes we'd need to have access to previous TNodes (to determine position of the current node). PR Close #49223 | 27 February 2023, 18:00:26 UTC |
a852862 | Paul Gschwendtner | 27 February 2023, 13:18:38 UTC | build: cleanup unused dependencies (#49227) Cleans up a few more unused dependencies. Related: https://github.com/angular/angular/pull/49226 PR Close #49227 | 27 February 2023, 16:06:00 UTC |
6107d2e | Aristeidis Bampakos | 24 February 2023, 19:18:16 UTC | docs: change link for Angular Projects book (#49198) PR Close #49198 | 27 February 2023, 16:05:21 UTC |
56f7d1f | Aristeidis Bampakos | 24 February 2023, 19:20:21 UTC | docs: add new edition of Learning Angular book (#49199) PR Close #49199 | 27 February 2023, 16:04:35 UTC |
6d91296 | Matthieu Riegler | 26 February 2023, 17:48:00 UTC | docs: bump first-app to 15.2 (#49217) The stackblitz demo of the quick-start guide was broken with incompatible dependencies. This commit fixes this. Fixes #49213 PR Close #49217 | 27 February 2023, 16:03:47 UTC |
8542593 | Andrew Kushnir | 23 February 2023, 23:29:50 UTC | refactor(platform-browser): move TransferState init logic into its constructor (#49191) This commit updates the TransferState class to move its init logic from the `useFactory` function to its constructor. The change is needed to make the init behavior consistent across different injection scenarios and tolerate the issue described in https://github.com/angular/angular/issues/49190. PR Close #49191 | 24 February 2023, 18:41:17 UTC |
d0fa598 | Andrew Kushnir | 23 February 2023, 05:46:45 UTC | refactor(core): avoid creating DOM nodes before creating a TNode (#49172) This commit updates the `elementStart` instruction to avoid creating DOM nodes before creating a corresponding TNode. This refactoring is needed to make sure this internal logic is consistent across all instructions. PR Close #49172 | 24 February 2023, 16:29:06 UTC |
04d8b6c | Paul Gschwendtner | 23 February 2023, 17:27:25 UTC | fix(compiler-cli): do not persist component analysis if template/styles are missing (#49184) Consider the following scenario: 1. A TS file with a component and templateUrl exists 2. The template file does not exist. 3. First build: ngtsc will properly report the error, via a FatalDiagnosticError 4. The template file is now created 5. Second build: ngtsc still reports the same errror. ngtsc persists the analysis data of the component and never invalidates it when the template/style file becomes available later. This breaks incremental builds and potentially common workflows where resource files are added later after the TS file is created. This did surface as an issue in the Angular CLI yet because Webpack requires users to re-start the process when a new file is added. With ESBuild this will change and this also breaks incremental builds with Bazel/Blaze workers. To fix this, we have a few options: * Invalidate the analysis when e.g. the template file is missing. Never caching it means that it will be re-analyzed on every build iteration. * Add the resource dependency to ngtsc's incremental file graph. ngtsc will then know via `host.getModifiedResources` when the file becomes available- and fresh analysis of component would occur. The first approach is straightforward to implement and was chosen here. The second approach would allow ngtsc to re-use more of the analysis when we know that e.g. the template file still not there, but it increases complexity unnecessarily because there is no **single** obvious resource path for e.g. a `templateUrl`. The URL is attempted to be resolved using multiple strategies, such as TS program root dirs, or there is support for a custom resolution through `host.resourceNameToFileName`. It would be possible to determine some candidate paths and add them to the dependency tracker, but it seems incomplete given possible external resolvers like `resourceNameToFileName` and also would likely not have a sufficient-enough impact given that a broken component decorator is not expected to remain for too long between N incremental build iterations. PR Close #49184 | 24 February 2023, 16:24:08 UTC |
92b0bda | Kristiyan Kostadinov | 24 February 2023, 08:12:48 UTC | fix(migrations): delete barrel exports in standalone migration (#49176) Adds some logic to automatically delete `export * from './foo'` style imports. Previously they weren't being picked up, because finding all the references using the language service doesn't include barrel exports. PR Close #49176 | 24 February 2023, 16:23:02 UTC |
d7835e4 | Michael Ziluck | 23 February 2023, 17:42:32 UTC | docs(router): fix code block closing ticks (#49185) PR Close #49185 | 23 February 2023, 18:37:25 UTC |
e384c69 | Craig Spence | 23 February 2023, 03:32:02 UTC | docs(core): Improved README.md (#49171) PR Close #49171 | 23 February 2023, 18:35:42 UTC |
aa10532 | Angular Robot | 22 February 2023, 17:07:31 UTC | build: update io_bazel_rules_sass digest to 1f27790 (#49132) See associated pull request for more information. PR Close #49132 | 23 February 2023, 18:34:43 UTC |
7677963 | Alex Rickabaugh | 22 February 2023, 21:00:32 UTC | release: cut the v15.2.0 release | 22 February 2023, 21:04:10 UTC |
03fcb36 | cexbrayat | 03 February 2023, 17:21:10 UTC | 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 | Matthieu Riegler | 21 February 2023, 23:03:39 UTC | 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 | Angular Robot | 21 February 2023, 12:08:39 UTC | 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 | Kristiyan Kostadinov | 21 February 2023, 09:57:49 UTC | 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 | Angular Robot | 21 February 2023, 06:07:18 UTC | 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 |