27057 Commits

Author SHA1 Message Date
Andrew Kushnir c92220a5f9 release: cut the v16.0.2 release 16.0.2 2023-05-17 11:32:19 -07:00
Andrew Kushnir c1016d4e57 fix(core): add additional component metadata to component ID generation (#50340)
This commit add `exportAs`, `signals`, `inputs` and `outputs` into account when generating a component ID.

Co-authored-by: alan-agius4 <17563226+alan-agius4@users.noreply.github.com>

PR Close #50340
2023-05-17 09:28:49 -07:00
Matthieu Riegler 5bf1abffea refactor(core): Add a warning when ApplicationRef.isStable doesn't emit true (#50295)
Hydration requires a stable App to run some logic.
With this warning developers will be informed about potential issues encountered when running an unstable app.

Fixes #50285

PR Close #50295
2023-05-17 08:45:27 -07:00
Naaajii 656c9537f0 docs: remove plnkr link from markForCheck example (#50328)
PR Close #50328
2023-05-17 08:13:55 -07:00
Naaajii e56b5f5fa5 docs: update live demo for change detector (#50328)
fixes #44553

PR Close #50328
2023-05-17 08:13:55 -07:00
Angular Robot b264736323 build: update all non-major dependencies (#50316)
See associated pull request for more information.

PR Close #50316
2023-05-17 08:13:13 -07:00
Sumit Parakh 27b707a33e docs: added wiki link for domain model (#50180)
Closes #49570

PR Close #50180
2023-05-17 08:12:22 -07:00
Andrew Kushnir 3eafb4b470 Revert "fix(core): add additional component metadata to component ID generation (#50203)" (#50335)
This reverts commit 52c74d3b4a.

The reason for revert: this change is breaking some targets in g3.

PR Close #50335
2023-05-16 13:37:32 -07:00
Andrew Kushnir 4c5c0542e9 Revert "refactor(core): avoid using def.signal during component id computation (#50238)" (#50335)
This reverts commit c9657bdb88.

The reason for revert: this change is breaking some targets in g3.

PR Close #50335
2023-05-16 13:37:32 -07:00
Aristeidis Bampakos b75625ba49 docs: fix typo in security guide (#50324)
PR Close #50324
2023-05-16 09:47:26 -07:00
Aristeidis Bampakos e82f12ee06 docs: fix typo in dependency injection guide (#50323)
PR Close #50323
2023-05-16 09:44:30 -07:00
Aristeidis Bampakos e4176a420d docs: fix typo in NG0912 error guide (#50322)
PR Close #50322
2023-05-16 09:43:54 -07:00
Asheer Rizvi 28454f87e3 docs: updated 'conceptual preview' title (#50326)
PR Close #50326
2023-05-16 09:27:56 -07:00
gdarnell f3e67749b7 refactor(forms): remove unnecessary Array.from (#50314)
The Array.from isn't necessary since we're just iterating over the map keys.

PR Close #50314
2023-05-16 09:25:27 -07:00
Matthieu Riegler e68a774e9f refactor(core): Improve ExpressionChangedAfterItHasBeenCheckedError (#50286)
Related to #50272 and #18970, this improves the error message of NG100 by including the class name of the component where the error was triggered.

PR Close #50286
2023-05-16 09:24:51 -07:00
Matthieu Riegler cc964f8789 refactor(common): Reduce the precision to 2 digits in the ngOptimizedImage distortion warning message (#50276)
Using toFixed().

fixes #50273

PR Close #50276
2023-05-16 09:23:16 -07:00
markostanimirovic 7d679bdb59 fix(core): allow passing value of any type to isSignal function (#50035)
Unlike the current signature where the input argument must a function, this change allows an input of any type to be passed to the `isSignal` function.

PR Close #50035
2023-05-16 09:22:06 -07:00
Angular Robot bd4f64d8d9 docs: update events (#50309)
Generated `events.json` with the latest events retrieved from the Firebase DB.

PR Close #50309
2023-05-15 10:44:07 -07:00
Enea Jahollari bf4a466820 docs: add Enea to GDE contributors list (#50254)
PR Close #50254
2023-05-15 10:43:08 -07:00
Matthieu Riegler 2d87aeecc1 docs: Glossary link to N (#50294)
The shortcut to N was missing resulting in a rendering issue.

PR Close #50294
2023-05-15 09:55:59 -07:00
Matthieu Riegler 37acd37777 docs(docs-infra): Add a deprecated label to APIs (#50287)
This adds a deprecated label next to the other labels on the API pages for methods & properties.

Fixes #44265

PR Close #50287
2023-05-15 09:31:00 -07:00
Matthieu Riegler 9495c8c6eb docs(docs-infra): Remove internal constructors from the doc. (#50282)
Internal constructor should not be exposed in the doc. This removes them.

Related to #50281

PR Close #50282
2023-05-15 09:24:59 -07:00
Matthieu Riegler 7a344542db docs: fix mistake in first-app-lesson-03 (#50278)
The correct filename is `home.component.ts`.

fixes #50277

PR Close #50278
2023-05-15 09:24:06 -07:00
Matthieu Riegler 88da6a518c docs: fix inconsistencies in getting started (#50275)
Fixes #50274

PR Close #50275
2023-05-15 09:23:18 -07:00
Kristiyan Kostadinov fa2ef506e5 refactor(core): remove legacy way of preventing default actions (#50257)
Setting `returnValue = false` to prevent the default action of events hasn't been necessary since IE9.

PR Close #50257
2023-05-15 09:22:34 -07:00
Greg Magolan 4b036128c7 build: don't run saucelabs tests yet on PRs... that will happen in a followup (#49200)
additional test to make linter happy

PR Close #49200
2023-05-15 09:21:48 -07:00
Greg Magolan 62beab793d build: address review feedback; should be ready to land now... additional chars to meet commit msg formatting requirements (#49200)
plus more additional chars here

PR Close #49200
2023-05-15 09:21:47 -07:00
Greg Magolan ebcb766300 build: address review feedback; added scripts/test/run-saucelabs-tests.sh script for local testing (#49200)
more chars to meet the linters requirements

PR Close #49200
2023-05-15 09:21:47 -07:00
Greg Magolan 15b5a7baab build: share Saucelabs browsers between karma test targets using background Saucelabs daemon and custom karma launcher (#49200)
This upgrades the Saucelabs Bazel step on CI to use the more efficient Saucelabs daemon

PR Close #49200
2023-05-15 09:21:47 -07:00
Angular Robot ee081217de build: update all non-major dependencies (#50217)
See associated pull request for more information.

PR Close #50217
2023-05-12 12:56:25 -07:00
Mladen Jakovljević 21199f8086 fix(docs-infra): labels with links should have the same font weight (#50258)
Fix anchor tag styling inside label.api-status-label to match font weight of label styling that does not have anchor tag.

PR Close #50258
2023-05-12 10:20:23 -07:00
Arnel Umandap Jr 81185e0afd docs: add missing "when" (#50262)
PR Close #50262
2023-05-12 10:17:22 -07:00
Angular Robot 14c59d41b4 build: update dependency @rollup/plugin-commonjs to v25 (#50264)
See associated pull request for more information.

PR Close #50264
2023-05-12 10:15:12 -07:00
0b01001110 a3dd3bcfaa docs: fix mistake in tutorial (#50261)
PR Close #50261
2023-05-12 10:14:30 -07:00
Angular Robot 4a7ebf4037 build: lock file maintenance (#49879)
See associated pull request for more information.

PR Close #49879
2023-05-11 14:27:02 -07:00
Tyler Vorpahl 41fdfa5fb7 build: bump in-memory-web-api dependency versions (#50246)
This commit updates in-memory-web-api package versions from v15 -> v16.

PR Close #50246
2023-05-11 14:26:02 -07:00
Matthieu Riegler d5be23efd4 docs: split unsupported versions table in two. (#50243)
To ease the maintenance of this table and keep the same number of columns between active and unsupported versions.

PR Close #50243
2023-05-11 10:17:52 -07:00
Matthieu Riegler 2333947753 docs: fix v13 dependencies versions. (#50243)
Fixing a small mistake.

Fixes #50242

PR Close #50243
2023-05-11 10:17:52 -07:00
gdarnell cc41758b59 fix(core): allow onDestroy unregistration while destroying (#50237)
Ensure that all onDestroy callbacks are called by allowing unregistering of onDestroy hooks while destroying.

Fixes #50221

PR Close #50237
2023-05-11 10:17:07 -07:00
Angular Robot 74099d4554 build: update dependency firebase-tools to v12 (#50223)
See associated pull request for more information.

PR Close #50223
2023-05-10 14:36:00 -07:00
Matthieu Riegler eef9244596 refactor(elements): remove unnecessary polyfill deps (#50115)
`webcomponents/custom-elements` and `document-register-element` are unnecessary now that we support only evergreen browsers.

PR Close #50115
2023-05-10 14:32:37 -07:00
Matthieu Riegler 1f4bc47fae docs: replace absolute links to aio with relative links. (#50213)
This change follows the introduction of the warning message from a transform processor to prevent absolute links to angular.io.

PR Close #50213
2023-05-10 14:29:51 -07:00
Matthieu Riegler ce96503c5f docs(docs-infra): Warning message when using absolute links to aio in the documentation (#50213)
This commit adds a processor to check for absolute links to angular.io. Absolute links to aio should be avoided because they will appear as external links.

PR Close #50213
2023-05-10 14:29:50 -07:00
Pawel Kozlowski 56dcffb8d3 refactor: remove benchpres tests for other frameworks (#50108)
Some of the benchpress tests were written against other UI
frameworks (ex.: incremental DOM, initial version of ivy)
and those frameworks are no longer a valuable comparision target.

PR Close #50108
2023-05-10 14:29:11 -07:00
Pawel Kozlowski c754c488bd refactor: remove unused benchmarks (#50108)
The benchmarks in the 'old' directory are not used / maintained.

PR Close #50108
2023-05-10 14:29:11 -07:00
Alan Agius 9005717b7e build: lock file maintenance (#50227)
See associated pull request for more information.

(cherry picked from commit d5f92bdd64)

PR Close #50227
2023-05-10 11:32:44 -07:00
Alan Agius eea11d5e5f refactor(core): simplify state transfer escaping (#50201)
This commit removes unnecessary transfer state escaping and updates this process to be done by the means of a `replacer` and `reviver` method as this removes the need to export the escaping and unescaping methods.

The only thing that we need to escape is `<script` and `</script` which are done by the browsers, but not Node.js.

PR Close #50201
2023-05-10 11:31:35 -07:00
Andrew Kushnir b9aeb858d5 release: cut the v16.0.1 release 16.0.1 2023-05-10 11:14:11 -07:00
Andrew Kushnir c9657bdb88 refactor(core): avoid using def.signal during component id computation (#50238)
This commit updates the code in 16.0.x branch to avoid using the `def.signals` field on a component, while calculating component id. The `signal` field was introduced later and will be available in 16.1.0.

PR Close #50238
2023-05-10 10:45:36 -07:00
Ambroise BAZIE 868723c084 docs: fix typo on hydration in Preserve Whitespaces Configuration (#50236)
PR Close #50236
2023-05-10 10:35:07 -07:00