Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for deprecated fields #8237

Merged
merged 44 commits into from
Feb 29, 2024
Merged

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    5a8944e View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Add Deprecated

    Viicos committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    4c9e717 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Configuration menu
    Copy the full SHA
    772b244 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f818aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16bda91 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    8af3c99 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Some initial PR feedback

    Viicos committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e50fa19 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. deprecated is now str

    Viicos committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    2c4cbea View commit details
    Browse the repository at this point in the history
  2. lock

    Viicos committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    6d58b09 View commit details
    Browse the repository at this point in the history
  3. relock

    Viicos committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    bbf3aa0 View commit details
    Browse the repository at this point in the history
  4. lint

    Viicos committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    28aafe9 View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Emit runtime warning

    Viicos committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    0506476 View commit details
    Browse the repository at this point in the history
  2. Fix computed_fields handling

    Viicos committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5214ffc View commit details
    Browse the repository at this point in the history
  3. Handle TypeError as well

    Viicos committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    c894937 View commit details
    Browse the repository at this point in the history
  4. Last fix

    Viicos committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    1084b3b View commit details
    Browse the repository at this point in the history
  5. fix import for 3.8

    Viicos committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3292732 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    768605d View commit details
    Browse the repository at this point in the history
  2. Use cls.model_computed_fields

    Viicos committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    537ba83 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Configuration menu
    Copy the full SHA
    61802e3 View commit details
    Browse the repository at this point in the history
  2. Allow instances of deprecated

    Viicos committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    bc28d13 View commit details
    Browse the repository at this point in the history
  3. fixes

    Viicos committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    089bb5e View commit details
    Browse the repository at this point in the history
  4. add docs

    Viicos committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    efb9b4b View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Configuration menu
    Copy the full SHA
    06817c0 View commit details
    Browse the repository at this point in the history
  2. lint docs

    Viicos committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    2986654 View commit details
    Browse the repository at this point in the history
  3. Rename __pydantic_deprecated_messages__ to `__pydantic_deprecated_f…

    …ields__`
    
    So that it will be somewhat forward compatible if we decide to support `stacklevel`
    and `category` at some point
    Viicos committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    9a63496 View commit details
    Browse the repository at this point in the history
  4. lint

    Viicos committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    92fd53f View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. PoC with deprecated object

    Viicos committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    cf06a73 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Revert "PoC with deprecated object"

    This reverts commit cf06a73
    while a solution is found for the performance issue
    Viicos committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    4a5ff92 View commit details
    Browse the repository at this point in the history
  2. Use a descriptor for deprecated fields

    Haven't checked how performance is impacted with this implementation yet
    Viicos committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    1fc7ec8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8110b79 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2024

  1. Use NoReturn

    Viicos committed Feb 21, 2024
    Configuration menu
    Copy the full SHA
    82b9bfb View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2024

  1. Use packaging as a dev dependency to parse the typing_exensions v…

    …ersion
    
    The renamed `parse_package_version` function does not handle every edge case,
    such as release canditates. I left it renamed for now but can change it back
    to `parse_mypy_version` if required.
    Viicos committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    69b83dc View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Remove referencing

    Viicos committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    4db38c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bf597a View commit details
    Browse the repository at this point in the history
  3. Reorganize pyproject.toml sections

    PDM gets confused
    Viicos committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    501abd4 View commit details
    Browse the repository at this point in the history
  4. Add packaging as a dev dep.

    Viicos committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    c1f92e1 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Revert unrelated changes

    Viicos committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    9579d4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90fb70b View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Catch warning in test

    Viicos committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    6cf695c View commit details
    Browse the repository at this point in the history
  2. Update docs

    Viicos committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    b67698c View commit details
    Browse the repository at this point in the history
  3. Temp. disable FastAPI tests

    Viicos committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    3c8da2c View commit details
    Browse the repository at this point in the history
  4. adding bool support

    sydney-runkle committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    fc73851 View commit details
    Browse the repository at this point in the history
  5. remove comment

    sydney-runkle committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    fb2a119 View commit details
    Browse the repository at this point in the history
  6. docs updates

    sydney-runkle committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    4acb83a View commit details
    Browse the repository at this point in the history