v1.0.3
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.
- Added
-
Whitelist Management:
- Introduced
UserWhiteListGuid
toIGameProfile
andBaseProfile
for managing user permissions via GUIDs. - Updated to support
List<string>
instead ofList<Guid>
for more flexible identifier handling.
- Introduced
π 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
andITextureProvider
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.
- Refactored version parsing logic with
-
MinecraftPingOptions Timeout:
- Added a
TimeOut
option (default: 3 seconds) to all test cases usingMinecraftPingOptions
, improving reliability by preventing indefinite waits.
- Added a
π Bug Tracking Enhancements
- CaptureException Integration:
- Enhanced exception handling by invoking
CaptureException
before returningBugInfo
, ensuring robust error tracking.
- Enhanced exception handling by invoking
π Submodule Updates
- Updated the Pingo submodule link to the latest version.
Upgrade now to take advantage of these robust features and improvements! π