-
Notifications
You must be signed in to change notification settings - Fork 844
[automated] Merge branch 'release/3.1' => 'master' #2864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[automated] Merge branch 'release/3.1' => 'master' #2864
Conversation
…0200114.3 (dotnet#2865) - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20064.3 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
…0200115.5 (dotnet#2867) - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.5 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
…0200115.9 (dotnet#2868) - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.9 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
* Update dependencies from https://github.com/dotnet/core-setup build 20200115.10 - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.10 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 * Update dependencies from https://github.com/dotnet/core-setup build 20200115.12 - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.12 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 * Update dependencies from https://github.com/dotnet/core-setup build 20200115.14 - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20065.14 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2 * Update dependencies from https://github.com/dotnet/core-setup build 20200116.1 - Microsoft.NETCore.App.Internal - 3.1.2-servicing.20066.1 - Microsoft.NETCore.App.Runtime.win-x64 - 3.1.2
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
Fixes: dotnet#2077 In 3.0 we introduced validation to try and prevent some cases of invalid usage on the factory that had lead to user bug reports. Unfortunately we blocked a few legitimate usage scenarios behind expections. In this case the common usage is for a library to register a typed client with `AddHttpClient<MyClient>(...)`. User code can then collaborate by calling the same thing, and interacting with the builder that's returned. This change explicitly allows this pattern by fine-tuning the validation.
Fixes: dotnet/aspnetcore#13346 In 3.0 we added validation to try and report exceptions for some common HttClient factory usage mistakes in the registration code. Unfortunately we blocked from legitimate usage cases. In this case, users are blocked from associating multiple types with the same logical 'name'. Ex: ```C# services.AddHttpClient("Foo").AddTypedClient<A>().AddTypedClient<B>(); ``` This is useful and should be allowed because it's a good way to DRY up configuration code. ---- This change relaxes the validation when `AddTypedClient` is called, but not when `AddHttpClient` is called without supplying a name. We still want to block cases like the following: ```C# services.AddHttpClient<A.SomeClient>(); services.AddHttpClient<B.SomeClient>(); ``` The type short name is used as the logical name for the client (named options) so usage like this is always a bug.
Also reported as part of dotnet#2077 In this pattern users register many instances of the same client with different configurations, and multiplex between them in a round-robin fashion.
…y-fixes Fixes for some servicing-proposed HttpClient Factory issues
|
This pull request has been updated. This PR merges commits made on release/3.1 by the following committers: |
…0115.4 (dotnet#2871) - NETStandard.Library.Ref - 2.1.0-alpha.1.20065.4 - Microsoft.NETCore.App.Internal - 5.0.0-alpha.1.20065.4 - Microsoft.NETCore.App.Ref - 5.0.0-alpha.1.20065.4 - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha.1.20065.4 Dependency coherency updates - Microsoft.Win32.Registry - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.ComponentModel.Annotations - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Diagnostics.DiagnosticSource - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Diagnostics.EventLog - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.IO.Pipelines - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Reflection.Metadata - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Runtime.CompilerServices.Unsafe - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Security.Cryptography.Cng - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Security.Cryptography.Xml - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.ServiceProcess.ServiceController - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Text.Encodings.Web - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - System.Text.Json - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64) - Microsoft.NETCore.Platforms - 5.0.0-alpha.1.20065.4 (parent: Microsoft.NETCore.App.Runtime.win-x64)
…et-maestro-bot/Common into dotnet-maestro-bot-merge/release/3.1-to-master
|
❌ Uh oh, this pull request could not be updated automatically. New commits were pushed to release/3.1, but I could not automatically push those to merge/release/3.1-to-master to update this PR. |
…ge/release/3.1-to-master [automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from dotnet/extensions@dea81ef
…ge/release/3.1-to-master [automated] Merge branch 'release/3.1' => 'master'\n\nCommit migrated from dotnet/extensions@dea81ef
…ge/release/3.1-to-master [automated] Merge branch 'release/3.1' => 'master' Commit migrated from dotnet/extensions@dea81ef
…ge/release/3.1-to-master [automated] Merge branch 'release/3.1' => 'master' Commit migrated from dotnet/extensions@dea81ef
I detected changes in the release/3.1 branch which have not been merged yet to master. I'm a robot and am configured to help you automatically keep master up to date, so I've opened this PR.
This PR merges commits made on release/3.1 by the following committers:
Instructions for merging from UI
This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, not a squash or rebase commit.
If this repo does not allow creating merge commits from the GitHub UI, use command line instructions.
Instructions for merging via command line
Run these commands to merge this pull request from the command line.
or if you are using SSH
After PR checks are complete push the branch
Instructions for resolving conflicts
Instructions for updating this pull request
Contributors to this repo have permission update this pull request by pushing to the branch 'merge/release/3.1-to-master'. This can be done to resolve conflicts or make other changes to this pull request before it is merged.
or if you are using SSH
Contact .NET Core Engineering if you have questions or issues.
Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/master/scripts/GitHubMergeBranches.ps1.