Skip to content

Commit e73c628

Browse files
Make backend compatible with main branch SQLite implementation and fix JS errors
Co-authored-by: CodersAcademy006 <104912634+CodersAcademy006@users.noreply.github.com>
1 parent b9721ea commit e73c628

File tree

4 files changed

+831
-698
lines changed

4 files changed

+831
-698
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ All notable changes to IntelliWeather API will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.0.1] - 2024-11-29
9+
10+
### Fixed - Main Branch Compatibility
11+
12+
#### Backend Compatibility
13+
- **SQLite Integration**: Merged SQLite database functions from main branch for seamless compatibility
14+
- **Graceful Fallbacks**: All Phase 2/3 modules now load conditionally with graceful fallbacks
15+
- **Error Handling**: Improved try/catch blocks for all module imports to prevent crashes
16+
- **Database Initialization**: Combined SQLite init with CSV storage initialization
17+
18+
#### Frontend Fixes
19+
- **Theme Manager**: Added null checks for `window.themeManager` to prevent undefined errors
20+
- **Script Loading**: Fixed race condition in theme initialization
21+
22+
#### Documentation
23+
- Updated CHANGELOG with compatibility fixes
24+
- Confirmed all 27 tests pass
25+
26+
### Changed
27+
- `app.py` now integrates SQLite (main branch) with in-memory caching (Phase 2) seamlessly
28+
- Server startup message matches main branch output for consistency
29+
830
## [3.0.0] - 2024-01-16
931

1032
### Added - Phase 3 Features

0 commit comments

Comments
 (0)