-
Notifications
You must be signed in to change notification settings - Fork 11
Migration guide
AleksiP edited this page May 25, 2022
·
5 revisions
Here is list of breaking changes for new versions.
Breaking changes Material UI got big changes and they've gotten rid of enzyme in favor of react testing library. This means many of the jest tests have become deprecated and we've updated jest tests to use react testing library. This means if you have some additional tests you probably should move to use react testing library.
Also many things have changed in Material UI v5 if you have other problems please check https://mui.com/material-ui/guides/migration-v4/
Breaking changes
- Link for route planner has been changed to dynamic based on municipality. For this reason we've separated HSL route planner from generic route planner. Environment variable
REITTIOPAS_URLstill points to generic version and we've added new url variable for HSL route planner namedHSL_ROUTE_GUIDE_URLand new variableHSL_ROUTE_GUIDE_CITIESwhich defines in which municipalitiesHSL_ROUTE_GUIDE_URLshould be used for. Translation keys have also been changed to reflect these changesunit.route.extra.routeGuideis now text forREITTIOPAS_URLandunit.route.extra.hslRouteGuideforHSL_ROUTE_GUIDE_URL- If you previously used
REITTIOPAS_URLto set route guide link andunit.route.extra.hslto change the link text then you need to changeunit.route.extra.hsltounit.route.extra.routeGuide
- If you previously used