Bump Microsoft.Data.Sqlite dependency when new version becomes available

Open Beginner friendly
#19 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
csharp, sqlite
Domain
databases

Research direction

Start by checking the Microsoft.Data.Sqlite release and its referenced SQLitePCLRaw version. Review MEVD/src/SqliteVec/SqliteVec.csproj and Directory.Packages.props at the linked entries. Done means bumping Microsoft.Data.Sqlite and removing the temporary direct SQLitePCLRaw dependency entries once the newer transitive versions resolve the vulnerabilities.

Written by the indexing model from the issue text.

Description

In https://github.com/CommunityToolkit/AI/pull/17, we have added a direct dependency to SQLitePCLRaw.bundle_e_sqlite3 package in order to avoid getting NU1902/NU1903 errors due to known vulnerabilities:

Once a new version of Microsoft.Data.Sqlite gets released and it references newer versions, we need to remove:

https://github.com/CommunityToolkit/AI/blob/e966e4f56b1ec2ded2a5bbeb0c723ab05f4b28d9/MEVD/src/SqliteVec/SqliteVec.csproj#L20

https://github.com/CommunityToolkit/AI/blob/1697580470910074cdf0890d27fa7e06111688df/Directory.Packages.props#L24

And bump Microsoft.Data.Sqlite here:

https://github.com/CommunityToolkit/AI/blob/1697580470910074cdf0890d27fa7e06111688df/Directory.Packages.props#L15

Dominant language
C#
Stars
7
Forks
4
Avg merge
5h 54m
Merged PRs (30d)
8

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CommunityToolkit/AI

All issues in CommunityToolkit/AI

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.