Skip to content

Release Notes: Version 2.4.0 Beta 1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 13 May 05:19

This release focuses on hardening the integration's core logic, modernizing the infrastructure, and introducing smart operational status tracking for better accuracy.

New Features

⏱️ Smart Operational Status [#21]

  • Season & Time Awareness: The "Status" sensor now intelligently considers both seasonal dates and daily operating hours to provide a more accurate "Open" or "Closed" state.
  • Enhanced Metadata: Added new attributes for operating_hours_start, operating_hours_end, season_start, and season_end to the status sensor.

Improvements & Fixes

Infrastructure & Automation

  • Dependabot Integration: Automated weekly security and version checks for all dependencies and GitHub Action workflows.
  • CI/CD Modernization: Updated all workflows to the latest stable versions (v6) and ensured full compatibility with Node.js 24 runners.
  • Standardized Requirements: Moved dependency management to root-level requirements.txt and requirements-test.txt.

Security & Reliability

  • Critical Security Fix: Updated lxml to >=6.1.0 to address a potential external entity injection (XXE) vulnerability (CVE-2026-41066).
  • Robust Parsing: Overhauled the parser to handle Bergfex's various layout designs (including newer span-based structures) more reliably.
  • Keyword Hardening: Applied surgical fixes to keyword discrepancies across 17 languages to improve parsing accuracy and removed obsolete keys.
  • Early Warning System: Introduced internal validation scripts (check_live_site.py) to detect structural changes on the Bergfex website automatically.

Bug Fixes

  • Cross-Country (Loipen): Fixed 404 errors by correcting the URL generation logic for cross-country specific reports.
  • Resort Name Parsing: Fixed an issue where the resort name was sometimes missing due to recent Bergfex layout changes.
  • Workflow Stability: Added missing aiohttp dependency to the validation workflows.

Installation

As this is a beta release, it is recommended for testing purposes. If using HACS, ensure "Show beta" is enabled for the Bergfex Snow Report repository.

For manual installation, replace the custom_components/bergfex directory with the contents of this release.