Tunglies
abb0df59df
refactor: simplify auto proxy disabling logic in clean_async function
2025-10-06 18:26:01 +08:00
Tunglies
a1b3f267de
feat: enhance exit handling to prevent initialization and event processing during application exit
2025-10-05 18:07:47 +08:00
Tunglies
1176f8c863
feat: refactor app data provider and context for improved data management and performance
2025-10-04 21:20:31 +08:00
Tunglies
9a9c9a2da1
feat: enhance versioning script to include latest Tauri commit hash in autobuild and deploytest tags
2025-10-04 17:03:05 +08:00
Tunglies
8a4f2de887
Revert "Refactor components to remove forwardRef and simplify props handling"
...
This reverts commit 1cd013fb94 .
2025-09-30 18:13:02 +08:00
Tunglies
14288568bf
feat: optimize backend i18n resource usage and improve language loading
2025-09-30 15:22:08 +08:00
Tunglies
1cd013fb94
Refactor components to remove forwardRef and simplify props handling
...
- Updated multiple components to remove the use of forwardRef, simplifying the props structure.
- Adjusted imports and component definitions accordingly.
- Ensured consistent handling of refs and props across various viewer components.
- Improved readability and maintainability of the codebase.
2025-09-30 14:26:40 +08:00
Tunglies
ecdeadfe1e
feat: enhance CI workflows with paths filtering for Rust and web changes
2025-09-30 03:35:38 +08:00
Tunglies
c8c79d9baa
feat: group all GitHub Actions updates into a single PR
2025-09-25 19:24:26 +08:00
Tunglies
a2d33c5447
fix: update rust-toolchain action to use master branch for consistency
2025-09-25 19:21:06 +08:00
Tunglies
620922f82e
feat: add configurable log size and count options in settings
2025-09-22 16:31:38 +08:00
Tunglies
22e1d329cb
fix: breaks the behavior of entering lightweight mode from tray menu #4815
2025-09-21 21:34:47 +08:00
Tunglies
33fdcc38b5
Revert "还原轻量模式的进入和退出行为 ( #4817 )"
...
This reverts commit 8f88270cdf .
2025-09-21 21:33:01 +08:00
Tunglies
7f2729fd0f
fix: restore LogLineFilter import for proper logging functionality
2025-09-21 01:59:02 +08:00
Tunglies
b8c82320d3
refactor: enhance logging system with NoExternModule for better log filtering
2025-09-21 01:31:08 +08:00
Tunglies
94ec25c193
feat: add logging for ClashVergeRev version in async setup
2025-09-20 23:24:43 +08:00
Tunglies
2366530622
refactor: change lto option to "thin" for improved build performance
2025-09-20 22:54:52 +08:00
Tunglies
d9a5c11d6a
refactor: improve code readability and consistency in proxy-chain and uri-parser utilities
...
refactor: add keys to icons in routers for improved rendering and performance
refactor: optimize RegExp polyfill by using Object.prototype.hasOwnProperty.call
refactor: reorder imports in chain-proxy-provider for consistency
refactor: remove unused "obfs-opts" property from IProxySnellConfig interface
refactor: reorganize imports and enhance refresh logic in app data provider
refactor: re-enable prop-types linting for better type safety in BaseDialog component
refactor: update dependencies in effect hooks for improved stability and performance
2025-09-20 11:19:36 +08:00
Tunglies
e869da8d4c
refactor: remove unused HTTP-specific structs to streamline service code
2025-09-19 00:04:51 +08:00
Tunglies
e414b49879
Refactor imports across multiple components for consistency and clarity
...
- Reorganized import statements in various components to ensure consistent ordering and grouping.
- Removed unnecessary imports and added missing ones where applicable.
- Improved readability and maintainability of the codebase by standardizing import styles.
2025-09-19 00:01:04 +08:00
Tunglies
627119bb22
Refactor imports and improve code organization across multiple components and hooks
...
- Consolidated and reordered imports in various files for better readability and maintainability.
- Removed unused imports and ensured consistent import styles.
- Enhanced the structure of components by grouping related imports together.
- Updated the layout and organization of hooks to streamline functionality.
- Improved the overall code quality by following best practices in import management.
2025-09-18 23:34:38 +08:00
Tunglies
74ade3ee41
refactor: update ESLint configuration and improve lint command with cache
2025-09-18 23:13:13 +08:00
Tunglies
324628dd3d
refactor: replace 'let' with 'const' for better variable scoping and immutability
2025-09-18 23:07:18 +08:00
Tunglies
9d96ac0f6a
feat: Integrate HTTP plugin and update IP detection to use fetch API #4712
2025-09-18 19:35:14 +08:00
Tunglies
409571f54b
refactor: remove unused notification permission hook and related code
2025-09-18 19:13:23 +08:00
Tunglies
5d2e114b4d
fix: Update tray menu event handling to toggle lightweight mode based on current state #4785
2025-09-18 00:46:49 +08:00
Tunglies
6724f1ae35
feat: Implement caching mechanism with Cache struct and update related commands
2025-09-17 19:37:42 +08:00
Tunglies
1787d5372e
fix: Update OS_PLATFORM definition to reflect the current platform
2025-09-17 16:10:22 +08:00
Tunglies
4c41144dd0
fix: Update error message to include details of accumulated startup errors
2025-09-17 16:10:01 +08:00
Tunglies
27636c848f
fix: update changelog to reflect removal of hidden groups in tray node switching #4765
2025-09-17 13:39:38 +08:00
Tunglies
8060d699f0
fix: enhance prebuild script to support shorthand for force update #4777
2025-09-17 13:36:31 +08:00
Tunglies
a1f468202f
Revert "fix: Fixed icon pixel size ( #4698 )"
...
revert due to runtime error [[Setup]] Error: failed to process image: Format error decoding Ico: The PNG is not in RGBA format!
This reverts commit a24bf4042c .
2025-09-15 00:56:59 +08:00
Tunglies
231d264652
fix: update alpha version description in README
2025-09-12 18:45:40 +08:00
Tunglies
67ac353fd5
chore: update cron schedule for auto build workflow
2025-09-12 18:43:13 +08:00
Tunglies
1c5534ad36
fix: remove deprecated updater for alpha endpoints in tauri configuration
2025-09-11 17:14:57 +08:00
Tunglies
ccbffa14f0
fix: replace toggle with show for main window in lightweight mode exit #4697
2025-09-09 21:25:38 +08:00
Tunglies
c54d89a465
feat: add support for Windows ARM64 in development workflow
2025-09-09 16:55:46 +08:00
Tunglies
55b95a1985
Revert "feat: update Cargo.toml for 2024 edition and optimize release profiles ( #4681 )"
...
This reverts commit 31e3104c7f .
2025-09-08 21:48:09 +08:00
Tunglies
043ed4cb31
feat: add known issues section and update lightweight mode handling
2025-09-07 13:00:51 +08:00
Tunglies
f64c01044c
feat: bump version to 2.4.3 and update changelog for macOS intel Mihomo compatibility
2025-09-07 12:06:33 +08:00
Tunglies
5dca724017
feat: update Vite configuration for improved chunking and build options
2025-09-06 21:24:46 +08:00
Tunglies
579f9bd1f8
feat: add path and process dependencies; remove unused SCSS preprocessor options
2025-09-06 21:04:58 +08:00
Tunglies
7c9104a5b9
feat: optimize home page loading with lazy loading and improve card rendering logic
2025-09-06 20:38:33 +08:00
Tunglies
e2fa76332a
fix: remove unused ProxyRequestCache import and improve proxy update error handling
2025-09-06 14:10:09 +08:00
Tunglies
0daa8720cd
feat: implement i18n lazy loading optimization
...
🚀 Performance improvements:
- Replace static language imports with dynamic imports
- Load only current language on startup instead of all 13 languages
- Implement on-demand loading when switching languages
📦 Bundle optimization:
- Reduce initial bundle size by avoiding preloading all language files
- Add resource caching to prevent reloading same language
- Support all 13 languages: en, ru, zh, fa, tt, id, ar, ko, tr, de, es, jp, zhtw
🔧 Technical changes:
- Convert i18n.ts to use dynamic import() for language resources
- Add async initializeLanguage() for app startup
- Create useI18n hook for language management with loading states
- Update main.tsx for async language initialization
- Fix language display labels in settings dropdown
- Maintain backward compatibility with existing language system
✅ Fixed issues:
- Resolve infinite loop in React components
- Fix missing language labels in settings UI
- Prevent circular dependencies in language loading
- Add proper error handling and fallback mechanisms
2025-09-06 14:05:36 +08:00
Tunglies
f70b8b1213
Revert "fix: auto-detect KDE/Plasma and switch to X11 as backend to fix titlebar button freeze ( #4523 )"
...
This reverts commit d58c0a7df5 .
2025-09-06 11:59:33 +08:00
Tunglies
f38e4a6cac
fix: refactor proxy fetching to use command methods and improve error handling
2025-09-04 15:32:46 +08:00
Tunglies
893188d693
fix: add basic authorization header support for URL parsing in NetworkManager #4618
2025-09-03 01:07:45 +08:00
Tunglies
b989aeb7b0
refactor: clean up imports and remove unused initialization in NetworkManager
2025-09-02 23:48:27 +08:00
Tunglies
40f87c834d
fix: update ClientConfig settings for improved connection management
2025-09-02 23:21:05 +08:00
Tunglies
0bb9cb5097
fix: enhance startup speed and fix connection issues during initialization
2025-09-02 23:10:02 +08:00
Tunglies
b51797e238
fix: update logging types and clean up ProxyRequestCache usage
2025-09-02 22:19:22 +08:00
Tunglies
926c095409
perf: update ProxyRequestCache to use boxed CacheEntry for improved memory management
2025-09-02 19:09:44 +08:00
Tunglies
0c65f8ebad
fix: remove macOS specific conditional compilation for logging_error import
2025-09-02 18:36:13 +08:00
Tunglies
63f4295063
fix: update required service version to 1.1.2
2025-09-02 16:09:21 +08:00
Tunglies
d2b38a8a3c
fix: optimize async handler usage in singleton checks and resource initialization #4576 , #4590 , #4609
2025-09-02 13:37:14 +08:00
Tunglies
45ddb15d56
fix: remove redundant service stop call in CoreManager and clean up unused Mutex import
2025-09-02 12:12:19 +08:00
Tunglies
7aef9d2a5a
fix: resolve lightweight mode state detection issues and improve logging #3814
2025-09-02 08:00:53 +08:00
Tunglies
89f3adcbef
fix: add redirect policy to HTTP client builder
2025-09-01 00:45:39 +08:00
Tunglies
b13fef5ad9
fix: add missing allow(dead_code) attribute to block_on method
2025-08-31 16:22:35 +08:00
Tunglies
9110955b63
fix: streamline service availability checks and improve logging for core startup
2025-08-31 16:19:31 +08:00
Tunglies
4508d062f1
chore: bump version to 2.4.2
2025-08-31 15:53:50 +08:00
Tunglies
92d9c94e87
fix: resolve crashes when exiting lightweight mode by ensuring async window operations
2025-08-30 20:04:21 +08:00
Tunglies
c09066c0a3
refactor: restructure async initialization and standardize logging system
...
### Major Improvements
- **Async initialization refactoring**: Complete async migration of init_config, improving app startup performance and stability
- Change init_work_config from blocking to async execution
- Optimize error handling for directory creation and config file initialization
- Enhance structure and robustness of initialization process
- **Logging system standardization**: Unify usage of project's built-in logging! macro
- Replace all log::info!/warn!/error!/debug! with logging!(level, Type::Setup, true, ...) format
- Maintain consistency in log categorization and formatting
- Improve convenience for log tracking and debugging
### Technical Optimizations
- **Error handling improvements**: Remove crate::log_err! macro, use standard Result error propagation
- **Directory management optimization**: Refactor ensure_directories function with clearer directory creation logic
- **Config initialization enhancement**: Separate initialize_config_files function for better code maintainability
- **Async task management**: Use AsyncHandler::spawn to optimize background log cleanup tasks
### Bug Fixes
- Fix potential race conditions in async config initialization
- Improve error feedback and logging during app startup
- Enhance error handling for DNS config and resource file initialization
### Updates
- Update wording in UPDATELOG.md issue descriptions
2025-08-30 17:58:26 +08:00
Tunglies
3a7be3dfb7
refactor: streamline resolve_scheme function calls and visibility in utils
2025-08-30 17:22:52 +08:00
Tunglies
09f14c23e4
fix: update required service version to 1.1.1
2025-08-30 11:02:58 +08:00
Tunglies
eaaae3b393
fix: improve stability during profile switching to prevent crashes
2025-08-30 07:40:31 +08:00
Tunglies
9cbd8b4529
feat: add x86 OpenSSL installation step for macOS in workflows
2025-08-30 01:31:02 +08:00
Tunglies
1227e86134
Remove unnecessary "rustls-tls" feature from reqwest dependency in Cargo.toml
2025-08-30 01:12:03 +08:00
Tunglies
a9951e4eca
refactor: replace AppHandleManager with handle::Handle for macOS activation policy management
2025-08-28 17:27:54 +08:00
Tunglies
53688f332f
fix: replace tokio::runtime::Handle with tauri::async_runtime::handle
2025-08-28 04:58:24 +08:00
Tunglies
d23d1d9a1d
fix: remove auto clean up profiles behavior in resolve process
2025-08-28 04:41:12 +08:00
Tunglies
51ff9e1851
fix: resolve issue with application not restoring after tray restart
2025-08-27 22:20:04 +08:00
Tunglies
824814da56
fix: unexpected restart behavior #4438
2025-08-27 22:04:44 +08:00
Tunglies
4598c805eb
refactor: remove Oxlint workflow and update linting to use ESLint
2025-08-24 16:40:05 +08:00
Tunglies
aa204649fa
fix: add web asset build step before running Clippy
2025-08-24 16:38:17 +08:00
Tunglies
fbaff3e90c
fix: remove logLevel parameter from fetchLogsViaIPCPeriodically for consistency
2025-08-23 00:28:39 +08:00
Tunglies
c416bd5755
fix: reorder pnpm installation step in Clippy workflow
2025-08-23 00:15:25 +08:00
Tunglies
90406ae883
fix: clippy ci
2025-08-23 00:11:44 +08:00
Tunglies
72e4491dc4
Implement code changes to enhance functionality and improve performance
2025-08-22 19:56:51 +08:00
Tunglies
76c3695567
feat: add Clippy and Oxlint workflows for enhanced linting
2025-08-22 19:20:35 +08:00
Tunglies
475a09bb54
feat: comprehensive oxlint cleanup - remove unused code
...
🧹 Cleanup Summary:
- Fixed 83 oxlint warnings across 50+ files
- Removed unused imports, variables, and functions
- Maintained all functional code and error handling
- Improved bundle size and code maintainability
📝 Key Changes:
- Cleaned unused React hooks (useState, useEffect, useClashInfo)
- Removed unused Material-UI imports (useTheme, styled components)
- Deleted unused interfaces and type definitions
- Fixed spread operator usage and boolean casting
- Simplified catch parameters where appropriate
🎯 Files Modified:
- React components: home.tsx, settings, profiles, etc.
- Custom hooks: use-*.ts files
- Utility functions and type definitions
- Configuration files
✅ Result: 0 oxlint warnings (from 83 warnings)
🔧 All functionality preserved
📦 Reduced bundle size through dead code elimination
2025-08-22 18:48:56 +08:00
Tunglies
6a1fce69e0
refactor: comment out includeUpdaterJson in autobuild jobs for clarity
2025-08-22 17:41:33 +08:00
Tunglies
485fd0169b
chore: bump version to 2.4.1
2025-08-22 17:31:32 +08:00
Tunglies
335ca817d2
refactor: restrict AsyncHandler usage to Windows platform only
2025-08-22 04:18:21 +08:00
Tunglies
6d112c387d
refactor: replace tokio::task::spawn_blocking with AsyncHandler::spawn_blocking for improved task management
2025-08-22 04:05:35 +08:00
Tunglies
e4c243de2d
refactor: Replace tokio::spawn with AsyncHandler::spawn for better task management
...
- Replace direct tokio::spawn calls with AsyncHandler::spawn across multiple modules
- Improves task lifecycle management and error handling consistency
- Affected files:
- src-tauri/src/cmd/network.rs
- src-tauri/src/core/core.rs
- src-tauri/src/core/event_driven_proxy.rs
- src-tauri/src/enhance/tun.rs
- src-tauri/src/ipc/logs.rs
- src-tauri/src/ipc/memory.rs
- src-tauri/src/ipc/monitor.rs
- src-tauri/src/ipc/traffic.rs
- src-tauri/src/utils/network.rs
- src-tauri/src/utils/resolve.rs
This change provides better control over async task spawning and helps prevent
potential issues with unmanaged background tasks.
2025-08-22 03:41:14 +08:00
Tunglies
02f67961a9
feat: add tokio-stream dependency and refactor event loop handling in EventDrivenProxyManager
2025-08-22 03:16:59 +08:00
Tunglies
7d5fd295ed
feat: add dev:trace script for enhanced debugging in development
2025-08-22 02:28:44 +08:00
Tunglies
daa0b1592d
chore: bump version to 2.4.1
2025-08-22 00:29:42 +08:00
Tunglies
b411783bbe
fix: enhance tag version check for consistency in release workflow
2025-08-22 00:15:56 +08:00
Tunglies
40a59bbc1a
fix: disable automatic generation of release notes in workflow
2025-08-21 23:56:02 +08:00
Tunglies
2277d7232e
refactor: improve code formatting and readability in autobuild and telegram scripts
2025-08-21 21:23:47 +08:00
Tunglies
435318cf1d
fix: simplify return statements in updateProxy method for clarity
2025-08-21 21:23:46 +08:00
Tunglies
7613417c33
feat: enhance Tauri build steps with clearer naming and include updater JSON
2025-08-20 23:06:55 +08:00
Tunglies
e30cfc3a2f
chore: update dependencies and improve IPC request handling
2025-08-20 22:48:08 +08:00
Tunglies
52655d9702
feat: add configuration options to IpcManager for improved client setup
2025-08-20 18:05:31 +08:00
Tunglies
e93846ddc1
refactor: improve log management by introducing a constant for max logs and simplifying log level handling
2025-08-19 22:43:36 +08:00
Tunglies
f0dbe9fa60
feat: add console-subscriber for improved logging and tracing support
2025-08-18 23:40:25 +08:00
Tunglies
756751b765
refactor: simplify app restart logic and improve error handling
2025-08-18 22:33:29 +08:00