[NEW] Introduced Substitute.ForTypeForwardingTo to create substitutes that forward interceptable calls to a concrete class. This provides an easy way of implementing a test spy over an existing type. Designed and implemented by @marcoregueira in nsubstitute/NSubstitute#700 from a proposal by @wsaeed. Thanks to all who contributed to discussions of this feature.
⚠️ Note: there is no build currently available for this version due to an issue switching over to a new automated release build. We'll have a new release shortly once we sort this.
Summary of main changes:
[UPDATE] Upgrade website build to jekyll 3.9.0 and add link to edit website pages (#767, #769; thanks to @brad)
improve test platform coverage; add .NET 8 to test platforms (#742, #756; thanks to @Romfos)
source code format improvements; check format on CI (#758, ##761, #762, #763; thanks again to @Romfos)
[NEW] Support for Sourcelink and Deterministic Build. Thanks @304NotModified! (#737)
Many thanks to @alexandrnikitin, @Romfos, @brad, and @304NotModified for their contributions!
Thanks a lot to all code contributors, reviewers, and people who have raised and/or commented on issues.
[NEW] Introduced Substitute.ForTypeForwardingTo to create substitutes that forward interceptable calls to a concrete class. This provides an easy way of implementing a test spy over an existing type. Designed and implemented by @marcoregueira in nsubstitute/NSubstitute#700 from a proposal by @wsaeed. Thanks to all who contributed to discussions of this feature.
Fixed a regression that prevented ManagedIdentityCredential from attempting to detect if Workload Identity is enabled in the current environment. #46653
Fixed a regression that prevented DefaultAzureCredential from progressing past ManagedIdentityCredential in some scenarios where the identity was not available. #46709
Azure.Identity_1.13.0
1.13.0 (2024-10-14)
Features Added
ManagedIdentityCredential now supports specifying a user-assigned managed identity by object ID.
Bugs Fixed
If DefaultAzureCredential attempts to authenticate with the MangagedIdentityCredential and it receives either a failed response that is not json, it will now fall through to the next credential in the chain. #45184
Fixed the request sent in AzurePipelinesCredential so it doesn't result in a redirect response when an invalid system access token is provided.
Updated to version 4.65.0 of Microsoft.Identity.Client to address a bug preventing the use of alternate authority types such as dStS (4927) .
Other Changes
The logging level passed to MSAL now correlates to the log level configured on your configured AzureEventSourceListener. Previously, the log level was always set to Microsoft.Identity.Client.LogLevel.Info.
AzurePowerShellCredential now utilizes the AsSecureString parameter to Get-AzAccessToken for version 2.17.0 and greater of the Az.Accounts module.
Improved error logging for AzurePipelinesCredential.
Commits
fd0b3e7 [Storage][DataMovement] Add perf tests for DMLib Track1 (#46768)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it ...
_Description has been truncated_
Bumps
HealthcareSharedPackageVersion
from 7.1.174 to 7.1.183. UpdatesMicrosoft.Health.Test.Utilities
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Test.Utilities's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
NSubstitute
from 5.1.0 to 5.3.0Release notes
Sourced from NSubstitute's releases.
... (truncated)
Changelog
Sourced from NSubstitute's changelog.
Commits
45e00e3
Prep 5.3.0 release (#836)cc73901
Release build workflow (#797)4d258a2
Feature: Enable call forwarding and substitution for non virtual methods or...b8b0184
Added csharp_style_prefer_primary_constructors into editorconfig (#819)73818a6
Unable to match arguments whose type is generic, when their concrete type is ...da82bc5
Merge pull request #813 from mihnea-radulescu/bug/issue-788-Raise-EventWith-d...2ce4d66
Replaced Obsolete attributes in WhenCalled<T> with doc comments.0c0d798
When(...).Throws gives a CouldNotSetReturnDueToNoLastCallException (#803)4bd429e
Updated event raising logic to only allow internal default constructorsee276f3
Merge branch 'main' into bug/issue-788-Raise-EventWith-default-constructorUpdates
Microsoft.Health.Abstractions
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Abstractions's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Api
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Api's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Core
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Core's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Azure.Identity
from 1.12.1 to 1.13.1Release notes
Sourced from Azure.Identity's releases.
Commits
fd0b3e7
[Storage][DataMovement] Add perf tests for DMLib Track1 (#46768)3db918d
[Azure.AI.Inference] Beta 2 (#45757)6d72f21
Increment package version after release of Azure.ResourceManager.Avs (#46811)fb11960
Increment package version after release of Azure.ResourceManager.ContainerIns...1556e06
Prep Identity for 1.13.1 patch release (#46817)85d7532
Sync eng/common directory with azure-sdk-tools for PR 9236 (#46818)cf787a1
feat(playwrighttesting): Add support to publish attachments (#46780)02c5753
Increment package version after release of Azure.ResourceManager.ElasticSan (...6928b39
chore(): 1.0.0-beta.1 post release changes (#46809)11b61b6
Prepare release for Azure.ResourceManager.ContainerInstance 1.3.0-beta.1 (#46...Updates
Microsoft.Health.Extensions.DependencyInjection
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Extensions.DependencyInjection's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Extensions.BuildTimeCodeGenerator
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Extensions.BuildTimeCodeGenerator's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Client
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Client's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Encryption
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Encryption's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.SqlServer
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.SqlServer's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.SqlServer.Api
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.SqlServer.Api's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Updates
Microsoft.Health.Tools.Sql.Tasks
from 7.1.174 to 7.1.183Release notes
Sourced from Microsoft.Health.Tools.Sql.Tasks's releases.
Commits
3a252cf
Update Microsoft.IdentityModel to 8.2.0 (#1076)a1d40c5
Update dependency Microsoft.NET.Sdk.Functions to 4.6.0 (#1075)f7459e4
Update dependency Xunit.DependencyInjection to 9.6.0 (#1074)6687e7d
Update Microsoft.Build to 17.12.6 (#1073)32487eb
Update dependency NSubstitute to 5.3.0 (#1072)b8bb554
Update dependency Azure.Identity to 1.13.1 (#1070)bf62f0a
Update dependency Google.Protobuf to 3.28.3 (#1071)86cf0bd
Revert Azure.Identity Back to 1.12.1 (#1069)4122113
Update azure azure-sdk-for-net monorepo (#1066)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it ... _Description has been truncated_