Commit Graph

1142 Commits

Author SHA1 Message Date
Miles Malerba 2d9eaeefa6 docs: update rendering to use generated repo link (#61130)
PR Close #61130
2025-05-06 14:07:32 -07:00
Miles Malerba 67adcd8c9b docs: update API generation to include repo name (#61130)
PR Close #61130
2025-05-06 14:07:32 -07:00
Alan Agius 9793693f5b refactor: add Node.js 24 as supported version (#61142)
Node.js 24 has been released https://nodejs.org/en/about/previous-releases

Closes: #61140

PR Close #61142
2025-05-06 13:38:25 -07:00
Andrew Kushnir 8898328608 Revert "docs(docs-infra): fix first-app intro example (#61042)" (#61145)
This reverts commit ab91a355f8.

Revert reason: the change causes CI to fail (the `lint` CI job).

PR Close #61145
2025-05-06 11:06:24 -07:00
Tom Adler 121e0e6b9f docs: fix whitespace after a link (#61136)
PR Close #61136
2025-05-06 10:25:51 -07:00
Matthieu Riegler 116a97a031 docs(docs-infra): fix first-app intro example (#61042)
fixes #60844

PR Close #61042
2025-05-06 09:07:28 -07:00
Alan Agius ff943e310d docs: update ssr docs to include prerendering wildcards (#61116)
This feature was introduced in version 20.

PR Close #61116
2025-05-05 17:02:29 -07:00
Andrew Scott 33f2ea83fc refactor(core): Remove use of private export PendingTasksInternal where possible (#61049)
This commit removes the use of the privately exported
PendingTasksInternal everywhere except for Router. A follow-up change
will be done to remove that one as well and delete the private export.

PR Close #61049
2025-05-05 08:56:20 -07:00
oliv37 7ec40db118 docs(docs-infra): update use production configuration (#61112)
PR Close #61112
2025-05-05 08:45:03 -07:00
Miles Malerba c9ffcb145c docs: hide entries that are marked @docs-private (#61104)
PR Close #61104
2025-05-05 08:43:30 -07:00
Angular Robot 05e4bb4c50 docs: update Angular CDK apis [20.0.x] (#61092)
Updated Angular CDK api files.

PR Close #61092
2025-05-02 07:54:18 -07:00
Jessica Janiuk f8625403d8 docs: add guide for using native CSS animations (#60984)
This adds a guide for how to switch from the
angular animations package over to native CSS
animations.

PR Close #60984
2025-05-02 07:52:10 -07:00
Matthieu Riegler 0b0bd369b5 docs(docs-infra): Add version of introduction for APIs (#60814)
For new APIs we'll mention since when a particular API is in its current status (experimental, devPreview, stable)

fixes #49668

PR Close #60814
2025-05-02 07:51:33 -07:00
Miles Malerba bbdb16621a ci: add a script to copy cdk api files to adev (#61081)
Refactors the update-cli-help script into a generic script to copy json
assets, and uses the shared code to also copy the CDK apis

PR Close #61081
2025-05-01 15:00:43 -07:00
Andrew Miller d7fac2dab1 docs: Add docs for CoC plugin with neovim (#61005)
When docs were moved from aio to adev, the directions for the CoC plugin
were mistakenly dropped.

This brings back the documentation from prior versions:

https://v17.angular.io/guide/language-service#neovim

PR Close #61005
2025-05-01 08:41:48 -07:00
Andrew Scott 4b84de7399 refactor(docs-infra): remove 'experimental' from cli entry (#61067)
this removes the experimental prefix from zoneless entry in fake cli

PR Close #61067
2025-04-30 14:16:55 -07:00
Angular Robot 2bddce2612 docs: update Angular CLI help [main] (#61048)
Updated Angular CLI help contents.

PR Close #61048
2025-04-30 08:25:47 -07:00
Matthieu Riegler 201e02b161 docs(docs-infra): fix alert header inlining (#60708)
PR Close #60708
2025-04-30 08:18:07 -07:00
Ben Hong 857cb509f8 docs: add relevant link to guides in learn angular tutorial (#60834)
PR Close #60834
2025-04-29 12:14:19 -07:00
Niclas Gleesborg 888f9c2375 docs: Changed word optimally to optionally (#61041)
PR Close #61041
2025-04-29 09:52:41 -07:00
Angular Robot 8eaf405457 build: update all non-major dependencies (#61034)
See associated pull request for more information.

PR Close #61034
2025-04-29 09:50:20 -07:00
Kevin Brey c889382a20 feat(compiler-cli): detect missing structural directive imports (#59443)
Adds a new diagnostic that ensures that a standalone component using custom structural directives in a template has the necessary imports for those directives.

Fixes #37322

PR Close #59443
2025-04-29 09:43:12 -07:00
Pawel Kozlowski d8fbb909ce feat(core): rename afterRender to afterEveryRender and stabilize (#60999)
This change renames the afterRender to afterEveryRender and marks the
renamed API as stable.

BREAKING CHANGE: afterRender was renamed to afterEveryRender.

PR Close #60999
2025-04-28 12:33:55 -07:00
Matthieu Riegler bf6dbaab25 docs(docs-infra): prevent from resetting the search on navigation (#60927)
By keeping the search well allow developers to navigate through multiple results without having to re-type the search

PR Close #60927
2025-04-28 10:14:56 -07:00
hawkgs d8204bf584 docs(docs-infra): fix function api ref header width (#61022)
Fix the width of the function API reference header when the viewport width is for-desktop-down.

PR Close #61022
2025-04-28 10:01:40 -07:00
nevepura b2867ede8b Update dependency-injection.md (#61019)
Fixed list of ways to do dependency injection.
PR Close #61019
2025-04-28 08:30:52 -07:00
Kristiyan Kostadinov 46eba63fb3 fix(docs-infra): use proper API for style overrides (#61008)
Setting CSS variables directly is fragile and isn't the officially supported way of override Material styles. Instead the `tabs-overrides` mixin should be used which has validation for the token names.

For future reference, these are the docs for the styling API: https://material.angular.io/components/tabs/styling

PR Close #61008
2025-04-28 08:19:17 -07:00
Angular Robot 11e31012cb build: lock file maintenance (#61015)
See associated pull request for more information.

PR Close #61015
2025-04-28 08:11:58 -07:00
hawkgs 05a03d3f97 docs(docs-infra): fix mat-tab colors (#61000)
Fix the text color of Material tabs.

PR Close #61000
2025-04-25 08:50:55 -07:00
Andrew Scott e711f99d81 feat(core): move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig (#60906)
This commit makes several changes changes to the
`provideExperimentalCheckNoChangesForDebug` API:

* Rename it
* Promote to dev preview
* Apply the exhaustive behavior to _all_ checkNoChanges runs
* Remove `useNgZoneOnStable` option. This wasn't found to be generally
  more useful than `interval`

fixes #45612

BREAKING CHANGE: `provideExperimentalCheckNoChangesForDebug` has several
breaking changes:
* It is renamed to `provideCheckNoChangesConfig`
* The behavior applies to _all_ checkNoChanges runs
* The `useNgZoneOnStable` option is removed. This wasn't found to be generally
  more useful than `interval`

PR Close #60906
2025-04-24 13:04:27 -07:00
Matthieu Riegler e6c14f9443 docs: remove old pipes docs. (#60996)
They were replaced by pipes entry in the template guides.

PR Close #60996
2025-04-24 09:42:49 -07:00
Matthieu Riegler 06ada469b0 docs(docs-infra): fix github links for for previews (#60994)
PR Close #60994
2025-04-24 09:30:25 -07:00
Alex Rickabaugh d0c9a6401a refactor(core): rename resource's request to params (#60919)
As decided in the resource RFC, this commit renames the `request` option of
a resource to `params`, including the subsequent argument passed to the
loader. It also corrects the type in the process to properly allow narrowing
of the `undefined` value.

Fixes #58871

PR Close #60919
2025-04-23 19:34:50 +00:00
Alex Rickabaugh d8ca560a15 refactor(core): convert ResourceStatus to a string type (#60919)
An outcome of the Resource RFC was that we should use string constants for
communicating the resource status instead of an enum. This commit converts
`ResourceStatus` accordingly.

PR Close #60919
2025-04-23 19:34:50 +00:00
hawkgs 3e293535e3 docs(docs-infra): use a custom scrollbar for the examples using HighlightTypeScript (#60981)
The examples used to render the native scrollbar.

PR Close #60981
2025-04-23 17:24:29 +02:00
Andrew Scott 953c4b2580 feat(core): Move zoneless change detection to dev preview (#60748)
This commit moves zoneless from experimental to developer preview.

* Update tag on provider API
* Remove "experimental" from provider name
* Move documentation from "experimental features" to "Best practives ->
  Performance" (at least temporarily until there is a better place)

BREAKING CHANGE: `provideExperimentalZonelessChangeDetection` is
renamed to `provideZonelessChangeDetection` as it is now "Developer
Preview" rather than "Experimental".

PR Close #60748
2025-04-23 11:47:56 +02:00
Matthieu Riegler c990265473 docs(docs-infra): Improve doc support for pipes. (#60926)
This commits adds the pipe usage and the impure pipe mention.

PR Close #60926
2025-04-23 08:46:11 +02:00
Matthieu Riegler 1b8e7ab9fe feat(compiler): support the in keyword in Binary expression (#58432)
This commit adds the support for the `in` keyword as a relational operator, with the same precedence as the other relational operators (<,>, <=, >=)

BREAKING CHANGE: 'in' in an expression now refers to the operator

PR Close #58432
2025-04-22 21:44:12 +02:00
Doug Parker 8aaefa7b63 docs: expand Angular's browser policy by adopting the "widely available" Baseline (#60754)
This effectively expands Angular's existing browser support policy to be defined as browsers covered by the "widely available" Baseline (effectively browsers released <30 months ago). Each major version will choose a date shortly before release and pin its version support to the "widely available" Baseline of that date.

For now, I'm arbitrarily picking March 31st as I try to land the general infra and policy change, but we'll likely update the exact date a little closer to the v20 RC.

PR Close #60754
2025-04-22 21:25:03 +02:00
Angular Robot 2c463a4f16 build: lock file maintenance (#60942)
See associated pull request for more information.

PR Close #60942
2025-04-22 13:37:30 +02:00
Matthieu Riegler e1b0e94d77 docs(docs-infra): remove style guide examples (#60929)
PR Close #60929
2025-04-22 12:55:40 +02:00
Matthieu Riegler 0be5412ea0 docs: Update creating libraries to the current recommendations (#60931)
PR Close #60931
2025-04-22 11:57:51 +02:00
Matthieu Riegler 975a69cc8a docs: fix NG2800 rendering (#60932)
PR Close #60932
2025-04-22 11:57:00 +02:00
Jeremy Elbourn e96a0c1fc7 docs: replace style guide with 2025 revision (#60809)
See RFC https://github.com/angular/angular/discussions/58412 for
background.

PR Close #60809
2025-04-22 11:56:12 +02:00
Ben Hong 3a6121fb86 docs: add new routing in-depth guide (#60006)
docs: update code snippet

Co-authored-by: Andrew Scott <atscott01@gmail.com>

docs: update link

Co-authored-by: Matthieu Riegler <kyro38@gmail.com>

docs: update syntax highlighting

Co-authored-by: Andrew Scott <atscott01@gmail.com>

docs: correct example links

docs: update load component with more concise syntax

docs: fix link text

docs: fix api docs link formatting

docs: fix callout box types and rendering

docs: truncate properties table

docs: swap constructor routes to use inject instead

docs: add other routing tasks info in subnav and remove duplicate info

docs: fix type conversion param

PR Close #60006
2025-04-18 15:35:58 +02:00
Jessica Janiuk 567522398f feat(core): stabilize incremental hydration api (#60888)
This removes the developer preview label for incremental hydration APIs.

PR Close #60888
2025-04-16 13:00:44 -04:00
ryncdr f22c72b74b docs(docs-infra): first-app tutorial - step-14-http src-final correction (#60738)
Updated housing.service.ts > getHousingLocationById()
 - Added search parameter to fetch URL
 - Returns single object instead of array

PR Close #60738
2025-04-16 10:23:50 -04:00
Andrew Scott 388c74995e docs: Add error handling documentation (#60848)
This adds a page to document the error handling practices, APIs, and features _in the framework_.
It does not contain any application-specific recommendations or
patterns as this information is subjective and domain-specific.

PR Close #60848
2025-04-15 17:35:01 -04:00
Jessica Janiuk 4dadd90c85 fix(docs-infra): prevent processing node_modules .md files (#60872)
If you happen to have node_modules installed for adev tutorials, there would be problems with trying to run adev tests. This excludes those node_modules folders.

PR Close #60872
2025-04-15 17:27:59 -04:00
Angular Robot 939ee08d89 build: update all non-major dependencies (#60869)
See associated pull request for more information.

PR Close #60869
2025-04-15 09:10:50 -04:00