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

feat: deprecate litestar.contrib.pydantic #3852

Merged
merged 11 commits into from
Nov 16, 2024
Merged

feat: deprecate litestar.contrib.pydantic #3852

merged 11 commits into from
Nov 16, 2024

Conversation

cofin
Copy link
Member

@cofin cofin commented Nov 9, 2024

Description

This PR continues preparation for 3.0 by deprecating litestar.contrib.pydantic in favor of litestar.plugins.pydantic

Closes

@cofin cofin requested review from a team as code owners November 9, 2024 16:54
@github-actions github-actions bot added area/dependencies This PR involves changes to the dependencies size: medium type/feat pr/internal area/docs This PR involves changes to the documentation area/private-api This PR involves changes to the privatized API size: large and removed size: medium labels Nov 9, 2024
Copy link

codecov bot commented Nov 9, 2024

Codecov Report

Attention: Patch coverage is 99.53917% with 2 lines in your changes missing coverage. Please review.

Project coverage is 98.41%. Comparing base (98933a3) to head (7a97008).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
litestar/_openapi/schema_generation/examples.py 50.00% 1 Missing ⚠️
litestar/plugins/pydantic/utils.py 99.44% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3852      +/-   ##
==========================================
- Coverage   98.44%   98.41%   -0.03%     
==========================================
  Files         333      339       +6     
  Lines       15346    15371      +25     
  Branches     1693     1694       +1     
==========================================
+ Hits        15107    15128      +21     
- Misses        110      114       +4     
  Partials      129      129              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

uv.lock Outdated Show resolved Hide resolved
pdm.lock Show resolved Hide resolved
@github-actions github-actions bot removed area/dependencies This PR involves changes to the dependencies area/private-api This PR involves changes to the privatized API labels Nov 15, 2024
@github-actions github-actions bot added area/dependencies This PR involves changes to the dependencies area/private-api This PR involves changes to the privatized API labels Nov 15, 2024
@cofin cofin merged commit a2b8e48 into main Nov 16, 2024
26 checks passed
@cofin cofin deleted the pydantic-contrib branch November 16, 2024 01:02
Copy link

Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/3852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependencies This PR involves changes to the dependencies area/docs This PR involves changes to the documentation area/private-api This PR involves changes to the privatized API pr/internal size: large type/feat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: "Lockfile hash doesn't match pyproject.toml, packages may be outdated" warning in pdm
2 participants