v2.12.0

MagicMirrorOrg/MagicMirrorv2.12.0Jul 1, 2020by MichMich

AI Summary

A release focused on code cleanup, logging configuration, and removing legacy font files while fixing compatibility issues from the previous update.

Key Highlights

  • Added configurable logging levels.
  • Added Met Office DataHub (UK) weather provider.
  • Removed truetype (ttf) fonts.
  • Fixed Socket.io compatibility issues from v2.11.0.

Breaking Changes

  • Removed truetype (ttf) fonts.

New Features

  • Configurable log level
  • Prettier for codebase
  • Hide Sunrise/Sunset in weather modules
  • Support multiple calendar instances
  • Cleaned up newsfeed module

Full Release Notes

## [2.12.0] - 2020-07-01

Special thanks to the following contributors: @AndreKoepke, @andrezibaia, @bryanzzhu, @chamakura, @DarthBrento, @Ekristoffe, @khassel, @Legion2, @ndom91, @radokristof, @rejas, @XBCreepinJesus & @ZoneMR.

ℹ️ **Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install`.

### Added

- Added option to config the level of logging.
- Added prettier for an even cleaner codebase.
- Hide Sunrise/Sunset in Weather module.
- Hide Sunrise/Sunset in Current Weather module.
- Added Met Office DataHub (UK) provider.

### Updated

- Cleaned up alert module code.
- Cleaned up check_config code.
- Replaced grunt-based linters with their non-grunt equivalents.
- Switch to most of the eslint:recommended rules and fix warnings.
- Replaced insecure links with https ones.
- Cleaned up all "no-undef" warnings from eslint.
- Added location title wrapping for calendar module.
- Updated the BG translation.

### Deleted

- Removed truetype (ttf) fonts.

### Fixed

- The broken modules due to Socket.io change from last release. [#1973](https://github.com/MichMich/MagicMirror/issues/1973)
- Add backward compatibility for old module code in socketclient.js. [#1973](https://github.com/MichMich/MagicMirror/issues/1973)
- Support multiple instances of calendar module with different config. [#1109](https://github.com/MichMich/MagicMirror/issues/1109)
- Fix the use of "maxNumberOfDays" in the module "weatherforecast". [#2018](https://github.com/MichMich/MagicMirror/issues/2018)
- Throw error when check_config fails. [#1928](https://github.com/MichMich/MagicMirror/issues/1928)
- Bug fix related to 'maxEntries' not displaying Calendar events. [#2050](https://github.com/MichMich/MagicMirror/issues/2050)
- Updated ical library to latest version. [#1926](https://github.com/MichMich/MagicMirror/issues/1926)