Repository navigation
v5.0.0
5.0.0 (2026-10-14)
BREAKING CHANGES
What a v4 consumer must change:
-
Mount
SpecialExamsProvideraboveSequenceExamWrapperandOuterExamTimer, withconfig,httpClient,logErrorandisAuthenticated(all required). A frontend-platform host maps its own values; a frontend-base host passes its site config, whose keys already have these names:<SpecialExamsProvider config={{ examsBaseUrl: getConfig().EXAMS_BASE_URL, lmsBaseUrl: getConfig().LMS_BASE_URL, siteName: getConfig().SITE_NAME, supportUrl: getConfig().SUPPORT_URL, contactUrl: getConfig().CONTACT_URL, proctoredExamFaqUrl: getConfig().PROCTORED_EXAM_FAQ_URL, proctoredExamRulesUrl: getConfig().PROCTORED_EXAM_RULES_URL, }} httpClient={getAuthenticatedHttpClient()} logError={logError} isAuthenticated={!!getAuthenticatedUser()} >
-
Stop mounting the
reducer: the export is gone, and the library no longer needs a reduxProvider. It does needreact-intl'sIntlProviderand@tanstack/react-query'sQueryClientProviderabove it, as both hosts already provide. -
useExamAccessToken()returns{ accessToken, isPending }instead of the token string;useFetchExamAccessTokenis removed (reading the token is what fetches it).useIsExam()is unchanged. -
The
SubmittedTimedExamInstructionsplugin slot is gone; pass a component assubmittedTimedExamInstructionsonSequenceExamWrapper(it receivestimeIsOver). A host that wants a plugin slot there wraps its own slot in that component. -
Peers:
@tanstack/react-query ^5,react-intl ^6 || ^10, React^18, Paragon^23;@edx/frontend-platform,react-redux,redux,@reduxjs/toolkit,react-routerandreact-router-domare no longer peers.
The README's Setup, Testing and Customization sections cover each.