Skip to content

Commit 343e7de

Browse files
MichMichkhasselSkySailsrejasveeck
authored
Release v2.25.0 (#3214)
## [2.25.0] - 2023-10-01 Thanks to: @bugsounet, @dgoth, @dependabot, @kenzal, @Knapoc, @KristjanESPERANTO, @martingron, @NolanKingdon, @Paranoid93, @TeddyStarinvest and @Ybbet. Special thanks to @khassel, @rejas and @sdetweil for taking over most (if not all) of the work on this release as project collaborators. This version would not be there without their effort. Thank you guys! You are awesome! > ⚠️ This release needs nodejs version >= `v18`, older releases have reached end of life and will not work! ### Added - Added UV Index support to OpenWeatherMap - Added 'hideDuplicates' flag to the calendar module - Added `allowOverrideNotification` to weather module to enable sending current weather objects with the `CURRENT_WEATHER_OVERRIDE` notification to supplement/replace the current weather displayed - Added optional AnimateCSS animate for `hide()`, `show()`, `updateDom()` - Added AnimateIn and animateOut in module config definition - Apply AnimateIn rules on the first start - Added automatic client page reload when server was restarted by setting `reloadAfterServerRestart: true` in `config.js`, per default `false` (#3105) - Added eventClass option for customEvents on the default calendar - Added AnimateCSS integration in tests suite (#3206) - Added npm dependabot [Reserved to developer] (#3210) - Added improved logging for calendar (#3110) ### Removed - **Breaking Change**: Removed `digest` authentication method from calendar module (which was already broken since release `2.15.0`) ### Updated - Update roboto fonts to version v5 - Update issue template - Update dev/dependencies incl. electron to v26 - Replace pretty-quick by lint-staged (<prettier/pretty-quick#164>) - Update engine node >=18. v16 reached it's end of life. (#3170) - Update typescript definition for modules - Cleaned up nunjuck templates - Replace `node-fetch` with internal fetch (#2649) and remove `digest-fetch` - Update the French translation according to the English file. - Update dependabot incl. vendor/fonts (monthly check) - Renew `package-lock.json` for release ### Fixed - Fix engine check on npm install (#3135) - Fix undefined formatTime method in clock module (#3143) - Fix clientonly startup fails after async added (#3151) - Fix electron width/heigth when using xrandr under bullseye - Fix time issue with certain recurring events in calendar module - Fix ipWhiteList test (#3179) - Fix newsfeed: Convert HTML entities, codes and tag in description (#3191) - Respect width/height (no fullscreen) if set in electronOptions (together with `fullscreen: false`) in `config.js` (#3174) - Fix: AnimateCSS merge hide() and show() animated css class when we do multiple call - Fix `Uncaught SyntaxError: Identifier 'getCorsUrl' has already been declared (at utils.js:1:1)` when using `clock` and `weather` module (#3204) - Fix overriding `config.js` when running tests (#3201) - Fix issue in weathergov provider with probability of precipitation not showing up on hourly or daily forecast --------- Signed-off-by: naveen <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Karsten Hassel <[email protected]> Co-authored-by: Malte Hallström <[email protected]> Co-authored-by: Veeck <[email protected]> Co-authored-by: veeck <[email protected]> Co-authored-by: dWoolridge <[email protected]> Co-authored-by: Johan <[email protected]> Co-authored-by: Dario Mratovich <[email protected]> Co-authored-by: Dario Mratovich <[email protected]> Co-authored-by: Magnus <[email protected]> Co-authored-by: Naveen <[email protected]> Co-authored-by: buxxi <[email protected]> Co-authored-by: Thomas Hirschberger <[email protected]> Co-authored-by: Kristjan ESPERANTO <[email protected]> Co-authored-by: Andrés Vanegas Jiménez <[email protected]> Co-authored-by: Dave Child <[email protected]> Co-authored-by: grenagit <[email protected]> Co-authored-by: Grena <[email protected]> Co-authored-by: Magnus Marthinsen <[email protected]> Co-authored-by: Patrick <[email protected]> Co-authored-by: Piotr Rajnisz <[email protected]> Co-authored-by: Suthep Yonphimai <[email protected]> Co-authored-by: CarJem Generations (Carter Wallace) <[email protected]> Co-authored-by: Nicholas Fogal <[email protected]> Co-authored-by: JakeBinney <[email protected]> Co-authored-by: OWL4C <[email protected]> Co-authored-by: Oscar Björkman <[email protected]> Co-authored-by: Ismar Slomic <[email protected]> Co-authored-by: Jørgen Veum-Wahlberg <[email protected]> Co-authored-by: Eddie Hung <[email protected]> Co-authored-by: Bugsounet - Cédric <[email protected]> Co-authored-by: bugsounet <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Knapoc <[email protected]> Co-authored-by: sam detweiler <[email protected]> Co-authored-by: veeck <[email protected]> Co-authored-by: Paranoid93 <[email protected]> Co-authored-by: NolanKingdon <[email protected]> Co-authored-by: J. Kenzal Hunter <[email protected]> Co-authored-by: Teddy <[email protected]> Co-authored-by: TeddyStarinvest <[email protected]> Co-authored-by: martingron <[email protected]> Co-authored-by: dgoth <[email protected]>
1 parent e87f50e commit 343e7de

File tree

80 files changed

+4956
-8883
lines changed

Some content is hidden

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

80 files changed

+4956
-8883
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ When submitting a new issue, please supply the following information:
4343

4444
**Platform**: Place your platform here... give us your web browser/Electron version _and_ your hardware (Raspberry Pi 2/3/4, Windows, Mac, Linux, System V UNIX).
4545

46-
**Node Version**: Make sure it's version 16 or later (recommended is 18).
46+
**Node Version**: Make sure it's version 18 or later (recommended is 20).
4747

4848
**MagicMirror² Version**: Please let us know which version of MagicMirror² you are running. It can be found in the `package.json` file.
4949

.github/ISSUE_TEMPLATE/custom.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ If you are facing an issue or found a bug while trying to install MagicMirror²
2222
If you are facing an issue or found a bug while running MagicMirror² inside a Docker container please create an issue in the corresponding repository:
2323
[https://gitlab.com/khassel/magicmirror](https://gitlab.com/khassel/magicmirror)
2424

25+
## I'm having troubles installing or configuring foreign modules
26+
27+
Please open an issue in the module repository or ask for help in the [forum](https://forum.magicmirror.builders/)
28+
2529
---
2630

2731
## I found a bug in MagicMirror
@@ -31,7 +35,7 @@ When submitting a new issue, please supply the following information:
3135

3236
**Platform**: Place your platform here... give us your web browser/Electron version _and_ your hardware (Raspberry Pi 2/3/4, Windows, Mac, Linux, System V UNIX).
3337

34-
**Node Version**: Make sure it's version 16 or later (recommended is 18).
38+
**Node Version**: Make sure it's version 18 or later (recommended is 20).
3539

3640
**MagicMirror² Version**: Please let us know which version of MagicMirror² you are running. It can be found in the `package.json` file.
3741

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Hello and thank you for wanting to contribute to the MagicMirror² project
33
**Please make sure that you have followed these 4 rules before submitting your Pull Request:**
44

55
> 1. Base your pull requests against the `develop` branch.
6-
>
76
> 2. Include these infos in the description:
87
>
98
> - Does the pull request solve a **related** issue?
@@ -13,7 +12,6 @@ Hello and thank you for wanting to contribute to the MagicMirror² project
1312
>
1413
> 3. Please run `npm run lint:prettier` before submitting so that
1514
> style issues are fixed.
16-
>
1715
> 4. Don't forget to add an entry about your changes to
1816
> the CHANGELOG.md file.
1917

.github/dependabot.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,21 @@ updates:
55
schedule:
66
interval: "weekly"
77
target-branch: "develop"
8+
9+
- package-ecosystem: "npm"
10+
directory: "/"
11+
schedule:
12+
interval: "monthly"
13+
target-branch: "develop"
14+
15+
- package-ecosystem: "npm"
16+
directory: "/vendor"
17+
schedule:
18+
interval: "monthly"
19+
target-branch: "develop"
20+
21+
- package-ecosystem: "npm"
22+
directory: "/fonts"
23+
schedule:
24+
interval: "monthly"
25+
target-branch: "develop"

.github/workflows/automated-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
timeout-minutes: 30
1919
strategy:
2020
matrix:
21-
node-version: [16.x, 18.x, 20.x]
21+
node-version: [18.x, 20.x]
2222
steps:
2323
- name: "Checkout code"
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525
- name: "Use Node.js ${{ matrix.node-version }}"
2626
uses: actions/setup-node@v3
2727
with:

.github/workflows/codecov-test-suites.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
timeout-minutes: 30
1919
steps:
2020
- name: "Checkout code"
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
- name: "Install dependencies"
2323
run: |
2424
npm ci

.github/workflows/depsreview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: "Checkout code"
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: "Dependency Review"
1818
uses: actions/dependency-review-action@v3

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
engine-strict=true
2+
audit=false

CHANGELOG.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@ 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.25.0] - 2023-10-01
9+
10+
Thanks to: @bugsounet, @dgoth, @dependabot, @kenzal, @Knapoc, @KristjanESPERANTO, @martingron, @NolanKingdon, @Paranoid93, @TeddyStarinvest and @Ybbet.
11+
12+
Special thanks to @khassel, @rejas and @sdetweil for taking over most (if not all) of the work on this release as project collaborators. This version would not be there without their effort. Thank you guys! You are awesome!
13+
14+
> ⚠️ This release needs nodejs version >= `v18`, older releases have reached end of life and will not work!
15+
16+
### Added
17+
18+
- Added UV Index support to OpenWeatherMap
19+
- Added 'hideDuplicates' flag to the calendar module
20+
- Added `allowOverrideNotification` to weather module to enable sending current weather objects with the `CURRENT_WEATHER_OVERRIDE` notification to supplement/replace the current weather displayed
21+
- Added optional AnimateCSS animate for `hide()`, `show()`, `updateDom()`
22+
- Added AnimateIn and animateOut in module config definition
23+
- Apply AnimateIn rules on the first start
24+
- Added automatic client page reload when server was restarted by setting `reloadAfterServerRestart: true` in `config.js`, per default `false` (#3105)
25+
- Added eventClass option for customEvents on the default calendar
26+
- Added AnimateCSS integration in tests suite (#3206)
27+
- Added npm dependabot [Reserved to developer] (#3210)
28+
- Added improved logging for calendar (#3110)
29+
30+
### Removed
31+
32+
- **Breaking Change**: Removed `digest` authentication method from calendar module (which was already broken since release `2.15.0`)
33+
34+
### Updated
35+
36+
- Update roboto fonts to version v5
37+
- Update issue template
38+
- Update dev/dependencies incl. electron to v26
39+
- Replace pretty-quick by lint-staged (<https://github.com/azz/pretty-quick/issues/164>)
40+
- Update engine node >=18. v16 reached it's end of life. (#3170)
41+
- Update typescript definition for modules
42+
- Cleaned up nunjuck templates
43+
- Replace `node-fetch` with internal fetch (#2649) and remove `digest-fetch`
44+
- Update the French translation according to the English file.
45+
- Update dependabot incl. vendor/fonts (monthly check)
46+
- Renew `package-lock.json` for release
47+
48+
### Fixed
49+
50+
- Fix engine check on npm install (#3135)
51+
- Fix undefined formatTime method in clock module (#3143)
52+
- Fix clientonly startup fails after async added (#3151)
53+
- Fix electron width/heigth when using xrandr under bullseye
54+
- Fix time issue with certain recurring events in calendar module
55+
- Fix ipWhiteList test (#3179)
56+
- Fix newsfeed: Convert HTML entities, codes and tag in description (#3191)
57+
- Respect width/height (no fullscreen) if set in electronOptions (together with `fullscreen: false`) in `config.js` (#3174)
58+
- Fix: AnimateCSS merge hide() and show() animated css class when we do multiple call
59+
- Fix `Uncaught SyntaxError: Identifier 'getCorsUrl' has already been declared (at utils.js:1:1)` when using `clock` and `weather` module (#3204)
60+
- Fix overriding `config.js` when running tests (#3201)
61+
- Fix issue in weathergov provider with probability of precipitation not showing up on hourly or daily forecast
62+
863
## [2.24.0] - 2023-07-01
964

1065
Thanks to: @angeldeejay, @bugsounet, @buxxi, @CarJem, @dariom, @DaveChild, @dWoolridge, @eddiehung, @grenagit, @Hirschberger, @ismarslomic, @JakeBinney, @KristjanESPERANTO, @MagMar94, @naveensrinivasan, @nfogal, @oscarb, @OWL4C, @psieg, @rajniszp, @retroflex, @SkySails and @tomzt
@@ -46,6 +101,7 @@ Special thanks to @khassel, @rejas and @sdetweil for taking over most (if not al
46101
- Fix date not shown when clock in analog mode (#3100)
47102
- Fix envcanada today percentage-of-precipitation (#3106)
48103
- Fix updatenotification where no branch is checked out but e.g. a version tag (#3130)
104+
- Fix yr weather provider after changes in yr API (#3189)
49105

50106
## [2.23.0] - 2023-04-04
51107

clientonly/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
.then(function (configReturn) {
8585
// Pass along the server config via an environment variable
8686
const env = Object.create(process.env);
87+
env.clientonly = true; // set to pass to electron.js
8788
const options = { env: env };
8889
configReturn.address = config.address;
8990
configReturn.port = config.port;

0 commit comments

Comments
 (0)