Skip to content

docs: the README, the 5.x guide and the changelog of 11.0.0-preview.1, held by tests - #135

Merged
CaffeinatedCoder merged 1 commit into
mainfrom
docs/preview1-readme-guide
Nov 14, 2026
Merged

CaffeinatedCoder merged 1 commit into
mainfrom
docs/preview1-readme-guide

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #106

Also the first cut of #73 (which stays open) and the changelog section the epic (#1) asks for.

Problem

The README's sample did not compile against the packages: pg.Unique, pg.Gin and GinOpClass do not exist. "Where it stands" was several merges behind, the Build section named two of the three test projects, and the changelog had no section for 11.0.0-preview.1, which release.yml needs before a tag. A 5.x project had no page that said what each of its calls becomes.

Change

Every statement was checked against the code or a test. Five were measured for this PR with throwaway tests on main @ 010ff31, not committed:

Statement Measured
WithExpression("lower(\"kind\")", "=") on a lower-case column against pg.Equal(x => x.Kind.ToLower()) One rebuild: Npgsql writes lower(kind) bare. Written lower(kind) in 5.x, no operations
UseNpgsql(cs).UseSchemaKit() with a declaration GenerateCreateScript() and the diff throw "no contributor with that owner is registered"
The same wiring against the 5.x snapshot Throws, with "call UseSchemaKit() on the options builder of UseNpgsql"
No wiring, 5.x snapshot, nothing declared No error; the constraints are not seen
A 5.x string filter {Note} <> 'x' against x.Note != "x" on a nullable column, and against x.Note != null && x.Note != "x" Both rebuild
A 70-character name in a 5.x snapshot Refused on the snapshot's side
EF Core 11.0.0 beside Npgsql EF rc.3 Restores with NU1608, one per EF Core package Npgsql pins that the project lifts; 11.0.0 resolves

Tests

  • DocumentationSampleTests: every ```csharp block of the root pages, docs/ and the package READMEs compiles against the shipped assemblies with nothing suppressed (errors and SK*). A fragment is compiled in a method the test shows, beside the entity types the test shows. ```csharp 5.x blocks are not compiled; any other marker fails. Shown failing: the old sample's pg.Unique(…) put back into the README gives CS1061 at README.md:14; an unknown parameter gives CS1739. A test of its own holds the CS1061 case.
  • DocumentationLinkTests: relative links to files and headings that exist; absolute links to blob/main and tree/main the same; package READMEs absolute only. Shown failing: a heading that does not exist, a relative link in the kernel's README, a changelog link to a file on main that does not exist.
  • Offline, all green, the build without a warning: kernel 618, PostgreSQL 151 (13 new), probes 125. The live tests were not run here.

Decisions in this PR that are not confirmed

Left out because it could not be verified here: that SchemaKit runs on EF Core 11.0.0 (only restore and resolution were measured); the advice to move from 5.6.x against a real snapshot of 5.4 or earlier; whether Npgsql's NpgsqlRange<T>[] has a form under WithPeriod(); whether a native form of an index gives 5.x's DDL and name (#3); a workaround for #105.

Still open and not described as settled: the lambda factories' place (#112), how a wrong wiring is refused (#113).

🤖 Generated with Claude Code

…, held by tests

The README's sample named pg.Unique and pg.Gin, which do not exist. It is now what preview.1
ships: the wiring and one exclusion constraint with a lambda condition. The README says what the
preview does, what it does not do yet with each issue, and the platform. The package READMEs say
the same with absolute links.

docs/moving-from-complexindexes-5x.md is the first cut of the guide (#73): the packages, the
wiring and what each missed step gives, exclusion constraints 5.x call by 5.x call against the
fixture LegacyHandoverTests reads, conditions, migrations 5.x scaffolded, and every other 5.x
entry point with where it goes.

CHANGELOG.md has the section for 11.0.0-preview.1, headed "unreleased" until the maintainer dates
it; release.yml refuses a tag until then.

DocumentationSampleTests compiles every csharp block of those pages against the shipped
assemblies with nothing suppressed; DocumentationLinkTests checks every link.

Closes #106

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Nov 14, 2026
@CaffeinatedCoder CaffeinatedCoder added documentation Improvements or additions to documentation package/core Affects CodoMetis.EFCore.SchemaKit (the kernel) package/postgresql Affects CodoMetis.EFCore.SchemaKit.PostgreSQL area/release Versioning, changelogs, release wiring labels Nov 14, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit 6c362a3 into main Nov 14, 2026
8 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the docs/preview1-readme-guide branch November 14, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring documentation Improvements or additions to documentation package/core Affects CodoMetis.EFCore.SchemaKit (the kernel) package/postgresql Affects CodoMetis.EFCore.SchemaKit.PostgreSQL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

README: the sample does not compile against preview.1, and neither package carries a README

1 participant