Angular Robot
2cef60d207
build: update all non-major dependencies ( #58729 )
...
See associated pull request for more information.
PR Close #58729
2024-11-20 21:11:32 +00:00
Joey Perrott
d163c8f8f3
ci: update to latest actions from angular/dev-infra ( #58781 )
...
Update to latest commit
PR Close #58781
2024-11-20 11:58:14 -08:00
Angular Robot
985bcb436e
build: update dependency @types/diff to v6 ( #58426 )
...
See associated pull request for more information.
PR Close #58426
2024-11-20 08:54:48 -08:00
Mark Axisa
6ad30593b9
docs(core): add descriptive usage line for projectableNodes param in createComponent docs ( #58727 )
...
PR Close #58727
2024-11-20 08:12:32 -08:00
Charles Lyding
67a4a7b27e
refactor(language-service): reuse code fixes map for has fix check ( #58759 )
...
The error codes that have fixes are present in a Map instance and
can be directly leveraged to determine if an error code can be fixed.
This avoids multiple levels of iteration that would otherwise be needed.
PR Close #58759
2024-11-20 08:10:15 -08:00
Kristiyan Kostadinov
e4c50b3bea
feat(common): expose component instance in NgComponentOutlet ( #58698 )
...
Exposes the current instance of the component in the `NgComponentOutlet` directive.
PR Close #58698
2024-11-20 08:08:21 -08:00
Kristiyan Kostadinov
18991d3210
fix(migrations): handle parameters with initializers in inject migration ( #58769 )
...
Adds some logic to the `inject()` migration that allows is to handle parameter declarations with initializers. This was omitted initially, because we don't officially support such cases, but it came up internally.
PR Close #58769
2024-11-20 08:07:39 -08:00
aboudard
466d557983
docs: add missing ng update command to v19 update guide ( #58762 )
...
This change adds the command to run when updating angular project from v18 to v19
PR Close #58762
2024-11-19 17:36:25 -08:00
Matthieu Riegler
1455558d7a
docs(docs-infra): have a redirect for guide/components/anatomy-of-components ( #58750 )
...
fixes #58746
PR Close #58750
2024-11-19 16:52:28 -08:00
Angular Robot
71549dd461
build: update cross-repo angular dependencies ( #58666 )
...
See associated pull request for more information.
PR Close #58666
2024-11-19 16:51:40 -08:00
Jeremy Elbourn
0f2b0712c6
docs: add details on how @defer loads deps ( #58763 )
...
PR Close #58763
2024-11-19 16:34:36 -08:00
Jeremy Elbourn
7bd3f77228
docs: update titles for resource and linkedSignal ( #58761 )
...
This change updates the navigation titles for linkedSignal and resource
to follow the pattern of "<accomplish X> with <feature Y>". Also makes a
few minor updates to the body of the resource topic.
PR Close #58761
2024-11-19 16:33:52 -08:00
Charles Lyding
a3521df6aa
docs: add note about dev-server startup and styles ( #58751 )
...
A note has been added to the application builder documentation regarding
the Vite-based development server and style processing that could
potentially result in initial FOUC due to server processing overhead on startup.
PR Close #58751
2024-11-19 16:33:19 -08:00
Sheik Althaf
f8e5119435
refactor(devtools): migrate devtools to prettier formatting ( #58624 )
...
Added html and scss to ng-dev formatter. This is reduce the formatting changes coming in PRs.
PR Close #58624
2024-11-19 16:31:24 -08:00
Kristiyan Kostadinov
dcd27d7921
fix(language-service): add fix for individual unused imports ( #58719 )
...
Fixes that `getCodeActions` wasn't implemented for the unused imports fixer which meant that it wouldn't show up in the most common cases.
PR Close #58719
2024-11-19 12:19:14 -08:00
Kristiyan Kostadinov
f5b2b58b3b
fix(language-service): allow fixes to run without template info ( #58719 )
...
Currently the code fixes won't run if the template information can't be resolved on the diagnostic node. This is incorrect for diagnostics that are reported within `.ts` files. These changes make the `templateInfo` nullable and leave the early exit up to the individual fixes.
PR Close #58719
2024-11-19 12:19:14 -08:00
Charles Lyding
d33af5cba6
fix(core): correctly clear template HMR internal renderer cache ( #58724 )
...
The internal renderer cache within the renderer factory was not being
correctly cleared due to a type-casting error. This prevented template
HMR from correctly updating the component. A more explicity cast has
now been used to mitigate this problem.
Component template HMR is currently considered experimental.
PR Close #58724
2024-11-19 12:18:39 -08:00
Kristiyan Kostadinov
4a18dc03a1
fix(forms): work around TypeScript 5.7 issue ( #58731 )
...
Adjusts the return type of `FormBuilder.group` to work around https://github.com/Microsoft/TypeScript/issues/60506 .
PR Close #58731
2024-11-19 12:18:00 -08:00
Kristiyan Kostadinov
b69b16cfa5
docs: update standalone migration guide ( #58703 )
...
Updates the guide for the standalone migration to account for standalone being the default.
PR Close #58703
2024-11-19 09:54:54 -08:00
Matthieu Riegler
8dbe81aae7
docs(docs-infra): fix ngmodule guide navigation. ( #58740 )
...
PR Close #58740
2024-11-19 09:53:26 -08:00
Jens Kuehlers
c7c534293c
docs: fix v19 support dates ( #58732 )
...
PR Close #58732
2024-11-19 09:52:45 -08:00
Paul Gschwendtner
284771d153
docs: add link to v19 blog post ( #58745 )
...
Adds a link to the v19 blog post
PR Close #58745
2024-11-19 17:38:48 +00:00
Paul Gschwendtner
0ce15c6b5e
docs: update tutorials and playground to v19.0.0 ( #58742 )
...
Updates boilerplate for tutorial and playground to use v19
PR Close #58742
2024-11-19 17:26:47 +00:00
Paul Gschwendtner
8a4d2ef609
build: publish angular-in-memory-web-api@0.19.0 for v19 compatibility ( #58741 )
...
We re-publish this package with new peer dependencies for v19
compatibility.
PR Close #58741
2024-11-19 16:55:59 +00:00
Paul Gschwendtner
cdaa909da9
docs: improve changelog for v19
...
Improves the changelog for v19, removing unnecessary information and
shortening larger breaking change notes
2024-11-19 15:36:37 +01:00
Paul Gschwendtner
e29bd14a9d
docs: release notes for the v19.0.0 release ( #58735 )
2024-11-19 15:28:14 +01:00
mgechev
0274e6c16d
docs: update links in the roadmap ( #58728 )
...
PR Close #58728
2024-11-18 18:25:35 -08:00
mgechev
257fedc25a
docs: update the angular roadmap for v19 ( #58549 )
...
PR Close #58549
2024-11-18 16:03:00 -08:00
Matthieu Riegler
281f747e32
docs(docs-infra): redirect to the root of the app. ( #58700 )
...
Prior to this commits the redirected path was relative.
fixes #58699
PR Close #58700
2024-11-18 13:35:57 -08:00
ahmadhakeem18
61b39ddaa6
docs(docs-infra): Fix overflow styles in cards code examples ( #58704 )
...
PR Close #58704
2024-11-18 13:35:15 -08:00
ahmadhakeem18
23ec69f8e4
docs(docs-infra): Fix the borders of Cards header to match its parent ( #58704 )
...
PR Close #58704
2024-11-18 13:35:14 -08:00
Matthieu Riegler
6f1d583fca
docs: update version compatibility. ( #58720 )
...
TS 5.4 support was dropped by #57577
TS 5.6 support was added by #57749
PR Close #58720
2024-11-18 13:34:35 -08:00
marktechson
7d161b9e5c
docs: add v19 developer event banner ( #58721 )
...
PR Close #58721
2024-11-18 12:48:44 -08:00
Jeremy Elbourn
92f30a749d
docs: reorganize NgModule and Animations guides ( #58694 )
...
* Move the NgModules and Animations guide under "Extended Ecosystem"
* Remove all NgModule topics except for the (newly written) overview.
All of the content in these topics was inherently written on the idea
that your application was organized around NgModules. I went through
all of it, moved the important parts to the overview, and deemed the
rest obsolete (though it will always remain in archived versions).
PR Close #58694
2024-11-15 14:36:39 -08:00
hawkgs
0deb6f9ffb
docs(docs-infra): remove Featured section from the API reference list page ( #58659 )
...
Remove the Featured/Most Common section from the reference list and stylize and position the filter appropriately.
PR Close #58659
2024-11-15 10:32:21 -08:00
Andrew Kushnir
e01aa1002b
docs: update location of REQUEST-related tokens in docs content ( #58693 )
...
Since https://github.com/angular/angular/commit/a55341b1ab8d2bc4285a4cce59df7fc0b23c0125 commit, the `REQUEST`, `RESPONSE_INIT` and `REQUEST_CONTEXT` tokens became a part of the `@angular/core` pcakage. This commit updates the docs to mention `@angular/core` as a primary location of those tokens.
PR Close #58693
2024-11-15 10:30:11 -08:00
Jessica Janiuk
ea020692a2
docs: add incremental hydration guide ( #58671 )
...
This adds a guide for incremental hydration. It also updates the navigation and adds links to it from the hydration guide.
PR Close #58671
2024-11-15 09:50:13 -08:00
Jeremy Elbourn
cd4907d93c
docs: initial resource docs ( #58687 )
...
Adding an initial pass of docs for `resource` under the Signals heading.
PR Close #58687
2024-11-15 09:48:10 -08:00
Andrew Kushnir
d62a3f8480
docs: release notes for the v19.0.0-rc.3 release
2024-11-15 09:39:55 -08:00
Pawel Kozlowski
2a767a306e
refactor(core): mark linkedSignal as developer preview ( #58684 )
...
This commit bumps up the stability status of the linkedSignal
to developer preview - clearly expressing our highier confidence
in this API.
PR Close #58684
2024-11-15 14:15:20 +01:00
cexbrayat
2eb4afe2b3
fix(migrations): do not migrate next calls in template if not an EventEmitter ( #58631 )
...
Fixes #58630
```html
<button (click)="someSubject.next()">Click</button>
```
was migrated to an `.emit` call, even if `someSubject` was not an `EventEmitter`.
The issue was the same in host listeners.
PR Close #58631
2024-11-15 14:13:52 +01:00
Kristiyan Kostadinov
ff71af7f02
fix(bazel): allow strictStandalone to be passed through tsconfig ( #58683 )
...
Allows users to pass the `strictStandalone` compiler option through the tsconfig.
PR Close #58683
2024-11-15 12:53:10 +01:00
Georgy Serga
549a00d18b
fix(compiler): fix multiline selectors ( #58681 )
...
multiline selectors where not correctly recognized by the regexp, fix it to fetch newlines as well
Fixes #58399
PR Close #58681
2024-11-15 11:30:27 +01:00
Georgy Serga
58a84b2f79
fix(compiler): resolve :host:host-context(.foo) ( #58681 )
...
fix results which had to parse several `-shadowcsshost-no-combinator` occurrences in a single selector
PR Close #58681
2024-11-15 11:30:27 +01:00
Georgy Serga
9587437e60
fix(compiler): transform chained pseudo-selectors ( #58681 )
...
fix transformation logic for `:where` and `:is` pseudo-selectors
when these selectors were used in a chain. results were often broken,
the last letter of the selector was incorrectly trimmed.
see tests for examples
Fixes #58226
PR Close #58681
2024-11-15 11:30:27 +01:00
Georgy Serga
70e800ecec
fix(compiler): fix :host parsing in pseudo-selectors ( #58681 )
...
fix several use-cases where `:host` was used in or around pseudo-selectors
- `:host` followed by a comma inside pseudo-selectors
- `:host` outside of pseudo-selectors when another `:host` is present within
see tests for examples
PR Close #58681
2024-11-15 11:30:27 +01:00
Andrew Kushnir
a55341b1ab
refactor(core): add REQUEST, RESPONSE_INIT and REQUEST_CONTEXT tokens ( #58669 )
...
This commit introduces the `REQUEST`, `RESPONSE_INIT` and `REQUEST_CONTEXT` tokens, which will replace similar ones from https://github.com/angular/angular-cli/blob/28503186230b5e22b84499641d56c9c981fdab1d/packages/angular/ssr/tokens/src/tokens.ts , so those tokens would be imported in application code via `@angular/core` package.
PR Close #58669
2024-11-14 14:21:21 -08:00
Guillaume MOREAU
8ac02ec696
docs: fix typo in build system migration doc ( #58668 )
...
PR Close #58668
2024-11-14 14:18:11 -08:00
Jeremy Elbourn
3337ee4f79
docs: correct SSR guide landing page ( #58667 )
...
A previous change updated the navigation from "Performance" to "Server-side & hybrid rendering", but the landing page was missed.
PR Close #58667
2024-11-14 14:17:13 -08:00
Matthieu Riegler
70ec4c5044
docs: remove mention of allowSignalWrites ( #57974 )
...
PR Close #57974
2024-11-14 14:16:28 -08:00