v2.18.0
MagicMirrorOrg/MagicMirrorv2.18.0Jan 1, 2022by MichMich
AI Summary
Major testing overhaul with Playwright, template migration for modules, and language updates.
Key Highlights
- Migration from Spectron to Playwright for testing.
- Template migration for `updatenotification` and `alert` modules.
- New Korean and Dutch translations.
- ESLint now supports ECMAScript 2018.
New Features
- Playwright test framework migration
- Config option `dangerouslyDisableAutoEscaping` for newsfeed
- Shebang added to `installers/mm.sh`
Full Release Notes
## [2.18.0] - 2022-01-01 Special thanks to the following contributors: @AmpioRosso, @eouia, @fewieden, @jupadin, @khassel, @kolbyjack, @KristjanESPERANTO, @MariusVaice, @rejas, @rico24 and @sdetweil. ### Added - Added test for calendar recurring event with checks the correct date displayed (related to #2752). ### Updated - ESLint version supports now ECMAScript 2018. - Cleaned up `updatenotification` module and switched to nunjuck template. - Moved calendar tests from category `electron` to `e2e`. - Update missed translations for Korean language (ko.json). - Update missed translations for Dutch language (nl.json). - Cleaned up `alert` module and switched to nunjuck template. - Moved weather tests from category `electron` to `e2e`. - Updated github actions. - Replace spectron with playwright, update dependencies including electron update to v16. - Added lithuanian language to translations.js. - Show info message if newsfeed is empty (fixes #2731). - Added dangerouslyDisableAutoEscaping config option for newsfeed templates (fixes #2712). - Added missing shebang to `installers/mm.sh`. - Node versions in templates and github workflows. ### Fixed - Fixed wrong file `kr.json` to `ko.json`. Use language code 'ko' instead of 'kr' for Korean language. - Fixed `feels_like` data from openweathermaps current weather being ignored (#2678). - Fixed chaotic newsfeed display after network connection loss thanks to @jalibu (#2638). - Fixed incorrect time zone correction of recurring full day events (#2632 and #2634). - Fixed e2e tests by increasing testTimeout. - Revert node-ical update due to missing luxon package. - Fixed User-Agent-Header for newsfeed and calendar module (#2729). - Replace broken shields in Readme and use https for links. - Fixed electron tests with retry. - Fixed Calendar recurring cross timezone error (add/subtract a day, not just offset hours) (#2632). - Fixed Calendar showEnd and Full Date overlay (#2629). - Fixed regression on #2632, #2752. - Broadcast custom symbols in CALENDAR_EVENTS.