Upgrade Autofac.Extensions.DependencyInjection to 11.0.0#25190
Merged
Conversation
- Upgrade Autofac from 8.4.0 to 9.1.0 - Upgrade Autofac.Extensions.DependencyInjection from 10.0.0 to 11.0.0 - Upgrade Microsoft.Bcl.AsyncInterfaces from 10.0.2 to 10.0.4 - Remove AnyKeyRegistrationSource (now native in Autofac 9.1.0) - Add MSDI KeyedService.AnyKey to Autofac KeyedService.AnyKey translation - Use Parameters.KeyedServiceKey<object>() for keyed factory key retrieval - Add ExternallyOwned() to instance registrations - Add unit tests for keyed services and AnyKey support
Member
Author
|
@copilot Please review this PR. |
Agent-Logs-Url: https://github.com/abpframework/abp/sessions/c39209b8-1bd6-4fae-b77b-ca167d8098b9 Co-authored-by: maliming <6908465+maliming@users.noreply.github.com>
Contributor
Reviewed the PR. The changes are well-aligned with the official Autofac 11.0.0 release. One cleanup made in commit Everything else looks correct:
|
EngincanV
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
https://github.com/autofac/Autofac.Extensions.DependencyInjection/releases/tag/v11.0.0
Upgrade Autofac packages and sync ABP's custom
AutofacRegistration.cswith official v11.0.0:Autofac8.4.0 → 9.1.0,Autofac.Extensions.DependencyInjection10.0.0 → 11.0.0,Microsoft.Bcl.AsyncInterfaces10.0.2 → 10.0.4AnyKeyRegistrationSourceregistration (now native in Autofac 9.1.0)KeyedService.AnyKey→ AutofacKeyedService.AnyKeytranslationParameters.KeyedServiceKey<object>()for keyed factory key retrieval.ExternallyOwned()to instance registrationskeyedServicevariable left as dead code after refactoringAnyKeysupportChecklist