https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
b293c6a refactor(core): Remove VE/Render3 aliases from ViewRef code (#49499) These aliases were used while we needed to maintain compatibility with ViewEngine PR Close #49499 21 March 2023, 21:08:30 UTC
951a347 test: increase size tracking threshold to 5K / 5% (#49520) This commit increases the threshold of payload size tracking tests from 500 bytes to 5,000 bytes, and from 1% to 5%. This is done to minimize merge conflicts while still catching real regressions. PR Close #49520 21 March 2023, 19:30:05 UTC
b5e68e4 build: exclude draft PRs from triage queue (#49515) Excludes draft PRs from triage queue. Note that we cannot use `draft:false` as otherwise all issues would be filtered. Rather we need to negate `draft:true` which matches non-draft PRs and normal issues. PR Close #49515 21 March 2023, 15:40:48 UTC
a404587 build: update scorecard action dependencies (#49508) See associated pull request for more information. PR Close #49508 21 March 2023, 15:39:10 UTC
6c9886b build: update cross-repo angular dependencies (#49517) See associated pull request for more information. PR Close #49517 21 March 2023, 14:30:37 UTC
3c75f98 docs: remove pipe in exponential backoff (#49494) PR Close #49494 21 March 2023, 06:58:06 UTC
cd5d7b6 docs: update deprecated exponential backoff example (#49494) PR Close #49494 21 March 2023, 06:58:06 UTC
97d58ec docs: fix link ngFor documentation link (#49479) Fix the `ngFor` API link under the "Structural directive shorthand" section PR Close #49479 21 March 2023, 06:56:38 UTC
087f441 fix(core): more accurate matching of classes during content projection (#48888) Showing a minimum app to reproduce the bug. 1. Create the app and add angular material. ``` ng new project cd project ng add @angular/material ``` 1. Overwrite the src/app/app.component.html with minimal content. ``` <button mat-button *ngIf="true"><span *ngIf="true" class="{{'a'}}"></span></button> ``` 1. Run the app. The button is not shown because of an exception. ``` main.ts:6 ERROR TypeError: item.toLowerCase is not a function at isCssClassMatching (core.mjs:8726:35) at isNodeMatchingSelector (core.mjs:8814:22) at isNodeMatchingSelectorList (core.mjs:8931:13) at matchingProjectionSlotIndex (core.mjs:14179:13) at Module.ɵɵprojectionDef (core.mjs:14222:49) at MatButton_Template (button.mjs:113:99) at executeTemplate (core.mjs:10534:9) at renderView (core.mjs:10356:13) at renderComponent (core.mjs:11529:5) at renderChildComponents (core.mjs:10216:9) ``` Because isCssClassMatching() function does not take care if the value is not string, while attrs[] may contain AttributeMarker which is actually numbers, item.toLowerCase() throws the exception. Just inserted a check if the item is string. Created a testcase for the original fix. It causes an exception without the fix. fix(core): add a check code to avoid an exception inside isCssClassMatching Showing a minimum app to reproduce the bug. 1. Create the app and add angular material. ``` ng new project cd project ng add @angular/material ``` 1. Add `import { MatButtonModule } from '@angular/material/button'`, and also MatButtonModule inside @NgModule imports in src/app/app.module.ts to use MatButtonModule. 1. Overwrite the src/app/app.component.html with minimal content. ``` <button mat-button *ngIf="true"><span *ngIf="true" class="{{'a'}}"></span></button> ``` 1. Run the app. The button is not shown because of an exception. ``` main.ts:6 ERROR TypeError: item.toLowerCase is not a function at isCssClassMatching (core.mjs:8726:35) at isNodeMatchingSelector (core.mjs:8814:22) at isNodeMatchingSelectorList (core.mjs:8931:13) at matchingProjectionSlotIndex (core.mjs:14179:13) at Module.ɵɵprojectionDef (core.mjs:14222:49) at MatButton_Template (button.mjs:113:99) at executeTemplate (core.mjs:10534:9) at renderView (core.mjs:10356:13) at renderComponent (core.mjs:11529:5) at renderChildComponents (core.mjs:10216:9) ``` Because isCssClassMatching() function does not take care if the value is not string, while attrs[] may contain AttributeMarker which is actually numbers, item.toLowerCase() throws the exception. Just inserted a check if the item is string. PR Close #48888 20 March 2023, 15:07:14 UTC
0f0c0a9 docs(docs-infra): improve docs for @angular/localize package. (#49393) This PR adds missing documentation for `@angular/localize` package and fixes a tiny one-word typo in the `README.md` file for `@angular/localize schematic`. Fixes #49219. PR Close #49393 20 March 2023, 12:12:19 UTC
bae6b5c fix(core): Allow `TestBed.configureTestingModule` to work with recursive cycle of standalone components. (#49473) When having a recursive circle of imports on standalone components, `queueTypesFromModulesArrayRecur` triggered a `Maximum call stack size exceeded` error. This commit fixes this. Fixes #49469 PR Close #49473 20 March 2023, 09:02:15 UTC
868dcab docs: Send data to server - insert updated links. (#49447) PR Close #49447 20 March 2023, 07:49:21 UTC
8f6cbb6 docs: remove bazel builder section (#49423) PR Close #49423 20 March 2023, 07:48:43 UTC
c807a32 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 docs: Optimize server interaction - insert updated link. (#49438) PR Close #49438 17 March 2023, 07:36:59 UTC
bb2753d docs: Track and show request progress - insert updated link. (#49439) PR Close #49439 17 March 2023, 07:35:45 UTC
e6736c7 docs: Intercept requests - insert updated link. (#49446) PR Close #49446 17 March 2023, 07:34:15 UTC
3d71d9d release: cut the v15.2.3 release 16 March 2023, 19:08:14 UTC
c981644 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 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 docs: Understanding communicating with http - insert updated links. (#49429) PR Close #49429 16 March 2023, 00:18:54 UTC
6f139b4 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 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 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 docs(upgrade): mark lifecycle methods as nodoc (#49416) PR Close #49416 14 March 2023, 16:41:36 UTC
32e98f7 docs(common): mark lifecycle methods as nodoc (#49416) PR Close #49416 14 March 2023, 16:41:36 UTC
6c189ed 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 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 docs: New doc: Understanding communicating with backend services using HTTP (#49294) PR Close #49294 09 March 2023, 17:21:14 UTC
c272665 docs: New doc extract from original HTTP doc to be retired. (#48914) PR Close #48914 09 March 2023, 17:19:04 UTC
a44224c docs: delete outdated link. (#48909) PR Close #48909 09 March 2023, 17:17:02 UTC
3c71e48 docs: delete or revise outdated links. (#48909) PR Close #48909 09 March 2023, 17:17:02 UTC
43dff1f docs: New doc extract from original HTTP doc to be retired. (#48909) PR Close #48909 09 March 2023, 17:17:01 UTC
7e23883 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 docs: Remove `RenderComponentType` from the depreciation list. (#49363) `RenderComponentType` was removed by #33019 PR Close #49363 08 March 2023, 23:39:03 UTC
f099df8 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 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 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 release: cut the v15.2.2 release 08 March 2023, 18:43:09 UTC
9937508 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 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 docs: update toh-pt5.md (#49307) PR Close #49307 07 March 2023, 19:17:25 UTC
d0a73b2 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 docs: fix links on untyped forms (#49306) PR Close #49306 03 March 2023, 19:40:00 UTC
f321e65 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 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 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 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 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 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 docs: Add NG8107 entry : Optional chain not nullable extended diagnostic (#49287) PR Close #49287 02 March 2023, 19:56:37 UTC
8f7fbdd 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 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 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 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 release: cut the v15.2.1 release 01 March 2023, 18:53:10 UTC
439b4d3 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 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 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 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 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 docs: New doc extract from original HTTP doc to be retired. (#48915) PR Close #48915 28 February 2023, 17:32:30 UTC
d100ddf docs: New doc extract from original HTTP doc to be retired. (#48912) PR Close #48912 28 February 2023, 17:31:31 UTC
1aadabb docs: New doc extract from original HTTP doc to be retired. (#48908) PR Close #48908 28 February 2023, 17:30:14 UTC
d252187 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 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 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 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 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 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 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 docs: improve section title in TOH-pt4 (#49208) fixes #49165 PR Close #49208 28 February 2023, 16:16:39 UTC
785ab81 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 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 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 release: bump DevTools version (#49121) PR Close #49121 27 February 2023, 18:07:54 UTC
af31adb 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 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 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 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 docs: change link for Angular Projects book (#49198) PR Close #49198 27 February 2023, 16:05:21 UTC
56f7d1f docs: add new edition of Learning Angular book (#49199) PR Close #49199 27 February 2023, 16:04:35 UTC
6d91296 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 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 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
back to top