v2.19.0
MagicMirrorOrg/MagicMirrorv2.19.0Apr 1, 2022by MichMich
AI Summary
Introduces absolute dates for weather, newsfeed title linking, and an internal CORS proxy to fix weather providers.
Key Highlights
- New `absoluteDates` option for weather forecast formatting.
- Newsfeed module can now link titles to articles.
- Internal CORS proxy to support weather providers without public proxies.
- New Weatherflow weather provider.
Breaking Changes
- Replaced deprecated modules `currentweather` and `weatherforecast` with dummy modules.
New Features
- Config option `showTitleAsUrl` for newsfeed
- Internal CORS proxy URL support
- Weatherflow weather provider
- Environment variable `ELECTRON_DISABLE_GPU`
Full Release Notes
## [2.19.0] - 2022-04-01 Special thanks to the following contributors: @10bias, @CFenner, @JHWelch, @k1rd3rf, @khassel, @kolbyjack, @krekos, @KristjanESPERANTO, @Nerfzooka, @oraclesean, @oscarb, @philnagel, @rejas, @sdetweil, @shin10, @SiderealArt and @Tom-Hirschberger. ### Added - Added a config option under the weather module, `absoluteDates`, providing an option to format weather forecast date output with either absolute or relative dates. - Added test for new weather forecast `absoluteDates` porperty. - The modules get a class hidden added/removed if they get hidden/shown which will also toggle pointer-events. - Added new config option `showTitleAsUrl` to newsfeed module. If set, the diplayed title is a link to the article which is useful when running in a browser and you want to read this article. - Added internal cors proxy to get weather providers working without public proxies (fixes #2714). The new url `http(s)://address:port/cors?url=https://whatever-to-proxy` can be used in other modules too. - Added a WeatherProvider for Weatherflow. - Added new env var `ELECTRON_DISABLE_GPU` which disable gpu under electron if set (fixes #2831). - Added missing Czech translations. ### Updated - Deprecated roboto fonts package `roboto-fontface-bower` replaced with `fontsource`. - Update `electron` to v17, `helmet` to v5 (use defaults of v4) and other dependencies - Updates Font Awesome css class to new default style (fixes #2768) - Replaced deprecated modules `currentweather` and `weatherforecast` with dummy modules only displaying that they have to be replaced. - Include all calendar events from the configured date range when broadcasting. - Update Danish and German translation. - Update `node-ical` to v0.15 and added `luxon` as dependency for not breaking the "no-optional" install (see #2718 and #2824). ### Fixed - Improved and speedup e2e tests, artificial wait after mm start removed. - Improved husky setup not blocking `git commit` if `husky` or `npm` is not installed. - Using a consistent spelling of MagicMirror². - Fix minor console output issue for loading translations (#2814). - Don't adjust startDate for full day events if endDate is in the past. - Fix windspeed conversion error in openweathermap provider. (#2812) - Fix conflicting parms turning off showEnd for full day events. (#2629)