- Update to quby-compiler 0.3.6
Only support ruby 2.7 and up. Only specify needed rails dependencies. Fix kwargs warnings
- Fixed that abortable answer could not skip some "required-like" validations (min group answered)
- Fixed sliders not working correctly with group minimum/maximum answered validations
- Questionnaires can now load from pre-compiled JSON.
- Quby.lookup_table_repo removed.
- New score_schema subscore DSL
- Baselines can now be given as lookup-esque table
- [DEPRECATED] Baselines given as Ruby block are deprecated and going to be removed in 5.0
- Added option context_free_description
- Fix some options description html breaking table views.
- Added Answer#score_objects which exposes answer scores as Score and Subscore objects enriched with score schema information.
- BREAKING CHANGES: Renamed SubScoreSchema to SubscoreSchema. Renamed ScoreSchema#sub_score_schemas to #subscore_schemas.
- Added add_lookup_tree method to create a range_tree from within the dsl.
- Added Rails 6 compatibility
- Released to rubygems.org
- Changed normscore lookup to use a tree that is built from a single csv file.
- Add
required_components
attribute for date questions.
- 6x Faster loading of questionnaires.
- Added
flags
andtextvars
fields. AnswerRepos need to implement these fields. AnswerRepo#create
now receives an entity instead of a questionnaire key and a hash of attributes. This was not part of the public interface, so this shouldn't be breaking.
- Added
started_at
field. AnswerRepos need to implement this field.
- Increased required Virtus version from 1.0.0 to backward compatible 1.0.3.
- Removed default value for
Quby::Settings.shared_secret
. You will now have to set this yourself to an actual value.
- Moved lots of code. Added
Quby.questionnaires
andQuby.answers
which provide a stable API. You can still expect breakage on anything other than these two API endpoints while we clean up the rest of Quby.