|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -All notable changes to this project will be documented in this file. |
| 3 | +All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. |
4 | 4 |
|
5 | | -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
6 | | -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 5 | +## [3.1.0](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/compare/v3.0.0...v3.1.0) (2026-01-25) |
| 6 | + |
| 7 | +### Added |
| 8 | + |
| 9 | +- add unit test setup with node:test ([591e708](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/591e708eff95777fda17e661793fc37e36962d2f)) |
| 10 | +- add weather alerts to current block ([#29](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/issues/29)) ([e7538a2](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/e7538a2ba843abd54574b6fdac4847ae4247cd8c)) |
| 11 | + |
| 12 | +### Fixed |
| 13 | + |
| 14 | +- add existence check for daily rain/snow data ([3eaa4be](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/3eaa4be59565d767b38e61cf8e7b9c4834d9e00a)) |
| 15 | +- add safety check for empty forecast data ([3ec44a6](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/3ec44a67a10982b5097128ea782e8720a5888389)) |
| 16 | +- correct API key validation check ([ff71900](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/ff71900091b76ebc7110a0d253ca43651fc6507b)) |
| 17 | +- correct mph2Beaufort algorithm ([16844f9](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/16844f9c780186e434155e404e6d0899374aee16)) |
| 18 | +- correct precipitation calculation for current weather ([0c963d4](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/0c963d435c5d77df7875cedb796552fb79ff6ce9)) |
| 19 | +- prevent data bleeding between multiple module instances ([04a26c1](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/04a26c1eab9b478697764ab9047aae2fe52fe5db)) |
| 20 | +- remove global data variable to prevent instance conflicts ([f3e3603](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/f3e3603da830e36044bfdcf58b419ae9ba5d5fa9)) |
| 21 | + |
| 22 | +### Chores |
| 23 | + |
| 24 | +- add demo config and script ([a37535e](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/a37535e60d616a3857689286471e475304020816)) |
| 25 | +- add Oklahoma for testing alerts to demo config ([2cd2214](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/2cd22144d252031f46b7ec4506a926720a6a07c0)) |
| 26 | +- add release script ([28390ac](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/28390ac9805767052ed0720604fdee5432772664)) |
| 27 | +- change runner from ubuntu-latest to ubuntu-slim in automated tests ([8506945](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/8506945121835a6e196255576ecf05b8c887b049)) |
| 28 | +- handle linter issues ([f76e280](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/f76e280c9a281d02461a3ede51085050a4b14475)) |
| 29 | +- replace husky with simple-git-hooks for pre-commit hooks ([16f9ca1](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/16f9ca18211621094b6eb7717403fc281251c782)) |
| 30 | +- update actions/checkout to version 6 ([7a40b2f](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/7a40b2f7047b73a1b23ad5d4d49a29ea80066ce7)) |
| 31 | +- update devDependencies ([b12fddb](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/b12fddbb28a64382b618e80b1d497930f0dc5685)) |
| 32 | + |
| 33 | +### Code Refactoring |
| 34 | + |
| 35 | +- extract utility functions to separate module ([9694c3c](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/9694c3ca59e27b0998f6a51d8b72e5dbb2057a6d)) |
| 36 | +- improve weather alerts implementation ([22f2b29](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/22f2b2947012c3db9a1ff49dd6ade994c3ed4be1)) |
| 37 | +- remove unused convertOpenWeatherIdToIcon function ([f5fb875](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/commit/f5fb8755a74c952b34112b2677313091f27aac6d)) |
7 | 38 |
|
8 | 39 | ## [3.0.0](https://github.com/KristjanESPERANTO/MMM-OneCallWeather/compare/v2.7.3...v3.0.0) - 2025-11-09 |
9 | 40 |
|
|
0 commit comments