Skip to content

Commit 63e49dc

Browse files
committed
feat(release): code quality & performance overhaul v1.2.0
- Performance: optimized React rendering in DevicePage/DisplayPage using useMemo/useCallback - Stability: fixed 50+ instances of any types and empty catch blocks to prevent silent failures - Storage: fixed Set serialization issues and converted sync file writes to async debounced writes - CI: fixed GitHub Actions macOS build failure by disabling mandatory signing in CI environment - Quality: extracted hardcoded parameters like polling intervals and log retention to constants
1 parent 0aad0e5 commit 63e49dc

7 files changed

Lines changed: 316 additions & 204 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.2.0] - 2026-01-15
11+
12+
### Fixed
13+
14+
- Fixed several empty catch blocks across Electron main process for better error traceability
15+
- Fixed Set serialization issues in device storage affecting state persistence
16+
- Fixed TypeError in DeviceCard/DevicePage by migrating from Set.has() to Array.includes()
17+
- Fixed GitHub Actions build failure on macOS by disabling mandatory code signing requirements
18+
- Improved error handling by replacing `any` types with `unknown` and adding proper type checks
19+
20+
### Changed
21+
22+
- Converted synchronous file writes to asynchronous debounced writes to prevent blocking the main process
23+
- Optimized device polling interval (increased from 5s to 10s) to reduce CPU and network usage
24+
- Extracted hardcoded configuration values (polling intervals, log retention) into maintainable constants
25+
26+
### Performance
27+
28+
- Optimized React rendering in DevicePage using useMemo for derived device lists
29+
- Wrapped event handlers in useCallback to prevent unnecessary child component re-renders
30+
- Cached scrcpy command preview calculation using useMemo
31+
1032
## [1.1.10] - 2026-01-13
1133

1234
### Fixed
@@ -34,7 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3456

3557
- Added hardware encoder selection support for improved WiFi streaming performance
3658
- Users can now select from available device encoders via dropdown menu
37-
- Recommended hardware encoders (c2.qti.*, OMX.qcom.*) are marked with ★ indicator
59+
- Recommended hardware encoders (c2.qti._, OMX.qcom._) are marked with ★ indicator
3860
- Encoder info display shows current selected encoder name
3961
- Click-to-load approach (encoders load on dropdown click for better UX)
4062
- Added multi-language translations for encoder UI (7 languages)

0 commit comments

Comments
 (0)