This project is mirrored from https://github.com/angular/angular.git.
Pull mirroring updated .
- Jan 16, 2025
-
-
arturovt authored
Switches to using `RuntimeError` and drops the error message in production by replacing it with an error code. PR Close #59471
-
Matthieu Riegler authored
This commit introduces an update to the official recommendations when it comes to class & styles bindings. `[class]` & `[style]` bindings are now recommended for basic uses cases. `[ngClass]` and `[ngStyle]` allow more advanced bindings (like space separated keys) or keys with units (for `ngStyle`) which are not supported by the native bindings. They still require the dedicated directives. PR Close #59240
-
Jeremy Elbourn authored
We recently saw some confusion around this, so it's worth adding a sentence to clarify PR Close #59533
- Jan 15, 2025
-
-
carimatics authored
The input tags written within the flowcharts in the document were not being escaped, so we did that. This change will ensure that the flowcharts in the document are properly displayed. PR Close #59517
-
Sandeep Salwan authored
PR Close #59526
-
Andrew Kushnir authored
This reverts commit e15226a4. PR Close #59523
-
Abdul Wahab authored
PR Close #59521
-
hawkgs authored
There are some code blocks that slipped through the initial Regex-es. Related to #59026 PR Close #59088
-
hawkgs authored
Fix issues related to scrolling in the API reference: - Scroll to the top of the page when navigating to the API details page - Preserve scroll position when navigating back from the API details page PR Close #59207
-
arturovt authored
Prior to this commit, the `this.lcpObserver?.updateImage` expression was still preserved in the production code because it wasn't wrapped with `ngDevMode`. The observer is injected only in development mode. Additionally, we moved the logic from `ngOnDestroy` to avoid having an empty method in production. PR Close #59481
-
arturovt authored
In this commit, we replace `isPlatformServer` runtime call with the `ngServerMode` in the `transferCacheInterceptorFn` in order to make the functionality tree-shakable between client and server bundles. PR Close #59439
-
Kristiyan Kostadinov authored
Currently when we swap out the component during HMR, we remove the renderer from the cache, but we never destroy it which means that its styles are still in the DOM. This can cause the old styles to leak into the component after they're replaced. These changes add a `destroy` call to ensure that they're removed. PR Close #59514
-
hawkgs authored
Change the order from left-right to top-down (columns) and additionally make columns equal width. PR Close #58655
-
hawkgs authored
Fix SCSS "declarations after nested rules" and `@import` warnings. PR Close #59115
-
Matthieu Riegler authored
Those 2 clases weren't imported anywhere. PR Close #59297
-
Andrew Kushnir authored
This commit updates incremental hydration-related annotation logic to avoid serializing parent block id when it's `null` (for top-level blocks). PR Close #59190
-
Angular Robot authored
See associated pull request for more information. PR Close #59508
-
hawkgs authored
Generate the `NavigationItem`-s as part of adev/shared-docs pipeline and use the output JSON files instead of the hardcoded objects in the `sub-navigation-data.ts`. PR Close #59355
-
- Jan 14, 2025
-
-
Angular Robot authored
See associated pull request for more information. PR Close #59510
-
Angular Robot authored
See associated pull request for more information. PR Close #59511
-
Angular Robot authored
See associated pull request for more information. PR Close #59513
-
Pawel Kozlowski authored
Use case-sensitive user name. PR Close #59516
-
RafaelJCamara authored
Improved the initialization of the headers map to enhance performance and code readability. No breaking changes. PR Close #59268
-
arturovt authored
In this commit, we lazy-load the `EmbeddedTutorialManager` in the editor UI state as done in other parts of the code. PR Close #59509
-
arturovt authored
In this commit, we lazy-load the `EmbeddedTutorialManager` in the code editor component as done in other parts of the code. PR Close #59505
-
AleksanderBodurri authored
It looks like this height property was redundant prior to upgrading to angular/material 19.1.0-rc.0. An interaction between this property and that update caused elements inside of material expansion panels to be hidden. This PR removes this unnecessary height assignment entirely. PR Close #59493
-
arturovt authored
In this commit, we extract content types into a variable to eliminate extra bytes, as these values are duplicated in multiple places. PR Close #59467
-
arturovt authored
Note: this enums are not a part of the public API. Prior to this commit, the compiler produced: ```js var DateType; (function (DateType) { DateType[DateType["FullYear"] = 0] = "FullYear"; DateType[DateType["Month"] = 1] = "Month"; DateType[DateType["Date"] = 2] = "Date"; DateType[DateType["Hours"] = 3] = "Hours"; DateType[DateType["Minutes"] = 4] = "Minutes"; DateType[DateType["Seconds"] = 5] = "Seconds"; DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds"; DateType[DateType["Day"] = 7] = "Day"; })(DateType || (DateType = {})); ``` With these changes, we allow objects to be dropped entirely and inlined. PR Close #59468
-
- Jan 13, 2025
-
-
Kristiyan Kostadinov authored
Fixes a typo in the `AstVisitor.visitTypeofExpresion` method's name. PR Close #59479
-
Amy Sorto authored
PR Close #59078
-
arturovt authored
In this commit, we lazy-load `EmbeddedTutorialManager` in the home editor component via `injectAsync` as done in other parts of the code. PR Close #59491
-
Bobokhuja authored
PR Close #59312
-
RafaelJCamara authored
Closes: #59378 PR Close #59383
-
Matthieu Riegler authored
fixes #59423 PR Close #59427
-
PhilippMDoerner authored
docs: Adjust lines of server.ts example in ssr docs The server.ts excerpt used in the server-side-rendering docs (https://angular.dev/guide/ssr#configure-server-side-rendering) does not fully encapsulate the commonEngine code-block. It begins too early in line 31, leading to the inclusions of lines from another codeblock that is not intended to be shown here: ``` ); // All regular routes use the Angular engine ``` It should be beginning with the line `// All regular routes use the Angular engine`. It also ends too soon, cutting off these parts of the code-block: ``` .catch((err) => next(err)); }); ``` PR Close #59490
-
- Jan 11, 2025
-
-
Matthieu Riegler authored
When removing the binding, the class defined on the host element is being replaced fixes #59442 PR Close #59460
-
Paul Gschwendtner authored
We previously did count forcibly ignored queries as incompatible. This resulted in incorrect migration stats that are printed upon migration completion. See: #58657 PR Close #59463
-
Paul Gschwendtner authored
Related to https://github.com/angular/angular/issues/59348 PR Close #59463
-
Paul Gschwendtner authored
This ensures the migration works for these TypeScript versions. The migration is very sensitive to the TS version and its internals; so it makes sense to test all of these. PR Close #59463
-