Skip to content

v1.0.3

Compare
Choose a tag to compare
@GamerVII-NET GamerVII-NET released this 31 Dec 13:01
· 21 commits to master since this release
0479839

Release Notes - Gml.Core v1.0.3

πŸ“’ Gml.Core v1.0.3 β€” Now Available!
This release brings enhanced user management, improved role-based access, new customization options, and significant refinements to authentication and testing capabilities.


What’s New?

πŸš€ User Management and Access Enhancements

  • Pagination and Search for Users:

    • Added GetUsers with support for pagination (take, offset) and search (findName), allowing more efficient data queries for large user datasets.
  • Whitelist Management:

    • Introduced UserWhiteListGuid to IGameProfile and BaseProfile for managing user permissions via GUIDs.
    • Updated to support List<string> instead of List<Guid> for more flexible identifier handling.

πŸ”’ Player Role and Access Control

  • JWT Token Enhancements:

    • Added a "Player" role claim in JWT token generation, enabling better enforcement of role-based access controls.
  • Ban and Pardon Functionality:

    • Implemented endpoints to ban and pardon players.
    • Updated authentication and server access logic to respect ban statuses.
    • Added error handling for empty ban/pardon input lists.

🎨 User Customization

  • New GetHead Method:
    • Added functionality to fetch a user's head texture stream by their name.
    • Updated UserProcedures and ITextureProvider interfaces, with corresponding implementations to support texture retrieval.

πŸ› οΈ Performance and Testing Improvements

  • Java Version Parsing:

    • Refactored version parsing logic with TryParseMajorVersion for better readability and error handling.
    • Re-enabled server ping tests for cross-version Minecraft compatibility.
  • MinecraftPingOptions Timeout:

    • Added a TimeOut option (default: 3 seconds) to all test cases using MinecraftPingOptions, improving reliability by preventing indefinite waits.

πŸ› Bug Tracking Enhancements

  • CaptureException Integration:
    • Enhanced exception handling by invoking CaptureException before returning BugInfo, ensuring robust error tracking.

πŸ”— Submodule Updates

  • Updated the Pingo submodule link to the latest version.

Upgrade now to take advantage of these robust features and improvements! πŸš€