Skip to content

v0.1.0-rc2-hotfix1

Pre-release
Pre-release
Compare
Choose a tag to compare
@GamerVII-NET GamerVII-NET released this 15 Oct 19:15
· 78 commits to master since this release
6086381

Release 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 integrating HttpContext 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 the GmlManager configuration to include a new TextureEndpoint 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 the ServerReadDto model by removing the Address and Port 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 the SERVICE_TEXTURE_ENDPOINT environment variable for configuring texture service URLs in development and testing environments. Added this variable to launchSettings.json for seamless configuration during testing.

Bug Fixes

  • ProfileInfoTest Fixes:
    Re-enabled and updated assertions in the ProfileInfoTest 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.