31706 Commits

Author SHA1 Message Date
Pawel Kozlowski 4dfe7f1cce release: cut the v19.0.3 release 19.0.3 2024-12-04 20:20:18 +01:00
Matthieu Riegler a7fb45fba2 Revert "fix(platform-server): remove peer dependency on animations (#58997)" (#59051)
This reverts commit 1cfbfc66d3.

PR Close #59051
2024-12-04 19:11:12 +01:00
Alan Agius 28c00cbc8b build: update cross-repo angular dependencies (#59048)
This is a cherry-pick of #59011

PR Close #59048
2024-12-04 18:21:59 +01:00
hawkgs 7ad1f27d83 feat(docs-infra): use angular-ts and angular-html shiki highlighting (#59004)
Use `angular-ts` instead of `typescript` and `angular-html` instead of `html`.

PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs e18adff76d refactor(docs-infra): update comments (#59004)
Add missing file header comments and update others.

PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs 0c40bb28e1 refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004)
Replace all <code-example>-s within TS files that contain only a path and a region with JSDoc @example-s.

PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs 6338c1bece test(docs-infra): interpolation mechanism (#59004)
Test all use cases that are supported by the interpolation mechanism.

PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs 54a1bcee20 fix(docs-infra): minor bug fixes (#59004)
Minor bug fixes found and implemented during testing.

PR Close #59004
2024-12-04 18:06:00 +01:00
hawkgs dc8fd113a5 test(docs-infra): add initial test (#59004)
Setup the test suite and add the initial test.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs e0aa93e67f fix(docs-infra): markdown code block highlighting for the different file types (#59004)
Set the code block language highlighting based on the file type.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs 7e4d312aed feat(docs-infra): remove redundant JSDoc transform related to code examples (#59004)
The transform is no longer relevant nor it served any functional purpose.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs 8eb20463bf fix(docs-infra): handle regions overlap and multiple-regions examples (#59004)
It seems that there are overlapping region markers and an example can be composed by multiple regions.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs d75c4d2d12 fix(docs-infra): interpolation script nesting (#59004)
Add support for nested #docregion-s and modify the examples caching.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs 3c0e4938a7 feat(docs-infra): implement interpolation script (#59004)
The script substitutes the JSDoc example tags with the respective code sample.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs 41a600f3ae feat(docs-infra): include code examples files in the API gen (#59004)
The code examples in `package/examples` are now passed to the API JSON generator.

PR Close #59004
2024-12-04 18:05:59 +01:00
hawkgs 5f3ba068f1 docs: set syntax highlighting of code examples MD code blocks (#59026)
Set the syntax highlighting based on the code examples' language.

PR Close #59026
2024-12-04 17:30:28 +01:00
Pawel Kozlowski 6ae3ce7c81 release: cut the v19.0.2 release 19.0.2 2024-12-04 16:13:06 +01:00
hawkgs 7d2308f8ba feat(docs-infra): move members descriptions section to the center of the page (#58610)
Move the members description section below the main content of the page since it is part of the core information about a doc item. The CLI reference details page is affected as well.

PR Close #58610
2024-12-04 15:26:15 +01:00
Sheik Althaf 0df7b1e0ed refactor(common): remove standalone: true (#58949)
Removed the standalone true flag from common packages.

PR Close #58949
2024-12-04 12:41:51 +01:00
hawkgs b8a2ae01d5 docs: fix missing alert block styles in the API reference (#59020)
Substitute legacy alert classes with the new ones.

PR Close #59020
2024-12-04 11:02:43 +01:00
Angular Robot b5807c5bc7 build: update io_bazel_rules_sass digest to df7d2a9 (#59034)
See associated pull request for more information.

PR Close #59034
2024-12-04 10:59:37 +01:00
Jessica Janiuk ad927bcf18 ci: add kirjs to pullapprove groups (#59025)
This adds Kirill to a number of pullapprove groups.

PR Close #59025
2024-12-03 18:31:38 +01:00
Alan Agius 5cd35cb9d1 docs: remove extra spacing from DI token note (#59023)
This commit removes extra spacing.

PR Close #59023
2024-12-03 16:14:17 +01:00
Angular Robot a107bf8ddb build: update dependency mocha to v11 (#59012)
See associated pull request for more information.

PR Close #59012
2024-12-03 12:21:45 +01:00
Angular Robot bc5ca99678 build: update all non-major dependencies to ~5.5.0 (#59016)
See associated pull request for more information.

PR Close #59016
2024-12-03 10:32:37 +01:00
Angular Robot b65eea574a build: update io_bazel_rules_sass digest to fe48516 (#59014)
See associated pull request for more information.

PR Close #59014
2024-12-03 10:23:43 +01:00
Angular Robot bee3394b5b build: update cross-repo angular dependencies (#59010)
See associated pull request for more information.

PR Close #59010
2024-12-02 16:42:37 +01:00
Emmanuel DEMEY af6280d06f docs: add import for toObservable (#58991)
Add import for toObservable in signals-interop.md

PR Close #58991
2024-12-02 16:39:02 +01:00
Georgy Serga f62a3508d1 docs: add a notice on compiler parsing changes (#58748)
Add a note about recent changes to compiler parsing
rules for pseudo selectors, hosts, multiple arguments
and complex selectors.

PR Close #58748
2024-12-02 16:35:26 +01:00
Kauan Manzato do Nascimento 4a03b7453b docs: fix a typo in an example in Templates page (#58985)
Fix a typo in an example in Templates page in
Essentials section of Angular Docs.
Instead of "Profile file", the correct would be
"Profile for", according to the example's template.

PR Close #58985
2024-12-02 16:32:36 +01:00
Angular Robot 0fe3760626 build: lock file maintenance (#58998)
See associated pull request for more information.

PR Close #58998
2024-12-02 16:29:03 +01:00
Matthieu Riegler 9a87aa398b docs(docs-infra): read jsdoctags from function overloads (#58994)
Functions like `linkedSignal` have there `@developerPreview` tags on the overload signature. This commit adds the support for them.

This commit also removes the logic for multiple entries, as now overloads are a single entry.

fixes #58817

PR Close #58994
2024-12-02 16:17:02 +01:00
Paul Gschwendtner f72a1b15ca ci: mark devversion as unavailable (#59007)
Will be unavailable for a bit, and don't want to block review queue :)

PR Close #59007
2024-12-02 15:13:24 +01:00
Timon c453f5dc2f docs(core): fix eventCoalescing comment (#57097)
PR Close #57097
2024-12-02 11:34:27 +01:00
Kristiyan Kostadinov f3c388ecda fix(platform-server): remove peer dependency on animations (#58997)
The `@angular/platform-server` package had a peer dependency on `@angular/animations` which wasn't being used anywhere.

PR Close #58997
2024-12-02 11:33:05 +01:00
Máté Gyöngyösi e4b85d15d4 docs(docs-infra): add missing dot (#58993)
PR Close #58993
2024-12-02 10:44:41 +01:00
Pawel Kozlowski c639210314 refactor(devtools): add missing imports (#59000)
Some of the devtools commits were merged into v19
(probably shouldn't have) and were missing imports.
This commit adds missing imports to re-enable tests.

PR Close #59000
2024-12-02 10:30:28 +01:00
Kristiyan Kostadinov 4392ccedf9 fix(migrations): inject migration dropping code if everything except super is removed (#58959)
Fixes that in some cases the internal version of the migration was dropping code when all the statements after the `super` call are deleted.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov e17ff71c31 fix(migrations): don't migrate classes with parameters that can't be injected (#58959)
Updates the inject migrations to skip over classes that have uninjectable class parameters.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov 9cbebc6dda fix(migrations): preserve type literals and tuples in inject migrations (#58959)
Updates the inject migration to preserve type literals and tuple types, based on some internal feedback.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov 7c5f990001 fix(migrations): inject migration aggressively removing imports (#58959)
Fixes that the inject migration would remove imports even if they're still used by classes that aren't being migrated.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov d1cbdd6acb fix(migrations): correctly strip away parameters surrounded by comments in inject migration (#58959)
Fixes that the inject migration was sometimes producing invalid code if there are comments around the parameters.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov 7b5bacc228 fix(migrations): class content being deleted in some edge cases (#58959)
Fixes that the inject migration was deleting the class' content if a property exists after the constructor that is being rewritten.

PR Close #58959
2024-12-02 08:56:21 +01:00
Kristiyan Kostadinov b1828065f3 refactor(compiler): remove allowInvalidAssignmentEvents flag (#58988)
Deletes the `allowInvalidAssignmentEvents` which was added to facilitate a migration away from invalid two-way bindings. Since the migration doesn't exist anymore, we don't need the flag either.

PR Close #58988
2024-12-02 08:55:42 +01:00
Hakeem 028cf73f7c docs(docs-infra): handle the long API names in the API cards (#58986)
PR Close #58986
2024-12-02 08:54:37 +01:00
PrajaktaB27 db7ea92a26 docs: update two-way binding example in documentation (#58963)
PR Close #58963
2024-11-29 14:56:39 +01:00
Jens Kuehlers 3954036485 docs: update state of JS banner expiry (#58966)
PR Close #58966
2024-11-29 14:53:50 +01:00
Alan Agius 5ae0d32d51 docs: correctly display note about DI tokens (#58967)
The breakline was breaking the note UI

PR Close #58967
2024-11-29 14:52:31 +01:00
Michael Small 9bee4a3c08 docs: fix IMPORTANT for "Animating the items of a reordering list" (#58938)
The specialized `IMPORTANT` highlighting was not being applied to the message, due to a line break.

PR Close #58938
2024-11-28 17:53:55 +01:00
aboudard cca70cbc62 docs: add missing output migration page (#58942)
This change adds a page to document the output migration schematics

PR Close #58942
2024-11-28 17:46:38 +01:00