The 10th Open edX release will be named Juniper.
Put stuff here that we have to remember when we start packaging up for Juniper. Especially important is information that system installers or operators will need to know. Please include your name when you add an item, so that we can get back to you with questions.
Juniper is gated by the upgrade to Django 2.2
As of April 27, it looks like all services will be upgraded and in production this week. The master branches can be created soon after that point. We are triaging issues () and will decide when to make the master branches based on that triaging.
A high-level upgrade guide is being collaboratively created here.
courseware_studentmodule
table to prevent running out of primary keys. These will likely be large, semi-manually done migrations on CSM and it's history table(s). Nothing is settled yet, but if we get this in before Juniper we will need to share our runbooks for anyone upgrading to it. (Brian Mesick (Deactivated))The relevant command to run before you run the rest of the migration is the following:
sudo -HEu www-data /edx/bin/python.edxapp /edx/bin/manage.edxapp lms migrate --fake auth 0009 |
JWT Cookies require JWK setup. This was disabled in Ironwood. Thanks to Pierre Mailhot for the following steps to generate and configure the JWT signing keys. (Robert Raposa, Nimisha Asthagiri (Deactivated))
sudo -H -u edxapp bash The last command generates values for JWT_PUBLIC_SIGNING_JWK_SET, JWT_PRIVATE_SIGNING_JWK and JWT_SIGNING_ALGORITHM that needs to be filled in into /edx/etc/lms.yml. After restarting the LMS and the CMS, you will be able to login. |
Alternatively, the following piece of code (created for Tutor) can be generated to manually generate the private/public signing keys.
sorl-thumbnail
from a version that didn't have migrations to one that does, so the initial migration needs to be faked in any environment that previously installed the old version: ./manage.py lms migrate thumbnail --fake
.check_course_access
has been renamed to check_course_access_with_redirect
. A new implementation of check_course_access
returns AccessResponse objects, rather than performing redirects when access is denied. check_course_access_with_redirect
is a drop-in replacement for the old behavior of check_course_access
. This is likely a breaking change for any code outside of edx-platform (such as plugin apps) that was using the check_course_access
function directly. See https://github.com/edx/edx-platform/pull/23651 for more information.Mobile Apps
|
OperationalError
exceptions being raised until the Ironwood instance is shutdown. (Slack thread)Impact on Your Code
ENABLE_COMPREHENSIVE_THEMING = True
in the edx-platform settings of both the LMS and the CMS.The Frontend Platform is a framework for Open edX micro-frontend applications. It provides a number of common services used by frontend apps, including analytics (Segment), logging (New Relic), authentication and HTTP/AJAX request client (Axios/JWT), and internationalization (React Intl). It also includes a number of helpful React components and utilities. The framework is highly configurable and extensible, allowing override implementations of analytics and logging, as well as a number of customization hooks for the application. It should be used as a basis for new micro-frontends. A detailed documentation site can be found here: https://edx.github.io/frontend-platform
Relevant ADRs
Based on Juniper Dates: 2019-01-17 to 2020-05-27
microsite_configuration
.login_user
, used by our login POST endpoints.'success': 'failure'
both before and after the change.