Skip to content

Add the 20261111 presets - #6729

Merged
Koudai Aono (koxudaxi) merged 1 commit into
st-4980from
st-presets
Nov 11, 2026
Merged

Koudai Aono (koxudaxi) merged 1 commit into
st-4980from
st-presets

Conversation

@koxudaxi

@koxudaxi Koudai Aono (koxudaxi) commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features
    • Added standard and practical presets for Python 3.10–3.15, dated 20261111.
    • Preset documentation now uses the updated release presets across setup, client, server, and migration examples.
  • Improvements
    • Date-addition summaries no longer show “and add:” when there are no additions.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Explain Change →

Walkthrough

This change adds standard and practical preset names dated 20261111 for Python 3.10–3.15. It registers their option groups, extends formatter and opt-in tests, and updates documentation examples to use the new preset names.

Changes: 20261111 Preset Release

Layer / File(s) Summary
Preset names and registry
src/datamodel_code_generator/preset.py, src/datamodel_code_generator/preset_names.py
Adds standard and practical preset names for Python 3.10–3.15. The standard presets reuse the 20261106 option groups, and the practical presets use the 20261104 practical extras. The generated date heading omits “and add:” when there are no additions.
Formatter and opt-in tests
tests/main/test_main_general.py, tests/main/test_main_general.refs, tests/main/test_preset_opt_in_options.py
Adds formatter expectations for the new presets and updates opt-in equivalence coverage to include the 20261111 release.
Documentation examples
README.md, docs/cli-reference/general-options.md, docs/fastapi-code-generator-migration.md, docs/fastapi-server.md, docs/getting-started.md, docs/index.md, docs/python-client.md, docs/recommend-options.md, docs/using_as_module.md
Updates preset references and examples to use the 20261111 names.

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Feature

Possibly related issues

  • datamodel-code-generator/datamodel-code-generator issue 5096 requests release documentation for dated preset output and behavior changes. This change adds a dated preset and updates examples, but the available summary does not establish that it covers the issue’s full documentation objective.

Possibly related PRs

Suggested labels: breaking-change-analyzed

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: adding the 20261111 presets and updating their documentation and tests.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 4 files. (10 skipped: 10 unsupported.)

Finishing Touches

Generate docstrings

  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Review coverage is incomplete: 1 file could not be fully reviewed. Findings from completed review steps are included; see review info for details.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8e5693e and 5e83419.

Files ignored due to path filters: 115

  • docs/llms-full.txt is excluded by none and included by none
  • skills/datamodel-code-generator/references/cli-options.md is excluded by none and included by none
  • tests/data/expected/behaviour_diff_script/gate_shards_judge_the_stale_entries_of_an_unsharded_run.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/help/color.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/help/no_color.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[candidate-limit].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[definitions-and-defs].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[diff-against].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[graphql].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[input-model].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[json-data].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[json].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[left-out-option].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[package-output].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[preset-argument].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[rejected-candidates].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[server-target].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[unconstrained-fields-of-the-kept-parse].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[unconstrained-fields-per-module].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates[unconstrained-fields].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_for_directories.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_for_projects.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_from_stdin[all-rejected].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_from_stdin[schema].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_from_url.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_compares_candidates_while_updating_the_lock.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_counts_long_numbered_names.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_default_skips_large_comparisons[large-schema-and-previous].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_default_skips_large_comparisons[large-schema].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_default_skips_large_comparisons[size-unknown].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[changes].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[current].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[inexpressible-under-preset-argument].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[job].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[preset-argument-json].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[preset-argument].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[profile].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_projects[unicode-profile].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[api-scope-31-operations].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[api-scope-32-operations].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[api-scope-excluded-path-operations].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-avro-merged-names].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-avro-messages].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-avro-payload].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-avro-shared-names].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-multi-format-extension].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi-v3].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[asyncapi].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[blank-union-titles].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[draft-07-pattern-map].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[enums-read-as-their-const].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[explicit-options].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[integer-definition-keys].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[json].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[jsonschema-naming-strategy-set].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[jsonschema].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[older-preset].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[openapi-schema-key-component].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[openapi-scopes].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-bodies-api-scope].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-bodies-as-definitions].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-bodies-included-paths].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-bodies-object-map].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-bodies-referenced-path-item].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-scope-32-operations].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-scope-integer-schema-key].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[paths-scope].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[pattern-properties].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[preset-value].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[property-counts-beside-ignored-ref].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[redundant-constraint-on-root].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[redundant-constraints].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[ref-siblings-read-as-draft-07].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[referenced-holders-api-scope].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[referenced-holders].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[root-name-taken].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[swagger-definitions].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[swagger-json].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[typed-dict].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[union-edges].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[unions-merge-shared-variant-tags-older-preset].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[unions-merge-shared-variant-tags-remote-mapping-value].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[unions-merge-shared-variant-tags].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[unions-shared-variant-tags-msgspec].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[validation-keywords-json].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[validation-keywords].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_for_schemas[validation-options-set].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_from_stdin.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_from_url[no-lock].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_from_url[update-lock].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_in_prompt[backtick-titles].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_in_prompt[job].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_in_prompt[json].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_in_prompt[text].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_quotes_arguments.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_reads_each_container_once.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_rejects_candidates_that_fail.stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_without_schema_rules[directory].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_without_schema_rules[graphql].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/main_recommend_options/recommend_options_without_schema_rules[input-model].stdout.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main/recommend_options/titled_variants.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_prompt/basic.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_prompt/json_output.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_prompt/with_list_options.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_prompt/with_options.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/main_kr/generate_prompt/with_question.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/preset_docs/preset_names.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/preset_docs/presets_json.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/preset_docs/presets_markdown.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/recommender_calibrate_script/calibration_cases[inexpressible].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/recommender_calibrate_script/calibration_cases[partial_parallel].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/recommender_calibrate_script/calibration_cases[ratio_threshold].txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/recommender_calibrate_script/calibration_run.txt is excluded by !tests/data/**/*.txt and included by none
  • tests/data/expected/skills/datamodel-code-generator/skill_recipes/skill_recommend_options_recipe.txt is excluded by !tests/data/**/*.txt and included by none
Files selected for processing: 15

  • README.md
  • docs/cli-reference/general-options.md
  • docs/fastapi-code-generator-migration.md
  • docs/fastapi-server.md
  • docs/getting-started.md
  • docs/index.md
  • docs/presets.md
  • docs/python-client.md
  • docs/recommend-options.md
  • docs/using_as_module.md
  • src/datamodel_code_generator/preset.py
  • src/datamodel_code_generator/preset_names.py
  • tests/main/test_main_general.py
  • tests/main/test_main_general.refs
  • tests/main/test_preset_opt_in_options.py
Files not fully reviewed because they exceed a per-file size limit: 1

  • docs/presets.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.

@koxudaxi
Koudai Aono (koxudaxi) marked this pull request as ready for review November 11, 2026 13:16
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T13:17:15.694493Z 5e83419 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

@codspeed

codspeed Bot commented Nov 11, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 28.34%

2 warnings

⚠️ Walltime results may be unreliable

Some benchmarks used the Walltime instrument outside CodSpeed Macro Runners, which can make the results inconsistent.

Learn more about Macro Runners

See affected benchmarks

⚠️ 53 benchmarks with a significant change ran on different hardware

Their base and head results were measured on machines with a different CPU, core count or memory, so the changes might not come from the code. Run base and head on the same runner type.

Learn more about Macro Runners

See affected benchmarks

⚡ 53 improved benchmarks
⏩ 98 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_perf_simple_pydantic_v2_field_construction 11 ms 8.2 ms +33.96%
⚡ test_perf_unique_items_permuted_object_validation 70.2 ms 52.6 ms +33.43%
⚡ test_perf_client_calls[sync] 33.1 ms 25.2 ms +31.54%
⚡ test_perf_inherited_required_fields[required-derived-first] 874.5 ms 666.2 ms +31.27%
⚡ test_perf_target_render[fastapi-small] 22.9 ms 17.5 ms +31.18%
⚡ test_perf_pattern_properties_adapter_reuse 3.9 ms 2.9 ms +30.77%
⚡ test_perf_load_pyproject_config[mapping-multiple] 200.7 µs 153.9 µs +30.46%
⚡ test_perf_unique_items_collapsed_builtin 2 s 1.5 s +30.34%
⚡ test_perf_simple_msgspec_unset_field_rendering 437.3 ms 335.9 ms +30.18%
⚡ test_perf_target_render[client-small] 37.3 ms 28.8 ms +29.74%
⚡ test_perf_ordinary_array_constraint_generation 2.2 s 1.7 s +29.5%
⚡ test_perf_unique_items_runtime_scalar_validation 3.2 ms 2.4 ms +29.3%
⚡ test_perf_client_calls[async] 36.7 ms 28.4 ms +29.29%
⚡ test_perf_local_reference_file_resolution 138.9 ms 107.5 ms +29.24%
⚡ test_perf_scalar_root_collapsed_builtin 197.1 ms 152.6 ms +29.15%
⚡ test_perf_load_pyproject_config[config-multiple] 200.7 µs 155.5 µs +29.09%
⚡ test_perf_load_yaml_openapi_large 34 ms 26.3 ms +29.02%
⚡ test_perf_complex_refs 2.1 s 1.7 s +28.78%
⚡ test_perf_kubernetes_style_pydantic_v2 2.6 s 2.1 s +28.67%
⚡ test_perf_inherited_required_fields[required-base-first] 771.2 ms 600.6 ms +28.41%
... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing st-presets (5e83419) with main (4f8a391)2

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on st-4980 (8e5693e) during the generation of this report, so main (4f8a391) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@koxudaxi
Koudai Aono (koxudaxi) merged commit 3503fef into main Nov 11, 2026
45 of 146 checks passed
@koxudaxi
Koudai Aono (koxudaxi) deleted the st-presets branch November 11, 2026 16:44
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: The PR adds twelve new dated presets, standard and practical for py310 through py315 with the date 20261111. They are new PresetName enum members and Literal entries, and they reuse the 20261106 option groups unchanged, with no opt-in options added. The analysis context lists these presets as absent from release 0.93.0, so they reach no released behaviour. No existing preset, option, enum value or public name is removed; the only removed lines are documentation examples that now point to the new presets, one docstring and test text. The small change in _date_additions_markdown only alters generated preset docs, writing keep the options with a period when a date adds nothing. The experimental recommend-options output and the help and prompt fixtures now name the newest preset, but that preset expands to the same options as 20261106, so the suggested commands generate the same code and the feature still starts from the latest preset as before. The behaviour diff gate shows only both-fail cells and no accepted or violation cells, so default generated output is unchanged. There are no template, Python version or error handling changes.


This analysis was produced by the release draft workflow

@github-actions

Copy link
Copy Markdown
Contributor

🎉 Released in 0.94.0

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant