Skip to content

Latest commit

 

History

History
448 lines (261 loc) · 20.1 KB

File metadata and controls

448 lines (261 loc) · 20.1 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

3.6.0 (2026-03-08)

Added

  • add showCurrentRain option and unify current weather info badge styling (a473168), closes #41

Documentation

  • update second screenshot (3e77df4)

Chores

3.5.1 (2026-03-08)

Fixed

  • show min temp before max temp in rows forecast layout (1d916fa)

3.5.0 (2026-03-08)

Added

  • add knots wind unit and showWindSpeedUnit option (e2a2dad), closes #39
  • add showHumidity option to current weather display (94447ef), closes #40

Fixed

  • wind direction arrows point in wind blowing direction (2736900), closes #37

Documentation

  • document scale option for degree label display (d19e883)
  • document showWind, showWindDirection, showWindDirectionAsArrow, and useBeaufortInCurrent options (2f7c09c)

Chores

3.4.3 (2026-03-05)

Fixed

  • css: remove weather-icons font classes from img to fix icon distortion (d0426ec)

3.4.2 (2026-03-04)

Fixed

  • css: prevent weathericon distortion by adding flex-shrink: 0 (a7d6d9c)

3.4.1 (2026-03-04)

Fixed

  • css: fix weather icon distortion and forecast icon centering (5858083), closes #36

Chores

3.4.0 (2026-03-01)

Added

  • disable WInd according to config: showWind (6a36e3f)

Fixed

  • respect showWind config in both forecast layouts (3191cee)

Chores

Code Refactoring

  • extract forecast table builders into separate methods (46345e4)
  • move getSnowDepthRatio and formatSnowValue to core/utils.mjs (151ed0a)

3.3.1 (2026-02-06)

Fixed

  • improve alert overlay z-index and prevent text wrapping (60552b6), closes #31

Chores

3.3.0 (2026-02-02)

Added

  • add interactive weather alerts popup (bb30206), closes #31

Documentation

Chores

  • add demo mode for testing weather alerts (80fd808)
  • fix formatting (e9be3de)
  • update devDependencies (fe0da60)

Code Refactoring

  • change socketNotificationReceived to use async/await and improve error handling (74a0e1f)

3.2.1 (2026-01-30)

Fixed

  • improve alert filtering with time window and deduplication (31eabe3)

Chores

  • improve precipitation display for zero values (3b70cbd)
  • lint demo config (22f3fdb)
  • update .prettierignore to include CHANGELOG.md (9159d7b)

3.2.0 (2026-01-30)

Added

Chores

  • remove old husky pre-commit hook (49108d2)
  • remove unnecessary @eslint/json dependency from package files (c8a5429)
  • update ESLint config to use recommended stylistic settings + autofix linter issues (9f1f532)

3.1.2 (2026-01-28)

Fixed

  • correct precipitation display for imperial units (3a27fa6)

3.1.1 (2026-01-28)

Fixed

  • correct wind speed conversion for imperial units (a9004ad), closes #30
  • update contributors format in package.json (31a7216)

Chores

3.1.0 (2026-01-25)

Added

  • add unit test setup with node:test (591e708)
  • add weather alerts to current block (#29) (e7538a2)
  • enable alerts display in weather module (4c376e3)

Fixed

  • add existence check for daily rain/snow data (3eaa4be)
  • add safety check for empty forecast data (3ec44a6)
  • correct API key validation check (ff71900)
  • correct mph2Beaufort algorithm (16844f9)
  • correct precipitation calculation for current weather (0c963d4)
  • prevent data bleeding between multiple module instances (04a26c1)
  • remove global data variable to prevent instance conflicts (f3e3603)

Chores

  • add demo config and script (a37535e)
  • add Oklahoma for testing alerts to demo config (2cd2214)
  • add release script (28390ac)
  • change runner from ubuntu-latest to ubuntu-slim in automated tests (8506945)
  • handle linter issues (f76e280)
  • replace husky with simple-git-hooks for pre-commit hooks (16f9ca1)
  • update actions/checkout to version 6 (7a40b2f)
  • update devDependencies (b12fddb)

Code Refactoring

  • extract utility functions to separate module (9694c3c)
  • improve weather alerts implementation (22f2b29)
  • remove unused convertOpenWeatherIdToIcon function (f5fb875)

3.0.0 - 2025-11-09

Added

  • feat: new configuration options for explicit layout control:
    • showCurrent (boolean): Show/hide current weather section (default: true)
    • showForecast (boolean): Show/hide forecast section (default: true)
    • forecastLayout ("columns" | "rows"): Days as table columns or rows (default: "columns")
    • arrangement ("vertical" | "horizontal"): Position forecast below or next to current weather (default: "vertical")

Changed

  • chore: update actions/checkout to v5 in automated tests workflow
  • chore: update actions/setup-node to v6 in automated tests workflow
  • chore: update devDependencies
  • docs: update README with new screenshots for all layout combinations
  • refactor: extract current weather block to helper method
  • refactor: implement native CSS nesting
  • refactor: modernize CSS with custom properties and improved organization
  • refactor: remove unused WeatherObject class
  • refactor: replace SVG wind icon with pure CSS compass design

Removed

  • BREAKING: removed layout configuration option
    • Migration: layout: "vertical"forecastLayout: "rows"
    • Migration: layout: "horizontal" → not directly mapped, was legacy option
    • Migration: layout: "default"forecastLayout: "columns" (default)

Fixed

  • fix: center wind speed within direction icon for all resolutions
  • fix: colored temperature option now works for both column and row layouts

2.7.3 - 2025-06-10

Changed

  • chore: add missing "type" field in package.json
  • chore: update devDependencies
  • docs: add missing description about windUnits option to README

2.7.2 - 2025-05-17

Changed

  • chore: review linter setup
  • chore: setup husky and lint-staged
  • chore: update devDependencies
  • refactor: update scripts to use node --run

2.7.1 - 2025-04-21

Changed

  • chore: clean up ESLint rules by removing unnecessary settings and improving consistency
  • chore: update devDependencies
  • chore: update ESLint configuration to use new import plugin structure
  • docs: add 'npm install' command to developer commands section
  • refactor: invert negated conditions
  • refactor: replace 'self' with 'that' for consistency in context binding

2.7.0 - 2025-03-18

Changed

  • Replace translations by translations from MagicMirror core. With that we increase the amount of available languages from 6 to 47.
  • chore: Update devDependencies

2.6.0 - 2025-03-17

Added

  • Esperanto translation
  • Swedish translation

Changed

  • chore: Update devDependencies

2.5.0 - 2025-03-12

Added

  • Russian translation

Changed

  • Replace dayjs by built-in Date API. With this, the module doesn't need a dependency to run anymore.

2.4.3 - 2025-03-12

Changed

  • Add CHANGELOG
  • chore: Update devDependencies
  • chore: Simplify stylelint-prettier config
  • chore: Update lockfileVersion to 3
  • chore: Add @eslint/markdown

2.4.2 - 2025-03-02

Changed

  • chore: Optimize logging (Log.debug -> Log.error)
  • chore: Add moduleName in CSS to avoid impact other module
  • chore: Add stylelint

2.4.1 - 2025-02-26

Fixed

  • chore: Fix linter and spelling issues

Changed

  • Replace "moment" by "dayjs"
  • chore: Update screenshot
  • chore: README: Add example icons to icon sets
  • chore: README: Add iconsetFormat to example config
  • chore: README: Several improvements
  • chore: Simplify ESLint call
  • chore: Update devDependencies
  • chore: Replace eslint-plugin-import by eslint-plugin-import-x
  • chore: Optimize @stylistic/eslint-plugin config
  • chore: Remove release script
  • chore: Add workflow for automated tests

2.4.0 - 2025-02-17

Changed

  • Add Weather Icons
  • Rework icon-preview
  • Refactor and CSS fixes

2.3.0 - 2025-02-16

Fixed

  • Add missing DOCTYPE to HTML file

Changed

  • Add Open Weather Icons
  • Replace PNG with SVG for wind symbols
  • chore: Update devDependencies

2.2.3 - 2024-12-10

Changed

  • Add Code of Conduct
  • chore: Add release script
  • chore: Add Developer commands to README
  • chore: Update devDependencies

2.2.2 - 2024-11-04

Fixed

  • Fix translation #12

Changed

  • Use npm ci in installation instructions and add update section to README
  • chore: Update devDependencies
  • chore: Upgrade ESlint to v9
  • chore: Handle linter issues
  • chore: Add dependabot
  • chore: Change LICENSE file to markdown format
  • chore: Add spell check
  • chore: Fix typos and remove comments

2.2.1 - 2024-01-28

Fixed

  • Fix not working colored option

Changed

  • Optimize logging
  • chore: Update devDependencies

2.1.1 - 2024-01-01

Changed

  • chore: Remove unused css and images
  • chore: Update devDependencies
  • chore: Update URLs in README
  • chore: Review lint process

2.1.0 - 2023-11-04

Fixed

  • Fix apiVersion handling

Changed

  • Replace axios by internal fetch API
  • Remove unused entries and set apiVersion default to 3.0
  • chore: Optimize README
  • chore: Update devDependencies
  • chore: Install linters and update dependencies
  • chore: Handle linter issues

2.0.0 - 2023-03-11 - Fork Release

This is the first release of the fork maintained by KristjanESPERANTO. The fork is based on the original module from Captsi.

The fork was announced in an issue on the original repository: Captsi#4.

Fixed

  • Fix installation by adding package.jsonand adapt installation instructions in README
  • Fix CSS syntax issues

Changed

  • chore: Add .gitignore to exclude node_modules from the repository
  • chore: Format code with prettier

1.0.0 - 2021-04-16

Initial release