Release Notes - Gml.Launcher v1.0.3
📢 Gml.Launcher v1.0.3 — Now Available!
This release focuses on refining update handling, enhancing authentication and resource logic, improving UI flexibility, and expanding support for Minecraft skins.
What’s New?
🔄 Refactor Update Handling and Adjust Resource & Auth Logic
- Introduced conditional handling for
SkipUpdate
in debug mode to streamline testing workflows. - Removed unused server connection initiation in the login process for cleaner logic.
- Enhanced authentication by passing the user access token to the
GetProfiles
method. - Updated the local host resource URL for better consistency across requests.
🔒 Fix Logout to Clear User Data Properly
- Updated the logout functionality to nullify user data instead of setting it to an empty object. This ensures proper type alignment and eliminates potential inconsistencies.
🔗 Update Submodule
- Updated the Gml.Client submodule link to incorporate the latest changes.
🎨 New “Text” Style for GmlButton Component
- Added a new "Text" style for buttons, featuring:
- Rounded corners.
- Bold font styling.
- Consistent padding and height.
- This improves UI design consistency and expands button customization options.
⚡ Refactor LoadSystemData
- Simplified the asynchronous
LoadSystemData
method by directly returningTask.WhenAll
, improving readability and maintaining functionality.
🖼️ Support for Extended and Resized Minecraft Skins
- Added support for extended Minecraft skins, adjusting leg and arm cropping logic to accommodate additional dimensions.
- Ensured resizing aligns correctly with cloaks when present.
- Introduced a helper method,
ResizeImage
, for better scalability and maintainability.