Releases: AtB-AS/planner-web
Releases · AtB-AS/planner-web
v2.25.0
What's changed
New features
- feat: add contact layout and subpages (#328) @jonasbrunvoll
- feat: add logic to interact with contact API (#327) @jonasbrunvoll
- feat: create contact page behind feature flag (#323) @jonasbrunvoll
Maintenance
- chore: add initialize map log event (#329) @mortennordseth
Full Changelog: v2.24.0...v2.25.0
v2.24.0
What's changed
New features
- feat: show destination display via information (#326) @mortennordseth
Full Changelog: v2.23.0...v2.24.0
v2.23.0
What's changed
New features
Bug fixes
- fix: initialize map on mobile devices when opened (#324) @mortennordseth
Full Changelog: v2.22.0...v2.23.0
v2.22.0
What's changed
New features
Bug fixes
- fix: add svipper links (#319) @mortennordseth
Full Changelog: v2.21.2...v2.22.0
v2.21.2
What's changed
Bug fixes
- fix: add hardcoded allow url for CORS svipper (#316) @mortennordseth
Full Changelog: v2.21.1...v2.21.2
v2.21.1
What's changed
Bug fixes
- fix: display departures in CET instead of local time (#313) @jonasbrunvoll
- fix: add condition to check whether passengers should stay seated between leg interchanges. (#312) @jonasbrunvoll
- fix: bottom links layout in the footer (#311) @mortennordseth
- fix: footer content for Svipper (#310) @mortennordseth
- fix: show correct day label for trip results (#308) @mortennordseth
Maintenance
- chore: generate widget version 2.21.1 (#315) @mortennordseth
- chore: upgrades dependencies (2024-08-01) (#314) @mikaelbr
- chore: upgrade theme and assets packages (#309) @mortennordseth
Full Changelog: v2.21.0...v2.21.1
v2.21.0
What's changed
New features
- feat: adds maximum interchange wait time to details page. Fixes #18410 (#305) @mikaelbr
- feat: updates dependencies and theme message box (#306) @mikaelbr
- feat: display global messages (#303) @mortennordseth
- feat: troms configuration (#304) @mortennordseth
Bug fixes
- fix: fix server side redirect error (#299) @adriansberg
Full Changelog: v2.20.2...v2.21.0
v2.20.2
What's changed
Bug fixes
Technical chores
- refactor: parse global messages using zod (#301) @mortennordseth
Full Changelog: v2.20.1...v2.20.2
v2.20.1
v2.20.0
What's changed
New features in Widget
- feat: extend widget with optional single column layout (#296) @jonasbrunvoll
- feat: adds the option to use an inherited font in the widget (#295) @mikaelbr
Example use of new features:
<script>
// Ensure that url base is same origin as the page where
// widget is loaded and the travel planner API
const widget = window.PlannerWeb.createWidget({
urlBase: 'https://reiseplanlegger.example.no/',
language: 'nn', // supports 'nb', 'nn' and 'en'
// Optional options
outputOverrideOptions: {
// Inherit font from page website.
// By default it uses Roboto as the hosted planner web solution.
inheritFont: false,
// Use single column design of widget layout
singleColumnLayout: false,
},
});
// After loading JS and CSS file it can be initialized
// using the following code:
widget.init();
</script>
Chores
Other changes that is not yet visible in the UI
- global messages context provider (#297) @mortennordseth
Full Changelog: v2.19.0...v2.20.0