A point release after 20261022.1: giving an element a gradient no longer reports an error, and a host is told when a spread's pages are kept together.
document for typograph_keep_pages_together gets {container_index, keep_together} whenever a
spread's Keep pages together changes, from the Page panel or from the host itself through
typograph.set_keep_pages_together(container_index, keep); get_keep_pages_together() reads it.
The toggle is now one undo step, so it can be undone and typograph_document_changed fires.
Turning it off lets the pages pair the way the rest of the document does straight away: with
facing pages off, a kept-together spread becomes single pages.get_load_errors(), which kept growing as long as the document was open.
It no longer does.cbe6543 (from d1194b8): canvas #205 (TYP-975) and #206 (TYP-976).PageElement.get_fill_style() asked a gradient swatch for get_rgb_hex_string(),
which only a flat swatch has; it threw, the catch logged a load error and answered '#0f0', on
every draw. It now answers a gradient with its
first stop's colour (new gradient_first_stop_color()) and never 'NONE', which would make the
draw sites skip the gradient. The stroke side had the same fault, fixed in TYP-706. Browser suite
run_radial_gradient_tests(): 25.document.set_keep_pages_together(container_index, keep) / get_keep_pages_together()
(also on typograph) — one structure undo step, page bar and canvas refreshed, and
typograph_keep_pages_together sent with {container_index, keep_together}. False for a spread
that does not exist, the cover, or during a spine edit; the value it already has sends nothing.
The facing structure is normalised inside the same undo step, so turning it off can re-pair the
spread's pages at once (with facing pages off, a kept pair becomes single pages).
An undo or redo of it fires typograph_document_changed only. The Page panel's switch
(ParameterBarPage.update_keep_together()) calls it; it wrote allow_page_shuffle directly, with
no undo step and no event. Browser suite run_keep_together_tests(): 20.