NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #24 most downloaded on PyPI
Core functionality for Pydantic validation and serialization
Last release 23 days ago
09 Sep 2026
Release timing varies
gaps range from 2 weeks to 4 months
No release notes found
nothing matched a version
3 versions withdrawn
withdrawn after publishing
4 years old
159 releases · first in 2022
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix typo in NoneIsNotAllowedError message, #414 by @YaraslauZhylko
fix tests for Python 3.8, #396 by @samuelcolvin
Deprecated ignore_extra and allow_extra Config fields in favor of extra, #352 by @liiight
Callable type hint, fix #279 by @proofit404validator decorator, fix #375 by @tiangolomultiple_of constraint to ConstrainedDecimal, ConstrainedFloat, ConstrainedInt
and their related types condecimal, confloat, and conint #371, thanks @StephenBrown2ignore_extra and allow_extra Config fields in favor of extra, #352 by @liiightvalidate_all or validate_always, #381 by @samuelcolvin2e10, #385 by @samuelcolvinadd ConstrainedBytes and conbytes types, #315 @Gr1N
breaking change: don't call validators on keys of dictionaries, #254 by @samuelcolvin
always=True when the default is None or the type is optional, also prevent
whole validators being called for sub-fields, fix #132 by @samuelcolvinignore_extra=False and allow_population_by_alias=True, fix #257 by @samuelcolvinBaseConfig attributes min_anystr_length and max_anystr_length to
None by default, fix #349 in #350 by @tiangoloNothing published for this version
fix create_model to correctly use the passed __config__, #320 by @hugoduncan
create_model to correctly use the passed __config__, #320 by @hugoduncanbreaking change: refactor schema generation to be compatible with JSON Schema and OpenAPI specs, #308 by @tiangolo
schema to schema module to generate top-level schemas from base models, #308 by @tiangoloSchema class to declare validation for str and numeric values, #311 by @tiangolo_schema to schema on fields, #318 by @samuelcolvincase_insensitive option to BaseSettings Config, #277 by @jasonkuhrtNothing published for this version
Nothing published for this version
move codebase to use black, #287 by @samuelcolvin
parse_date, #298 by @samuelcolvinPyObject = None, fix #305 by @samuelcolvinPattern type, fix #303 by @samuelcolvinNothing published for this version
dataclasses decorator, #269 by @Gaunt and @samuelcolvin
raise an exception if a field's name shadows an existing BaseModel attribute #242
BaseModel attribute #242UrlStr and urlstr types #236timedelta objects as values for properties of type timedelta (matches datetime etc. behavior) #247fix schema generation for fields defined using typing.Any #237
typing.Any #237add by_alias argument in .dict() and .json() model methods #205
support Python 3.7 #216, thanks @layday
breaking change: new errors format #179, thanks @Gr1N
Config.allow_population_by_alias #160, thanks @bendemareeConfig.min_number_size and Config.max_number_size #183, thanks @Gr1Nlt and gt arguments to conint etc. #188
for the old behaviour use le and ge #194, thanks @jahebaConfig.error_msg_templates #183,
thanks @Gr1Ntweak email-validator import error message #145
parse_date() and parse_datetime() when input is 0 #144, thanks @YannLuoConfig.anystr_strip_whitespace and strip_whitespace kwarg to constr,
by default values is False #163, thanks @Gr1NConstrainedFloat, confloat, PositiveFloat and NegativeFloat types #166, thanks @Gr1NNothing published for this version
Nothing published for this version
fix bug with create_model modifying the base class
create_model modifying the base classbreaking change: rename .config to .__config__ on a model
create_model method #113 #125.config to .__config__ on a model.values() on a model, use .dict() insteadOrderedDict and use simple dict #126Config.use_enum_values #127@validate('*') #128assignment validation #94, thanks petroswork!
Nothing published for this version
Nothing published for this version
Nothing published for this version
remove index and track from error object (json) if they're null #90
show length in string validation error
Nothing published for this version
immutable models via config.allow_mutation = False, associated cleanup and performance improvement #44
config.allow_mutation = False, associated cleanup and performance improvement #44construct() and copy() #53setattr is removed as __setattr__ is now intelligent #44raise_exception removed, Models now always raise exceptions #44StrictStr which only always strings as input #52* add docs * add history
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →