Asheer Rizvi
97285432e3
docs: updated 'conceptual preview' title ( #50326 )
...
PR Close #50326
2023-05-16 09:27:56 -07:00
gdarnell
efa92ab6ca
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:26 -07:00
Matthieu Riegler
7c790f70ee
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
cd86eb4606
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:15 -07:00
markostanimirovic
165b8b647c
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:05 -07:00
Angular Robot
fab7f393a4
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
b65576af74
docs: add Enea to GDE contributors list ( #50254 )
...
PR Close #50254
2023-05-15 10:43:08 -07:00
Matthieu Riegler
a09f88934d
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
3e025d9d3b
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
d0f6d31228
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:58 -07:00
Matthieu Riegler
8885bf4f71
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:05 -07:00
Matthieu Riegler
63f5dfdf52
docs: fix inconsistencies in getting started ( #50275 )
...
Fixes #50274
PR Close #50275
2023-05-15 09:23:16 -07:00
Kristiyan Kostadinov
239e7e6de3
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:33 -07:00
Greg Magolan
d0262cd0e4
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:46 -07:00
Greg Magolan
51d22fa98d
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:46 -07:00
Greg Magolan
fd35d9c646
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:46 -07:00
Greg Magolan
5a9059be38
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:46 -07:00
Angular Robot
85b4941be1
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ć
b50203cfec
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:22 -07:00
Arnel Umandap Jr
aad267ac07
docs: add missing "when" ( #50262 )
...
PR Close #50262
2023-05-12 10:17:21 -07:00
Angular Robot
16866596d5
build: update dependency @rollup/plugin-commonjs to v25 ( #50264 )
...
See associated pull request for more information.
PR Close #50264
2023-05-12 10:15:11 -07:00
0b01001110
06f19ce582
docs: fix mistake in tutorial ( #50261 )
...
PR Close #50261
2023-05-12 10:14:30 -07:00
Angular Robot
839074ba1f
docs: update Angular CLI help [main] ( #50256 )
...
Updated Angular CLI help contents.
PR Close #50256
2023-05-12 10:13:58 -07:00
Angular Robot
f2926b19e8
build: lock file maintenance ( #49879 )
...
See associated pull request for more information.
PR Close #49879
2023-05-11 14:27:01 -07:00
Tyler Vorpahl
b0eff10b53
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
cfff5cb2bd
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:51 -07:00
Matthieu Riegler
e9cdfb1a22
docs: fix v13 dependencies versions. ( #50243 )
...
Fixing a small mistake.
Fixes #50242
PR Close #50243
2023-05-11 10:17:51 -07:00
gdarnell
03f1e240b3
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
8ce99f5a0d
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
8e821ca41e
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:36 -07:00
Matthieu Riegler
5db170c501
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:50 -07:00
Matthieu Riegler
bad7bae468
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
143b85184d
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:10 -07:00
Pawel Kozlowski
a22dd000c0
refactor: remove unused benchmarks ( #50108 )
...
The benchmarks in the 'old' directory are not used / maintained.
PR Close #50108
2023-05-10 14:29:10 -07:00
Alan Agius
cd5946bccd
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:43 -07:00
Alan Agius
02437224f5
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:34 -07:00
Andrew Kushnir
ea3b5f1cde
release: cut the v16.1.0-next.0 release
2023-05-10 11:22:43 -07:00
Andrew Kushnir
62545ea288
docs: release notes for the v16.0.1 release
2023-05-10 11:16:35 -07:00
Ambroise BAZIE
6945aff667
docs: fix typo on hydration in Preserve Whitespaces Configuration ( #50236 )
...
PR Close #50236
2023-05-10 10:35:07 -07:00
Matthieu Riegler
cc286be7af
docs(docs-infra): Remove warning for @Annotation. ( #50218 )
...
Per #50206 , `@Annotation` is needed for tsickle. This commit removes the warning "Invalid tags found" produced by dgeni for the annotation decorator.
PR Close #50218
2023-05-09 14:49:26 -07:00
Angular Robot
7ac8f09dd6
build: update github/codeql-action action to v2.3.3 ( #50216 )
...
See associated pull request for more information.
PR Close #50216
2023-05-09 14:48:54 -07:00
Andrew Kushnir
946f9c2b95
refactor(core): drop next prefix from hydration guide link ( #50214 )
...
This commit updates the content of the console log to drop the `next.` prefix from hydration guide link.
PR Close #50214
2023-05-09 14:48:28 -07:00
emartinez
2ef473c524
docs: fix typos on first-app tutorial ( #50211 )
...
PR Close #50211
2023-05-09 14:47:55 -07:00
Matthieu Riegler
e4ad0672c3
docs: fix link label. ( #50209 )
...
Removing a duplicate https protocol.
PR Close #50209
2023-05-09 14:47:08 -07:00
Alan Agius
6636e8321b
fix(core): add additional component metadata to component ID generation ( #50203 )
...
This commit add `exportAs`, `signals`, `inputs` and `outputs` into account when generating a component ID.
See: https://github.com/angular/angular/issues/50158#issuecomment-1537061939
PR Close #50203
2023-05-09 14:46:42 -07:00
Andrew Kushnir
822b3079ae
fix(core): handle projection of hydrated containters into components that skip hydration ( #50199 )
...
This commit updates hydration logic to support a scenario where a view container that was hydrated and later on projected to a component that skips hydration. Currently, such projected content is extracted from the DOM (since a component that skips hydration needs to be re-created), but never added back, since the current logic treats such content as "already inserted".
Closes #50175 .
PR Close #50199
2023-05-09 14:46:03 -07:00
Matthieu Riegler
4e99439e3f
refactor(router): remove private export of withPreloading ( #50194 )
...
`withPreloading` is part of the public API.
PR Close #50194
2023-05-09 14:45:30 -07:00
Peter
55dfe80700
docs: standalone component preloading config ( #50193 )
...
The preloading modules documentation were missing information about how to apply preloading strategies to standalone application ( `ng new AppName --standalone` ).
Feel free to fix anything not in line with the Angular documentation style guide, as this is my first attempt at contributing :)
- Added example for `app.config.ts` providing info on the `withPreloading(<preloading strategy>)` you can add to the `provideRouter()` RouterFeatures.
- Specified that preloading modules also applies for standalone components.
PR Close #50193
2023-05-09 14:44:55 -07:00
Kristiyan Kostadinov
69dadd2502
feat(core): support TypeScript 5.1 ( #50156 )
...
Updates the project to support building with TypeScript 5.1.
PR Close #50156
2023-05-09 14:44:30 -07:00
Andrew Kushnir
d5d760045e
fix(core): handle hydration of root components with injected ViewContainerRef ( #50136 )
...
This commit fixes an issue where a root component with an injected ViewContainerRef (for ex. `inject(ViewContainerRef)`) was triggering a certain code path during hydration which didn't handle this case correctly.
Resolves #50133 .
PR Close #50136
2023-05-09 14:43:45 -07:00