Richer content descriptors. A content type can now tell other plugins what a record is and what it holds: its kind (article, collection, profile, page), the MCP tools that fix it, its first publication date, its parents, its authors, its top heading level, and per locale its images, videos and heading outline. Sitemaps, structured data and site audits read these facts without knowing the plugin behind them.
WebP variants of thumbnails.attach/webp writes a WebP copy next to any attachment thumbnail, once, and attach.VariantKey names it.
Validation that matches Laravel.lagoon.Validate accepts the string and url rules and checks min/max as a length on every field that is not numeric.
Added
pact.ContentDescriptor.Kind and Tools, with the ContentKind* and ContentTool* constants.
pact.ContentRecord.PublishedAt, Parents, Authors and TopHeading; pact.ContentLocale.Images, Videos and Headings; the value types ContentRef, ContentPerson, ContentImage, ContentVideo and ContentHeading. All are optional: a descriptor that sets none behaves as before.
pact.FormFieldType.RequestOptions: a plugin field type can add options that change per request (for example values read from the database). They join the field's fields.yaml options, which win on the same key; an error keeps the fields.yaml options.
attach.VariantKey(thumbKey, format) and the lagoon/attach/webp package (Encode, Variant). Only binaries that import the package link the encoder.
Polish messages for the string rule and numeric wording for the Polish min and max messages.
Changed
lagoon.Validate checks min and max as a length on every field that is not integer or numeric: characters for a string, items for a list. A stored value longer than its rule's max now fails its next admin save until it is shortened. Before upgrading, check the long text columns your plugins validate with a max (for example a description with max:5000 on a TEXT column).
A min or max bound that is not a whole number is now an error instead of being ignored.
Binaries are no longer fully static when they link attach/webp. The WebP encoder loads the system libwebp through purego, so a CGO_ENABLED=0 build is dynamically linked against glibc (ld-linux-x86-64.so.2, libc.so.6, libdl.so.2, libpthread.so.0). It runs on Debian and Ubuntu servers, not in scratch, distroless-static or Alpine images. With libwebp installed the fast encoder is used; without it, a slower built-in one. Build with -tags nodynamic for a static binary that always uses the built-in encoder.
attach/webp also decodes WebP. Importing it registers the encoder library's WebP decoder ahead of the pure Go one for the whole process, so WebP uploads (thumbnails, size checks) are decoded by the system libwebp when it is installed. Keep libwebp patched, or build with -tags nodynamic, which decodes with the built-in copy.
Fixed
Settings forms whose rules use string or url (for example the Journal settings) can be saved from the admin again; they failed with "unrecognized validation rule".