fix(deps): update python dependencies - abandoned#163
Closed
renovate[bot] wants to merge 2 commits intomainfrom
Closed
fix(deps): update python dependencies - abandoned#163renovate[bot] wants to merge 2 commits intomainfrom
renovate[bot] wants to merge 2 commits intomainfrom
Conversation
2547072 to
6ca86c0
Compare
* refactor: extract scoring utilities from App.jsx - Created utils/scoringUtils.js with calculateScoreClientSide and DEFAULT_SCORING_RULES - Added 19 comprehensive unit tests for scoring logic - Updated App.jsx to import scoring utilities - Reduced App.jsx from 2035 to 1947 lines (88 lines removed) - All 253 tests passing (+19 new tests) * refactor: extract CreateListDialog from PrivateListManager - Created Dialogs/CreateListDialog.jsx component (77 lines) - Extracted dialog logic with form handling and validation - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1560 to 1539 lines (-21 lines) - Removed newListName state (now managed in dialog) - All 253 tests passing * refactor: extract DeleteConfirmationDialog from PrivateListManager - Created Dialogs/DeleteConfirmationDialog.jsx component (67 lines) - Extracted delete dialog with system list protection logic - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1539 to 1521 lines (-18 lines) - Total dialog extraction: 144 lines moved to components, 39 lines removed * refactor: extract AddCustomPhraseDialog from PrivateListManager - Created Dialogs/AddCustomPhraseDialog.jsx component (110 lines) - Extracted custom phrase form with validation logic - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1521 to 1491 lines (-30 lines) - Removed customPhrase/Translation/Categories state (now in dialog) - Total extraction: 254 dialog lines, 69 lines removed overall * refactor: extract BatchImportDialog from PrivateListManager - Created Dialogs/BatchImportDialog.jsx component (162 lines) - Extracted CSV import dialog with preview and error handling - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1485 to 1404 lines (-81 lines) - Total dialog extraction: 411 lines, 156 lines removed overall * refactor: extract ShareListDialog from PrivateListManager - Created Dialogs/ShareListDialog.jsx component (162 lines) - Extracted share dialog with permission selection and user list - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1413 to 1338 lines (-75 lines) - Removed shareUsername/sharePermission state (now in dialog) - Total dialog extraction: 565 lines, 222 lines removed overall * refactor: extract StatisticsDialog from PrivateListManager - Created Dialogs/StatisticsDialog.jsx component (156 lines) - Extracted statistics dialog with list and user stats display - Updated PrivateListManager to use new component - Reduced PrivateListManager from 1336 to 1257 lines (-79 lines) - Completed all dialog extractions - Total: 6 dialogs (715 lines), 303 lines removed from main file (-19.4%) * test: add comprehensive tests for ScoreDisplay component - Added 26 tests covering all ScoreDisplay functionality - Tests for compact and full rendering modes - Dialog interaction tests (open/close, keyboard navigation) - Score breakdown display tests - Scoring rules loading and error states - Dialog opener registration lifecycle - All 279 tests passing (+26 new tests) - Increases test coverage for game components * test: add comprehensive tests for GameHeader and Timer components - Added 17 tests for GameHeader component - Logo and title rendering - Logo click interaction and filter application - Celebration animation states - User display (logged in/out/empty username) - Game type selector conditional rendering - Image error fallback handling - Added 24 tests for Timer component - Basic rendering and visibility - Timer counting and pausing - Reset functionality - Time formatting (seconds, minutes) - Pause/resume with keyboard navigation - State synchronization - All 42 tests passing - Total test count now 321 (+42) * test: add tests for CreateListDialog and DeleteConfirmationDialog - Added 14 tests for CreateListDialog - Basic rendering and visibility - User input validation - Submit functionality with Enter key support - Close and reset functionality - Loading state handling - Added 21 tests for DeleteConfirmationDialog - Rendering with list data - Normal list deletion flow - System list protection (warning + disabled delete) - Loading states - Edge cases (missing properties, special characters) - All 35 tests passing - Total test count now 356 (+35) * test: add tests for remaining dialog components - Added comprehensive tests for: - AddCustomPhraseDialog (16 tests): rendering, validation, submit - BatchImportDialog (13 tests): file selection, preview, import - ShareListDialog (21 tests): sharing, permissions, unsharing - StatisticsDialog (16 tests): list/user stats, refresh - All 101 dialog component tests passing (including previous 35) - Total test count now 422 (+66 new tests) * refactor: extract StatisticsDashboard tabs and colocate BrowseRecords components - Extract StatisticsDashboard into 4 tab components (OverviewTab, LanguageSetsTab, UserStatisticsTab, HighScoresTab) reducing from 833 to 459 lines - Move all BrowseRecords-specific components from AdminPanel/ to BrowseRecords/ directory - Move corresponding test files alongside their components - Export computeControlBarMode from useAdminLayout hook and update test import - Clean up dead code from AdminPanel.jsx (batch state, notification state, unused imports) * refactor: replace boolean view state with single activeView string - Replace 10 boolean useState declarations with single activeView state - Simplify goToDashboard from 12 lines to 1 line - Simplify handleLogout from 10 state resets to 1 - Replace nested ternary render chain with flat conditional rendering - AdminPanel.jsx reduced from 761 to 704 lines (total reduction from ~1300: -46%) * refactor: fix backend scripts formatting * refactor: fix backend scripts formatting * refactor: fix tests formatting * fix: loading phrases in record browser
6ca86c0 to
0c35de1
Compare
Contributor
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.127.0→==0.135.1==12.0.0→==12.1.1==1.2.0→==1.5.0==1.2.1→==1.2.2==0.0.21→==0.0.22==4.4.7→==4.4.10==0.8.4→==0.15.4==2.0.45→==2.0.48==0.40.0→==0.41.0Release Notes
fastapi/fastapi (fastapi)
v0.135.1Compare Source
Fixes
Docs
docs/en/docs/_llm-test.md. PR #15007 by @adityagiri3600.Internal
v0.135.0Compare Source
Features
v0.134.0Compare Source
Features
yield. PR #15022 by @tiangolo.>=0.40.0to>=0.46.0, as it's needed to properly unrwap and re-raise exceptions from exception groups.Docs
yield. PR #15023 by @tiangolo.awaitinStreamingResponsecode example to allow cancellation. PR #14681 by @casperdcl.docs_src/websocketstodocs_src/websockets_to avoid import errors. PR #14979 by @YuriiMotov.Internal
pytest-xdistandpytest-cov. PR #14992 by @YuriiMotov.v0.133.1Compare Source
Features
Internal
v0.133.0Compare Source
v0.132.1Compare Source
Refactors
Internal
benchmarkjob intestworkflow. PR #14974 by @YuriiMotov.v0.132.0Compare Source
Breaking Changes
strict_content_typechecking for JSON requests. PR #14978 by @tiangolo.Content-Typeheader with a valid JSON value, likeapplication/json, and rejects requests that don't.Content-Typeheader you can disable this withstrict_content_type=False.Internal
griffelibinstead ofgriffe. PR #14973 by @svlandeg.FastAPI Peopleworkflow. PR #14951 by @YuriiMotov.v0.131.0Compare Source
Breaking Changes
ORJSONResponseandUJSONResponse. PR #14964 by @tiangolo.v0.130.0Compare Source
Features
v0.129.2Compare Source
Internal
fastapi-slim. PR #14958 by @tiangolo.fastapi-slim, no more versions will be released, use only"fastapi[standard]"orfastapi. PR #14957 by @tiangolo.v0.129.1Compare Source
Fixes
"contentMediaType": "application/octet-stream"instead of"format": "binary". PR #14953 by @tiangolo.Docs
Translations
Internal
masterbranch and when run by scheduler. PR #14940 by @YuriiMotov.v0.129.0Compare Source
Breaking Changes
Refactors
Docs
Internal
v0.128.8Compare Source
Docs
docs/en/docs/tutorial/first-steps.md. PR #14708 by @SanjanaS10.Internal
fastapi-slim, deprecate it, and make it only depend onfastapi. PR #14894 by @tiangolo.v0.128.7Compare Source
Features
dictbyMappingonHTTPException.headers. PR #12997 by @rijenkii.Refactors
Docs
dfntag for definitions instead ofabbrin docs. PR #14744 by @YuriiMotov.Internal
abbranddfntags. PR #14747 by @YuriiMotov.testworkflow to run tests withinline-snapshot=review. PR #14876 by @YuriiMotov.v0.128.6Compare Source
Fixes
on_startupandon_shutdownparameters ofAPIRouter. PR #14873 by @YuriiMotov.Translations
Internal
v0.128.5Compare Source
Refactors
Internal
v0.128.4Compare Source
Refactors
create_model_field, better types forlenient_issubclass. PR #14860 by @tiangolo.Translations
Internal
v0.128.3Compare Source
Refactors
on_eventin FastAPI for compatibility with the next Starlette, while keeping backwards compatibility. PR #14851 by @tiangolo.Upgrades
starlette>=0.40.0,<1.0.0. PR #14853 by @tiangolo.Translations
Internal
fastapi[all]minimum dependencies:ujson >=5.8.0,orjson >=3.9.3. PR #14846 by @tiangolo.v0.128.2Compare Source
Features
TypeAliasType. PR #13920 by @cstruct.Responsetype hint as dependency annotation. PR #14794 by @jonathan-fulton.Fixes
Json[list[str]]type (issue #10997). PR #14616 by @mkanetsuna.Docs
advanced-dependencies.md. PR #14815 by @Rayyan-Oumlil.Translations
Internal
v0.128.1Compare Source
Features
viewportmeta tag to improve Swagger UI on mobile devices. PR #14777 by @Joab0.Fixes
ValidationErrorschema to includeinputandctx. PR #14791 by @jonathan-fulton.Authorizationheader credentials. PR #14786 by @WaveTheory1.anyOfrefs for app-level responses with specifiedcontentandmodelasUnion. PR #14463 by @DJMcoder.Refactors
IncExtype from Pydantic instead of duplicating it. PR #14641 by @mvanderlee.Docs
docs_src/app_testing/app_bcode example. PR #14573 by @timakaa.docs/en/docs/contributing.md. PR #14757 by @YuriiMotov.response_modelwhen possible. PR #14753 by @YuriiMotov.WSGIMiddlewarefroma2wsgiinstead of deprecatedfastapi.middleware.wsgi.WSGIMiddleware. PR #14756 by @YuriiMotov.Translations
ukdocumentation. PR #14795 by @roli2py.llm-prompt.mdfor Korean language. PR #14763 by @seuthootDev.Internal
uv.lockgets theinternallabel. PR #14759 by @svlandeg.v0.128.0Compare Source
Breaking Changes
pydantic.v1. PR #14609 by @tiangolo.Internal
v0.127.1Compare Source
Refactors
FastAPIDeprecationWarning. PR #14605 by @tiangolo.Docs
Translations
Internal
lintjob fromtestCI workflow. PR #14593 by @YuriiMotov.python-pillow/Pillow (pillow)
v12.1.1Compare Source
v12.1.0Compare Source
https://pillow.readthedocs.io/en/stable/releasenotes/12.1.0.html
Deprecations
Documentation
Dependencies
Testing
ResourceWarnings inselftest.py#9332 [@hugovk]Type hints
Other changes