All versions since 3.0.0
3.0.0
First release of the SQLite provider for NSchema, tracking NSchema 3.0.0.
Added
NSchemaApplicationBuilder.UseSqliteSchema(...)extensions for registering the provider — overloads for a connection string, aSqliteConnectionStringBuilderconfiguration delegate, and a no-arg form for a connection registered elsewhere — plusUseSqliteGenerator()for registering only the SQL generator.SqliteSchemaProvider—ISchemaProviderimplementation that reads the live database fromsqlite_masterandPRAGMAs, recovering named constraints (primary keys, foreign keys, unique and check constraints) by parsing the storedCREATESQL. Everything is reported under themainschema.SqliteSqlGenerator—ISqlGeneratorimplementation that translates an NSchemaMigrationPlaninto SQLite DDL, supporting the features SQLite has and raising a clearNotSupportedExceptionfor those it does not.- SourceLink and symbol packages (
.snupkg) published alongside the main package for source-level debugging.
3.0.1
Fixed
applynow works against SQLite.UseSqliteSchema(...)registers aDbDataSource(alongside the existing introspection source) so the core’s SQL executor can open connections to run the migration.
Security
- Pin the bundled native SQLite library (
SQLitePCLRaw.lib.e_sqlite3) forward to the patched 3.50.3, resolving advisory GHSA-2m69-gcr7-jv3q. This replaces the priorNuGetAuditsuppression with an actual fix.
3.1.0
Changed
- Updated
Microsoft.Data.Sqlitefrom10.0.3to10.0.9. - Breaking: The casing has been changed from
SQLitetoSqliteto line up with the official Microsoft packages. This applies across all namespaces, but the NuGet package will probably be stuck with the old casing.
3.2.0
Added
- Trigger Support. SQLite triggers run an inline
BEGIN … ENDbody, which the provider now supports, using the inline triggerBodyadded inNSchema.Core3.2.0. A trigger is generated asCREATE TRIGGER … {BEFORE|AFTER} {event} ON t [FOR EACH ROW] [WHEN (…)] BEGIN … ENDand recovered fromsqlite_master.
Changed
- Bumped the
NSchema.Coredependency to3.2.0.
3.2.1
Fixed
- The provider will now no-longer attempt to
CREATE/DROPthemainschema.
4.0.0
Added
- Added plugin manifest to allow for automatic registration of the provider coming in `NSchema 4.0.0.
4.3.0 Latest
Added
- Data migrations. Supports the
MIGRATION … FORdata migrations introduced inNSchema.Core4.3.