Andrew Kushnir
5d5b51599d
release: cut the v15.0.3 release
15.0.3
2022-12-07 13:54:02 -08:00
Konstantin Kharitonov
bf44dc234a
fix(common): Update Location to support base href containing origin ( #48327 )
...
In case `APP_BASE_HREF` is set including `origin` the further usage of it might cause failure
e.g.
If an app is placed on `https://example.com ` and bundles are on `https://cdn-example.com ` you have to set `APP_BASE_HREF` up as `https://example.com/ ` and build the app with `--base-href` as `https://cdn-example.com/ ` but it does not work because of the bug
Fixes #48175
PR Close #48327
2022-12-07 09:18:01 -08:00
Angular Robot
7df1989940
build: update cross-repo angular dependencies ( #47882 ) ( #48384 )
...
See associated pull request for more information.
PR Close #47882
(cherry picked from commit 7c4e9ce5c0 )
PR Close #48384
2022-12-07 09:09:30 -08:00
Angular Robot
6b6bf6332b
build: update all non-major dependencies ( #48372 ) ( #48384 )
...
See associated pull request for more information.
PR Close #48372
(cherry picked from commit 126573d76b )
PR Close #48384
2022-12-07 09:09:30 -08:00
Alan Agius
cb7365a7bd
refactor(compiler): replace flatten and map with flatMap. ( #48378 )
...
Replace custom `flatten` and `map` with native `flatMap` usage.
Benchmark:
| Test case name | Result |
|---------------- |-------------------------------------------------------- |
| flatten & map | flatten & map x 1,182 ops/sec ±2.18% (63 runs sampled) |
| flatMap | flatMap x 6,011 ops/sec ±0.91% (35 runs sampled) |
The fact that `flatMap` is faster is also highlighted in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap
PR Close #48378
2022-12-07 09:08:26 -08:00
Angular Robot
a51e625239
build: update github/codeql-action action to v2.1.35 ( #48371 )
...
See associated pull request for more information.
PR Close #48371
2022-12-07 09:07:34 -08:00
Kristiyan Kostadinov
e4dcaa513e
fix(core): unable to inject ChangeDetectorRef inside host directives ( #48355 )
...
When injecting the `ChangeDetectorRef` into a node that matches a component, we create a new ref using the component's LView. This breaks down for host directives, because they run before the component's LView has been created.
These changes resolve the issue by creating the LView before creating the node injector for the directives.
Fixes #48249 .
PR Close #48355
2022-12-07 09:06:46 -08:00
Alan Agius
c0d04175ff
refactor(core): simplify array flatten logic ( #48358 )
...
We can now use modern Javascript to get the same result.
PR Close #48358
2022-12-06 12:48:42 -08:00
Angular Robot
5e2cd07a0b
build: update dependency jasmine-spec-reporter to v7 ( #48367 )
...
See associated pull request for more information.
PR Close #48367
2022-12-06 11:43:05 -08:00
Angular Robot
4c76f94ce0
build: update dependency @types/jasmine to v4 ( #48365 )
...
See associated pull request for more information.
PR Close #48365
2022-12-06 10:57:04 -08:00
Angular Robot
0e539eb56d
build: update eslint dependencies to v5.45.1 ( #48223 )
...
See associated pull request for more information.
PR Close #48223
2022-12-06 10:52:16 -08:00
Angular Robot
39b6cbcf4b
build: update dependency karma-jasmine-html-reporter to v2 ( #48369 )
...
See associated pull request for more information.
PR Close #48369
2022-12-06 10:09:14 -08:00
dario-piotrowicz
9a5d84249a
fix(compiler): make sure selectors inside container queries are correctly scoped ( #48353 )
...
improve the emulated shadowDom implementation so that it can correctly
scope selectors present inside the @container at-rule (recently added
to the css specs)
resolves #48264
PR Close #48353
2022-12-06 09:59:00 -08:00
Alan Agius
1e58a8c05d
docs: wrap json property in double quotes ( #48375 )
...
Previously, the `budgets` was not wrapped in quotes which caused the JSON to be invalid.
PR Close #48375
2022-12-06 09:58:22 -08:00
Alan Agius
40d6a06615
refactor(core): remove old AJD workaround for G3 ( #48363 )
...
This workaround does not seem to be needed any longer.
PR Close #48363
2022-12-06 09:14:24 -08:00
Angular Robot
fc872b12aa
build: update dependency ts-node to v10 ( #48370 )
...
See associated pull request for more information.
PR Close #48370
2022-12-06 09:12:27 -08:00
Angular Robot
fdb2a38a1b
build: update dependency karma-jasmine to v5 ( #48368 )
...
See associated pull request for more information.
PR Close #48368
2022-12-06 09:11:48 -08:00
Angular Robot
ac51e5c107
build: update dependency jasmine-core to v4 ( #48366 )
...
See associated pull request for more information.
PR Close #48366
2022-12-05 15:56:41 -08:00
Paul Gschwendtner
45cc5f49e4
build: switch new AIO preview action to use aio: preview label ( #48345 )
...
The new AIO preview deployment should take over the existing `aio:
preview` label- now after it being tested- and working as expected.
PR Close #48345
2022-12-05 14:52:38 -08:00
Paul Gschwendtner
3f9cfae8a4
build: remove docker-based AIO preview deploy setup ( #48345 )
...
The docker-based AIO preview deploy setup is replaced with
significantly simpler setup using GitHub actions provided by
dev-infra (also something dev-infra can maintain better then).
The actions under the hood leverage Firebase preview channels.
PR Close #48345
2022-12-05 14:52:38 -08:00
Bob Watson
dcab0f48d6
docs: add example app for new landing page ( #48360 )
...
PR Close #48360
2022-12-05 14:37:47 -08:00
Alan Agius
0b04da1fd7
refactor(core): remove several private utils and APIs ( #48357 )
...
These APIs are no longer used.
PR Close #48357
2022-12-05 14:35:10 -08:00
Alan Agius
a4c82ba25b
refactor(compiler): remove unused projection const ( #48357 )
...
`projection` const is unused in `serializePlaceholderValue`.
PR Close #48357
2022-12-05 14:35:09 -08:00
Alan Agius
28b0b89cb2
refactor(common): remove unused setDOM ( #48357 )
...
Remove unused `setDOM` method is unused.
PR Close #48357
2022-12-05 14:35:09 -08:00
Alex Castle
50b1c2bf52
fix(common): Don't generate srcsets with very large sources ( #47997 )
...
Fix an issue where users could inadvertently generate very large source images in ngOptimizedImage
PR Close #47997
2022-12-05 12:12:14 -08:00
Joey Perrott
9214e58d44
build: enable the ng-dev auth service ( #48361 )
...
Enable the auth service for merging into the repository
PR Close #48361
2022-12-05 12:09:08 -08:00
Paul Gschwendtner
0b388a00da
build: add more debug information for occasional windows flakiness ( #48351 )
...
Ocassionally the NodeJS version is not correct after NVM on Windows.
This adds some debug information that should help improve stability
here. A recent attempt to update the `$PATH` did not seem to help.
PR Close #48351
2022-12-05 12:04:05 -08:00
piyush132000
dc5f436769
docs: removed empty methods ( #48343 )
...
Removed empty methods and import from files
PR Close #48343
2022-12-05 12:03:33 -08:00
Derek Cormier
7f31e55961
build(bazel): mark an AIO sjs e2e test as flakey ( #48331 )
...
Like a couple of the the other systemjs e2e tests, this one occasionally fails CI.
PR Close #48331
2022-12-05 12:02:29 -08:00
Andrew Scott
06c34cd99a
refactor(router): Remove assignExtraOptionsToRouter helper function ( #48313 )
...
This commit removes the unnecessary `assignExtraOptionsToRouter` helper
function. This helper is not necessary because the options can be
retrieved from DI and assigned during the construction on the Router.
PR Close #48313
2022-12-05 12:01:57 -08:00