25843 Commits

Author SHA1 Message Date
Jessica Janiuk 470738c8f7 release: cut the v15.0.4 release 15.0.4 2022-12-14 11:11:28 -08:00
Jens a2cb2b4e2f docs: update date from 2022 to 2023 (#48485)
PR Close #48485
2022-12-14 08:43:32 -08:00
Jens d0fbad97f7 docs: add planned release schedule till v16 (#48485)
Add release dates for v15.1,v15.2 and v16
PR Close #48485
2022-12-14 08:43:32 -08:00
Andrew Scott 9291bd950f refactor(router): Add opt-in provider for upcoming router change (#47988)
This commit adds a swappable provider for an upcoming change to the
implementation of `Router#createUrlTree`. This will be a breaking change
and is planned to be included in V16.

PR Close #47988
2022-12-13 16:57:46 -08:00
Andrew Scott ba8a644477 docs: Add doc page for 'textAttributeNotBinding' extended diagnostic (#48307)
Adds documentation page for `textAttributeNotBinding` extended diagnostic.

fixes #48291

PR Close #48307
2022-12-13 16:56:06 -08:00
Bob Watson aabf8be033 docs: edit suggestion to meet style guide (#47979)
PR Close #47979
2022-12-13 14:47:34 -08:00
lsst25 19c94c15a2 docs: add a link to hierarchical-dependency-injection (#47979)
It is not clear that when we provide a service to some eagerly loaded module of an application, then that service is available for components of all eagerly loaded modules of that application. It would be better to give a link for more information at least.
PR Close #47979
2022-12-13 14:47:34 -08:00
Andrew Scott d181b93405 docs(core): Document invalid multi token (#48267)
Add error page for invalid multi token runtime error

PR Close #48267
2022-12-13 14:05:59 -08:00
Angular Robot 0f616720a7 build: update eslint dependencies to v5.46.1 (#48464)
See associated pull request for more information.

PR Close #48464
2022-12-13 13:25:00 -08:00
Lukas Matta fccf32cd50 fix(devtools): Replace material imports and styles (#48420)
In the #48216 Material deps were updated to v15,
but the components and modules in DevTools were not
updated to MDC nor replaced with the legacy definitions.

PR Close #48420
2022-12-13 13:22:25 -08:00
piyush132000 f7aa210f5a docs: updated docs removed unnecessary imports and empty methods (#48429)
Removed empty methods and unnecessary imports in files

PR Close #48429
2022-12-13 13:14:35 -08:00
BrowserPerson 9e0c464589 docs: add maria korneeva to GDE resources (#48468)
PR Close #48468
2022-12-13 13:14:07 -08:00
Angular Robot 531808efdb docs: update events (#48474)
Generated `events.json` with the latest events retrieved from the Firebase DB.

PR Close #48474
2022-12-13 13:13:17 -08:00
why520crazy 70b2508d22 docs: add docgeni to tooling of resources list (#48061)
PR Close #48061
2022-12-12 16:26:27 -08:00
Jessica Janiuk bdbff8337b Revert "fix(common): Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF" (#48461)
This reverts commit ae0efb6a09.

PR Close #48461
2022-12-12 16:18:47 -08:00
dario-piotrowicz 6c1064c72f fix(animations): fix incorrect handling of camel-case css properties (#48436)
fix the issue of camel-case properties not being handled correctly in
state transition causing them not to be applied to the element

resolves #48246

PR Close #48436
2022-12-12 15:17:45 -08:00
Angular Robot 8981db4f99 docs: update events (#48170)
Generated `events.json` with the latest events retrieved from the Firebase DB.

PR Close #48170
2022-12-12 15:03:05 -08:00
Yannick Baron f24e5148f9 docs: add yannick baron to list of aio GDEs (#48390)
PR Close #48390
2022-12-12 15:01:59 -08:00
Aristeidis Bampakos c23f2860ea docs: modify directive composition API guide (#48439)
Add a minor change to indicate the difference from applying a directive in the template.

PR Close #48439
2022-12-12 14:58:17 -08:00
Aristeidis Bampakos 8ca95b858b docs: fix typo in search keywords guide (#48442)
PR Close #48442
2022-12-12 14:19:58 -08:00
Aristeidis Bampakos d8de15e9be docs: fix typos in reviewing content guide (#48441)
PR Close #48441
2022-12-12 14:05:37 -08:00
Aristeidis Bampakos f64f73df9a docs: fix style in contributors overview guide (#48440)
PR Close #48440
2022-12-12 14:05:00 -08:00
Bob Watson 966c7cfe0d docs: make "app" a suggested replacement for "application" (#48456)
This commit accommodates the recent terminology preference change
from "application" to "app" when describing what an Angular
project produces. For now, using "application" is not a blocker, but
writers should be aware of the change in terminology.

PR Close #48456
2022-12-12 13:49:07 -08:00
Bob Watson 5af826a144 docs: remove spell checker from vale testing until vale bug is resolved (#48456)
With vale 2.21, the spell checker style stopped working.

This commit removes the spell checker from the list of styles to allow Vale to
be used, minus the spell checker, until the bug is resolved or a workaround
can be applied.

PR Close #48456
2022-12-12 13:49:07 -08:00
Bob Watson 1a318155e5 docs: move tour of heroes tutorial to a subdirectory (#48162)
This commit prepares the documentation directories for future tutorials organized by directory.

Also, it moves the Angular Libraries topic from the Tutorials section to Developer Guides in TOC

PR Close #48162
2022-12-12 12:07:47 -08:00
Andrew Scott f30d18a942 fix(common): Fix TestBed.overrideProvider type to include multi (#48424)
TestBed.overrideProvider should include `multi` support in its type. The
underlying implementation already supports it, as documented by the
tests which are currently casting the override to `any` to get around
the bad type.

PR Close #48424
2022-12-12 09:40:23 -08:00
piyush132000 ffb2c9ce0f docs: updated docs removed unnecessary imports and empty methods (#48428)
Removed empty methods and unnecessary imports in files

PR Close #48428
2022-12-12 09:39:22 -08:00
Konstantin Kharitonov 59c6bfb632 fix(common): Update Location to get a normalized URL valid in case a represented URL starts with the substring equals APP_BASE_HREF (#48394)
```ts
@NgModule({
  imports: [RouterModule.forRoot([{path: '/enigma', component: EnigmaComponent}])],
  providers: [{provide: APP_BASE_HREF, useValue: '/en'}]
})
export class AppModule {}
```

Navigating to `/enigma` will redirect to `/en/igma` not to `/en/enigma` as it expects

Fixes: #45744

PR Close #48394
2022-12-12 09:37:36 -08:00
Andrew Scott a3fbc2730a docs(router): Update ROUTES docs to not point to provideRoutes (#48417)
provideRoutes is deprecated in favor of the ROUTES token directly
for complex situations where it's necessary.

fixes #48411

PR Close #48417
2022-12-12 09:36:39 -08:00
Bob Watson 6279fecd52 docs: update of landing page and backup pages (#47047)
Updates the angular.io landing page with new messaging
and new images. The Quick-start app has been updated
to demonstrate a minimalist Angular app and the value
proposition content has been updated.

PR Close #47047
2022-12-09 16:04:34 -08:00
Virginia Dooley c4d17b92f9 docs: Document extracted from the original Introduction document, which is to be retired. (#47913)
docs: add to pullapprove

PR Close #47913
2022-12-09 15:06:50 -08:00
Virginia Dooley 91f82ca5a4 docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. (#47909)
docs: add to pullapprove

PR Close #47909
2022-12-09 14:59:59 -08:00
Virginia Dooley 2925c6a46b docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. (#47912)
PR Close #47912
2022-12-09 14:29:00 -08:00
Virginia Dooley 501ad04a1a docs: Document extracted from the original Introduction document, which is to be retired. Linting suggested corrections made. Restructuring or rewording sentences to be shorter and clearer. (#47908)
docs: add to pullapprove

PR Close #47908
2022-12-09 14:27:57 -08:00
Jessica Janiuk eea71dea80 ci: Add jessicajaniuk to code-ownership pullapprove group (#48426)
Add Jessica to the code-ownership group to allow approve PullApprove
config changes.

PR Close #48426
2022-12-09 14:05:10 -08:00
piyush132000 0b799220ca docs: cleanup the components (#48382)
Removed empty methods and import from files

PR Close #48382
2022-12-09 13:31:45 -08:00
Andrew Scott 126e798edf docs(common): Add note to location about investigating base href handling (#48422)
There have been/are several bugs related to base href handling in
Angular (#45744, #48175, #19296).
These all stem from the attempted custom handling of base href
in the `Location` class. This logic does not really make an attempt
to be fully compliant with the spec.

PR Close #48422
2022-12-09 12:39:00 -08:00
Angular Robot 85d3f6f048 build: update cross-repo angular dependencies (#48405)
See associated pull request for more information.

PR Close #48405
2022-12-09 11:26:15 -08:00
Alan Agius c47dd76590 build: update cross-repo angular dependencies (#48409)
See associated pull request for more information.

Closes: #48339

(cherry picked from commit 31742210a38b3e01e25cfa9c4e13f6f0e13bf1dd)

PR Close #48409
2022-12-09 11:00:59 -08:00
Alan Agius 1f3e9d904a refactor(migrations): remove unused migrations (#48414)
These migrations can no longer run due to a single update version policy (IE: from 13 to 14, 14 to 15 etc..). Therefore these are redundant and can be deleted.

We also remove the `-beta` suffix from the version which is not needed as the Angular CLI will add the prerelease suffixes automatically.

PR Close #48414
2022-12-09 10:04:04 -08:00
piyush132000 4aa4ca8b72 docs: updated local variables and removed empty methods (#48344)
Removed empty methods and import from files and updated variable assignment

PR Close #48344
2022-12-09 09:56:08 -08:00
Angular Robot 06c918ccb0 build: update dependency fs-extra to v11 (#48261)
See associated pull request for more information.

PR Close #48261
2022-12-09 09:54:16 -08:00
Alan Agius fca7d6b9d2 build: update gitignore to ignore files which should not be commited. (#48399)
Previous node_modules and logs where were being tracked.

PR Close #48399
2022-12-09 09:43:30 -08:00
Alan Agius 6c593e314f build: replace package-lock with yarn.lock (#48399)
We use Yarn as our package manager and not NPM.

PR Close #48399
2022-12-09 09:43:30 -08:00
Alan Agius b6e4e1b399 ci: disable renovate from updating marketing-first-app (#48399)
This application was added recently and we will stop renovate updates due to the following
- It is causing `Artifact update problem`. See: https://github.com/angular/angular/pull/48388#issuecomment-1341681430
- Generally `examples` in aio in use a shared `package.json`

PR Close #48399
2022-12-09 09:43:30 -08:00
Joey Perrott 23cac41589 build: update to latest @angular/ng-dev buid (#48416)
Update to the latest commit to get caretaker check fixes.

PR Close #48416
2022-12-09 09:25:42 -08:00
Bob Watson e7707dbf56 docs: move marketing demo out of tested examples (#48404)
PR Close #48404
2022-12-08 23:39:42 +00:00
Andrew Kushnir 5af7ec244d refactor(router): use RegExp to check if a URL is absolute (#48406)
Previously, this check looked like this: `/^(https?:)?\/\//.test(baseHref)`,
but that resulted in syntactically incorrect code after Closure Compiler minification.
This was likely caused by a bug in Closure Compiler, but for now, the check is rewritten
to use `new RegExp` instead.

PR Close #48406
2022-12-08 15:06:17 -08:00
Angular Robot 77ba4aac00 build: update cross-repo angular dependencies (#48398)
See associated pull request for more information.

(cherry picked from commit fb1d108ef1)

PR Close #48398
2022-12-08 12:32:33 -08:00
JoostK b55d2dab5d fix(compiler-cli): evaluate const tuple types statically (#48091)
For standalone components it may be beneficial to group multiple declarations
into a single array, that can then be imported all at once in `Component.imports`.
If this array is declared within a library, however, would the AOT compiler
need to extract the contents of the array from the declaration file. This
requires that the array is constructed using an `as const` cast, which results
in a readonly tuple declaration in the generated .d.ts file of the library:

```ts
export declare const DECLARATIONS: readonly [typeof StandaloneDir];
```

The partial evaluator logic did not support this syntax, so this pattern was
not functional when a library is involved. This commit adds the necessary
logic in the static interpreter to evaluate this type at compile time.

Closes #48089

PR Close #48091
2022-12-07 14:10:27 -08:00