Skip to content

Migration guide

AleksiP edited this page May 9, 2022 · 5 revisions

Migration guide

Here is list of breaking changes for new versions.

v1.3.0

  • 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 named HSL_ROUTE_GUIDE_URL and new variable HSL_ROUTE_GUIDE_CITIES which defines in which municipalities HSL_ROUTE_GUIDE_URL should be used for. Translation keys have also been changed to reflect these changes unit.route.extra.routeGuide is now text for REITTIOPAS_URL and unit.route.extra.hslRouteGuide for HSL_ROUTE_GUIDE_URL
    • If you previously used REITTIOPAS_URL to set route guide link and unit.route.extra.hsl to change the link text then you need to change unit.route.extra.hsl to unit.route.extra.routeGuide

Clone this wiki locally