v0.1.0-rc2
Pre-releaseRelease Notes - v0.1.0-rc2
New Features
-
Skin and Cloak Management Support:
Added new features to handle user skins and cloaks. This includes properties in user models for managing textures, methods for downloading and installing textures, and database support. These updates enhance the launcher’s customization capabilities by allowing users to manage skins and cloaks efficiently. -
ITextureProvider and TextureProvider Implementations:
Introduced theITextureProvider
interface andTextureProvider
class to manage skin and cloak updates and retrievals. TheTextureProvider
uses HTTP clients for texture handling, and a newTextureReadDto
was created to deserialize texture response data, streamlining texture management.
Changes
- Refactor Service Integration for Dynamic Texture Provider:
UpdatedServicesIntegrationProcedures
to initializeTextureProvider
with dynamicTextureServiceEndpoint
passed via the constructor. This refactor improves flexibility when integrating texture services and allows customization of endpoints throughIGmlSettings
.
Bug Fixes
-
Error Handling in CreateUserSessionAsync and Texture Methods:
Added error handling forCreateUserSessionAsync
to manage issues when textures are not properly configured. Additionally, introduced try-catch blocks inSetSkin
andSetCloak
methods to handle potential exceptions gracefully and prevent crashes. -
Remove Unused NotImplementedException Import:
Cleaned up theSqliteStorageService.cs
file by removing an unusedNotImplementedException
import to improve code clarity and avoid confusion.
Tests
- Update and Comment Unit Tests:
UpdatedAssert
functions in unit tests and ensuredGmlManager
initialization in tests specifies the correctTextureServiceEndpoint
. Also added comments to clarify the purpose of unit tests related to the texture provider.