Skip to content

SqliteCache 7.0.0-preview1

Pre-release
Pre-release
Compare
Choose a tag to compare
@mqudsi mqudsi released this 29 Jun 16:24
· 24 commits to master since this release

What's New

  • SqliteCache v7.0.0 will be the first release without a direct dependency on SQLitePCLRaw.bundle_green, meaning it can be used more easily in cross-platform projects or projects with native targets or targeting mobile devices. This may be a breaking change depending on how you are using SqliteCache.
    • The majority of users are installing SqliteCache in the context of an ASP.NET Core project - there are no changes required here since the ASP.NET Core code automatically pulls in SQLitePCLRaw.bundle_green as a dependency and calls SQLitePCL.Batteries_V2.Init().
    • If you are targeting desktop Windows/Linux/macOS you can do the same and install SQLitePCLRaw.bundle_green via nuget, then make a call to SQLitePCL.Batteries_V2.Init() before calling or using SqliteCache.
    • If you are targeting a mobile platform or using a platform-provided native SQLite library (such as on iOS, UWP, Android, etc) you will need to install the correct SQLitePCLRaw.provider.xxx nuget library that matches your target platform, then make a call to SQLitePCL.raw.SetProvider(new SQLitePCL.Sqlite3Provider_xxx()) before calling or using SqliteCache. More info is available on the SQLitePCL.raw site.
  • The Microsoft infrastructure dependencies providing the abstract caching class this project is implemented against and DI support have been upgraded to version 7.0. These should be backwards compatible with the v6 sources but the dependency is coded such that it's required to upgrade your copy of these packages (should happen automatically via nuget). You do not need to upgrade to .NET 7.0
  • A .NET 7.0 build of this library has been generated and uploaded to nuget so .NET 7 users can get .NET 7 throughout their stack.