Release notes for WeBWorK 2.20

From WeBWorK_wiki
Revision as of 08:50, 29 April 2025 by Glennric (talk | contribs) (Created page with "{{UnderConstruction}} {{Warning|This page should be considered incomplete until the release of 2.20 has been announced}} == New WeBWorK Features == * TODO == New PG Featur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  • TODO

New PG Features and Improvements

  • TODO

Breaking changes

  • TODO

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
  • The following perl packages will need to be installed (run bin/check_modules.pl to ensure you have all programs/modules)
    • TODO (I don't think there have been any dependency changes really)
  • 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.