Skip to content

TIOJ 3.2.1

Choose a tag to compare

@adrien1018 adrien1018 released this 14 Mar 07:45
· 24 commits to main since this release
2bba2e0

This is a bug-fix release.

Important Upgrade Note

Because of a bug in the migration script in v3.2.0, if you have previously upgraded to v3.2.0, the display type in some sample testdata might be wrong. You can fix them by either:

  • Run RAILS_ENV=production rails db:rollback && RAILS_ENV=production rails db:migrate to automatically fix it.
    NOTE: If you have manually set the display type of some of the sample testdata after migrating to v3.2.0, running this will reset all the changes!
  • Run rails sample:identify_non_plaintext [detail=1] to list all sample testdata that is either non-plaintext or previously marked as non-plaintext, and manually check them.
    Note that there may be some plaintext testdata marked as non-plaintext (those containing parentheses), and also some non-plaintext testdata not marked as non-plaintext (those containing HTML escape sequences).

The bug won't occur if you didn't upgrade to v3.2.0. Just directly upgrade to v3.2.1 if that's the case.

Changes & Bug Fixes

  • Add plain markdown format for sample testdata, and rename the pre-v3.2.0 display behavior from "markdown" to "Raw HTML"
  • Fix incorrect plaintext sample testdata detection in migration (#44)