Commit Graph

44958 Commits

Author SHA1 Message Date
Pranav K fe37d39281
Produce correct blazor.boot.json when using StaticWebAssetBasePath (#29293) 2021-01-14 13:11:08 -08:00
Doug Bunting 8872b75001
[release/5.0] Update to 1.0.2 SDK (#29276)
- also use latest 2.1 and 3.1 runtimes
2021-01-14 10:13:25 -08:00
dotnet-maestro[bot] 4a46036cc3
Update dependencies from https://github.com/dotnet/arcade build 20210113.3 (#29309)
[release/5.0] Update dependencies from dotnet/arcade
2021-01-14 16:57:00 +00:00
Matt Mitchell ae430f3dab Merged PR 12027: [internal/release/5.0] Feed update
Feed update
2021-01-14 15:33:07 +00:00
DotNet Bot bdd83f02bc [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2021-01-14 08:35:44 +00:00
DotNet Bot 1df5737944 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-efcore 2021-01-14 01:39:31 +00:00
dotnet-bot 5386c92f74 Merge in 'release/5.0' changes 2021-01-13 19:37:19 +00:00
William Godbe fc451917f8
[release/5.0] Don't include RuntimeList.xml in sharedFx archive (#29109)
* Don't include RuntimeList.xml in sharedFx archive

* Don't output RuntimeList.xml to SharedFx dir

* Add comment
2021-01-13 11:34:57 -08:00
dotnet-bot 4a46d9d836 Merge in 'release/5.0' changes 2021-01-13 18:27:44 +00:00
dotnet-bot fbfb8875ff Merge in 'release/5.0' changes 2021-01-13 18:26:17 +00:00
William Godbe c63c4b1edf
Change bundle branding from .net core to .net (#28682) 2021-01-13 10:25:57 -08:00
Doug Bunting d546861a00
[release/5.0] Add option to `RazorPageGenerator` for `#line` preprocessor directives (#27765) (#29024)
- cherry-picked from 1a241fcfc2f8 in 'master' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - we override Arcade's `$(MicrosoftCodeAnalysisCSharpVersion)`
- use new option in GeneratePage.ps1 script
  - script also did not know `RazorSyntaxGenerator` had moved to this repo
- reflect latest `RazorSyntaxGenerator` processing
  - run GeneratePage.ps1
  - update README.md

nits:
- quote all paths in GeneratePage.ps1 script
- remove passive voice in README.md
2021-01-13 10:25:45 -08:00
William Godbe 21e56a8174
Include En/US loc resources in bundles (#29066) 2021-01-13 10:25:19 -08:00
Chris Ross 7991a9a2e2
Allow/ignore upgrades with bodies #17081 (#28896) 2021-01-13 10:23:53 -08:00
dotnet-bot 81d0f61562 Merge in 'release/5.0' changes 2021-01-13 17:03:16 +00:00
Artak ece60cc9f5
Added `WebAssembly` capability to Blazor WebAssembly projects (#28714)
## Description

VS has a feature of adding gRPC service reference to a project using UI. Currently that experience has no easy way to differentiate between Blazor Server and Blazor WebAssembly projects. As a result, adding gRPC reference using VS feature adds the wrong gRPC package (Grpc.AspNetCore), instead of adding `Grpc.Net.Client` and `Grpc.Net.Client.Web`, per our documentation. The package which is wrong adds framework reference transitively, which is not supported on WebAssembly.

This change adds a unique WebAssembly capability to all Blazor WebAssembly projects (through the SDK) so VS can build unique experiences those projects and also address that bug.

## Customer Impact
This particular change has no customer impact, but it will enable VS to fix their experience tracked by [this AzDO issue](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1242008)

## Regression?
- [ ] Yes
- [x] No

## Risk
- [ ] High
- [ ] Medium
- [x] Low

[Justify the selection above]

## Verification
- [ ] Manual (required)
- [ ] Automated

Not applicable as this change has no functional impact. The follow-up change is on the VS side to utilize this change and differentiate projects.

## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [x] N/A


Addresses https://github.com/dotnet/aspnetcore/issues/28716
2021-01-13 09:01:46 -08:00
dotnet-bot ae11d00243 Merge in 'release/5.0' changes 2021-01-13 16:41:57 +00:00
dotnet-maestro[bot] 10b5ff3585
Update dependencies from https://github.com/dotnet/arcade build 20201221.10 (#29266)
[release/5.0] Update dependencies from dotnet/arcade
2021-01-13 16:39:10 +00:00
dotnet-bot 31d927cc44 Merge in 'release/5.0' changes 2021-01-13 15:19:28 +00:00
Matt Mitchell 1dfd6ce7de
Merge pull request #29250 from dotnet/dougbu/5.0.3
[release/5.0] Rebrand to 5.0.3
2021-01-13 07:17:03 -08:00
dotnet-bot 0f32327ea0 Merge in 'release/5.0' changes 2021-01-13 06:54:10 +00:00
Safia Abdalla 50b3190579
Update @azure/msal-browser dependency to v2.8.0 (#29226)
#### Description

This PR updates the version of the MSAL.js dependency that we redistribute in our Authentication.Msal library in response to user requests and recommendation from the MSAL team.

#### Technical Description

This PR contains some code changes in response to some changes in type definition over in MSAL.js:

- https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/2105
- https://github.com/AzureAD/microsoft-authentication-library-for-js/pull/2512

#### Customer Impact

Without these changes, if users want to pick up required bug fixes in the downstream MSAL.js library, they would have to compile their own version of JavaScript dependencies and integrate them into their project.

This PR allows users to consume bug fixes blocking customer login and platform support without having to put in difficult workarounds.

#### Regression?
- [ ] Yes
- [X] No

#### Risk
- [ ] High
- [ ] Medium
- [X] Low

Change contains no breaking changes and was made on recommendation of the MSAL team. Manual verification completed.

#### Verification
- [X] Manual (required)
- [ ] Automated

Verified navigating to the authorized-only fetch data page, logging in, confirming redirect, logging out, logging in again on:
- Azure B2C + Blazor WASM Hosted
- Azure B2C + Blazor Standalone
- Azure AAD + Blazor WASM Hosted
- Azure AAD + Blazor WASM Standalone

#### Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [X] N/A

Addresses https://github.com/dotnet/aspnetcore/issues/29010, https://github.com/dotnet/aspnetcore/issues/28969, https://github.com/dotnet/aspnetcore/issues/28956
2021-01-12 22:52:18 -08:00
dotnet-bot 9a67dfeef9 Merge in 'release/5.0' changes 2021-01-13 06:45:02 +00:00
Javier Calvarro Nelson 94804f3100
[SPA] Updates outdated npm dependencies (#29234)
## Description

Updates outdated dependencies for the Angular, React and React redux templates.

## Customer Impact

Customers creating new projects get obsolete versions of some javascript dependencies and need to update them manually.

## Regression?
- [ ] Yes
- [X] No

[If yes, specify the version the behavior has regressed from]

## Risk
- [ ] High
- [ ] Medium
- [X] Low

The changes only update dependencies and have been tested manually.

## Verification
- [X] Manual (required)
- [ ] Automated

## Packaging changes reviewed?
- [ ] Yes
- [ ] No
- [X] N/A
2021-01-12 22:43:10 -08:00
Doug Bunting 83aaf5f2b3
Clean up `darc-int*` feed suppressions a bit 2021-01-12 16:34:40 -08:00
Doug Bunting be0a0fe646
Update baselines to reflect 5.0.2 release 2021-01-12 16:27:46 -08:00
Doug Bunting 9f6be77ef2
Rebrand to v5.0.3
- also grab latest 3.1 site extension package
2021-01-12 15:24:26 -08:00
Doug Bunting 379a3e8620
Merge remote-tracking branch 'internal/internal/release/5.0' into 'release/5.0' 2021-01-12 14:58:57 -08:00
Matt Mitchell 2670c128d5 Fixup shas/uris for runtime 5.0.1 bits 2020-12-13 10:03:33 -08:00
DotNet Bot 8937f4c08f [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-efcore 2020-12-12 09:20:58 +00:00
DotNet Bot 6a87a2d862 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2020-12-12 07:06:32 +00:00
DotNet Bot 4cf2feb9dd [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2020-12-12 01:24:14 +00:00
DotNet Bot 489d2cc201 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2020-12-12 00:02:20 +00:00
dotnet-bot 236ee6408e Merge in 'release/5.0' changes 2020-12-11 20:50:29 +00:00
James Newton-King bbc2e9f63a
Update gRPC packages to 2.34.0 to fix MacOS tooling issue (#28549) 2020-12-11 12:47:45 -08:00
DotNet Bot 75759a8109 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-efcore 2020-12-11 20:33:27 +00:00
DotNet Bot 51f7b665e6 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-efcore 2020-12-11 19:04:14 +00:00
dotnet-bot 03ac1f2c9a Merge in 'release/5.0' changes 2020-12-11 17:16:50 +00:00
dotnet-maestro[bot] a14235b80f
Update dependencies from https://github.com/dotnet/arcade build 20201130.4 (#28598)
[release/5.0] Update dependencies from dotnet/arcade
2020-12-11 17:14:11 +00:00
DotNet Bot 6b3724c21a [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2020-12-11 03:17:08 +00:00
DotNet Bot 7933df4827 [internal/release/5.0] Update dependencies from dnceng/internal/dotnet-runtime 2020-12-10 22:52:20 +00:00
dotnet-bot 94bda420a8 Merge in 'release/5.0' changes 2020-12-10 21:52:11 +00:00
Javier Calvarro Nelson b7abe1ed90
[Blazor] Fix publish with different combinations of SWA base paths (#28539)
Description
#28017

In 5.0.1 we fixed a publish scenario where Blazor webassembly wasn't respecting the StaticWebAssetBasePath defined for the project. Unfortunately the logic for handling the path composition was not robust enough and while it fixed the publish output layout, it introduced an integration issue later on at runtime.

The current fix makes the handling of the path more tolerant to initial and final slashes and includes a new end to end test that validates this scenario.

Customer Impact
Customers can't host blazor applications outside the root path (/)

Regression?
Yes. Worked in 3.2

Risk
Low.

We've included additional tests and E2E automation to verify this case.

Validation
 Automated
 Manual
2020-12-10 13:49:49 -08:00
dotnet-bot d873bafc56 Merge in 'release/5.0' changes 2020-12-10 20:05:08 +00:00
Matt Mitchell 5b92756c41 Merged PR 11687: Set publishing to temporarily use internal/release-publishing branch
Set publishing to temporarily use internal/release-publishing branch
2020-12-10 20:04:49 +00:00
William Godbe a8646e3022
Fix .msi names (#28572) 2020-12-10 12:01:51 -08:00
dotnet-bot c26780f2e2 Merge in 'release/5.0' changes 2020-12-10 18:32:59 +00:00
Safia Abdalla f45bf46312
Add error handling for token acquisition in getUser and fix state retrieval (#28498)
* Add error handling for token acquisition in getUser

* Clean up fetching state key from URL
2020-12-10 10:30:23 -08:00
dotnet-bot 6fd0174e84 Merge in 'release/5.0' changes 2020-12-10 17:25:50 +00:00
Steve Sanderson 1d2877ed33
Restore Razor v3 whitespace behavior when langversion < 5. Fixes #28085 (#28191)
* Add legacy 3.1 fork of the whitespace tests, with baselines based on 5.0 behavior

* Remove non-applicable Legacy_3_1_WhiteSpace_WithPreserveWhitespace test

* Set the legacy tests to run with RazorLanguageVersion.Version_3_0

* Add legacy fork of the whitespace pass

* Consolidate both versions of whitespace pass and show it doesn't affect the baselines

* Revert BOM change

* Fix test
2020-12-10 09:23:28 -08:00