Skip to content

Latest commit

 

History

History
59 lines (35 loc) · 1.39 KB

changelog.md

File metadata and controls

59 lines (35 loc) · 1.39 KB

Changelog

v1.0.5

  • add preserve_item_version option for survey_transform_to_12(), using default=False

v1.0.4

  • parse survey component properties as expression
  • make single item components optional
  • use typed python

v1.0.3

  • fix version id in survey template

v1.0.2

  • parse prefillRules and contextRules
  • render prefillRules and contextRules in html

v1.0.1

  • fix Survey versionId field
  • fix html rendering for metadata field
  • export read_survey_json at package level
  • expression string are quoted in html output

v1.0

Breaking change Survey model is now using the survey for study-engine from version 1.2.0 (history model refactoring)

  • Migrate to new survey model
  • Survey class has new properties .metadata, .version, and .survey_definition
  • survey_parse now accepts already parsed survey (or parse it if not)
  • expression description json now requires some fields (params, kind)
  • new function read_survey_json() to load a survey in json and transform it in new model if an old model is detected
  • survey_transform_to_* function to transform a survey (dictionary loaded from json) 1.1->1.2 and 1.2->1.1

v0.5

  • Fix imports

v0.4

  • Fix dependency

v0.3

Breaking change library is now under influenzanet.surveys namespace

v0.2

  • load templates using python modules, add html build helper

v0.1

Initial version, extracted from legacy ifncli repo.