Alan Agius
06452af31f
fix(platform-server): remove dependency on @angular/platform-browser-dynamic ( #50064 )
...
Using `@angular/platform-browser-dynamic` is no longer required for JIT scenarios with Ivy. Instead `@angular/compiler` should be imported instead.
This change is part of the effort to reduce the server bundles sizes, which is needed to support cloud workers.
BREAKING CHANGE:
Users that are using SSR with JIT mode will now need to add `import to @angular/compiler` before bootstrapping the application.
**NOTE:** this does not effect users using the Angular CLI.
PR Close #50064
2023-05-01 07:50:03 -07:00
Matthieu Riegler
f49c6d0a2f
refactor(common): Deprecate useless isPlatform functions ( #50055 )
...
The Web worker platform was removed in v11.
`isPlatformWorkerApp` & `isPlatformWorkerUi` have no purpose since.
PR Close #50055
2023-05-01 07:39:40 -07:00
Jeremy Elbourn
109eb88c6a
docs: add v16 update guide ( #50073 )
...
PR Close #50073
2023-05-01 07:38:11 -07:00
Dylan Hunn
08b664d3c8
docs: Introduce RxJS and Signals interop guide ( #50039 )
...
Create a new Signals section on aio, and add an interop guide.
PR Close #50039
2023-05-01 07:36:47 -07:00
Dylan Hunn
50a4a7cbee
docs: Add DestroyRef and takeUntilDestroyed sections to lifecycle doc ( #50042 )
...
These two concepts are a crucial addition to component destruction, and are added to the existing lifecycle doc (which is retitled more generally).
PR Close #50042
2023-05-01 07:34:02 -07:00
Alex Rickabaugh
73c6126d90
docs(core): primary Angular Signals documentation ( #50053 )
...
Adds the developer preview signals guide to AIO, under the preview section.
This guide explains signals, computed properties, and effects.
PR Close #50053
2023-04-28 16:36:37 -07:00
Angular Robot
bfa6e6ad23
build: update cross-repo angular dependencies ( #50067 )
...
See associated pull request for more information.
PR Close #50067
2023-04-28 18:19:42 +02:00
Angular Robot
c650b40816
build: update cross-repo angular dependencies ( #49978 )
...
See associated pull request for more information.
PR Close #49978
2023-04-28 13:36:18 +02:00
Angular Robot
9b24bb9e50
build: update all non-major dependencies ( #49990 )
...
See associated pull request for more information.
PR Close #49990
2023-04-26 13:13:29 -07:00
Angular Robot
50ce49c450
build: update eslint dependencies to v5.59.1 ( #49991 )
...
See associated pull request for more information.
PR Close #49991
2023-04-26 13:12:48 -07:00
Angular Robot
c71fef067b
docs: update Angular CLI help [main] ( #50032 )
...
Updated Angular CLI help contents.
PR Close #50032
2023-04-26 13:12:20 -07:00
Alan Agius
8a324c54b9
fix(docs-infra): add work-break to a tags in .cli-option ( #50012 )
...
This commit fixes a styling issue were the default values are not being displayed in https://angular.io/cli/build which is because in some cases the option description has a long anchor tag which causes the content to be pushed to the right and gets hidden.
PR Close #50012
2023-04-26 09:24:56 -07:00
Matthieu Riegler
08949c7c6c
refactor(core): Error code for Component Id collision ( #49986 )
...
The commit add an error code for the Component Id collision and documentation page to fix the issue.
PR Close #49986
2023-04-26 09:19:58 -07:00
Alan Agius
2d1691aa4f
docs: update universal guide to include standalone methods ( #49993 )
...
This commit updates the universal guide to include standalone methods.
PR Close #49993
2023-04-26 09:18:35 -07:00
Alan Agius
195585c8d7
docs: update ssr example files ( #49993 )
...
`app.server.module` was renamed to `app.module.server`. See: https://github.com/angular/angular-cli/pull/25058
PR Close #49993
2023-04-26 09:18:35 -07:00
Alan Agius
d6678dfe33
docs: update file structure to include standalone application files ( #49993 )
...
This commit updates the docs to include standalone files.
PR Close #49993
2023-04-26 09:18:35 -07:00
Alan Agius
355fa72c5e
docs: update links to reference the version compatibility guide ( #49995 )
...
This commit updates several docs to reference the version compatibility guide instead of the `package.json`.
PR Close #49995
2023-04-26 09:17:54 -07:00
Matthieu Riegler
f5dd3b4ede
refactor(docs-infra): remove semi rule from eslintrc. ( #49970 )
...
The `semi` rule a duplicate since `plugin:@angular-eslint/ng-cli-compat--formatting-add-on` already includes `@typescript-eslint/semi` as error.
PR Close #49970
2023-04-25 09:30:16 -07:00
Jessica Janiuk
1090bf870f
refactor(core): improve error message when dom node is not found ( #49977 )
...
This adds context to the error message in the case that a DOM node is not found during the hydration process. It outputs the expected DOM structure based on the lView and tNode rather than an unhelpful text message.
PR Close #49977
2023-04-25 09:29:47 -07:00
Matthieu Riegler
8683414bc3
build: bump license year ( #49984 )
...
Bumping to 2023
Fixes #49983
PR Close #49984
2023-04-25 09:29:16 -07:00
Alan Agius
fed4b9d6e9
docs: add v16 in version compatibility table ( #49994 )
...
This commit add version v16 in the version compatibility table.
PR Close #49994
2023-04-25 09:28:44 -07:00
Angular Robot
a5428a7fa6
build: update cross-repo angular dependencies ( #49964 )
...
See associated pull request for more information.
PR Close #49964
2023-04-24 11:53:26 -07:00
Lars Gyrup Brink Nielsen
5f7d929d9e
docs(core): correct description of actively supported versions ( #49945 )
...
PR Close #49945
2023-04-24 11:52:17 -07:00
Lars Gyrup Brink Nielsen
59fe20506a
docs(core): combine compatibility for minor versions sharing dependencies ( #49945 )
...
PR Close #49945
2023-04-24 11:52:17 -07:00
Qiuran Hu
92897b49b0
docs: fix typo in lazy-loading feature modules doc ( #49972 )
...
PR Close #49972
2023-04-24 10:52:43 -07:00
Rushikesh Kavar
1752af1cf5
docs: applicability of NgModule providers ( #49966 )
...
saying that providers of this NgModule is available to components,pipes and directive of "this" ngModule is not accurate sentence to describe the fact.
I am referring from: https://angular.io/guide/hierarchical-dependency-injection .
It says that "ModuleInjector is configured by the @NgModule.providers and NgModule.imports property. ModuleInjector is a flattening of all the providers arrays that can be reached by following the NgModule.imports recursively."
So, any component,pipe or directive of other NgModule within same ModuleInjector can use providers of this NgModule.
PR Close #49966
2023-04-24 09:51:56 -07:00
Andrew Kushnir
3bcbfecb78
refactor(platform-browser): log a warning when a custom or a noop ZoneJS is used with hydration ( #49944 )
...
Hydration relies on a signal from ZoneJS when it becomes stable inside an application, so that Angular can start serialization process on the server or post-hydration cleanup on the client (to remove DOM nodes that remained unclaimed).
Providing a custom or a "noop" ZoneJS implementation may lead to a different timing of the "stable" event, thus triggering the serialization or the cleanup too early or too late. This is not yet a fully supported configuration.
This commit adds a warning (non-blocking) for those cases.
PR Close #49944
2023-04-23 18:23:28 -07:00
Matthieu Riegler
eb5bc95dbf
docs: remove the warning about shadowDom support ( #49961 )
...
ShadowDom support is now ubiquitous since 2020 and all evergreen browsers.
PR Close #49961
2023-04-23 18:22:44 -07:00
Angular Robot
27093a7167
build: update cross-repo angular dependencies ( #49956 )
...
See associated pull request for more information.
PR Close #49956
2023-04-21 09:06:25 -07:00
Angular Robot
521e284214
build: update cross-repo angular dependencies to v16.0.0-rc.2 ( #49941 )
...
See associated pull request for more information.
PR Close #49941
2023-04-20 14:51:02 -07:00
lonikadze
da1ed98dfd
docs: replaces "comp: docs" label to "area: docs" ( #49952 )
...
Fixes #49951
PR Close #49952
2023-04-20 14:50:00 -07:00
lonikadze
a29c51bca4
docs: add information on how to use index option in configuration ( #49813 )
...
#49780
PR Close #49813
2023-04-19 18:46:10 +00:00
judytag
726d8a8a71
docs: update-to-version-14 linting fixes ( #49839 )
...
PR Close #49839
2023-04-19 18:10:33 +00:00
Matthieu Riegler
661b9549c2
docs: schematics for functional guards & resolvers ( #49865 )
...
Adding back the schematics to generate functional guards & resolver that they are supported.
PR Close #49865
2023-04-19 16:22:53 +00:00
Alan Agius
4175f6fa09
docs: some changes to the helpful not in preserve-whitespaces ( #49928 )
...
This commit updates the note with a recommendation.
PR Close #49928
2023-04-19 14:18:43 +00:00
Alan Agius
de567bb800
docs: fix grammer in preserve whitespaces notes ( #49928 )
...
This commit fixes some grammer in preserve whitespaces notes.
PR Close #49928
2023-04-19 14:18:43 +00:00
Lars Gyrup Brink Nielsen
aa960c7db4
docs(core): add version ranges for Angular 14.3 ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
670b809ca7
docs: change section heading ( #48753 )
...
Co-authored-by: Daniel Scalzi <d_scalzi@yahoo.com >
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
bed517d398
docs(core): add version ranges for Angular 15.2 ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
beda7e3c5a
docs(core): split versions table into LTS and non-LTS tables ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
d74cc5713d
docs(docs-infra): add versions document to the navigation ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
61cfca0d55
docs(core): include introductory text about version compatibility ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Lars Gyrup Brink Nielsen
5d3d2bdf24
docs(core): add Angular, Node.js, TypeScript, and RxJS version compatibility matrix ( #48753 )
...
PR Close #48753
2023-04-19 14:07:30 +00:00
Angular Robot
c7aa10f2f5
docs: update events ( #49569 )
...
Generated `events.json` with the latest events retrieved from the Firebase DB.
Closes #49545
PR Close #49569
2023-04-19 14:05:44 +00:00
arturovt
1afef35050
docs: add Artur Androsovych to GDE resources ( #48520 )
...
PR Close #48520
2023-04-18 21:35:45 +00:00
Angular Robot
85f3a38bb3
build: update all non-major dependencies ( #49909 )
...
See associated pull request for more information.
PR Close #49909
2023-04-18 20:54:28 +00:00
Angular Robot
882ca66f05
build: update cross-repo angular dependencies ( #49891 )
...
See associated pull request for more information.
PR Close #49891
2023-04-18 19:06:46 +00:00
Jessica Janiuk
80907b2d23
docs: Update hydration guide constraints section ( #49908 )
...
PR Close #49908
2023-04-18 19:05:23 +00:00
Jessica Janiuk
30ec56ec97
docs: add info on preserveWhitespaces to hydration guide ( #49904 )
...
PR Close #49904
2023-04-18 19:04:56 +00:00
Douglas Diniz Carvalho
fb1161f2ec
docs: type clearTimer function as VoidFunction or undefined ( #48480 )
...
PR Close #48480
2023-04-18 19:03:57 +00:00