Repository navigation
Closed
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Priority:2Work that is important, but not critical for the releaseTeam:Librariesarea-Extensions-Primitives
Milestone
Description
This issue captures the planned work for .NET 7. This list is expected to change throughout the release cycle according to ongoing planning and discussions, with possible additions and subtractions to the scope.
Summary
For .NET 7 we are prioritizing the work to improve code reliability and minimize the number of high-impact bugs in the codebase. There's also some bottom up planned community requested feature requests available in the list.
Planned for .NET 7
Hosting
Caching
Configuration
- Allow access to child providers in ChainedConfigurationProvider #44486
- ChainedConfigurationProvider.GetChildKeys is inefficient #62510
- Binding to non-null IEnumerable doesn't work #36390
Logging
Logging Source Generator (also listed in #52549)
- Logging source generator should gracefully fail when special parameters incorrectly get passed as template parameter #64310
- Logging Source Generator fails to compile when
inparameter modifier is present #62644 - Logging Source Generator fails ungracefully with overloaded methods #61814
- Logging methods created by generators allocate if LogLevel is passed #61162
- Logging Source Generator fails to compile using keyword parameters with @ prefixes #60968
- Logging Source Generator fails to compile due to CS0246 and CS0265 errors if type for generic constraint is in a different namespace #58550
- Logging Source Generator fails with a InvalidCastException #67167
- Logging Source Generator fails with partial methods with implicit ILogger definition when using partial classes #61547
post-release feedback
Testing and Documentation
- Cannot restore latest master builds of Microsoft.Win32.Registry, missing System.Buffers dependency #27471
- Dev Center Certification Fails for Microsoft.NETCore.UniversalWindowsPlatform 6.0.1 #23900
Nullability
- Annotate Microsoft.Extensions.* assemblies for nullable reference types #43605
- Update IDistributedCache to account for nullability #52148
NativeAOT
Planned for .NET 8+
- Support immutable types in Microsoft.Extensions #47191
- Services resolving incorrectly in Development environment but not Production #65145
- ActivatorUtilities.CreateInstance depends on the order of constructors' definitions #46132
- [LSG] LoggerMessage source generator generates error when using template destructuring #69490
- Built-in configuration providers can do more robust key handling #44517
- EnvironmentVariablesConfigurationProvider should support all types of connectionstrings #36123
- Enhancement to IDistributedCache - Allow for bulk remove and key enumeration #44512
- Strong type support in Microsoft.Extensions.Logging #61947
- Enhancement to IDistributedCache - Allow for bulk remove and key enumeration #44512
- Add support for logging with more than 6 arguments at runtime #55525
- Explore options immutability #43359
-
StackOverflowException when using Microsoft.Extensions.DependencyInjection #62239 -
Windows service infrequently results in error 1067 on stop operation #62579 -
Allow developers to use built-in meters for tracking stats on caches #67770 -
[Feature Request] Allow libraries that don't use DI to make use of ILogger #50777 -
DI : add support to eager load a singleton service #43149 -
Add decorator extension methods to IServiceCollection #36021
Reacted by Maksym Koshovyi, Dan Moseley, Martin Costello, Günther Foidl, Stuart Lang, Eric StJohn, Thorsten Sommer, Allan Targino and Daniel Chalmers
Reacted by Thorsten Sommer and Eric StJohn
Metadata
Metadata
Assignees
Labels
EpicGroups multiple user stories. Can be grouped under a theme.Priority:2Work that is important, but not critical for the releaseTeam:Librariesarea-Extensions-Primitives
Activity
[-]Microsoft.Extensions.* work planned for .NET 7 [/-][+]Microsoft.Extensions work planned for .NET 7 [/+]SteveDunn commentedon Feb 16, 2022
Hi @maryamariyan - I'm happy to continue with #36390
Do we know yet what needs to be different this time around? We reached an impasse last time as we didn't want to change the declared type at runtime (
IEnumerable<T>toIList<T>).I'm please to hear that it's being considered again though, as I think this issue will be more and prevalent as projects are switched over to have Nullable Reference Types switched on: #52514 (comment)
maryamariyan commentedon Feb 16, 2022
Thanks @SteveDunn for the interest let me get back to you on this on whether or not it would be marked for up for grabs.
UPDATE: replied here
geometrikal commentedon Jul 18, 2022
Humble request to at least fix #36123 for PostgreSQL connection strings in .NET 7. I've created an issue in the docs to add a note about this bug as well.
tarekgh commentedon Jul 19, 2022
@geometrikal this need to be decided which way to consider for fixing according to the comment #36123 (comment). It is better not to rush this one now while we are trying to finish more priority work for .NET 7.0. Also, looks there is a workaround in the issue too. Thanks for your understanding.
geometrikal commentedon Jul 19, 2022
@tarekgh It looks like it was originally planned for .NET 6 then .NET 7 and now moved back to .NET 8. 😛
The experience of a user using app service and a PostgreSQL connection string (#36123 (comment)) has not changed in 2 years. The workaround is very simple but unfortunately the discoverability of it is low. Hopefully these comments change that!