Skip to content

Releases: overhangio/tutor

v15.3.4

13 Apr 14:19
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==15.3.4"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.3.4/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Feature] Upgrade to open-release/olive.3. (by @regisb)

v15.3.3

22 Mar 15:17
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.3.3"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.3.3/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Improvement] Make it possible to extend or override the configuration of the uWSGI server. (by @MoisesGSalas)

  • [Improvement] Running tutor dev launch --mount=edx-platform now performs all necessary setup for a local edx-platform development. This includes running setup.py, installing node modules, and building assets; previously, those steps had to be run explicitly after bind-mounting a local copy of edx-platform (by @kdmccormick).

  • [Bugfix] Running jobs in development mode with tutor dev do ... will now correctly use the development image. Previously, it used the production image, just like tutor local do .... (by @kdmccormick)

  • [Improvement] Faster build with npm clean-install instead of npm install in the openedx Docker image. This may change the version of npm packages installed next to edx-platform. (by @regisb)

  • [Feature] Introduce the DOCKER_BUILD_COMMAND filter which makes it possible to customize the docker build command. (by @regisb)

  • [Improvement] During openedx image build, copy dockerize utility from Docker registry for better efficiency. (by @regisb)

  • [Improvement] Better highlight enabled plugins in tutor plugins list. (by @regisb)

  • [Bugfix] Make sure that v0 plugin patches are applied in the same order as plugins are listed. (by @regisb)

v15.3.2

13 Mar 18:41
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.3.2"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.3.2/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Bugfix] Use supported YouTube API for transcripts imports. (by @mariajgrimaldi)
  • [Feature] Add tutor config patches list CLI for listing available patches. (by @MaferMazu)
  • [Bugfix] Add the missing UWSGI_WORKERS env variables to the lms and cms k8s deployments. (by @MoisesGSalas)

v15.3.1

28 Feb 10:43
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.3.1"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.3.1/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Bugfix] patchStrategicMerge can now be applied to jobs. (by @keithgg)

v15.3.0

10 Feb 11:15
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.3.0"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.3.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Feature] Introduce plugin indexes, described in this Tutor enhancement proposal. This new feature introduces a lot of new plugins commands. See the docs for more information. (by @regisb)

  • [Improvement] Add the plugins list --enabled option. (by @regisb)

  • 💥[Improvement] Modify the output of plugins list. Enabled plugins are indicated as "enabled". Installed but not enabled plugins are no longer indicated as "disabled" but as "installed".

  • 💥[Feature] Simplify the hooks API. The modules tutor.hooks.actions, tutor.hooks.filters, and tutor.hooks.contexts are no longer part of the API. This change should not affect most developers, who only use the Actions and Filters classes (notice the plural) from tutor.hooks. (by @regisb)

    • Instead of tutor.hooks.actions.get("some:action"), use tutor.hooks.Actions.SOME_ACTION.
    • Instead of tutor.hooks.filters.get("some:filter"), use tutor.hooks.Filters.SOME_FILTER.
    • Instead of tutor.hooks.actions.add("some:action"), use tutor.hooks.Actions.SOME_ACTION.add(). The same applies to the do method.
    • Instead of tutor.hooks.filters.add("some:filter"), use tutor.hooks.Filters.SOME_FILTER.add(). The same applies to the add_item, add_items, apply, and iterate methods.
    • Instead of tutor.hooks.contexts.enter, use tutor.core.hooks.contexts.enter.
  • [Improvement] Make it possible to override the max upload size in the LMS and the CMS. This is achieved by moving the "caddyfile-lms" and "caddyfile-cms" patches just before the import proxy declarations. We also wrap the request_body directives within handle statements, which means that the max_body sizes can be overridden for specific paths. (by @regisb)

  • [Security] Fix grading issue in LTI consumer XBlock. See security advisory. (by @regisb)

  • [Feature] Upgrade all Open edX services to open-release/olive.2. (by @regisb)

v15.2.0

19 Jan 20:38
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.2.0"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.2.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • 💥[Bugfix] Fix "example.com" links in registration emails. This is a breaking change for platforms that have modified the "id" field of the LMS site object in the database. These platforms should set SITE_ID=1 in the common settings via a plugin. (by @regisb)
  • [Bugfix] Running tutor k8s upgrade --from=maple won't apply and won't wait for the MySQL deployment to be ready if RUN_MYSQL: false (When you host your MySQL somewhere else like RDS) (by @CodeWithEmad)
  • [Bugfix] Fix HTML component editing in studio by cherry-picking upstream fix. (by @regisb)
  • [Improvement] Changes annotations from typing to use built-in generic types from __future__.annotations (by @Carlos-Muniz)
  • [Improvement] Resolve CORS_ORIGIN_WHITELIST warnings that pollute the LMS and CMS logs. As far as we know they were not causing any issue, apart from being a nuisance. (by @regisb)

v15.1.0

13 Dec 17:57
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.1.0"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.1.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Improvement] Upgrade ipdb and ipython packages in the openedx development image. (by @regisb)
  • [Improvement] Skip unnecessary image building in development. This should make tutor dev launch slightly faster. (by @regisb)
  • [Bugfix] Fix Authn MFE login in development by disabling enterprise integration. (by @regisb)
  • [Bugfix] Fix "Invalid value for ‘--from’" when running tutor local upgrade --from=nutmeg. If you are facing this error, just run tutor local launch and your platform should be automatically upgraded.
  • [Bugfix] Fix "TypeError: Parameters to Generic[...] must all be type variables" error. This error may occur when upgrading from a very old installation of Tutor. It is due to an old version of the typing-extensions package.
  • 💥[Deprecation] Get rid of the quickstart command. v15.0.0 introduced a deprecation warning, but we actually want users to stop using this command. Instead, use launch (by @regisb).
  • [Improvement] Backfill persistent grades during upgrade from Nutmeg. If you observe missing grades after the upgrade from Nutmeg, run tutor local upgrade --from=nutmeg. (by @regisb)

v15.0.0

12 Dec 20:25
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v15.0.0"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v15.0.0/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • 💥[Feature] Upgrade to Olive (by @regisb):
    • Mypy type checking options were modified: developers are encouraged to add the --implicit-reexport option to their IDE.
  • [Bugfix] Update problem templates according newer python versions. (by @mariajgrimaldi)
  • [Improvement] Add the -h help option to all commands and subcommands. Previously, we could only use --help, which is quite long for lazy fingers. (by @regisb)
  • 💥[Feature] Add an extensible local/dev/k8s do ... command to trigger custom job commands. These commands are used to run a series of bash scripts in designated containers. Any plugin can add custom jobs thanks to the CLI_DO_COMMANDS filter. This causes the following breaking changes:
    • The "init", "createuser", "settheme", "importdemocourse" commands were all migrated to this new interface. For instance, tutor local init was replaced by tutor local do init.
    • Plugin developers are encouraged to replace calls to the COMMANDS_INIT and COMMANDS_PRE_INIT filters by CLI_DO_INIT_TASKS.
  • [Feature] Implement hook filter priorities, which work like action priorities. (by @regisb)
  • 💥[Improvement] Remove the local/dev bindmount commands, which have been marked as deprecated for some time. The --mount option should be used instead.
  • 💥[Bugfix] Fix local installation requirements. Plugins that implemented the "openedx-dockerfile-post-python-requirements" patch and that needed access to the edx-platform repo will no longer work. Instead, these plugins should implement the "openedx-dockerfile-pre-assets" patch. This scenario should be very rare, though. (by @regisb)
  • 💥[Improvement] Rename the implementation of tutor quickstart to tutor launch. (by @Carlos-Muniz)
  • 💥[Improvement] Remove the implementation of tutor dev runserver. (by @Carlos-Muniz)
  • [Bugfix] Fix MongoDB replica set connection error resulting from edx-platform's pymongo (3.10.1 -> 3.12.3) upgrade (edx-platform#30569). (by @ormsbee)
  • [Bugfix] Update celery invocations for lms-worker and cms-worker to be compatible with Celery 5 CLI.
  • [Improvement] Point CMS at its config file using CMS_CFG environment variable instead of deprecated STUDIO_CFG.

v14.2.3 (2022-12-06)

06 Dec 14:05
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v14.2.3"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v14.2.3/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Security] Fix rotation of JWT tokens for disabled users. (by @regisb)

v14.2.2 (2022-11-29)

29 Nov 11:31
Compare
Choose a tag to compare

Install this version from pip with:

pip install "tutor[full]==v14.2.2"

Or download the compiled binaries:

sudo curl -L "https://github.com/overhangio/tutor/releases/download/v14.2.2/tutor-$(uname -s)_$(uname -m)" -o /usr/local/bin/tutor
sudo chmod 0755 /usr/local/bin/tutor

See the installation docs for more installation options and instructions.

Changes

  • [Bugfix] Fix jinja2.exceptions.TemplateSyntaxError: expected token 'end of statement block', got '|' error by bumping the minimum required version of the Jinja2 package.
  • [Feature] Add support for MongoDB SSL, authentication source, mechanism and replica set via the MONGODB_USE_SSL, MONGODB_AUTH_MECHANISM, MONGODB_AUTH_SOURCE, MONGODB_REPLICA_SET settings. (by @zakum1 and @regisb)
  • [Bugfix] Fix tag of "openedx" development Docker image. Previously, this Docker tag did not include the Tutor version. As a consequence, a different cached image could be used in some cases. For instance: when running tutor dev run commands. Now, the image tag is "openedx-dev:TUTOR_VERSION".
  • [Bugfix] Fix name of Swahili locale: it is "sw-ke" and not "sw" (by @regisb).
  • [Security] Apply drag-n-drop v2 xblock security patch. (by @regisb)