What's New
Render Package
New render package for survey output generation with multiple formats:
- CSV —
AnswersToCSV()with cartesian product expansion for repeat groups - HTML —
AnswersToHTML()with independent CSS styling - JSON —
AnswersToJSON()structured survey card - TipTap —
AnswersToTipTap()rich text document - Tree visualization —
DefinitionTreeHTML()/DefinitionTreeJSON()for survey structure - Multi-format —
AnswersTo()generates multiple formats in a single pass
AnswerExpr
New AnswerExpr field on BaseQuestion for custom answer processing using expr-lang/expr. Allows overriding default type-based answer extraction with custom expressions.
CheckMark
New CheckMark type for customizing boolean column marks in CSV output (multi_select, checkbox, toggle). Pass via AnswersToCSV() or OutputOptions.CheckMark.
RepeatDescendants & Section-Type Truth Table
GroupNode now includes RepeatDescendants count. Section type is determined by:
AllowRepeat=false→groupAllowRepeat=true, RepeatDescendants > 0→repeat-listAllowRepeat=true, RepeatDescendants=0, has multi_select/checkbox→repeat-listAllowRepeat=true, RepeatDescendants=0, no multi_select/checkbox→repeat-table
Other Changes
- License: Changed from GPLv3 to MIT
- Agent Skill: Added bundled skill at
skills/surveygo/for AI coding agents - README: Redesigned with modern layout, badges, banner SVGs, and render output screenshots