Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 27 May 20:43
74924f0

First stable release of the PostgreSQL provider for NSchema, tracking the 1.0 release of NSchema itself.

Added

  • UsePostgres(...) extensions on NSchemaApplicationBuilder for registering the provider — overloads for a connection string, an NpgsqlDataSourceBuilder configuration delegate, the same with IServiceProvider access, and a no-arg form for bring-your-own NpgsqlDataSource.
  • PostgresSchemaProviderISchemaProvider implementation that reads the live database via information_schema and pg_catalog, with optional schema-name scoping. Reads schemas, tables, columns, primary keys, foreign keys, indexes, comments (on schemas, tables, columns, and indexes), and GRANTs (on schemas and tables).
  • PostgresSqlPlannerISqlPlanner implementation that translates an NSchema MigrationPlan into PostgreSQL DDL.
  • SqlType.Citext and SqlType.Jsonb Postgres-specific type helpers on SqlType.
  • SourceLink and symbol packages (.snupkg) published alongside the main package for source-level debugging.