v3.3.0
·
4 commits
to refs/heads/master
since this release
What's new since v3.2.0
All changes
- Added a dedicated field value-shape classifier gating the default handler, and deprecated pass-through handlers. @AlexSkrypnyk (#386)
When a field type has no dedicated handler,Corenow consults a value-shape classifier before falling back toDefaultHandler: entity-reference and complex/nested shapes cannot be authored as a plain scalar, so they are refused up front with an error naming the field, type, entity type, and bundle instead of silently persisting corrupt data, while plain scalars (strings, integers, datetime strings, booleans, list keys) relay through the default verbatim - so multi-column scalar fields that previously tripped the old single-column guard now work without a hand-rolled handler. The four now-redundant pass-through handlers -TextHandler,TextLongHandler,TextWithSummaryHandler, andColorFieldTypeHandler- are marked@deprecatedfor removal indrupal-driver:4.0.0but remain registered and functional, so consumers who extend or reference them have a full release to migrate before anything changes. - [#384] Added 'DateRecurHandler' for the 'date_recur' contrib field type. @AlexSkrypnyk (#385)
Adds a built-in handler for the contribdate_recurfield type, whose five columns (value,end_value,rrule,timezone,infinite) previously had no dedicated handler - so the driver loud-failed on the field and every consuming test suite had to hand-roll and register its own.DateRecurHandlerauto-registers throughCore's field-type discovery and relays the multi-column records unchanged (the field type derivesinfinitefrom therrulein its ownpreSave()), removing that per-project boilerplate for a common contrib module.
Full Changelog: v3.2.0...v3.3.0