Skip to content

v2.2.0

Latest

Choose a tag to compare

@rendis rendis released this 13 Feb 14:57

What's New

Render Package

New render package for survey output generation with multiple formats:

  • CSVAnswersToCSV() with cartesian product expansion for repeat groups
  • HTMLAnswersToHTML() with independent CSS styling
  • JSONAnswersToJSON() structured survey card
  • TipTapAnswersToTipTap() rich text document
  • Tree visualizationDefinitionTreeHTML() / DefinitionTreeJSON() for survey structure
  • Multi-formatAnswersTo() 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=falsegroup
  • AllowRepeat=true, RepeatDescendants > 0repeat-list
  • AllowRepeat=true, RepeatDescendants=0, has multi_select/checkboxrepeat-list
  • AllowRepeat=true, RepeatDescendants=0, no multi_select/checkboxrepeat-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