Version 1.0.0 Release Notes
Bug Fix: Language Pack Loading Issue Resolved
This release addresses a critical issue where language packs failed to load due to service initialization timing conflicts. The module has been upgraded to stable version 1.0.0.
Core Fix: Refactored Service Initialization Flow
-
Double-Checked Locking Pattern: Added a private Initialize() method with double-checked locking (based on an initialized flag) to ensure I18N registration logic executes only once, eliminating race conditions.
-
Defensive Initialization: Moved initialization logic from the OnLoad lifecycle hook to the business layer. Methods including Payment, SendMoney, SendItems, and UpdateAccountData now explicitly call Initialize() at their entry points, preventing “language pack not loaded” exceptions that previously occurred when external calls were made before module loading completed.
-
Execution Order Correction: Fixed the execution sequence in ProfileAndAccountService.UpdateAccountData to ensure account data warm-up completes before any logging operations begin.
Stable Release: Version 1.0.0
This upgrade marks the core extension module’s transition out of preview state:
- Version incremented from
0.1.0 to 1.0.0 in both SuntionCoreSPTExtensionsMod.cs and SuntionCore.SPTExtensions.csproj
- No breaking API changes - All existing public interfaces remain fully compatible
- The module is now considered production-ready for all SPTarkov server modding projects