8000 Comparing v2.10.0...v2.10.2 · 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.0
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.2
Choose a head ref
  • 19 commits
  • 23 files changed
  • 3 contributors

Commits on Nov 22, 2024

  1. Use the correct frame when instantiating a parametrized TypeAdapter (

    …#10893)
    
    Move all the documentation into the class docstring, rewrite some small parts of it.
    Viicos authored and sydney-runkle committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    00bbb91 View commit details
    Browse the repository at this point in the history
  2. Relax check for validated data in default factory utils (#10909)

    Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
    sydney-runkle and Viicos committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    bff29ab View commit details
    Browse the repository at this point in the history
  3. Fix type checking issue with model_fields and `model_computed_field…

    …s` (#10911)
    
    Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
    sydney-runkle and Viicos committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    a2acc52 View commit details
    Browse the repository at this point in the history
  4. Use the parent configuration during schema generation for stdlib data…

    …classes (#10928)
    
    Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
    sydney-runkle and Viicos committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    4def331 View commit details
    Browse the repository at this point in the history
  5. Use the globals of the function when evaluating the return type of …

    …serializers and computed_fields (#10929)
    Viicos authored and sydney-runkle committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    71168ba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6153054 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45bd7a7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    30b31da View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e0fc82f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4c75404 View commit details
    Browse the repository at this point in the history
  11. remove typo

    sydney-runkle committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    369b355 View commit details
    Browse the repository at this point in the history
  12. spacing

    sydney-runkle committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    17e60fa View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. Configuration menu
    Copy the full SHA
    d6fc7fc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c0ed72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    869eafd View commit details
    Browse the repository at this point in the history
  4. Fix type hint of Field.default to be compatible with Python 3.8 and…

    … 3.9 (#10972)
    
    For Python < 3.10, we define `EllipsisType = type(Ellipsis)` in
    `_typing_extra`. `EllipsisType` is then used in a type expression
    but pyright raises an error because `EllipsisType` is defined as
    variable.
    
    Instead, we make use of the `ellipsis` builtin, only available
    for type checkers (defined in typeshed) as a compatibility hack.
    Viicos authored and sydney-runkle committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    a9cf39c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02229a6 View commit details
    Browse the repository at this point in the history
  6. Hide BaseModel.__replace__ definition from type checkers (#10979)

    Because we make use of `@dataclass_transform()`, the method is synthesized by type checkers already. This fixes an issue with mypy and the Pydantic plugin, as the plugin removes the `dataclass_transform` spec from `BaseModel` subclasses, but not for `RootModel` which uses a different metaclass, and led to override issues with the synthesized `__replace__` for root models and the `BaseModel.__replace__` definition.
    Viicos authored and sydney-runkle committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    226cfaf View commit details
    Browse the repository at this point in the history
  7. Prepare for v2.10.2 release (#10982)

    Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com>
    sydney-runkle and Viicos committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    fe32515 View commit details
    Browse the repository at this point in the history
Loading
0