Skip to content

v3.10.0 #1928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 257 commits into from
Jun 4, 2025
Merged

v3.10.0 #1928

merged 257 commits into from
Jun 4, 2025

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Jun 2, 2025

Description
Explain the changes or enhancements you are proposing with this pull request.

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

Screenshots

SaraVieira and others added 30 commits September 4, 2024 23:29
- Implemented RA hash handling in ROM processing.
- Added functionality to refresh RetroAchievements data for users.
- Updated user model to store RA progression data.
- Created a new component for managing RetroAchievements settings in user profiles.
- Enhanced ROM metadata to include merged RA achievements and badge paths.
- Refactored API calls to accommodate new RA features and removed unused API key handling.
- Updated frontend components to reflect changes in RA metadata and user settings.
- Adjusted Docker configuration for database service naming.
zurdi15 and others added 24 commits May 27, 2025 22:52
feat: Added optional 3D tilt effect to cards
@gantoine gantoine requested a review from Copilot June 4, 2025 15:00
Copy link

trunk-io bot commented Jun 4, 2025

Running Code Quality on PRs by uploading data to Trunk will soon be removed. You can still run checks on your PRs using trunk-action - see the migration guide for more information.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This release introduces RetroAchievements support, enhances log output formatting with highlights, and updates documentation and configuration for the new feature.

  • Add ra_username and ra_progression to user schemas, forms, migrations, and config
  • Integrate highlight-based logging (hl) across multiple endpoints for improved readability
  • Update README and contributing guides to reference the new docs site and badges

Reviewed Changes

Copilot reviewed 274 out of 274 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
backend/endpoints/responses/identity.py Added ra_username/ra_progression fields and RAProgression TypedDict
backend/endpoints/heartbeat.py Exposed RA_ENABLED in heartbeat response
backend/endpoints/auth.py Added /forgot-password and /reset-password endpoints
backend/adapters/services/rahasher.py Changed calculate_hash signature and error handling logic
README.md Swapped wiki links and badges for new docs site
Comments suppressed due to low confidence (4)

backend/endpoints/auth.py:279

  • The new /forgot-password and /reset-password endpoints lack accompanying unit tests; consider adding tests to verify both successful and failure flows.
def request_password_reset(username: str = Body(..., embed=True)) -> MessageResponse:

backend/endpoints/firmware.py:222

  • The variable firmare_ids appears to be a typo; rename it to firmware_ids for clarity and consistency.
    firmare_ids: list = data["firmware"]

backend/endpoints/heartbeat.py:30

  • The key RA_ENABLED is inconsistent with other source flags (e.g., IGDB_API_ENABLED); consider renaming to RA_API_ENABLED for uniform naming.
    RA_ENABLED: bool

backend/adapters/services/rahasher.py:92

  • Changing the method signature from (platform_slug: str, file_path: Path) to (platform_id: int, file_path: str) may break existing callers; ensure all usages are updated or maintain backward compatibility.
async def calculate_hash(self, platform_id: int, file_path: str) -> str:

Copy link

github-actions bot commented Jun 4, 2025

Test Results

92 tests   92 ✅  32s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 3c2f320.

♻️ This comment has been updated with latest results.

@gantoine gantoine merged commit 74cecd2 into release Jun 4, 2025
16 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.

6 participants