efcore icon indicating copy to clipboard operation
efcore copied to clipboard

Feedback required: drop .NET Framework support in Microsoft.Data.Sqlite

Open roji opened this issue 8 months ago • 22 comments

For the 11 milestone, we are considering dropping .NET Framework support from M.D.Sqlite.

  • EF and most other major components in the .NET stack (e.g. ASP.NET) have dropped .NET Framework support a long time ago.
  • .NET Framework support is holding back development of M.D.Sqlite: it is difficult to support new .NET features (such as DbDataSource), or use new language features to improve the codebase.
  • Maintaining .NET Framework support generally imposes a tax, where we'd rather spend our time and effort elsewhere.
  • In contrast to some other databases (e.g. SQL Server), the proportion of M.D.SQLite users who are still on .NET Framework is smaller, and not necessarily updating to the latest versions. Npgsql, the PostgreSQL driver, dropped .NET Framework support two years ago in 8.0, and reactions have generally been quite supportive, with few people reporting this caused real issues for them.
  • .NET Framework users of M.D.Sqlite would still be able to use version 10.0.

We are looking for feedback from the community on the above proposal.

roji avatar Mar 10 '26 08:03 roji

Drop it

TeddyAlbina avatar Mar 10 '26 11:03 TeddyAlbina

First mark as deprecated. Than only drop in next release.

MichalSznajder avatar Mar 10 '26 11:03 MichalSznajder

Please drop.

JeWaVe avatar Mar 10 '26 11:03 JeWaVe

The last version of .NET Framework 4.8 was released in April 2019... it's time to let go of legacy support and focus on the future.

AlanBarber avatar Mar 10 '26 11:03 AlanBarber

Drop it, otherwise the tail is wiggling the dog ;)

mmisztal1980 avatar Mar 10 '26 11:03 mmisztal1980

Honestly you should seriously, no jokes, consider dropping EF at all.

yahorsi avatar Mar 10 '26 12:03 yahorsi

Yes, dropt it

barruka avatar Mar 10 '26 13:03 barruka

Given that System.Data.Sqlite still exists, I think it makes a lot of sense to drop support for NetFX.

ErikEJ avatar Mar 10 '26 13:03 ErikEJ

Drop it

bobatngs avatar Mar 10 '26 14:03 bobatngs

Kindly drop it.

saint4eva avatar Mar 10 '26 15:03 saint4eva

Yes drop it

Clifftech123 avatar Mar 10 '26 18:03 Clifftech123

Agreed, drop it.

NicolasKlaas avatar Mar 10 '26 19:03 NicolasKlaas

Microsoft needs to deal with these issues before dropping support for netstandard2 and/or the Framework:

https://github.com/dotnet/core/issues/9246 https://github.com/dotnet/core/issues/8295

Right now netstandard2 and framework 4.8 are the only .NET targets with reasonable support timelines available for enterprise. Ideally .NET 10 would be given a very long support timeline so that it could become the new baseline for libraries and such. Those who need newer features can move on with .NET 12, 14, etc like they do now, while library developers could at least move to something a bit more modern for a lowest common denominator target.

greatawesome avatar Mar 10 '26 21:03 greatawesome

Right now netstandard2 and framework 4.8 are the only .NET targets with reasonable support timelines available for enterprise.

There is no "enterprise" in the world: enterprise projects are just regular code, often very sectioned with multilang solutions. Nothing forces use .NET 4.8, except local policies.

Ideally .NET 10 would be given a very long support timeline so that it could become the new baseline for libraries and such.

What support you want? Realistically you should need ready solve any problem forself. You got runtime and can use it infinitely. All software runs nowadays in one or other sandboxing environments, so 99.9% security fixes never touch you. And even if they touch, then you doing something wrong in iwn code.

Those who need newer features can move on with .NET 12, 14, etc like they do now, while library developers could at least move to something a bit more modern for a lowest common denominator target.

Anyone need new features: new versions offer not only new features, but better support for old hardware, support for new hardware, lot of things are optimized and tons of bugs are get fixed, and this fixes if they are not critical - will never be backported. Thats how all software industry work: rolling ONLY forward, and branching and backport only on need basis.

dmitry-azaraev avatar Mar 10 '26 21:03 dmitry-azaraev

@greatawesome your comments around support lifetimes and modern .NET moving too fast aren't related to the specific question discussed in this issue, which is narrowly focused on M.D.Sqlite. Modern .NET already has the support lifetime it has, with .NET, EF, ASP.NET and other components already following that for many years; here we're purely discussing aligning M.D.Sqlite as well.

For the more general question please continue the conversation in the issues you linked to.

roji avatar Mar 10 '26 22:03 roji

Drop it and give it a kick on the way out.

leo-costa avatar Mar 10 '26 22:03 leo-costa

One has to wonder what exactly Microsoft means by .NET Framework being "supported" if Microsoft provided libraries can simply stop supporting it

catmanjan avatar Mar 10 '26 23:03 catmanjan

Drop it , of course. But even for the general issue. I mean why the hell is there any support for .NET Framework anywhere ... AT ALL ?????

explorest avatar Mar 10 '26 23:03 explorest

One has to wonder what exactly Microsoft means by .NET Framework being "supported" if Microsoft provided libraries can simply stop supporting it @catmanjan

Receives security/bug fix updates and support teams can assist, that's what "supported" has ALWAYS meant for Microsoft products. Nothing about "supported" has ever meant that Microsoft has to hold back newer systems or keep actively providing libraries for what at this point are systems that will never receive anything more than security updates/bug fixes to begin with.

tankerkiller125 avatar Mar 11 '26 02:03 tankerkiller125

@tankerkiller125 in that case why "add support" dotnet 11, there is no need

catmanjan avatar Mar 11 '26 02:03 catmanjan