v0.1.0-rc2-hotfix1
Pre-releaseRelease Notes - v0.1.0-rc2-hotfix1
New Features
-
Endpoints for Fetching User Skins and Cloaks:
Introduced new GET endpoints that allow retrieval of user skin and cloak textures. This enhancement improves user profile handling by integratingHttpContext
for better metadata management and profile interaction. -
Detailed Profile Information Endpoint:
Added a new POST endpoint/api/v1/profiles/details
that retrieves detailed game profile information. The endpoint includes input validation and requires authorization, providing structured responses with profile details.
Changes
-
Submodule Updates for Gml.Core:
Updated the Gml.Core submodule link multiple times to ensure compatibility with new feature additions and bug fixes. -
Texture Endpoint Configuration in GmlManager:
Expanded theGmlManager
configuration to include a newTextureEndpoint
parameter, defaulting to"http://gml-web-skins:8085"
. This update enhances the flexibility of managing texture service endpoints, with additional support for spaces and dashes in profile names. -
Removed Address and Port Properties from ServerReadDto:
Refined theServerReadDto
model by removing theAddress
andPort
properties, simplifying the object and aligning it with current application needs. -
Updated URL in MinecraftHandler:
Fixed the incorrect URL used for fetching cape textures by changing it from 'skins' to 'capes', ensuring proper resource access for user capes. -
Environment Variable Additions:
Introduced theSERVICE_TEXTURE_ENDPOINT
environment variable for configuring texture service URLs in development and testing environments. Added this variable tolaunchSettings.json
for seamless configuration during testing.
Bug Fixes
-
ProfileInfoTest Fixes:
Re-enabled and updated assertions in theProfileInfoTest
unit test, ensuring that profile data is correctly deserialized and validated. -
Adjusted Method Returns for Missing Environment Variables:
Removed exception throwing for missing environment variables in test methods and replaced it with returning empty strings to handle missing configuration more gracefully.
Tests
- Improved Unit Test Initialization and Console Information:
Updated unit tests to include restored settings and enhanced test console output, ensuring clarity and better tracking during test execution.