fastapi-router-versioning 1.2.2__tar.gz → 1.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/latest-changes.yml +1 -1
  2. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/build-docs.yml +8 -8
  3. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/bump-pre-commit-hooks.yml +5 -5
  4. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/create-draft-release.yml +3 -3
  5. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/deploy-docs.yml +3 -3
  6. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/detect-conflicts.yml +1 -1
  7. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/guard-dependencies.yml +1 -1
  8. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/pre-commit.yml +4 -4
  9. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/prepare-release.yml +3 -3
  10. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/publish.yml +3 -3
  11. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/test-fastapi-main.yml +6 -6
  12. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/test-redistribute.yml +6 -6
  13. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/test.yml +19 -19
  14. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/workflows/zizmor.yml +2 -2
  15. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.pre-commit-config.yaml +1 -1
  16. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/PKG-INFO +1 -1
  17. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/reverse-proxy-and-sub-apps.md +5 -2
  18. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/release-notes.md +27 -0
  19. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/__init__.py +1 -1
  20. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/pyproject.toml +20 -9
  21. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/build_icons.py +4 -3
  22. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/docs_screenshots.py +5 -5
  23. fastapi_router_versioning-1.2.3/tests/test_docs_src.py +145 -0
  24. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/uv.lock +109 -102
  25. fastapi_router_versioning-1.2.3/zensical.toml +127 -0
  26. fastapi_router_versioning-1.2.2/mkdocs.yml +0 -130
  27. fastapi_router_versioning-1.2.2/tests/test_docs_src.py +0 -55
  28. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.github/dependabot.yml +0 -0
  29. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.gitignore +0 -0
  30. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/.python-version +0 -0
  31. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/LICENSE +0 -0
  32. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/README.md +0 -0
  33. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/callback-hook.md +0 -0
  34. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/callbacks-and-webhooks.md +0 -0
  35. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/custom-url-format.md +0 -0
  36. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/deprecation-headers.md +0 -0
  37. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/index.md +0 -0
  38. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/latest-alias.md +0 -0
  39. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/multiple-routers.md +0 -0
  40. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/openapi-hook.md +0 -0
  41. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/self-hosted-assets.md +0 -0
  42. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/validation-error-status-code.md +0 -0
  43. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/advanced/version-discovery.md +0 -0
  44. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/apple-touch-icon.png +0 -0
  45. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/favicon.ico +0 -0
  46. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/favicon.png +0 -0
  47. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/favicon.svg +0 -0
  48. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/logo-header.svg +0 -0
  49. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/logo.svg +0 -0
  50. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/images/wordmark.png +0 -0
  51. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/latest-alias.jpg +0 -0
  52. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/migration-root.jpg +0 -0
  53. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/quickstart-calver.jpg +0 -0
  54. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/quickstart-semver-v1.jpg +0 -0
  55. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/quickstart-semver-v2.jpg +0 -0
  56. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/redoc-v2.jpg +0 -0
  57. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/swagger-v1.jpg +0 -0
  58. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/swagger-v2.jpg +0 -0
  59. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/swagger-v3.jpg +0 -0
  60. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/url-format-latest.jpg +0 -0
  61. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/url-format-v1.jpg +0 -0
  62. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/versions-dashboard.jpg +0 -0
  63. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/webhooks-v1.jpg +0 -0
  64. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/assets/screenshots/webhooks-v2.jpg +0 -0
  65. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/examples.md +0 -0
  66. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/how-it-works.md +0 -0
  67. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/index.md +0 -0
  68. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/lifecycle.md +0 -0
  69. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/migrating.md +0 -0
  70. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/quickstart.md +0 -0
  71. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/reference.md +0 -0
  72. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs/stylesheets/extra.css +0 -0
  73. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/callback_hook.py +0 -0
  74. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/callbacks.py +0 -0
  75. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/custom_url_format.py +0 -0
  76. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/deprecation_headers.py +0 -0
  77. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/latest_alias.py +0 -0
  78. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/multiple_routers.py +0 -0
  79. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/openapi_hook.py +0 -0
  80. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/reverse_proxy.py +0 -0
  81. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/self_hosted_assets.py +0 -0
  82. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/validation_error_status_code.py +0 -0
  83. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/version_discovery.py +0 -0
  84. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/advanced/webhooks.py +0 -0
  85. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/lifecycle/legacy_route.py +0 -0
  86. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/migration/adopt.py +0 -0
  87. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/migration/change_endpoint.py +0 -0
  88. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/migration/retire_unversioned.py +0 -0
  89. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/quickstart/calver.py +0 -0
  90. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/docs_src/quickstart/semver.py +0 -0
  91. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/calver_app.py +0 -0
  92. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/dashboard_assets/versions_dashboard.css +0 -0
  93. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/dashboard_assets/versions_dashboard.html +0 -0
  94. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/deprecation_headers_app.py +0 -0
  95. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/download_static_assets.py +0 -0
  96. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/mounted_subapps_app.py +0 -0
  97. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/multi_router_app.py +0 -0
  98. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/openapi_hook_app.py +0 -0
  99. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/self_hosted_docs_app.py +0 -0
  100. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/semver_app.py +0 -0
  101. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/semver_major_only_app.py +0 -0
  102. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/validation_override_integration_app.py +0 -0
  103. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/versions_dashboard_app.py +0 -0
  104. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/versions_dashboard_hook_app.py +0 -0
  105. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/examples/webhook_versioning_app.py +0 -0
  106. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_builder.py +0 -0
  107. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_compat.py +0 -0
  108. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_dashboard.py +0 -0
  109. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_deprecation.py +0 -0
  110. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_docs.py +0 -0
  111. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_lifecycle.py +0 -0
  112. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_registry.py +0 -0
  113. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_scheme.py +0 -0
  114. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/_versions.py +0 -0
  115. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/py.typed +0 -0
  116. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/fastapi_router_versioning/versioner.py +0 -0
  117. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/overrides/main.html +0 -0
  118. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/docs-build.sh +0 -0
  119. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/docs.sh +0 -0
  120. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/format.sh +0 -0
  121. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/generate_readme.py +0 -0
  122. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/lint.sh +0 -0
  123. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/prepare_release.py +0 -0
  124. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/test-cov-html.sh +0 -0
  125. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/test-cov.sh +0 -0
  126. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/scripts/test.sh +0 -0
  127. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/__init__.py +0 -0
  128. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_calver.py +0 -0
  129. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_docs_src_behavior.py +0 -0
  130. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_examples.py +0 -0
  131. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_fastapi_integration.py +0 -0
  132. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_prepare_release.py +0 -0
  133. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_public_signature_docs.py +0 -0
  134. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_readme.py +0 -0
  135. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_semver.py +0 -0
  136. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner.py +0 -0
  137. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_deprecation_headers.py +0 -0
  138. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_docs.py +0 -0
  139. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_errors.py +0 -0
  140. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_lifecycle.py +0 -0
  141. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_versions_dashboard.py +0 -0
  142. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_versions_route.py +0 -0
  143. {fastapi_router_versioning-1.2.2 → fastapi_router_versioning-1.2.3}/tests/test_versioner_webhooks.py +0 -0
@@ -4,7 +4,7 @@ auto-labels:
4
4
  - docs/**
5
5
  - docs_src/**
6
6
  - examples/**
7
- - mkdocs.yml
7
+ - zensical.toml
8
8
  - overrides/**
9
9
  internal:
10
10
  - .github/**
@@ -19,11 +19,11 @@ jobs:
19
19
  outputs:
20
20
  docs: ${{ steps.filter.outputs.docs }}
21
21
  steps:
22
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-6
22
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
23
23
  with:
24
24
  persist-credentials: false
25
25
  # For pull requests it's not necessary to checkout the code but for the main branch it is
26
- - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.2 #sync-pin:paths-filter-2
26
+ - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
27
27
  id: filter
28
28
  with:
29
29
  filters: |
@@ -34,7 +34,7 @@ jobs:
34
34
  - docs_src/**
35
35
  - examples/**
36
36
  - fastapi_router_versioning/**
37
- - mkdocs.yml
37
+ - zensical.toml
38
38
  - overrides/**
39
39
  - scripts/docs-build.sh
40
40
  - pyproject.toml
@@ -51,17 +51,17 @@ jobs:
51
51
  env:
52
52
  GITHUB_CONTEXT: ${{ toJson(github) }}
53
53
  run: echo "$GITHUB_CONTEXT"
54
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-7
54
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
55
55
  with:
56
56
  persist-credentials: false
57
57
 
58
58
  - name: Set up Python
59
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python-3
59
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
60
60
  with:
61
61
  python-version-file: .python-version
62
62
 
63
63
  - name: Setup uv
64
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv-4
64
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
65
65
  with:
66
66
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
67
67
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -76,7 +76,7 @@ jobs:
76
76
  run: uv run --no-sync bash scripts/docs-build.sh
77
77
 
78
78
  # The site is deployed by Deploy Docs, which runs once this workflow has finished
79
- - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.1 #sync-pin:upload-artifact-3
79
+ - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
80
80
  with:
81
81
  name: docs-site
82
82
  path: ./site
@@ -91,7 +91,7 @@ jobs:
91
91
  timeout-minutes: 5
92
92
  steps:
93
93
  - name: Decide whether the needed jobs succeeded or failed
94
- uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.2.2 #sync-pin:alls-green-2
94
+ uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0
95
95
  with:
96
96
  jobs: ${{ toJSON(needs) }}
97
97
  allowed-skips: build-docs
@@ -17,15 +17,15 @@ jobs:
17
17
  env:
18
18
  GITHUB_CONTEXT: ${{ toJson(github) }}
19
19
  run: echo "$GITHUB_CONTEXT"
20
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
20
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
21
21
  with:
22
22
  persist-credentials: false
23
23
  - name: Set up Python
24
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
24
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
25
25
  with:
26
26
  python-version-file: ".python-version"
27
27
  - name: Setup uv
28
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
28
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
29
29
  with:
30
30
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
31
31
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -34,7 +34,7 @@ jobs:
34
34
  pyproject.toml
35
35
  uv.lock
36
36
  - name: Bump pre-commit hooks
37
- run: uv run prek auto-update --freeze --cooldown-days 7
37
+ run: uv run prek update --freeze --cooldown-days 7
38
38
  - name: Create pull request
39
39
  env:
40
40
  GH_TOKEN: ${{ secrets.FASTAPI_ROUTER_VERSIONING_LATEST_CHANGES }}
@@ -58,7 +58,7 @@ jobs:
58
58
  --base "$BASE_BRANCH" \
59
59
  --head "$branch" \
60
60
  --title "⬆ Bump pre-commit hooks" \
61
- --body "Bump pre-commit hook versions via \`prek auto-update --freeze --cooldown-days 7\`." \
61
+ --body "Bump pre-commit hook versions via \`prek update --freeze --cooldown-days 7\`." \
62
62
  --label internal \
63
63
  --label dependencies \
64
64
  --label pre-commit
@@ -22,16 +22,16 @@ jobs:
22
22
  env:
23
23
  GITHUB_CONTEXT: ${{ toJson(github) }}
24
24
  run: echo "$GITHUB_CONTEXT"
25
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
25
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
26
  with:
27
27
  ref: ${{ github.event.repository.default_branch }}
28
28
  persist-credentials: false
29
29
  - name: Set up Python
30
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
30
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
31
31
  with:
32
32
  python-version-file: ".python-version"
33
33
  - name: Install uv
34
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
34
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
35
35
  with:
36
36
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
37
37
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -39,14 +39,14 @@ jobs:
39
39
  mkdir ./site
40
40
  # Build Docs is skipped when nothing that goes into the site changed: it uploads no artifact,
41
41
  # the download below finds nothing, and the steps that need ./site/ are skipped
42
- - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.1 #sync-pin:download-artifact-2
42
+ - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
43
43
  with:
44
44
  path: ./site/
45
45
  pattern: docs-site
46
46
  merge-multiple: true
47
47
  github-token: ${{ secrets.GITHUB_TOKEN }}
48
48
  run-id: ${{ github.event.workflow_run.id }}
49
- - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 #sync-pin:upload-pages-artifact
49
+ - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
50
50
  # hashFiles returns an empty string if there are no files
51
51
  if: hashFiles('./site/*')
52
52
  with:
@@ -55,4 +55,4 @@ jobs:
55
55
  # hashFiles returns an empty string if there are no files
56
56
  if: hashFiles('./site/*')
57
57
  id: deployment
58
- uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 #sync-pin:deploy-pages
58
+ uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
@@ -15,7 +15,7 @@ jobs:
15
15
  timeout-minutes: 5
16
16
  steps:
17
17
  - name: Check if PRs have merge conflicts
18
- uses: eps1lon/actions-label-merge-conflict@0273be72a0bbd58fcd71d0d6c02c209b50d1e5e1 # v3.1.0 #sync-pin:actions-label-merge-conflict
18
+ uses: eps1lon/actions-label-merge-conflict@0273be72a0bbd58fcd71d0d6c02c209b50d1e5e1 # v3.1.0
19
19
  with:
20
20
  dirtyLabel: "conflicts"
21
21
  repoToken: "${{ secrets.GITHUB_TOKEN }}"
@@ -18,7 +18,7 @@ jobs:
18
18
  timeout-minutes: 5
19
19
  steps:
20
20
  - name: Check if author is org member or allowed bot
21
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 #sync-pin:github-script
21
+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
22
22
  with:
23
23
  script: |
24
24
  const pr = context.payload.pull_request;
@@ -18,19 +18,19 @@ jobs:
18
18
  run: echo "$GITHUB_CONTEXT"
19
19
 
20
20
  - name: Checkout code
21
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
21
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22
22
  with:
23
23
  persist-credentials: false
24
24
  # Full history required for --from-ref/--to-ref diff in prek
25
25
  fetch-depth: 0
26
26
 
27
27
  - name: Set up Python
28
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
28
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
29
29
  with:
30
30
  python-version-file: ".python-version"
31
31
 
32
32
  - name: Setup uv
33
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
33
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
34
34
  with:
35
35
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
36
36
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -60,6 +60,6 @@ jobs:
60
60
  run: echo "$GITHUB_CONTEXT"
61
61
 
62
62
  - name: Decide whether the needed jobs succeeded or failed
63
- uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.2.2 #sync-pin:alls-green
63
+ uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0
64
64
  with:
65
65
  jobs: ${{ toJSON(needs) }}
@@ -34,15 +34,15 @@ jobs:
34
34
  env:
35
35
  GITHUB_CONTEXT: ${{ toJson(github) }}
36
36
  run: echo "$GITHUB_CONTEXT"
37
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
37
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
38
38
  with:
39
39
  persist-credentials: false
40
40
  - name: Set up Python
41
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
41
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
42
42
  with:
43
43
  python-version-file: ".python-version"
44
44
  - name: Install uv
45
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
45
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
46
46
  with:
47
47
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
48
48
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -20,15 +20,15 @@ jobs:
20
20
  env:
21
21
  GITHUB_CONTEXT: ${{ toJson(github) }}
22
22
  run: echo "$GITHUB_CONTEXT"
23
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
23
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
24
24
  with:
25
25
  persist-credentials: false
26
26
  - name: Set up Python
27
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
27
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
28
28
  with:
29
29
  python-version-file: ".python-version"
30
30
  - name: Install uv
31
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
31
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
32
32
  with:
33
33
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
34
34
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -5,8 +5,8 @@ name: Test FastAPI main
5
5
  # part of any required check.
6
6
  on:
7
7
  schedule:
8
- # cron every week on monday
9
- - cron: "0 0 * * 1"
8
+ # cron every day: FastAPI often releases what lands on master within hours
9
+ - cron: "0 3 * * *"
10
10
  workflow_dispatch:
11
11
 
12
12
  permissions: {}
@@ -22,17 +22,17 @@ jobs:
22
22
  UV_PYTHON: "3.14"
23
23
 
24
24
  steps:
25
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
25
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
26
26
  with:
27
27
  persist-credentials: false
28
28
 
29
29
  - name: Set up Python
30
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
30
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
31
31
  with:
32
32
  python-version: "3.14"
33
33
 
34
34
  - name: Setup uv
35
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
35
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
36
36
  with:
37
37
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
38
38
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -43,7 +43,7 @@ jobs:
43
43
  uv.lock
44
44
 
45
45
  - name: Install Dependencies
46
- run: uv sync
46
+ run: uv sync --no-dev --group tests
47
47
 
48
48
  - name: Install FastAPI from source
49
49
  run: uv pip install -U "git+https://github.com/fastapi/fastapi@master"
@@ -18,10 +18,10 @@ jobs:
18
18
  outputs:
19
19
  src: ${{ steps.filter.outputs.src }}
20
20
  steps:
21
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
21
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22
22
  with:
23
23
  persist-credentials: false
24
- - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.2 #sync-pin:paths-filter
24
+ - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
25
25
  id: filter
26
26
  with:
27
27
  filters: |
@@ -46,11 +46,11 @@ jobs:
46
46
  env:
47
47
  GITHUB_CONTEXT: ${{ toJson(github) }}
48
48
  run: echo "$GITHUB_CONTEXT"
49
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-2
49
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
50
50
  with:
51
51
  persist-credentials: false
52
52
  - name: Set up Python
53
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
53
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
54
54
  with:
55
55
  python-version-file: ".python-version"
56
56
  - name: Install build dependencies
@@ -64,7 +64,7 @@ jobs:
64
64
  - name: Install test dependencies
65
65
  run: |
66
66
  cd dist/fastapi_router_versioning*/
67
- pip install --group dev --editable .
67
+ pip install --group tests --editable .
68
68
  - name: Run source distribution tests
69
69
  run: |
70
70
  cd dist/fastapi_router_versioning*/
@@ -83,7 +83,7 @@ jobs:
83
83
  timeout-minutes: 5
84
84
  steps:
85
85
  - name: Decide whether the needed jobs succeeded or failed
86
- uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.2.2 #sync-pin:alls-green
86
+ uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0
87
87
  with:
88
88
  jobs: ${{ toJSON(needs) }}
89
89
  allowed-skips: test-redistribute
@@ -25,11 +25,11 @@ jobs:
25
25
  outputs:
26
26
  src: ${{ steps.filter.outputs.src }}
27
27
  steps:
28
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
28
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
29
29
  with:
30
30
  persist-credentials: false
31
31
  # For pull requests it's not necessary to checkout the code but for the main branch it is
32
- - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.2 #sync-pin:paths-filter
32
+ - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
33
33
  id: filter
34
34
  with:
35
35
  filters: |
@@ -74,17 +74,17 @@ jobs:
74
74
  GITHUB_CONTEXT: ${{ toJson(github) }}
75
75
  run: echo "$GITHUB_CONTEXT"
76
76
 
77
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-2
77
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
78
78
  with:
79
79
  persist-credentials: false
80
80
 
81
81
  - name: Set up Python
82
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python
82
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
83
83
  with:
84
84
  python-version: ${{ matrix.python-version }}
85
85
 
86
86
  - name: Setup uv
87
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv
87
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
88
88
  with:
89
89
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
90
90
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -96,7 +96,7 @@ jobs:
96
96
  uv.lock
97
97
 
98
98
  - name: Install Dependencies
99
- run: uv sync
99
+ run: uv sync --no-dev --group tests
100
100
 
101
101
  - name: Override FastAPI version
102
102
  if: matrix.fastapi-version != 'latest'
@@ -119,7 +119,7 @@ jobs:
119
119
 
120
120
  - name: Store coverage files
121
121
  if: matrix.coverage == 'coverage'
122
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.1 #sync-pin:upload-artifact
122
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
123
123
  with:
124
124
  name: coverage-${{ matrix.python-version }}-${{ matrix.fastapi-version }}
125
125
  path: coverage
@@ -131,7 +131,7 @@ jobs:
131
131
  steps:
132
132
  - name: Check out the pull request
133
133
  if: github.event_name == 'pull_request'
134
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-3
134
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
135
135
  with:
136
136
  ref: ${{ github.sha }}
137
137
  path: pr
@@ -163,7 +163,7 @@ jobs:
163
163
 
164
164
  - name: Check out the base revision
165
165
  if: steps.changed-tests.outputs.found == 'true'
166
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-4
166
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
167
167
  with:
168
168
  ref: ${{ github.event.pull_request.base.sha }}
169
169
  path: base
@@ -171,13 +171,13 @@ jobs:
171
171
 
172
172
  - name: Set up Python
173
173
  if: steps.changed-tests.outputs.found == 'true'
174
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 #sync-pin:setup-python-2
174
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
175
175
  with:
176
176
  python-version-file: "base/.python-version"
177
177
 
178
178
  - name: Setup uv
179
179
  if: steps.changed-tests.outputs.found == 'true'
180
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv-2
180
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
181
181
  with:
182
182
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
183
183
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -189,7 +189,7 @@ jobs:
189
189
  working-directory: base
190
190
  run: |
191
191
  git apply "$RUNNER_TEMP/tests.patch"
192
- uv sync --locked
192
+ uv sync --locked --no-dev --group tests
193
193
  set +e
194
194
  xargs -0 uv run --no-sync pytest -- < "$RUNNER_TEMP/changed-tests"
195
195
  status=$?
@@ -214,12 +214,12 @@ jobs:
214
214
  GITHUB_CONTEXT: ${{ toJson(github) }}
215
215
  run: echo "$GITHUB_CONTEXT"
216
216
 
217
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout-5
217
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
218
218
  with:
219
219
  persist-credentials: false
220
220
 
221
221
  - name: Setup uv
222
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v9.0.0 #sync-pin:setup-uv-3
222
+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
223
223
  with:
224
224
  # Before upgrading uv version, make sure astral-sh/setup-uv knows its checksum.
225
225
  # See: https://github.com/astral-sh/setup-uv/issues/851#issuecomment-4282017837
@@ -230,10 +230,10 @@ jobs:
230
230
  uv.lock
231
231
 
232
232
  - name: Install Dependencies
233
- run: uv sync --locked
233
+ run: uv sync --locked --no-dev --group tests
234
234
 
235
235
  - name: Get coverage files
236
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.1 #sync-pin:download-artifact
236
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
237
237
  with:
238
238
  pattern: coverage-*
239
239
  path: coverage
@@ -245,14 +245,14 @@ jobs:
245
245
  - run: uv run coverage xml
246
246
 
247
247
  - name: Store coverage HTML
248
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.1 #sync-pin:upload-artifact-2
248
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
249
249
  with:
250
250
  name: coverage-html
251
251
  path: htmlcov
252
252
  include-hidden-files: true
253
253
 
254
254
  - name: Upload coverage to Codecov
255
- uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.0.0 #sync-pin:codecov-action
255
+ uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
256
256
  with:
257
257
  token: ${{ secrets.CODECOV_TOKEN }}
258
258
  files: coverage.xml
@@ -275,7 +275,7 @@ jobs:
275
275
  GITHUB_CONTEXT: ${{ toJson(github) }}
276
276
  run: echo "$GITHUB_CONTEXT"
277
277
  - name: Decide whether the needed jobs succeeded or failed
278
- uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.2.2 #sync-pin:alls-green
278
+ uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0
279
279
  with:
280
280
  jobs: ${{ toJSON(needs) }}
281
281
  allowed-skips: test,coverage-combine
@@ -18,8 +18,8 @@ jobs:
18
18
  security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
19
19
  steps:
20
20
  - name: Checkout repository
21
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 #sync-pin:checkout
21
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22
22
  with:
23
23
  persist-credentials: false
24
24
  - name: Run zizmor
25
- uses: zizmorcore/zizmor-action@85b2b9fb8e3325e7a23d7d0a9d7ba5ae0f999e3e # v0.6.2 #sync-pin:zizmor-action
25
+ uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0
@@ -15,7 +15,7 @@ repos:
15
15
  - id: trailing-whitespace
16
16
 
17
17
  - repo: https://github.com/crate-ci/typos
18
- rev: 53821664afd79bb88fcdd22fdc2f49d8d3f6cac9 # frozen: v1
18
+ rev: 7f9d0819ca1c008ade73f4b41fa9d258d48f605b # frozen: v1.51.1
19
19
  hooks:
20
20
  - id: typos
21
21
  args: [ --force-exclude ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fastapi-router-versioning
3
- Version: 1.2.2
3
+ Version: 1.2.3
4
4
  Summary: Router-based API versioning for FastAPI, with per-version docs and a declarative route lifecycle.
5
5
  Project-URL: Homepage, https://fastapi-router-versioning.matblack81.com/
6
6
  Project-URL: Repository, https://github.com/matblack81/fastapi-router-versioning
@@ -4,13 +4,16 @@ description: How root_path is handled behind a proxy and when mounting sub-appli
4
4
 
5
5
  # Reverse proxy and sub-apps
6
6
 
7
- The ASGI `root_path` FastAPI sets when an app runs behind a proxy or is mounted with
8
- `app.mount()` is picked up automatically in every per-version doc URL:
7
+ The ASGI `root_path`, set by the server behind a proxy (`--root-path`) or by `app.mount()`,
8
+ is picked up automatically in every per-version doc URL:
9
9
 
10
10
  ```python
11
11
  --8<-- "docs_src/advanced/reverse_proxy.py:snippet"
12
12
  ```
13
13
 
14
+ For the proxy side (stripping the prefix, `--root-path`), see FastAPI's
15
+ [Behind a Proxy](https://fastapi.tiangolo.com/advanced/behind-a-proxy/) guide.
16
+
14
17
  A mounted sub-application is a separate `FastAPI()` instance, so a `RouterVersioner` attached to
15
18
  it is entirely independent from one attached to the parent, or to another sub-application, with
16
19
  no prefix coordination needed.
@@ -2,6 +2,33 @@
2
2
 
3
3
  ## Latest Changes
4
4
 
5
+ ## 1.2.3 (2026-11-02)
6
+
7
+ ### Docs
8
+
9
+ * 🔧 Move the site configuration from mkdocs.yml to zensical.toml. PR [#148](https://github.com/matblack81/fastapi-router-versioning/pull/148) by [@matblack81](https://github.com/matblack81).
10
+ * 📝 Link FastAPI's Behind a Proxy guide from the reverse proxy page. PR [#135](https://github.com/matblack81/fastapi-router-versioning/pull/135) by [@matblack81](https://github.com/matblack81).
11
+ * 📝 Say who sets root_path on the reverse proxy page. PR [#134](https://github.com/matblack81/fastapi-router-versioning/pull/134) by [@matblack81](https://github.com/matblack81).
12
+
13
+ ### Internal
14
+
15
+ * ⬆ Bump pre-commit hooks. PR [#152](https://github.com/matblack81/fastapi-router-versioning/pull/152) by [@matblack81](https://github.com/matblack81).
16
+ * 🐛 Fix the pre-commit hooks bump workflow after the prek command rename. PR [#151](https://github.com/matblack81/fastapi-router-versioning/pull/151) by [@matblack81](https://github.com/matblack81).
17
+ * ⬆ Bump the github-actions group with 2 updates. PR [#150](https://github.com/matblack81/fastapi-router-versioning/pull/150) by [@dependabot[bot]](https://github.com/apps/dependabot).
18
+ * ⬆ Bump the python-packages group with 3 updates. PR [#149](https://github.com/matblack81/fastapi-router-versioning/pull/149) by [@dependabot[bot]](https://github.com/apps/dependabot).
19
+ * ⬆ Bump FastAPI to 0.162.0. PR [#147](https://github.com/matblack81/fastapi-router-versioning/pull/147) by [@matblack81](https://github.com/matblack81).
20
+ * ⬆ Bump fastapi from 0.143.3 to 0.159.1. PR [#146](https://github.com/matblack81/fastapi-router-versioning/pull/146) by [@dependabot[bot]](https://github.com/apps/dependabot).
21
+ * ⬆ Bump the python-packages group with 3 updates. PR [#145](https://github.com/matblack81/fastapi-router-versioning/pull/145) by [@dependabot[bot]](https://github.com/apps/dependabot).
22
+ * ⬆ Bump the github-actions group with 2 updates. PR [#144](https://github.com/matblack81/fastapi-router-versioning/pull/144) by [@dependabot[bot]](https://github.com/apps/dependabot).
23
+ * 💡 Fix the snapshot regeneration command for new examples. PR [#143](https://github.com/matblack81/fastapi-router-versioning/pull/143) by [@matblack81](https://github.com/matblack81).
24
+ * 🔨 Keep the icon and screenshot script checks under python -O. PR [#142](https://github.com/matblack81/fastapi-router-versioning/pull/142) by [@matblack81](https://github.com/matblack81).
25
+ * ✅ Snapshot the routes and deprecations of every docs example. PR [#141](https://github.com/matblack81/fastapi-router-versioning/pull/141) by [@matblack81](https://github.com/matblack81).
26
+ * 🔨 Simplify the run commands in the screenshot and icon scripts. PR [#140](https://github.com/matblack81/fastapi-router-versioning/pull/140) by [@matblack81](https://github.com/matblack81).
27
+ * 🔥 Remove the leftover sync-pin markers from the workflows. PR [#139](https://github.com/matblack81/fastapi-router-versioning/pull/139) by [@matblack81](https://github.com/matblack81).
28
+ * 👷 Install only the tests dependency group in the test workflows. PR [#138](https://github.com/matblack81/fastapi-router-versioning/pull/138) by [@matblack81](https://github.com/matblack81).
29
+ * 🔧 Split the dev dependencies into tests, docs and screenshots groups. PR [#137](https://github.com/matblack81/fastapi-router-versioning/pull/137) by [@matblack81](https://github.com/matblack81).
30
+ * 👷 Run the FastAPI master workflow daily. PR [#136](https://github.com/matblack81/fastapi-router-versioning/pull/136) by [@matblack81](https://github.com/matblack81).
31
+
5
32
  ## 1.2.2 (2026-10-25)
6
33
 
7
34
  ### Refactors
@@ -1,6 +1,6 @@
1
1
  from ._versions import VersionFormat, VersionInfo, VersionT, api_version
2
2
  from .versioner import RouterVersioner
3
3
 
4
- __version__ = "1.2.2"
4
+ __version__ = "1.2.3"
5
5
 
6
6
  __all__ = ["RouterVersioner", "api_version", "VersionFormat", "VersionInfo", "VersionT"]
@@ -44,23 +44,30 @@ Changelog = "https://fastapi-router-versioning.matblack81.com/release-notes/"
44
44
 
45
45
  [dependency-groups]
46
46
  dev = [
47
+ { include-group = "tests" },
48
+ { include-group = "docs" },
49
+ { include-group = "screenshots" },
50
+ "ruff>=0.14.0",
51
+ "mypy>=1.17.0",
52
+ "ty>=0.0.28",
53
+ "pyrefly>=0.60.0",
54
+ "prek >=0.2.22",
55
+ "zizmor>=1.0.0",
56
+ "uvicorn>=0.49.0",
57
+ ]
58
+
59
+ # Everything the test suite imports, so CI can install it alone with --no-dev --group tests:
60
+ # typer for scripts/prepare_release.py, jinja2 and fastapi-validation-override for examples/.
61
+ tests = [
47
62
  "httpx>=0.28.1",
48
63
  "httpx2>=0.28.0",
49
- "ruff>=0.14.0",
50
64
  "pytest>=9.1.0",
51
65
  "pytest-asyncio>=1.3.0",
52
- "pytest-dotenv>=0.5.2",
53
- "mypy>=1.17.0",
54
66
  "coverage[toml]>=7.14.1",
55
67
  "inline-snapshot >=0.21.1",
56
- "prek >=0.2.22",
57
- "ty>=0.0.28",
58
- "pyrefly>=0.60.0",
59
68
  "typer>=0.15.0",
60
- "uvicorn>=0.49.0",
61
- "zizmor>=1.0.0",
62
- "fastapi-validation-override>=0.2.0",
63
69
  "jinja2>=3.1.0",
70
+ "fastapi-validation-override>=0.2.0",
64
71
  ]
65
72
 
66
73
  docs = [
@@ -146,6 +153,10 @@ known-third-party = ["fastapi", "pydantic", "starlette"]
146
153
  [tool.ruff.lint.pyupgrade]
147
154
  keep-runtime-typing = true
148
155
 
156
+ [tool.inline-snapshot]
157
+ # Snapshots that --inline-snapshot=fix rewrites come out already formatted.
158
+ format-command = "ruff format --stdin-filename {filename}"
159
+
149
160
  [tool.typos.default.extend-identifiers]
150
161
  alls = "alls"
151
162
  certifi = "certifi"