Release notes for WeBWorK 2.20

From WeBWorK_wiki
Jump to navigation Jump to search
Construction.png This article is under construction. Use the information herein with caution until this message is removed.
Warning : This page should be considered incomplete until the release of 2.20 has been announced

New WeBWorK Features

  • Improvements to efficiency of database calls
  • Fix a memory leak
  • Change student and instructor emails from plain text to HTML
  • LTI Section information
  • You can now load a problem directly from the Problem Editor, or start with any of the sample problems
  • Use achievement item form??
  • Change field types when upgrading database - update tables in admin course
  • Improvements to adding users when creating a new course
  • Add the ability to manage secrets for two-factor authentication to the admin interface
  • More configurability for when grades are sent back to the Learning Management System using LTI
  • Update the Shibboleth authentication module to work with the current version of WeBWorK
  • Fix error in displaying how often grades are sent back to the LMS
  • Problem editor upgraded to CodeMirror 6 - introduces new features - accordioning, text completion
  • Add option for LTI 1.3 where students can work on assignments even if they are not linked to the LMS and grade passback is set to homework
  • Importing set definition files with paths to problem files that contain spaces now works

New PG Features and Improvements

  • TODO

Breaking changes

  • custom_problem_grader_0_60_100 has been removed. Problems should be converted to custom_problem_fluid

Deprecated Functionality

  • TODO

Upgrade Instructions

  • First update the webwork2 and pg code. For this run
    > cd /opt/webwork/webwork2
    > git fetch origin
    > git checkout WeBWorK-2.20
    > git pull
    > cd /opt/webwork/pg
    > git fetch origin
    > git checkout PG-2.20
    > git pull
  • Update the javascript and css assets for webwork2 and pg with
    > cd /opt/webwork/webwork2/htdocs
    > npm ci
    > cd /opt/webwork/pg/htdocs
    > npm ci
  • Run bin/check_modules.pl to ensure you have all programs/modules (although there are no new dependencies for this release).
  • Restart the webwork2 server: >sudo systemctl restart webwork2
  • If you use the webwork2 job queue, then that will also need to be restarted. Do that with: >sudo systemctl restart webwork2-job-queue
  • You should update the modelCourse via: rsync -av /opt/webwork/webwork2/courses.dist/modelCourse/ /opt/webwork/courses/modelCourse/
  • Upgrade the admin course by executing the upgrade_admin_db.pl script.
  • Make sure to upgrade courses from the admin course to relegate changes to the database.