Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,16 @@ You can update foreign keys manually if you feel more comfortable handling some
## Installation
The easiest way of installing the library in your project is by adding a reference to [_SQLiteNetExtensions.Modern_ NuGet package](https://www.nuget.org/packages/SQLiteNetExtensions.Modern/).

This package uses `sqlite-net-base` so you need to also add a SQLitePCLRaw bundle. The recommended combination is:
This package uses `sqlite-net-base`, which deliberately ships **without** a SQLite provider — the package itself only depends on `sqlite-net-base`, so the choice of SQLitePCLRaw bundle/provider is entirely yours. You must add one to your app. The recommended combination is:

```xml
<PackageReference Include="SQLiteNetExtensions.Modern" Version="3.1.0" />
<PackageReference Include="sqlite-net-base" Version="1.11.272-beta" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
```

Any other SQLitePCLRaw setup works too — e.g. `SQLitePCLRaw.config.e_sqlite3` + `SourceGear.sqlite3` (3.x line) if you want a current statically-linked SQLite under your own control.

> **Do not** use `sqlite-net-pcl 1.9.172` — it introduces a high-severity SQLite vulnerability via its bundled `SQLitePCLRaw.lib.e_sqlite3 2.1.2`. See the [Security](#security) section above.

The NuGet package contains both sync and async extension versions. You can also download and compile the sources and add the reference to your compiled DLL, or add the SQLite-Net Extensions project as a dependency directly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<PackageIcon>nuget.png</PackageIcon>
<PackageId>SQLiteNetExtensions.Modern</PackageId>
<PackageReleaseNotes>
* Removed the SQLitePCLRaw.bundle_green dependency - consumers now choose their own SQLitePCLRaw bundle/provider
* Upgraded sqlite-net-base to 1.11.272-beta
* Addresses SQLite high-severity vulnerability GHSA-2m69-gcr7-jv3q
(use sqlite-net-base + SQLitePCLRaw.bundle_green >= 2.1.11
Expand All @@ -36,7 +37,6 @@

<ItemGroup>
<PackageReference Include="sqlite-net-base" Version="1.11.272-beta" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\nuget.png" PackagePath="nuget.png" Pack="true" />
Expand Down
1 change: 1 addition & 0 deletions src/SQLiteNetExtensions.Modern/UnitTests/UnitTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="6.2.0" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
</ItemGroup>

<ItemGroup>
Expand Down