-
FIX: Leaflet/map is now displayed correctly even for guests and special pages where $post is not set (fallback to get_queried_object()).
-
= 1.9.8 =
- Fixed: Fixed an issue where the Leaflet map could fail to load on live/optimized sites due to script handle conflicts with themes or other plugins.
- Improved: Renamed Leaflet asset handles to unique, plugin-specific names to prevent collisions and ensure correct dependency resolution.
- Improved: Removed forced defer handling for Leaflet/map scripts to avoid broken load order when caching/optimization plugins are active.
- Improved: Improved map initialization logic to prevent infinite retry loops and reduce console spam when Leaflet isn’t available.
-
Improved: Kept Leaflet/map assets conditionally loaded only on pages where the widget/block/shortcode is actually rendered.
-
= 1.9.7 =
-
Experimental: Tide support added for testing — opt-in feature. Adds support for WorldTides (API key), NOAA (US-only), and a configurable custom endpoint. Shortcode support via extras=”tides” or tides=”1″. Admin visibility can be toggled while rolling out to selected users. Responses are cached; configure TTL in Settings.
-
= 1.9.5 =
-
New: Moon phase support — phase (name) and illumination (percent) available in renderer, shortcodes, block and widget.
-
= 1.9.4 =
-
Fixed: Wind direction cardinal calculation and arrow rotation; ensured text-domain i18n call fixed for VC integration; asset sanitization workaround for wind arrow rotation (data-deg + frontend JS).
-
= 1.9.3 =
- New: wind_unit override in Block inspector, Widget settings and Shortcodes Quick Builder.
- Improved: metric_knt preset for metric display with knots.
- Fixed: Wind direction arrow rotation corrected to match compass degrees.
- Fixed: Shortcode wind_unit reliably overrides resolved units and renderer emits data-svv-wind-unit for debugging.
- Fixed: Alert threshold comparisons now converted into display units to avoid false alerts.
- Fixed: PHP parse error in admin page resolved.
- Changed: Plugin version bumped to 1.9.3; readme stable tag updated.
- = 1.9.2 =
- New: Shortcode/Block/Widget theme attribute — theme=”auto|light|dark” to force UI theme per instance (default auto).
- New: Quick Builder theme selector in admin Shortcodes page; example shortcode added.
- Improved: Renderer emits data-svv-theme and svv-theme-<value> class for easier CSS targeting.
- Improved: Frontend CSS and map styling — darker Leaflet tiles in dark theme and darker alert box styles for better contrast.
-
Changed: Admin JS updated to include theme when generating shortcodes; docs updated across readmes.
-
= 1.9.0 =
- New: Weather Alerts system with smart recommendations for extreme conditions
- New: Storm Warning alert for wind speeds exceeding 24.5 m/s
- New: Settings Export & Import feature for easy configuration management
- New: Performance Dashboard to track API usage, cache efficiency, and response times
- New: Full Dark Mode support for all frontend and admin interfaces
- New: 3 Gutenberg Block Patterns (Compact, Detailed, Forecast)
- New: Alert toggles for Blocks, Widgets, and Shortcodes
- New: Wind direction display (wind_dir) — rotated arrow + cardinal labels (optional via show=wind_dir)
- New: Shortcode Quick Builder in admin Shortcodes page with selectable options, one-click copy and live preview
- New: Rotating Tips panel on the Settings page with contextual admin tips (Shortcodes, Alerts, Performance)
- New: Compact action buttons in the Tips panel for quick access to Shortcodes, Alerts and Performance
- New: “Reset to defaults” button on the Settings page (nonce-protected) to restore plugin defaults
- Improved: Tips text is translation-ready, rotates more slowly for readability (15s), and uses aria-live for accessibility
- Improved: animate attribute parsing is more tolerant (accepts 1, true, yes, on)
- Improved: Full English translation and i18n readiness (English is now the base language)
- Improved: Refined alert thresholds based on meteorological standards