Commit Graph

27 Commits

Author SHA1 Message Date
733646b6b8 refactor: Major overhaul with error handling, resilience patterns, and observability
- Add library configuration to support both lib and binary targets
- Implement unified error handling with NCBError throughout the codebase
- Add circuit breaker pattern for external API calls (Voicevox, GCP TTS)
- Introduce comprehensive performance metrics and monitoring
- Add cache persistence with disk storage support
- Implement retry mechanism with exponential backoff
- Add configuration file support (config.toml) with env var fallback
- Enhance logging with structured tracing (debug, warn, error levels)
- Add extensive unit tests for cache, metrics, and circuit breaker
- Update base64 decoding to use modern API
- Improve API error handling for Voicevox and GCP TTS clients

Breaking changes:
- Function signatures now return Result<T, NCBError> instead of panicking
- Cache key structure modified with serialization support
2025-05-28 01:01:12 +09:00
248c88a7a2 update t v1.11.2 2025-05-25 22:27:42 +09:00
879644f30c fix gcp version 2025-05-25 00:02:44 +09:00
b452d4609a Merge branch 'master' into stable 2025-05-24 21:54:11 +09:00
599b7fb0d1 v1.10.1 2025-04-27 17:17:44 +09:00
4c76fd037a v1.9.2 2025-04-27 17:17:06 +09:00
83fde399b2 support original voicevox api 2025-04-27 17:16:17 +09:00
f7e08b4e2e add mp3 streaming for voicevox 2025-04-11 15:10:01 +09:00
771711e3bf update 2025-04-11 10:43:21 +09:00
8a1fa22074 add tracing opentelemetry 2025-04-10 13:40:29 +09:00
24c609aaf2 update 2025-04-05 17:53:51 +09:00
82e3c55fd5 fix warnings 2025-04-04 21:11:46 +09:00
c68e533133 implement compressed local audio cache 2025-04-04 20:45:20 +09:00
8db4d65042 change versions 2025-04-03 03:04:35 +09:00
1975b2e9cd fix instance.rs bug 2025-04-03 02:32:59 +09:00
df46152a12 update crates, fix event_handler, main 2025-03-30 23:34:25 +09:00
8ef5530524 update serenity to poise 2024-11-19 10:15:52 +00:00
89f66aefb0 update dependencies 2024-11-19 10:00:15 +00:00
mii
68d49772e7 update version to 1.7.0 2023-10-03 15:15:58 +00:00
mii
4630883b28 Update version 2023-09-30 10:55:57 +00:00
mii
8a9817a449 update version to 1.5.1 2023-04-13 04:44:09 +00:00
mii
4c5b9cb345 update songbird 2023-04-13 04:43:20 +00:00
mii
af01576a99 update serenity and songbird 2022-11-02 14:38:56 +00:00
mii
1470612d8b clippy 2022-10-31 12:40:55 +00:00
mii
7fe65bc397 add validator 2022-08-12 23:07:20 +09:00
mii
adb111f2d1 add database integration 2022-08-06 11:40:50 +09:00
mii
62aa5725ff init 2022-08-04 22:15:26 +09:00