Skip to content

Releases: WeRaDev/FilantropiaSolar

FilantropiaSolar v.1.2.3

14 Nov 15:25

Choose a tag to compare

πŸš€ FilantropiaSolar v1.2.3 – Windows Installer Hardening + Baseline Fixes

This release focuses on stabilizing the Windows desktop build and ensuring the Python package runs cleanly across environments, while preserving all functionality from v1.2.2.


🎯 Highlights

  • βœ… Tests: 32 passed, 1 skipped (tests/integration/test_data_processing.py::test_gui_components_integration), no failures.
  • βœ… Windows installer (FilantropiaSolar-setup-1.2.3-x64.exe) successfully built and tested on a fresh Windows machine.
  • βœ… Python package metadata and UI updated to v1.2.3 across the codebase.

πŸ›  Fixes & Improvements

1. Windows PyInstaller & SciPy Integration

  • Fixed runtime errors like:
    • ModuleNotFoundError: No module named 'scipy'
  • Updated filantropia_solar.spec to:
    • Explicitly include SciPy as a hidden import:
      • hidden += ['scipy']
    • Remove SciPy from the excludes list so scikit‑learn can import it at runtime.
  • Result: Windows EXE now runs without missing SciPy / sklearn dependencies.

2. Baseline Overlay (Lisbon 4-Year Averages)

  • Problem: Baseline min/avg/max overlay on the hourly energy chart was missing in the Windows build because average_values.csv wasn’t bundled.
  • Fixes:
    • Added average_values.csv to PyInstaller datas:
      • ('average_values.csv', '.')
    • Ensures get_resource_path("average_values.csv") finds the file in frozen builds.
  • Result: Hourly charts now show the Lisbon 4‑year baseline as:
    • Black vertical min–max lines.
    • Black 'x' markers at average energy, scaled by installation capacity.

3. NSIS Installer Script Hardening

  • Issues addressed:
    • SetRegView and LogSet used at global scope, causing errors:
      • command SetRegView not valid outside Section or Function
      • LogSet specified, NSIS_CONFIG_LOG not defined
  • Fixes in windows_installer/installer_v2.nsi:
    • Moved SetRegView 64 into:
      • Function .onInit
      • Function un.onInit
    • Removed LogSet usage entirely to be compatible with stock NSIS builds without logging support.
  • Result:
    • NSIS installer compiles cleanly on standard NSIS 3.x.
    • 64‑bit registry view is still enforced for install/uninstall.

4. Main Entry Point Logging Safety

  • Issue: If both filantropia_solar.* and src.* imports failed, the exception handler tried to use logger before it was defined, causing:
    • NameError: name 'logger' is not defined
  • Fix:
    • Create the logger before project imports in main.py:
      • logger = logging.getLogger(__name__)
    • _setup_logging() later configures handlers/levels, but the logger object is always available for early import error reporting.
  • Result:
    • More robust startup logging in both dev and frozen environments.

5. Version Alignment

  • Bumped version to 1.2.3 in:
    • pyproject.toml
    • src/filantropia_solar/__init__.py
    • main.py (docstring, window titles, loading screen text)
    • Windows installer:
      • windows_installer/installer_v2.nsi
      • windows_installer/installer.nsi (legacy)
    • Documentation:
      • README.md title + version badge.
      • CHANGELOG.md with a new [1.2.3] section.
      • Windows installer docs (BUILD_INSTRUCTIONS.md, README.md, WINDOWS_INSTALLER_SUMMARY.md).

6. Workflow Deprecation (Manual Release Flow)

  • All GitHub Actions workflows have been marked DEPRECATED and converted to manual workflow_dispatch only:
    • .github/workflows/build.yml
    • .github/workflows/ci-enhanced.yml
    • .github/workflows/ci-minimal.yml
    • .github/workflows/release.yml
    • .github/workflows/windows-installer.yml
  • No CI actions will run automatically on push or tag events for v1.2.3+.
  • Rationale: releases (especially Windows installers) are now built and tested manually on real Windows/macOS environments for predictable behavior.

πŸ“¦ Installation (Python Package)

pip install filantropia-solar==1.2.3

**Full Changelog**: https://github.com/WeRaDev/FilantropiaSolar/compare/v1.2.2...v1.2.3

FilantropiaSolar v1.0.3

16 Oct 02:49

Choose a tag to compare

πŸš€ FilantropiaSolar v1.0.3

🎯 What's New

πŸ“‹ Changes since v1.0.2:

  • πŸš€ FilantropiaSolar v1.0.3 - Smart Caching Edition…

πŸ“¦ Installation

pip install filantropia-solar==1.0.3

πŸ”— Links

Full Changelog: v1.0.2...v1.0.3

FilantropiaSolar v1.0.2

16 Oct 01:32

Choose a tag to compare

πŸš€ FilantropiaSolar v1.0.2

🎯 What's New

πŸ“‹ Changes since v1.0.0:

  • 🎨 Release v1.0.2: Enhanced Interactive Charts & UI Improvements…
  • fix: Add load option to Docker build for Trivy security scan
  • fix: Make container security scan non-blocking to fix CI workflow
  • docs: Add Warp Agent configuration and fix repository URLs
  • docs: Add comprehensive release summary for v1.0.0…
  • fix: Resolve Docker build pip install issues…
  • Security hardening: Update vulnerable dependencies and harden Dockerfile
  • Make container security and performance tests non-blocking for v1.0.0 release
  • Update package version to v1.0.0 to match release
  • Fix Docker build: Add missing LICENSE file and update Dockerfile for main.py
  • Final CI fixes: expand ignore list and auto-format remaining files
  • Fix CI workflow: Auto-fix linting issues and make checks non-blocking for v1.0.0
  • Fix pytest configuration - Remove warnings for custom marks
  • Fix CI workflow failures for v1.0.0 structure - Updated GUI module and tests

πŸ“¦ Installation

pip install filantropia-solar==1.0.2

πŸ”— Links

Full Changelog: v1.0.0...v1.0.2

FilantropiaSolar v1.0.0

14 Oct 19:14

Choose a tag to compare

πŸš€ FilantropiaSolar v1.0.0

🎯 What's New

  • Initial release of FilantropiaSolar

πŸ“¦ Installation

pip install filantropia-solar==1.0.0

πŸ”— Links

Full Changelog: https://github.com/WeRaDev/FilantropiaSolar/commits/v1.0.0