Skip to content

Commit 30d5bfe

Browse files
authored
Merge pull request #2873 from MichMich/develop
v2.20.0
2 parents a2d7cdc + b716ec3 commit 30d5bfe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2482
-3082
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"parserOptions": {
1818
"sourceType": "module",
19-
"ecmaVersion": 2018,
19+
"ecmaVersion": 2020,
2020
"ecmaFeatures": {
2121
"globalReturn": true
2222
}
File renamed without changes.
File renamed without changes.

.github/dependabot.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
File renamed without changes.

.github/workflows/automated-tests.yml renamed to .github/workflows/automated-tests.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@ on:
99
pull_request:
1010
branches: [master, develop]
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
test:
1417
runs-on: ubuntu-latest
1518
timeout-minutes: 30
1619
strategy:
1720
matrix:
18-
node-version: [14.x, 16.x, 17.x]
21+
node-version: [14.x, 16.x, 18.x]
1922
steps:
2023
- name: Checkout code
21-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3
2225
- name: Use Node.js ${{ matrix.node-version }}
2326
uses: actions/setup-node@v2
2427
with:

.github/workflows/codecov-test-suites.yml renamed to .github/workflows/codecov-test-suites.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This workflow runs the automated test and uploads the coverage results to codecov.io
2+
# For more information see: https://github.com/codecov/codecov-action
23

34
name: "Run Codecov Tests"
45

@@ -8,13 +9,16 @@ on:
89
pull_request:
910
branches: [master, develop]
1011

12+
permissions:
13+
contents: read
14+
1115
jobs:
1216
run-and-upload-coverage-report:
1317
runs-on: ubuntu-latest
1418
timeout-minutes: 30
1519
steps:
1620
- name: Checkout code
17-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
1822
- name: Install dependencies and run coverage
1923
run: |
2024
Xvfb :99 -screen 0 1024x768x16 &

.github/workflows/enforce-changelog.yml renamed to .github/workflows/enforce-changelog.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This workflow enforces the update of a changelog file on every pull request
2+
# For more information see: https://github.com/dangoslen/changelog-enforcer
23

34
name: "Enforce Changelog"
45

@@ -11,10 +12,8 @@ jobs:
1112
runs-on: ubuntu-latest
1213
timeout-minutes: 10
1314
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v2
1615
- name: Enforce changelog️
17-
uses: dangoslen/changelog-enforcer@v2
16+
uses: dangoslen/changelog-enforcer@v3
1817
with:
1918
changeLogPath: "CHANGELOG.md"
2019
skipLabels: "Skip Changelog"

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,38 @@ This project adheres to [Semantic Versioning](https://semver.org/).
55

66
❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror².
77

8+
## [2.20.0] - 2022-07-02
9+
10+
Special thanks to the following contributors: @eouia, @khassel, @kolbyjack, @KristjanESPERANTO, @nathannaveen, @naveensrinivasan, @rejas, @rohitdharavath and @sdetweil.
11+
12+
### Added
13+
14+
- Added a new config option `httpHeaders` used by helmet (see https://helmetjs.github.io/). You can now set own httpHeaders which will override the defaults in `js/defauls.js` which is useful e.g. if you want to embed MagicMirror into annother website (solves #2847).
15+
- Show endDate for calendar events when dateHeader is enabled and showEnd is set to true (#2192).
16+
- Added the notification emitting from the weather module on infromation updated.
17+
- Use recommended file extention for YAML files (#2864).
18+
19+
### Updated
20+
21+
- Use latest node 18 when running tests on github actions.
22+
- Update `electron` to v19 and other dependencies.
23+
- Use internal fetch function of node instead external `node-fetch` library if used node version >= `v18`.
24+
- Include duplicate events in broadcasts.
25+
26+
### Fixed
27+
28+
- Fix problems with non latin fonds caused by updating to fontsource (fixes #2835).
29+
830
## [2.19.0] - 2022-04-01
931

1032
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.
1133

1234
### Added
1335

1436
- Added a config option under the weather module, `absoluteDates`, providing an option to format weather forecast date output with either absolute or relative dates.
15-
- Added test for new weather forecast `absoluteDates` porperty.
37+
- Added test for new weather forecast `absoluteDates` property.
1638
- The modules get a class hidden added/removed if they get hidden/shown which will also toggle pointer-events.
17-
- 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.
39+
- Added new config option `showTitleAsUrl` to newsfeed module. If set, the displayed title is a link to the article which is useful when running in a browser and you want to read this article.
1840
- 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.
1941
- Added a WeatherProvider for Weatherflow.
2042
- Added new env var `ELECTRON_DISABLE_GPU` which disable gpu under electron if set (fixes #2831).
@@ -39,6 +61,7 @@ Special thanks to the following contributors: @10bias, @CFenner, @JHWelch, @k1rd
3961
- Don't adjust startDate for full day events if endDate is in the past.
4062
- Fix windspeed conversion error in openweathermap provider. (#2812)
4163
- Fix conflicting parms turning off showEnd for full day events. (#2629)
64+
- Fix regression, calendar.maximumEntries not used to filter calendar level entries (#2868)
4265

4366
## [2.18.0] - 2022-01-01
4467

fonts/package-lock.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)