Skip to content

Refactor score handling, enhance display, and update version - #59

Merged
ZayrexDev merged 36 commits into
masterfrom
dev
Sep 4, 2026
Merged

ZayrexDev merged 36 commits into
masterfrom
dev

Conversation

@ZayrexDev

Copy link
Copy Markdown
Member

This pull request introduces several new features and improvements to the score filtering system, API endpoints, and internal utilities. The most notable changes include the addition of a replay filter for scores, new API endpoints for random score selection and user rank retrieval, and enhancements to score analysis output. There are also dependency updates and minor bug fixes.

Score Filtering Improvements:

  • Added a new replay filter to ScoreFilter, allowing clients to filter scores based on the presence of a replay. This includes updates to parsing, matching, and display logic, as well as integration with CacheService for cached replays. [1] [2] [3] [4] [5] [6] [7] [8]

API Endpoint Additions and Changes:

  • Added new endpoints for retrieving random scores (/scores/random), random scores from specific users (/scores/random/users), and user-specific random score weights. Also introduced a user rank endpoint (/users/{userId}/rank). The API documentation in README.md was updated to reflect these changes. [1] [2] [3] [4]

Score Analysis Enhancements:

  • Extended the score analysis response to include simulation hit result breakdowns, a flag for Lazer scores, and a boolean indicating if simulation results match actual results. [1] [2] [3] [4] [5]

Dependency Updates:

  • Updated the project version to 1.11.5 and the osuParser dependency to version v1.5.2 in pom.xml. [1] [2]

Internal Utilities and Bug Fixes:

  • Added utility methods for applying filters and limits in UserController, and improved handling of user ID parsing in showcase rendering. [1] [2] [3]

These changes collectively improve the flexibility and power of the API, especially for advanced filtering and analysis scenarios.

@ZayrexDev
ZayrexDev merged commit ecdb26a into master Sep 4, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant