fontdelbosc-eltemps/changelog.txt
2026-10-12 11:55:23 +00:00

43 lines
1.5 KiB
Text

== Changelog ==
= 1.0.0 =
_Release date: 2026-10-12_
**Highlights**
* Weather display for Font del Bosc (Mediona, Alt Penedès) with current conditions, hourly forecast, daily forecast and historical data.
**Added**
* Shortcode `[fontdelbosc_eltemps]` with `view` (current, hourly, daily, historical), `hours`, `days`, `year` and `month` attributes.
* Sidebar widget with current conditions or today's forecast.
* Meteocat (municipal forecast, XEMA stations), AEMET OpenData (daily and hourly municipal forecast) and Open-Meteo (current, forecast, ERA5 archive) integrations with automatic fallback chains.
* Transients caching with stale-while-error policy and configurable TTLs.
* Hourly WP-Cron event (fontdelbosc_refresh_weather) that keeps the caches warm; scheduled on activation, cleared on deactivation.
* Settings page (Settings → Font del Bosc Temps) with API keys, cache, attribution, uninstall options, connection tests and nearest XEMA station detection.
* Spanish (es_ES) and Catalan (ca) translations.
* Meteocons icons (MIT), bundled locally.
**Changed**
* Nothing; initial release.
**Fixed**
* Nothing; initial release.
**Security**
* Nonces and capability checks on all admin and AJAX endpoints; sanitization and escaping on all input and output.
**Compatibility**
* WordPress: 6.4 - 7.1
* PHP: 8.2 - 8.5
**Tests**
* PHP Coding Standards: 3.13.6 (WPCS 3.4.1, zero errors)
* PHPStan level max: 2.3.1 (zero errors)
* Plugin Check (PCP): pending (requires WP-CLI)