-
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_URL
still points to generic version and we've added new url variable for HSL route planner namedHSL_ROUTE_GUIDE_URL
and new variableHSL_ROUTE_GUIDE_CITIES
which defines in which municipalitiesHSL_ROUTE_GUIDE_URL
should be used for. Translation keys have also been changed to reflect these changesunit.route.extra.routeGuide
is now text forREITTIOPAS_URL
andunit.route.extra.hslRouteGuide
forHSL_ROUTE_GUIDE_URL
- If you previously used
REITTIOPAS_URL
to set route guide link andunit.route.extra.hsl
to change the link text then you need to changeunit.route.extra.hsl
tounit.route.extra.routeGuide
- If you previously used