Commit Graph

44758 Commits

Author SHA1 Message Date
Safia Abdalla 2e7b294c6c
Revert "Disconnect circuit on 'beforeunload' event" (#26297)
* Add tests for failing disconnect scenarios

* Remove beforeunload call and add public API

* Add additional test case

* Update src/Components/test/testassets/BasicTestApp/GracefulTermination.razor

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>

Co-authored-by: Steve Sanderson <SteveSandersonMS@users.noreply.github.com>
2020-09-25 10:11:26 -07:00
dotnet-maestro[bot] 284a270583
Update dependencies from https://github.com/dotnet/efcore build 20200924.5 (#26309)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-25 03:30:44 +00:00
dotnet-maestro[bot] 06dad454d8
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#26293)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-25 01:31:21 +00:00
Doug Bunting c6787dd21c
Allow BaselineGenerator to build after updating version (#26252)
- avoid problems when re-branding in a clean clone
  - attempts to build `BaselineGenerator` failed due to out-of-date baselines
2020-09-24 16:37:54 -07:00
Doug Bunting 32e3353e69
Quarantine recent test failures (#26295)
- see #26291 and #26294
2020-09-24 16:29:31 -07:00
dotnet-maestro[bot] 61d740ba61
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#26263)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-24 20:31:55 +00:00
Steve Sanderson f63e90e106
Omit omissible frames when updating rendertree to match bind event. Fixes #24014 (#26273) 2020-09-24 13:24:06 -07:00
Doug Bunting 8d8d293b19
Remove dead-lettered Centos.7.Amd64.Open queue (#26238)
- was breaking Helix full matrix tests temporarily
- more importantly, queue is redundant given RHEL coverage
2020-09-24 12:14:15 -07:00
dotnet-maestro[bot] 230daab5b6
Update dependencies from https://github.com/dotnet/runtime build 20200923.9 (#26260)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-24 05:43:18 +00:00
Safia Abdalla b925b2886a
Pass all scopes in token request and update IndividualLocalAuth template (#26232)
* Pass all scopes in token request and update IndividualLocalAuth template

* Fix build and address feedback from peer review
2020-09-23 20:42:44 -07:00
dotnet-maestro[bot] 650bbeb8f5
Update dependencies from https://github.com/dotnet/efcore build 20200923.5 (#26257)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-24 03:26:21 +00:00
dotnet-maestro[bot] 82fea485ed
Update dependencies from https://github.com/dotnet/runtime build 20200923.5 (#26251)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-24 01:22:12 +00:00
dotnet-maestro[bot] 1564ca328c
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#26209)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore


 - Use non-obsolete `GetColumnName(...)` overload
- react to EF breaking change

 - Add missing `using`
2020-09-23 23:25:06 +00:00
Pranav K de1bf0abe4
Detect culture change in .NET (#26192)
* Detect culture change in .NET

With ICU sharding enabled, blazor wasm attempts to detect if the application culture was changed by the
application code as part of Program.MainAsync and tell them they need to opt out of sharding.

Prior to this change, Blazor compared the .NET culture string with a JS representation for language. With iOS 14,
the two culture strings differ in casing which prevents the use of any Blazor WASM app the latest version installed.

As part of this change, the comparison is performed entirely in .NET which avoids relying on the JS representation.

* Fixups
2020-09-23 09:00:38 -07:00
Pranav K da3f97b0ad
Fix client validation for record types (#26159)
* Fix client validation for record types

Server validation for record types uses metadata from parameters
when validating record type properties. However client validation
does not use the parameter to harvest client validation attributes.

In the absence of this change, validation on parameters would require server
round trips which is unexcepted and not at parity with validation applied
to properties on regular classes or record types.

Validation experience with record types is subpar and requires server
round trips.

No. This feature is new to 5.0.

Low. The change is isolated to record types and does not affect other code paths. We have
unit and functional test coverage to verify this change.

* Correctly dispose app after use
2020-09-22 22:02:49 -07:00
dotnet-maestro[bot] 7caa0d43d1
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#26208)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-23 02:25:38 +00:00
dotnet-maestro[bot] 40cbbfbcb9
[release/5.0-rc2] Update dependencies from dotnet/efcore (#26200)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-23 00:23:11 +00:00
dotnet-maestro[bot] cd4297ae80
Update dependencies from https://github.com/dotnet/runtime build 20200922.3 (#26190)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-22 20:34:53 +00:00
William Godbe c34d1dceac
Include all .xml files in targeting pack (#26147)
* Include all .xml files in targeting pack

* Better syntax

* Remove distinct
2020-09-22 12:54:28 -07:00
Steve Sanderson 7140f7cae7
Virtualize component: method to trigger data refresh (#26177)
* E2E test cases for Virtualize data refresh

* Expose public RefreshDataAsync API

* Optimize: don't instantiate CancellationTokenSource when it won't be used

* For in-memory data, refresh automatically on each render cycle

* Fix typo
2020-09-22 11:52:16 -07:00
dotnet-maestro[bot] c0bd50075a
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#26171)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-22 17:47:32 +00:00
Safia Abdalla 93f73c7764
Add support for debugging lazy-loaded assemblies (#25943)
* Add support for debugging lazy-loaded assemblies

* Address feedback from peer review

* Increase wait for output on tests
2020-09-22 08:23:39 -07:00
dotnet-maestro[bot] f66a1daeda
Update dependencies from https://github.com/dotnet/efcore build 20200921.10 (#26168)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-22 09:37:36 +00:00
dotnet-maestro[bot] 3e115b7530
Update dependencies from https://github.com/dotnet/runtime build 20200921.12 (#26166)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-22 07:40:18 +00:00
dotnet-maestro[bot] 8063c97373
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore (#26160)
[release/5.0-rc2] Update dependencies from dotnet/runtime dotnet/efcore
2020-09-22 04:57:06 +00:00
Doug Bunting e0ea513ca2
Include commit SHA in `[AssemblyInformationalVersion]` value (#26150)
- see dotnet/arcade#5866 discussion
- leaving redundant `[AssemblyMetadata("CommitHash", ...)]` because it's used in this repo
  - e.g. src\Components\benchmarkapps\Wasm.Performance\Driver\Program.cs
  - also consistent with native images
2020-09-21 18:53:15 -07:00
dotnet-maestro[bot] 9a4d5f01b3
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#26143)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-22 00:41:12 +00:00
dotnet-maestro[bot] 382cd90d14
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#26134)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-21 20:08:35 +00:00
Sayed Ibrahim Hashimi d97ef5ccd4
Updated icons for projects that appear in VS with icons that have the (#25974)
* Updated icons for projects that appear in VS with icons that have the
language adornment.
This PR should fix #25973.

* updating icons for asp.net core templates in vs
2020-09-21 13:04:31 -07:00
Justin Kotalik 02d81add81
Increase Http2Timeout (#26075) 2020-09-21 10:55:08 -07:00
dotnet-maestro[bot] a5a2551b02
Update dependencies from https://github.com/dotnet/efcore build 20200919.6 (#26102)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-21 15:26:44 +00:00
dotnet-maestro[bot] 55b9d2532b
[release/5.0-rc2] Update dependencies from dotnet/efcore (#26100)
[release/5.0-rc2] Update dependencies from dotnet/efcore
2020-09-20 01:06:36 +00:00
Hao Kung 6bfffda734
Remove ComponentsWebAssembly shared layout (#26078) 2020-09-19 11:12:38 -07:00
Pranav K bf91253cd3
Increase more SignalR Java client test timeouts (#26036)
Co-authored-by: Stephen Halter <halter73@gmail.com>
2020-09-18 17:00:43 -07:00
Pranav K 140f177d9e
Converge implementations of AwaitableProcess and ProcessEx (#26069)
* Converge implementations of AwaitableProcess and ProcessEx

* dotnet-watch tests are running in to the same issue as GRPC tests (https://github.com/dotnet/aspnetcore/pull/20341/files).
This change carries over some of the patterns from the other type to remedy this issue.

* Revive dotnet-watch tests on OSX

* Remove build artifacts that were accidentally commited to source.
2020-09-18 16:32:06 -07:00
dotnet-maestro[bot] 7afaf45b54
Update dependencies from https://github.com/dotnet/runtime build 20200918.4 (#26070)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-18 21:55:40 +00:00
Pranav K 611ee61e0e
Quarantine tests (#26062) 2020-09-18 13:08:30 -07:00
dotnet-maestro[bot] 7e0e801bb4
[release/5.0-rc2] Update dependencies from dotnet/arcade dotnet/efcore (#26058)
[release/5.0-rc2] Update dependencies from dotnet/arcade dotnet/efcore


 - Update installers task location
2020-09-18 19:58:16 +00:00
Matt Mitchell b1b3d5474f
Enable PostBuildSign flag and include signing information in the manifest (#26033)
This change is prep for post build signing. When PostBuildSign=true, signing is not performed during the build. Instead, pass the top-level artifacts that are signable to PushToAzureDevOpsArtifacts (via Publish.proj).
Also fix up ArtifactsDir. As far as I can tell, it's been fixed up in Arcade to always include the trailing \, and Publish.proj should no longer be messed up.
2020-09-18 11:07:42 -07:00
Doug Bunting 3faea0e805
Almost-always use project references, not baseline references (#25992)
- otherwise need to released previous packages; that's slower and less reliable
  - left escape hatches but they're not currently used
- broke in servicing exercise because repo doesn't use its own isolated feeds

- also use latest package references for non-packable implementation projects

nits:
- copy some comment and spacing improvements from release/3.1
2020-09-18 10:33:01 -07:00
Pranav K f6723f5b0d
Do not build native when packing for template tests (#26031)
This produces a bunch of warnings and causes the quarantine build to fail. Passing NoBuildNative keeps with the theme of -NoBuild also being passed to this script
2020-09-18 09:05:14 -07:00
dotnet-maestro[bot] 6186134956
Update dependencies from https://github.com/dotnet/runtime build 20200917.14 (#26042)
[release/5.0-rc2] Update dependencies from dotnet/runtime
2020-09-18 05:06:35 +00:00
Doug Bunting b592cf6610
Place ref/ layout where SDK can find it (#25987)
- correct Helix test failures with stable versions, where SDK's packs aren't enough

E.g. from https://dev.azure.com/dnceng/internal/_build/results?buildId=813814
``` text
...\.dotnet\sdk\5.0.100-rc.1.20379.10\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(318,5): error MSB4018: The "ResolveTargetingPackAssets" task failed unexpectedly. [...\src\ProjectTemplates\test\bin\Release\net5.0\TestTemplates\AspNet.m0yq3xrporu\AspNet.m0yq3xrporu.csproj]
...\.dotnet\sdk\5.0.100-rc.1.20379.10\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(318,5): error MSB4018: System.IO.DirectoryNotFoundException: Could not find a part of the path '...\.dotnet\packs\Microsoft.AspNetCore.App.Ref\5.0.0\data\FrameworkList.xml'. [...\src\ProjectTemplates\test\bin\Release\net5.0\TestTemplates\AspNet.m0yq3xrporu\AspNet.m0yq3xrporu.csproj]
```
2020-09-17 21:03:07 -07:00
Doug Bunting 6418c8f78a
Pin PackageOverrides.txt Extensions versions at Major.Minor.0 in servicing (#25986)
- set the package version of Extensions assemblies using NETCore.App version
  - ignore Microsoft.Extensions.Internal.Transport package version
    - transport package has a non-stable version and isn't shipped
    - just got lucky this worked before versions stabilize
- update test expectations when checking PackageOverrides.txt
  - use NuGet.Versioning to make this easier
2020-09-17 21:02:46 -07:00
Brennan 3ee23fb771
Refactor transient state in Java client (#24219)
* Refactor transient state in Java client

* some fb

* fix nullref

* fixup rebase

* fb

* apply some fb

* fix flaky

* lock

* check previous state
2020-09-17 17:59:27 -07:00
dotnet-maestro[bot] 0287b259d8
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#25993)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-17 21:15:30 +00:00
Pranav K 21e9b168c4
Add Swashbuckle to Third-Party-Notices.txt (#26012) 2020-09-17 13:19:55 -07:00
Brennan 899deacb22
Fix SignalR+WebSockets on WASM (#25922)
* Fix SignalR+WebSockets on WASM

* fb

* move stuff

* select
2020-09-17 11:30:31 -07:00
dotnet-maestro[bot] e51468db03
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime (#25985)
[release/5.0-rc2] Update dependencies from dotnet/efcore dotnet/runtime
2020-09-17 03:26:11 +00:00
Pranav K 2921f5514a
dotnet-watch: continue printing output to console after the app is ready (#25984)
dotnet-watch redirects standard out to detect when the app is launched and
prints these redirected messages to the console. Unfortunately once the app
is launched, redirected messages are no longer printed. This wasn't caught earlier
since ASP.NET Core is very quiet by default.

ASP.NET Core apps launched via dotnet watch do not print output to the console.

Yes. This was introduced as part of changes to dotnet-watch to launch a browser in 5.0-preview8.

Low.
2020-09-16 18:53:59 -07:00