Releases: nschema-org/NSchema.Postgres
Releases · nschema-org/NSchema.Postgres
Release list
v4.3.0
Added
- Support for the
MIGRATION FORdata migrations introduced in NSchema.Core 4.3.
Changed
- A plan action this provider doesn't recognize now reports that the plan may come from a newer NSchema.Core than the provider supports, and to check for a provider update.
Fixed
- Schema introspection no longer surfaces the schema owner's implicit
USAGEself-grant, which materializes in the ACL once any schema grant is applied and read as a phantom "revoke from the owner" on the next plan. Table grants already excluded the owner; schema grants now do the same.
v4.0.0
Added
- Added plugin manifest to allow for automatic registration of the provider coming in `NSchema 4.0.0.
v3.0.1
Fixed
- The Postgres provider will now no-longer call
CASCADEitsDROP SCHEMAactions, to behave more consistently with other providers that do not support it.
v3.0.0
Added
NSchemaApplicationBuilder.UseCurrentSchemaPostgresextension for registering only the Postgres SQL generator and not the provider.- Full coverage of NSchema.Core 3.0.0's domain model.
Changed
- Breaking: Updated to NSchema 3.0.0, which includes many breaking changes to the core NSchema API.
Fixed
- Removed trailing whitespace from generated SQL statements.
v2.0.0
Changed
- Breaking: Updated to NSchema 2.0.0, which includes some breaking changes to the core NSchema API.
- Breaking: The
UsePostgresmethods have been renamed toUseCurrentSchemaPostgresto be more explicit about what you're configuring.
v1.0.0
First stable release of the PostgreSQL provider for NSchema, tracking the 1.0 release of NSchema itself.
Added
UsePostgres(...)extensions onNSchemaApplicationBuilderfor registering the provider — overloads for a connection string, anNpgsqlDataSourceBuilderconfiguration delegate, the same withIServiceProvideraccess, and a no-arg form for bring-your-ownNpgsqlDataSource.PostgresSchemaProvider—ISchemaProviderimplementation that reads the live database viainformation_schemaandpg_catalog, with optional schema-name scoping. Reads schemas, tables, columns, primary keys, foreign keys, indexes, comments (on schemas, tables, columns, and indexes), andGRANTs (on schemas and tables).PostgresSqlPlanner—ISqlPlannerimplementation that translates an NSchemaMigrationPlaninto PostgreSQL DDL.SqlType.CitextandSqlType.JsonbPostgres-specific type helpers onSqlType.- SourceLink and symbol packages (
.snupkg) published alongside the main package for source-level debugging.