Releases: Learnosity/learnosity-qti
v2.1.0
Learnosity QTI v2.0.0
This is a major version release, which includes numerous improvements and bug fixes since v1.2, and introduces some new features in the conversion to Learnosity as well as significantly more stable support for conversion to QTI v2.1 from Learnosity content. This release contains several changes that are backwards incompatible.
Important: This release removes support for PHP v5.6 and lower, and is the first version that officially supports only PHP 7.0^.
Added
General
- Added an open-source LICENSE file (MIT license) [0906c00].
- Added baseline composer.lock file for use with continuous integration [0031332].
QTI (v2.1) to Learnosity
- Added support for converting LOM to Learnosity tags [1b4aa6e].
- Added new CLI option
--passage-only-items
for conversion of Items containing only passage content [e592f9c, c5ce2ed]. - Added new CLI option
--single-item
for conversion of a single<assessmentItem>
file instead of a manifest [521d825]. - Added support for conversion of
GraphicGapMatchInteraction
toimageclozeassociationV2
[e32ee8c, b4390bb, e8c7552]. - Added support for generating
distractor_rationale_response_level
from<rubricBlock>
withuse="rationale"
[2a874ce, 401602d]. - Added support for generating
distractor_rationale_per_response
for tutors/scorers, fromrubricBlock
withuse="rationale"
[5ced768]. - Added support for conversion of
"webcontent"
resource types (i.e. passage-only Items) [b1ede91]. - Added
features
array to the Item content output [d56f976]. - Added width and height attribute to
<img>
tags [59f6cef].
Learnosity to QTI (v2.1)
- Added imsmanifest.xml to output and started using IMS content package format [95526cb].
- Added support for converting
shorttext
,clozetext
/dropdown
/association
to QTI [7f8354f, 3113479]. - Added support for converting feature widgets to QTI [e1c84ce, 3113479].
- Added support for audio and video feature conversion [3113479].
- Improved support for converting enhanced Question types [7ab024e].
- Enabled handling Items using Item reference objects format [48495d0].
- Supported exporting audio, video + image media files to their own output directoy [dfe7649].
- Allowed conversion of
sharedpassage
to HTML resource files [49b2a35]. - Supported Question-level conversion, validation, and
feedbackInline
[cdcbd07]. - Included
<responseProcessing>
and override<responseDeclaration>
for longtext and plaintext Question types [89424a5, 0bae33a]. - Allowed conversion of Items without an Activity [0164673].
- Added a check that ZipArchive extension is enabled when generating IMS content package [064d6a4].
Changed
General
- Updated base supported version to PHP 7.1 [aa40c3f].
QTI (v2.1) to Learnosity
- Generate specific Item and widget references for passages [c4d35cb].
- Changed the name of the custom metadata field
distractor_rationale_author
to bedistractor_rationale_scorer
[70e7f58].
Learnosity to QTI (v2.1)
- Always build
<responseProcessing>
forlongtext
Question types [dd7c2fd]. - Remove extraneous whitespace (CR, LF, TAB) from QTI output [441f740].
Documentation
- Added a notice describing the open-source nature of this library [543fb7a].
- Updated README for v2.0 release [d0f4407] including usage documentation on new CLI flags, conversion features and LOM/tagging information in v2.0.0 [946862e, 026e549].
- Updated "Unsupported" section of the README [8be1c99].
- Added a guide on how to use this library in development mode via composer [e797bfe].
- Documented lists of supported interaction/Question types for conversion by this library [1cb0026].
Fixed
General
- Fixed calls to non-static methods from static methods that now produce an E_NOTICE in PHP 7.2+ [eead1c4].
- Fixed an issue where the stem of multi-part Question were being stripped [161d304].
- Fixed #31: added OS-agnostic directory separator, and removed colon from log filename [1c2e59f].
- Fixed #30: incorrect path in
mo
runner pointing to vendor folder [c92bce3]. - Fixed an issue with autoloading the
mo
runner from different locations [f862066].
QTI (v2.1) to Learnosity
- Fixed a fatal error in
convert:to:learnosity
a missing use statement inHotspotInteractionMapper
[1cdb86c]. - Fixed a fatal error that occured if the conversion results were empty [e59e2d4].
- Fixed handling of object HTML [e93ee89].
- Fixed bad order of arguments in calls to
ConvertToLearnosityService::convertAssessmentItem()
that brokeconvert:to:learnosity
[0ba1894]. - Put
feedbackInline
into Question metadata [e93ee89].
cing after<hottext>
elements intokenhighlight
[c42c08b, 20525d8]. - Fixed various issues with the output of fields in the Item definition (template, widgets) [8647bf2].
- Fixed erroneous base asset URL for audio import [91981a3].
- Fixed incorrect
imageclozeassociationV2
image path [e0a0f90]. - Fixed output & asset path for
audioplayer
feature [ed2feef]. - Fixed 'scorer' rubrics so that they are created as separate items [fcaf9ae].
- Removed extra wrapping
<div>
that was added to stimulus [ee926e4]. - Removed unnecessary fields from converted Learnosity Item output [06bd1cb].
- Removed redundant Item properties when converting with
--single-item
enabled [861fb54]. - Fixed missing width/height attributes from QTI image objects [12d55e5].
- Fixed incorrect image paths for background images in the
hotspot
Question type. [570ca35]. - Fixed conversion to the
clozeassociation
Question type to allow for legal<div>
tags in the template field [5a01f99]. - Fixed issues with conversion of
<rubricBlock>
withclass=DistractorRationale
[56b372c]. - Fixed various issues in
longtext
andplaintext
validation [f7b6d0a].
Learnosity to QTI (v2.1)
- Fixed a fatal error caused by ignored Items [43cddb1].
- Fixed self-closing tags with extra trailing slashes (
//>
) [9fbf736, c0472c9]. - Fixed issues with incorrect or orphaned constant names that broke asset file paths [1ad9e07].
- Fixed an issue with invalid resource identifiers in the output manifest, by prefixing
'i'
to converted resource identifiers [699e033]. - Fixed MathML content namespace issues by normalizing the namespace on
<math>
and disallowingxmlns:default
[6b90235]. - Fixed a missing use statement for
LongtextValidationBuilder
that broke conversion forlongtext
[ce81970]. - Fixed an issue where encoded HTML chars could appear in passage-only feature Items [d97e646].
- Fixed a bug in the way resources were processed from the manifest [62f4a13].
- Fixed a bug that broke features without headings [62f4a13].
- Fixed the imsmanifest to ensure it includes Item resources [e7e87d7].
- Fixed issues in
shorttext
andaudioplayer
Questions [e7e87d7]. - Fixed a fatal error when converting
audioplayer
orvideoplayer
media to QTI [f9386b9]. - Fixed an issue with looking up the MIME type extension of assets [3acd38a].
- Fixed a bug with MathML namespaces that broke the conversion of MathMLcontent [3acd38a].
- Trim newlines from
<OrderInteraction>
[9e4e6ef].
Learnosity QTI v1.2.1
Bug fixes
- Fixed an issue when using
mo
with composer where the path to the composer autoloader could be incorrect.
Learnosity QTI v1.2.0
Features
qti:to:learnosity
: Added support for new command line argumentitem-reference-source
. This argument provides several options to select where the Item reference will be sourced from (e.g. LOM metadata, the<assessmentItem>
, or the QTI XML file name).
Bug fixes
- Fixed bugs caused by invalid references to the class
qtism\data\content\xhtml\Object
. - Fixed bugs caused by breaking changes in the most recent update of the
qtism/qtism
vendor library. qti:to:learnosity
: Fixed an issue where Items converted directly from QTI XML were output to legacy v0 Item JSON format, rather than the current v1 Item JSON format.- Fixed errors caused by incorrect attributes and constructor parameters in the
imageclozeassociation
question type model. qti:to:learnosity
: Fixed handling of an edge case where one or more assessment items being converted produce no valid questions or features. Previously, this case would throw a fatal exception that kills the conversion process; now, the conversion is no longer interrupted and the resulting Item is logged.qti:to:learnosity
: Fixed handling of<sum>
and other response processing expressions when they are nested under certain elements in the<responseProcessing>
block.qti:to:learnosity
: Fixed errors caused by an undefined variable$mode
inGapMatchInteractionValidationBuilder
.
Learnosity QTI v1.1.0
- Added support for PHP 7.0+.
Learnosity QTI v1.0.0
v1.0.0
Added a cli command tool to enable clients to run the conversion process through a terminal.
Added the ability to import the whole content package (previously, the library can only import one file at a time).
Added the ability to parse the section and convert them to Learnosity validation rules.
Improved the handling of rubrics to better identify student/author distractor rationales.
Extracted items to Learnosity item v1 format.
Added various bug fixes and enhancements from the previous version.
[RELEASE] 0.9.0
v0.9.0 Updates
[RELEASE] v0.8.0
Added support for assessment test parsing and updated QTI SDK
[RELEASE] v0.7.0
Added more documentation on hotspot
[RELEASE] v0.6.1
FIxed HTML entities does not converted correctly bug