8000 Comparing v2.10.3...v2.10.4 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pydantic/pydantic
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.10.3
Choose a base ref
...
head repository: pydantic/pydantic
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.10.4
Choose a head ref
  • 11 commits
  • 26 files changed
  • 7 contributors

Commits on Dec 15, 2024

  1. Properly fetch PEP 695 type params for functions, do not fetch annota…

    …tions from signature (#11115)
    
    We now unsupport built-in functions.
    Viicos authored Dec 15, 2024
    Configuration menu
    Copy the full SHA
    fb58e44 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2024

  1. Configuration menu
    Copy the full SHA
    e036881 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7814fde View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6fd6a03 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9faa8d9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    572f57d View commit details
    Browse the repository at this point in the history
  6. Update WithJsonSchema documentation, add usage documentation for `j…

    …son_schema_input_type` (#11117)
    Viicos authored and sydney-runkle committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    9166d55 View commit details
    Browse the repository at this point in the history
  7. Include JSON Schema input core schema in function schemas (#11142)

    Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com>
    Viicos and sydney-runkle authored Dec 18, 2024
    Configuration menu
    Copy the full SHA
    a07c31e View commit details
    Browse the repository at this point in the history
  8. Make sure the type reference is removed from the seen references (#11145

    )
    
    When parametrizing generic models, the `generic_recursion_self_type`
    context manager is entered, and is used to avoid infinite recursions
    if the same generic model happens to be parametrized again with the
    same args during the first parametrization.
    
    However, upon exiting the context manager (and thus when the parametrized
    model is fully created), we forgot to remove the type ref from the set.
    This happened only if we were already in the process of parametrizing
    another model, as otherwise the `_generic_recursion_cache` would
    be reset (see the `if token` condition).
    
    In theory, this couldn't cause issues because parametrized models are
    cached, and the cache is checked *before* entering the context manager.
    However, because we have custom `mro()` implementation on the `BaseModel`
    metaclass, this ends up causing issues is some really specific scenarios.
    
    Co-authored-by: kc0506 <kchong0506@gmail.com>
    Viicos and kc0506 authored Dec 18, 2024
    Configuration menu
    Copy the full SHA
    ea69e69 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    46f0945 View commit details
    Browse the repository at this point in the history
  10. fix history.md

    sydney-runkle committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    5bd3a65 View commit details
    Browse the repository at this point in the history
Loading
0