Skip to content

v7.0.0

Compare
Choose a tag to compare
@geoffrey-wu geoffrey-wu released this 03 May 19:42
· 333 commits to main since this release

Normalize tossup and bonus field names so that they match with MODAQ and follow a regular pattern. The summary is that fields with HTML formatting have their normal names, and fields without are appended with _sanitized. These are the following changes:

Bug Fixes

  • #270 Fix answers in frequency lines
  • Fix questionText and questionTextSplit generation for singleplayer tossups

API Changes

See #268 for a summary of all changes.

  • Change difficulties -> difficultyModifiers
  • #269 remove the "type" field from API
  • Fix tests associated with API changes af7b088
  • Update logic to assume tossup.question contains powermark bolding (so we don't need to add it ourselves)

Plus, the following changes, as summarized before:

Tossups:

  • unformatted_question -> question_sanitized
  • formatted_answer -> answer
  • unformatted_answer -> answer_sanitized

Bonuses:

  • unformatted_leadin -> leadin_sanitized
  • unformatted_parts -> parts_sanitized
  • formatted_answers -> answers
  • unformatted_answers -> answers_sanitized

Full Changelog: v7.0.0...v6.1.0