judytag
726d8a8a71
docs: update-to-version-14 linting fixes ( #49839 )
...
PR Close #49839
2023-04-19 18:10:33 +00:00
Kristiyan Kostadinov
9165942629
fix(core): handle invalid classes in class array bindings ( #49924 )
...
When binding an array to `class` like `[class]="['foo', 'bar']"`, the runtime treats it the same as a literal binding with all the values being `true`, e.g. `{foo: true, bar: true}`. While object literals can only have string keys, arrays can have any value which can lead to errors if the array contains non-string values.
These changes add some logic to stringify the keys and ignore invalid ones.
Fixes #48473 .
PR Close #49924
2023-04-19 16:28:26 +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
Matthieu Riegler
195aaa6b11
refactor(core): Create TestBed injector without a module ( #49864 )
...
We can create the injector without relying on th module factory.
PR Close #49864
2023-04-19 15:30:23 +00:00
Alan Agius
38661a6f2b
test: update platform-server tests to test both ngmodule and standalone application ( #49927 )
...
This commits update the platform-server test structure to add 2 applications in the Angular CLI workspace one based on ngmodules and another standalone. The same E2E suit is ran on both apps.
PR Close #49927
2023-04-19 14:56:29 +00:00
Andrew Kushnir
338c7d9125
test(core): adding extra tests for hydration of view containers located after <ng-content> slots ( #49920 )
...
This commit adds extra tests to verify a couple additional use-cases related to view containers located after <ng-content> slots.
PR Close #49920
2023-04-19 14:26:43 +00:00
Andrew Kushnir
81ef9c327d
refactor(core): handle empty projection slots within <ng-container> during hydration ( #49920 )
...
This commit updates hydration logic to handle cases when there are projection slots present in a template inside of an `<ng-container>` and when there are regular elements follow an <ng-content> slot (see tests for additional information). With this combination, the logic that annotates regular element locations should fallback to calculating a path from a reference node to that node. In case of an <ng-container>, the comment node is located *after* the node that needs an annotation. An existing logic was mistakenly returning an empty path, which was represented as a pointer to teh reference node. This commit fixes that and triggers a fallback to using a component host node as a reference in this case.
Resolves #49918 .
PR Close #49920
2023-04-19 14:26:43 +00:00
Alan Agius
efb3c68899
refactor(core): remove redundant hydrationInfo check ( #49926 )
...
This check is not needed as it is done in the previous line
PR Close #49926
2023-04-19 14:21:40 +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 <[email protected] >
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
c18c3c182b
docs(docs-infra): add versions document to code owners ( #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
Angular Robot
bf8041fdfc
build: update angular/dev-infra digest to 1564c4e ( #49916 )
...
See associated pull request for more information.
PR Close #49916
2023-04-18 22:09:40 +00:00
arturovt
1afef35050
docs: add Artur Androsovych to GDE resources ( #48520 )
...
PR Close #48520
2023-04-18 21:35:45 +00:00
Joey Perrott
b1f7aa35d6
ci: update renovate.json ( #49909 )
...
Update renovate to ignore rules_pkg bazel dep and group the babel @types packages with the babel packages themselves.
PR Close #49909
2023-04-18 20:54:28 +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
59e332cc1e
build: update dependency build_bazel_rules_nodejs to v5.8.2 ( #49910 )
...
See associated pull request for more information.
PR Close #49910
2023-04-18 20:45:24 +00:00
Alan Agius
03ae094e8f
test: update platform-server integration tests to use the Angular CLI ( #49900 )
...
This commit updates the platform-server integration tests to use the Angular CLI as it makes it easier to add more tests and remove the custom webpack setup.
PR Close #49900
2023-04-18 19:47:02 +00:00
Angular Robot
ce4a57288c
build: update actions/cache digest to 88522ab ( #49437 )
...
See associated pull request for more information.
PR Close #49437
2023-04-18 19:46:16 +00:00
Angular Robot
50de000cf7
build: update dependency google-closure-compiler to v20230411 ( #49892 )
...
See associated pull request for more information.
PR Close #49892
2023-04-18 19:07:14 +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