https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
47d6740 docs: properly link to developer preview section Fixes an invalid link to the developer preview section. 07 May 2024, 12:32:01 UTC
77ae5a3 refactor(devtools): remove git sha stamping from devtools build (#55694) This stamping is interfering with publishing to the Firefox addons store by brining in the entirety of the `.git` directory as part of the source code necessary for a reproducible build, which Firefox requires as part of it's approval process. In it's place, we are now using the extension version pulled from the manifest. PR Close #55694 06 May 2024, 23:02:36 UTC
76f2c4f refactor(core): private export token that indicates if zone scheduling is provided (#55690) This is needed internally to determine whether to provide zone or zoneless by default. PR Close #55690 06 May 2024, 23:01:48 UTC
9366e17 refactor(router): resolve view transition promise in a timeout when unsupported (#55327) Related to #51131, this change ensures that the router navigation exits the current event loop before rendering the route when the view transition feature is enabled, when the browser does not support view transitions. PR Close #55327 06 May 2024, 23:00:53 UTC
8795374 refactor(core): Remove unused JSNAMESPACE_SUPPORT from event-dispatch (#55619) The usage of this option has been removed from google3 code, so we don't need to keep it around anymore. PR Close #55619 06 May 2024, 21:58:25 UTC
7330b69 fix(core): TestBed should not override NgZone from initTestEnvironment (#55226) Prior to this change, `NgZone` was provided by default in TestBed in a location that would override anything configured in `TestBed.initTestEnvironment`. This change moves the default `NgZone` provider to the `RootScopeModule` and these providers can be overridden by the ones in `additionalModuleTypes`, which are assigned from the first argument of `initTestEnvironment`. This makes it possible to configure Zone globally for all tests as opposed to needing to repeat it in `configureTestingModule` of each suite. PR Close #55226 06 May 2024, 20:33:16 UTC
3e1d6e9 fix(compiler): maintain multiline CSS selectors during CSS scoping (#55509) Previously, multiline selectors were being converted into single lines, resulting in sourcemap disruptions due to shifts in line numbers. Closes #55508 PR Close #55509 06 May 2024, 19:39:50 UTC
9d3cd9b refactor(animations): make async animations code compatible with Closure compiler (#55686) Closure compiler optimizations in g3 require `.then` to be present for a dynamic import (or an import should be `await`ed) to detect the set of imported symbols. Currently, the `.then` is located at a later stage in the file, which confuses static code analysis. This change adds the `.then((m) => m)` workaround to satisfy Closure compiler constraints. PR Close #55686 06 May 2024, 19:35:23 UTC
b3e61ba ci: update Renovate configuration: replace `matchPackagePatterns` with `matchDepPatterns` (#55683) This commit addresses a warning in Renovate regarding a deprecated behavior that will be phased out in the future. ``` WARNING: To prevent future issues, replace the usage of matchPackagePatterns with matchDepPatterns (repository=angular/angular, baseBranch=main) "packageRule": { "matchPackagePatterns": ["^@bazel/.*", "^build_bazel.*"], "groupName": "bazel setup", "schedule": ["at any time"] }, "packageName": "bazelbuild/rules_nodejs", "depName": "build_bazel_rules_nodejs" ``` PR Close #55683 06 May 2024, 19:34:09 UTC
15e0600 ci: remove `stopUpdatingLabel` setting (#55683) This commit removes the 'stopUpdatingLabel' option from Renovate settings. This option caused pull requests to not automatically rebase when conflicting. PR Close #55683 06 May 2024, 19:34:09 UTC
cf84acf fix(platform-server): remove event dispatch script from HTML when hydration is disabled (#55681) Prior to this commit, the included event dispatcher remained in the HTML even when hydration was disabled. PR Close #55681 06 May 2024, 19:33:09 UTC
7898957 build: lock file maintenance (#55680) See associated pull request for more information. PR Close #55680 06 May 2024, 19:32:18 UTC
73a1790 build: remove `mermaid` from deps (#55664) This dependency is now pulled via `@angular/docs` PR Close #55664 06 May 2024, 19:31:27 UTC
9ddb003 fix(http): resolve `withRequestsMadeViaParent` behavior with `withFetch` (#55652) This commit addresses dependency injection defects when using the `withFetch` API. Formerly, utilizing `withFetch` led to the automatic setting of `HttpBackend` to `FetchBackend`, which proved problematic in certain scenarios. Notably, conflicts arose when integrating `withRequestsMadeViaParent` and manually overriding tokens, as observed in instances like `InMemoryWebApiModule`. PR Close #55652 06 May 2024, 19:29:53 UTC
7a2efd4 fix(migrations): handle more cases in HttpClientModule migration (#55640) This commit handles two cases that were breaking applications when using the new migration: - tests using `HttpClientModule` in `TestBed.configureTestingModule` were broken as the import was removed, but the module is still present in the test configuration. It now properly adds `provideHttpClient(withInterceptorsFromDi())` and related imports to the test. - tests using `HttpClientTestingModule` were migrated to use `provideHttpClient(withInterceptorsFromDi())` but the necessary imports were not added. They are now added by the migration. PR Close #55640 06 May 2024, 19:29:17 UTC
464dae9 docs: small updates to zoneless docs (#55636) PR Close #55636 06 May 2024, 19:28:36 UTC
8f273ce refactor(core): Allow the container and the listenable element to be configurable for early event contract. (#55586) This will allow a multi-app application to listen to early events from different elements and place them on a separate field on the window. PR Close #55586 06 May 2024, 15:15:54 UTC
1872fcd build: update cross-repo angular dependencies (#55422) See associated pull request for more information. PR Close #55422 03 May 2024, 20:00:18 UTC
6e1e70d ci: use application builder for integration tests (#55660) This updates the integration tests to use the application builder. PR Close #55660 03 May 2024, 18:21:06 UTC
554a1be ci: delate `aio-payloads.json` (#55659) This file is no longer used. PR Close #55659 03 May 2024, 18:20:13 UTC
b80b462 ci: add adev build as part of the CI process (#55662) Currently, this is not which caused main to be broken because breakages where not caught during PR PR Close #55662 03 May 2024, 17:20:58 UTC
b5ab2ef build: fix adev build (#55662) adev is broken at head PR Close #55662 03 May 2024, 17:20:58 UTC
46acb55 build: update integration tests lock files (#55661) This should fix CI. PR Close #55661 03 May 2024, 16:17:16 UTC
aeb3fe2 build: remove tslint and codelyzer deps from integration tests (#55658) These are redundant. PR Close #55658 03 May 2024, 15:15:41 UTC
14d5094 docs: typo in RedirectFunction description (#55653) PR Close #55653 03 May 2024, 15:08:12 UTC
e533110 fix(platform-browser): Use the right namespace for mathML. (#55622) Prior to this change, MathML element were created with the wrong namespace resulting in regular DOM `Element`. This commit fixes this. Related to #55608 (but doesn't fix it entirely). PR Close #55622 03 May 2024, 15:07:31 UTC
3a930a5 build: update dependency typescript to v5.4.5 (#55042) See associated pull request for more information. PR Close #55042 03 May 2024, 15:06:34 UTC
72108ba build: update cross-repo angular dependencies (#55654) See associated pull request for more information. PR Close #55654 03 May 2024, 15:04:40 UTC
9e07b62 fix(zone.js): add missing APIs to Node.js `fs` patch (#54396) This commit updates the list of Node.js `fs` APIs to be patched because they haven't been updated for a long time. It adds `opendir,lutimes,writev`. For example, the `opendir` method was added to Node.js in version 12.12.0 in 2019, causing some of the APIs to potentially be always called within the `<root>` context. **Note:** There are missing unit tests for these changes because in unit tests, `fs` is patched by Bazel's Node.js rules and its `node_patches.cjs`. However, the APIs are successfully patched in the real production code and are called with the correct context. PR Close #54396 03 May 2024, 15:03:25 UTC
58a8f12 refactor(devtools): set `key` in `manifest.chrome.json` (#55639) This key comes from the release build of the Chrome extension. Setting it here configures the extension ID of a local build to match the extension ID of the public release. This makes Chrome recognize that local builds are the same extension leading to more intuitive behavior. It's also useful for allowlists of extension IDs to keep the local ID consistent. PR Close #55639 02 May 2024, 21:46:24 UTC
76e7aa8 refactor(core): Update coalescing to just use patched timers in root zone (#55366) Rather than attempting to use the native timing functions, this commit simplifies the logic significantly by using the global timer functions as they are, either patched or unpatched. When Zone is defined, we run the timers in the root zone. This has more predictable behavior and timing than (a) using both patched and unpatched versions of timers in different places (b) trying to get an unpatched timer and failing due to environment specifics and patches that aren't ZoneJS. PR Close #55366 02 May 2024, 21:43:10 UTC
7645325 refactor(core): mark `@defer` APIs as stable (#55625) This commit removes the `@developerPreview` annotation from the `@defer` APIs, effectively promoting them (and the entire feature!) to stable. PR Close #55625 02 May 2024, 21:42:00 UTC
b44e35f release: bump Angular DevTools to 1.0.15 (#55643) PR Close #55643 02 May 2024, 20:37:34 UTC
afd87ac refactor(core): Turn off JSNAMESPACE_SUPPORT by default (#55598) All usages in google3 have been deleted so this should be a no-op. Next I'll clean up all the configurations turning this off and then delete the option entirely. PR Close #55598 02 May 2024, 19:34:24 UTC
c320aa6 docs: style the nav based on version type (#55628) PR Close #55628 02 May 2024, 19:33:27 UTC
2e891ad fix(compiler): add math elements to schema (#55631) Fixes that we didn't have the MathML elements in the schema. Note that we can't discover which tag names are available by looking at globally-available classes, because all MathML elements are `MathMLElement` rather than something like `SVGCircleElement`. As such, I ended up having to hardcode the currently-available tags. Fixes #55608. PR Close #55631 02 May 2024, 18:12:14 UTC
8b59215 docs: typos in NG0956 (#55630) PR Close #55630 02 May 2024, 18:10:58 UTC
45b5805 build: update io_bazel_rules_sass digest to 9f8be59 (#55602) See associated pull request for more information. PR Close #55602 02 May 2024, 18:06:46 UTC
95bf0c8 refactor(core): Remove jsaction from element after handling the event. (#55549) This also adds a test to make sure that the event contract is still listening to other events, especially in the case where we may want partial hydration in the future. PR Close #55549 02 May 2024, 18:04:59 UTC
8cabb7a Revert "fix(core): render hooks should not specifically run outside the Angular zone (#55399)" (#55624) This reverts commit 7e89753eeff24f52d39fef92600293bf1700cd1b. Running render hooks inside the zone is specifically problematic for `afterRender` hooks. If the callback has async task, it would cause an infinite change detection. In addition, updating state in render hooks is generally discourages and certainly should update state in a way that notifies Angular of the change (either via signal or with `markForCheck`) rather than relying on ZoneJS to pick it up (which would only work if the change is done inside an async task). PR Close #55624 02 May 2024, 18:00:29 UTC
7c1b4a4 fix(core): afterRender hooks registered outside change detection can mark views dirty (#55623) This commit fixes an error in the looping logic of `ApplicationRef.tick` when the tick skips straight to render hooks. In this case, if a render hook makes a state update that requires a view refresh, we would never actually refresh the view and just loop until we hit the loop limit. PR Close #55623 02 May 2024, 17:58:28 UTC
1f2e791 refactor(compiler-cli): optimize extra import generation in local compilation mode (#55548) Currently we add global extra imports to all the files in the compilation unit. However not all the files need extra imports. For example non-Angular files definitely do not need such extra imports, and in some cases these extra imports causes problems as the file is meant to be run the Node but it has Angular dependencies which are not compatible with Node. This change tries to limit extra import generation to a subset of files. Wit hthis change we create extra imports only for the files that contain at least one component whose NgModule is in a different file. This is because all other files do not need extra imports since they are either not Angular files or they already have all the imports that the components need. PR Close #55548 02 May 2024, 17:57:41 UTC
a0ec2d8 fix(core): don't schedule timer triggers on the server (#55605) Fixes that even though we weren't rendering the deferred block the server, we were still triggering the timeout which can delay the response. Fixes #55475. PR Close #55605 01 May 2024, 22:10:26 UTC
fc96020 docs: update press kit to reduce confusion (#55611) PR Close #55611 01 May 2024, 22:09:33 UTC
7ff7dfa docs: fix missing example (#55584) preview is hidding was responsible for hidding the content. fixes #55583 PR Close #55584 01 May 2024, 22:07:58 UTC
a33fdfd build: update actions/checkout digest to 0ad4b8f (#55537) See associated pull request for more information. PR Close #55537 01 May 2024, 22:07:18 UTC
bf25dfa refactor(core): Add a boostrapCustomEvent method. (#55603) This can replace CUSTOM_EVENT_SUPPORT by allowing users to bootstrap custom event support separately from the `EventContract`. PR Close #55603 01 May 2024, 20:43:27 UTC
b9a997c refactor(core): Remove STOP_PROPAGATION define. (#55582) This define has been removed at head, and now legacy stop propagation behavior can be opted into at the LegacyDispatcher level, if necessary. PR Close #55582 01 May 2024, 18:55:31 UTC
5903c37 refactor(core): Move action resolution into a standalone class. (#55523) This refactor will enable moving this functionality into the dispatcher. PR Close #55523 01 May 2024, 18:54:34 UTC
cda8bfa docs(core): Add event-dispatch README.md (#55521) PR Close #55521 01 May 2024, 18:53:25 UTC
379242c docs: release notes for the v18.0.0-rc.0 release 01 May 2024, 18:50:28 UTC
874d332 docs: release notes for the v17.3.7 release 01 May 2024, 18:42:03 UTC
7cea897 release: bump DevTools to 1.0.14 (#55545) PR Close #55545 01 May 2024, 00:01:54 UTC
024e9bf refactor(core): Ensure animations are flushed before running render hooks (#55564) This commit ensures we flush animations by calling renderFactory begin/end in cases where the ApplicationRef._tick happens in a mode that skips straight to the render hooks. PR Close #55564 30 April 2024, 22:39:56 UTC
3312727 refactor(zone.js): use `Object.prototype.toString` directly for improved tree shakability (#55412) These lines were not tree shakable by Closure Compiler because `.toString()` is special cased as a "pure" function eligible to eliminated if it's return value is unused. However `.toString.call` circumvents this and makes Closure Compiler think the function may have side effects. Switching to `.toString()` should be fine here as `process.toString()` in Node outputs `[object process]` so this should be safe. Presumably the original motivation for this roundabout approach was for type safety reasons which no longer apply as `_global` is `any`. PR Close #55412 30 April 2024, 21:06:43 UTC
9f777b6 docs: add README for adev site (#55578) PR Close #55578 30 April 2024, 21:04:56 UTC
2ac54f8 build: lock file maintenance (#55575) See associated pull request for more information. PR Close #55575 30 April 2024, 21:03:59 UTC
99cf450 docs: Reference page anchor scroll consistency (#55566) The docs-viewer loads asynchronously and can happen after the scroll event has happened and the Router has attempted to scroll to the requested position/anchor. This commit saves the scroll event and handles it again if the cards are loaded after scrolling happens. PR Close #55566 30 April 2024, 21:03:04 UTC
73d999f docs: fix formatting for signal inputs guide (#55275) PR Close #55275 30 April 2024, 21:02:13 UTC
7eaa407 docs(changelog): remove duplicate mutate removal entry in 17.0.0 (#53471) PR Close #53471 30 April 2024, 21:00:43 UTC
ff65669 release: cut the zone.js-0.14.5 release (#55599) PR Close #55599 30 April 2024, 20:51:16 UTC
0a77825 build: improve incremental rebuilds of compliance tests (#55594) Currently whenever a compliance test case TS file is modified, all compliance tests in repository are rebuilt in partial compilation mode. This is inefficient and also slows down local development where one may use a wildcard to run all test targets inside `/test/compliance/...`. This commit fixes this. PR Close #55594 30 April 2024, 16:22:38 UTC
a4a82af docs(core): add documentation for errors NG0955 and NG0956 (#55591) This commit adds detailed description for the errors NG0955 and NG0956. Those errors correspond to the check introduced in the built-in for loop. PR Close #55591 30 April 2024, 16:21:33 UTC
375e9a7 build: update scorecard action dependencies (#55589) See associated pull request for more information. PR Close #55589 30 April 2024, 16:20:06 UTC
66ffeca fix(router): Scroller should scroll as soon as change detection completes (#55105) Using `setTimeout` to delay scrolling can result in scrolling in the next frame and cause noticeable flicker. This commit scrolls as soon as the next render happens (or in `setTimeout` if a render does not happen before then). fixes #53985 PR Close #55105 30 April 2024, 16:19:06 UTC
fd54415 ci: complete migration to prettier formatting (#55580) Format the remaining unformatted files in the repository PR Close #55580 29 April 2024, 21:00:16 UTC
49d3062 docs(docs-infra): allow file renaming in code editor (#54989) Any filename but the main.ts is now editable. PR Close #54989 29 April 2024, 20:42:26 UTC
9160a21 docs: add mention of the HTTP client for interceptors (#55551) fixes #53911 PR Close #55551 29 April 2024, 20:41:04 UTC
0650981 docs: fix broken link to error doc (#55547) PR Close #55547 29 April 2024, 20:40:03 UTC
b87a4c4 docs: update NgClass example description to match the example's behavior (#55209) Co-authored-by: Sonu Kapoor <sonukapoor@users.noreply.github.com> PR Close #55209 29 April 2024, 20:39:18 UTC
4f9084e docs: show the difference between pseudo classes angular uses and native ones in runtime (#53819) PR Close #53819 29 April 2024, 20:35:33 UTC
292c987 refactor(compiler): add `handler` attribute to XMB output (#54865) This allows tracking of which tools generated which XMB files and helps attribute Angular usage. PR Close #54865 29 April 2024, 18:56:31 UTC
0d78a92 refactor: migrate compiler-cli to prettier formatting (#55485) Migrate formatting to prettier for compiler-cli from clang-format PR Close #55485 29 April 2024, 17:25:43 UTC
f307e95 refactor: migrate zone.js to prettier formatting (#55427) Migrate formatting to prettier for zone.js from clang-format PR Close #55427 29 April 2024, 16:52:05 UTC
31fdf0f refactor: migrate core to prettier formatting (#55488) Migrate formatting to prettier for core from clang-format PR Close #55488 29 April 2024, 16:49:19 UTC
be17de5 refactor(core): Permit disabling autoDetect for zoneless fixture (#55494) The caveat here is that this needs to be done before creating the fixture. There are some technical issues to overcome with disabling it after it was already enabled, related to detaching from `ApplicationRef` without other side effects. PR Close #55494 26 April 2024, 16:42:15 UTC
91b1f24 fix(migrations): resolve multiple structural issues with HttpClient migration (#55557) Fixes several issues with the `HttpClient` migration that showed up after I tried updating the Material docs site to the latest v18 release. Includes: * The migration was assuming that all Angular decorators have at least one argument. This led to a null pointer error that broke the v18 update process when I was testing it. * The migration incorrectly reimplemented the detection of classes with Angular decorators. This can cause code to be migrated incorrectly and doesn't handle cases like import aliases. I've switched it to use the existing tooling for detecting decorated classes. * The migration was trying to migrate directives, even though they don't support the `imports` field. * The migration was detecting `TestBed.configureTestingModule` calls using a raw string match which is very fragile and can be broken by the user's formatting. * There were syntax errors in the unit tests. * There were type checking errors in the unit tests, for example none of them were importing the Angular decorators that they were migrating. There's more room for improvement, but this should resolve the most glaring issues without having to rewrite too much. PR Close #55557 26 April 2024, 16:32:31 UTC
4a7402f docs: update ChangeDetectionStrategy links (#55553) fixes #54227 fixes #50943 PR Close #55553 26 April 2024, 16:31:41 UTC
f7233b0 docs: remove mention of style sanitization. (#55553) fixes #49566 PR Close #55553 26 April 2024, 16:31:41 UTC
f6e11e6 docs: remove image (#55553) The image was replaced by the following mermaid chart. PR Close #55553 26 April 2024, 16:31:41 UTC
5559b7f docs: update app-shell to reflect actual content (#55550) fixes #55507 PR Close #55550 26 April 2024, 16:29:33 UTC
5b4970b refactor(platform-server): Update event_replay_spec to more match production code. (#55517) Notably, do evals where in SSR we evaluate a contract binary and evaluate scripts. PR Close #55517 25 April 2024, 21:58:11 UTC
96972b4 refactor(devtools): hide hydration error when the component tree is collapsed (#54912) This commit improves the devtools UX. PR Close #54912 25 April 2024, 21:57:19 UTC
e0096ef refactor(devtools): prevent dblclick on the expand arrow to show the element panel (#54912) This will improve the UX PR Close #54912 25 April 2024, 21:57:18 UTC
54de0f3 refactor(devtools): improve signal support. (#54912) In some cases signals weren't unwraped thus not reading the value correctly. This commit fixes this issue. PR Close #54912 25 April 2024, 21:57:18 UTC
8a6027d refactor(devtools): fix issue with virtual scroll viewport in the directive forest (#54912) In some cases the height of the viewport wasn't calculated correctly because of extension tabs quirks. This commit fixes this issue. Fixes #53704 PR Close #54912 25 April 2024, 21:57:18 UTC
356ec65 refactor(core): Do not duplicate change detection with run coalescing (part 2) (#55403) This commit prevents doubling change detections when the zoneless scheduler is notified first, followed by the zone becomeing unstable (effectively "scheduling" zone-based change detection). When run coalescing is enabled, this would otherwise result in the zoneless scheduler running change detection first and then change detection running again because of the run coalescing since both scheduler use the same timing function (and then it would be FIFO). PR Close #55403 25 April 2024, 21:31:17 UTC
bf8814c refactor(core): Omit listeners from out-of-zone scheduling when using ZoneJS (#55492) (#55525) In Angular today, a bound listener automatically marks the view for check. When using ZoneJS, these listeners are most often executed in the Angular Zone as well, so synchronization (`ApplicationRef.tick`) will eventually happen. _However_, developers can opt out of zone-patching for events in several ways, and often do this for very frequent listeners like `mousemove`, `resize`, and `scroll`. We do not want to break existing expectations that these are now "safe" events to have listeners for by automatically scheduling change detection regardless of whether the listener executed inside or outside the Angular zone. In contrast, in order for developers to more easily transition to zoneless, we need to be able to ensure that components which are using `OnPush` are, for the most part, compatible with zoneless as well. Because listeners automatically mark the component for check, developers using `OnPush` did not/do not need to also call `ChangeDetectorRef.markForCheck` or a similar API. Unfortunately, this means that we need to consider the listener callbacks as a notification to schedule a `tick` when Zoneless is enabled. In the future, we would like to have an opt-out for this (i.e. signal components) since it's not really how we _want_ things to work. Also includes the fix for #54919 that got reverted only because it was easier to revert the set of conflicting commits PR Close #55525 25 April 2024, 19:56:37 UTC
0dc4df8 docs: Update di-in-action.md (#55489) PR Close #55489 25 April 2024, 19:55:13 UTC
2bd1665 refactor(core): set up framework injector profile exclusively in browser environment (#55530) This commit modifies the setup of the injector profiler to occur solely when the application is running in a browser context. This adjustment is made because the injector profile serves no purpose when the application is running on the server. PR Close #55530 25 April 2024, 19:53:21 UTC
f4f1d32 docs: Update what-is-angular.md (#55536) PR Close #55536 25 April 2024, 19:52:30 UTC
5926bf4 refactor(common): increment test coverage (#55532) Ahead of #55283 and with what we learned from it, let's improve our test coverage on the i18n subsystem. PR Close #55532 25 April 2024, 19:50:41 UTC
ae7af8d docs: fix the file naming for the NG05000 error (#55519) PR Close #55519 25 April 2024, 19:49:51 UTC
5a52fac docs: Add some zoneless documentation (#55500) Probably needs more work, but it's a start PR Close #55500 25 April 2024, 19:49:16 UTC
f1d6f86 refactor(core): Remove A11Y_SUPPORT_IN_DISPATCHER behavior. (#55497) The only use case internally has been removed and this can be accomplished with A11Y_CLICK_SUPPORT_DEFERRED. PR Close #55497 25 April 2024, 17:57:58 UTC
7e89753 fix(core): render hooks should not specifically run outside the Angular zone (#55399) The timing of render hook execution is almost entirely identical to `ngZone.onMicrotaskEmpty`. Developers working towards zoneless compatibility will need to migrate `onMicrotaskEmpty` calls to use `afterNextRender`/`afterRender` instead. This, however, would lead to confusing issues if there are promises in the callbacks because `onMicrotaskEmpty` emits inside the Angular zone while render hooks execute outside today. This is problematic because it's not documented and does not produce any notification or error message when async work is done inside the hooks that requires change detection. Instead, change detection simply does not run, and this behavior has proven to be surprising to developers who are used to ZoneJS change detection behavior. fixes #55299 PR Close #55399 25 April 2024, 16:06:34 UTC
97eea8d fix(core): resolve error for multiple component instances that use fallback content (#55478) Currently fallback content for `ng-content` gets declared and rendered out in one go. This breaks down if multiple instances of the same component are used where one doesn't render the fallback content while the other one does, because the `TNode` for the content has to be created during the first creation pass. These changes resolve the issue by always _declaring_ the template, but only rendering it if the slot is empty. Fixes #55466. PR Close #55478 25 April 2024, 16:04:01 UTC
e54c950 refactor(forms): replace errors with hasError() (#55379) Material documentation use hasError. For homogeneity reason, this commit will adopt material style. Fixes #55378 PR Close #55379 25 April 2024, 15:57:29 UTC
03934f6 docs: Update lightweight-injection-tokens.md (#55490) PR Close #55490 25 April 2024, 15:55:46 UTC
e723635 docs: Correct code references in Tutorial 01. (#55506) PR Close #55506 25 April 2024, 15:55:07 UTC
back to top