fix(deps): update all non-major dependencies
This MR contains the following updates:
| Package | Type | Update | Change | Age | Confidence |
|---|---|---|---|---|---|
| DavidAnson/markdownlint-cli2 | repository | minor |
v0.17.2 -> v0.18.1
|
||
| django (changelog) | dependencies | patch |
5.2.3 -> 5.2.4
|
||
| mkdocs-material (changelog) | docs | patch |
9.6.14 -> 9.6.15
|
||
| pre-commit/mirrors-mypy | repository | minor |
v1.4.1 -> v1.16.1
|
||
| pre-commit/pre-commit-hooks | repository | minor |
v4.4.0 -> v4.6.0
|
||
| psf/black | repository | minor |
23.3.0 -> 23.12.1
|
||
| pydantic (changelog) | dependencies | minor |
>=1.8.0,<1.9.0 -> >=1.10.22,<1.11.0
|
||
| python-poetry/poetry | repository | patch |
1.8.2 -> 1.8.5
|
||
| registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python | final | minor |
3.11-slim -> 3.13-slim
|
||
| registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python | stage | minor |
3.11-slim -> 3.13-slim
|
||
| requests-cache (changelog) | dependencies | minor |
>=0.7.0,<0.8.0 -> >=0.9.8,<0.10.0
|
||
| social-auth-app-django (changelog) | dependencies | minor |
5.4.3 -> 5.5.1
|
||
| timothycrosley/isort | repository | minor |
5.12.0 -> 5.13.2
|
||
| tox (changelog) | minor |
4.26.0 -> 4.27.0
|
|||
| uis/devops/continuous-delivery/ci-templates | repository | minor |
v6.7.0 -> v6.15.0
|
Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.
Release Notes
squidfunk/mkdocs-material (mkdocs-material)
v9.6.15: mkdocs-material-9.6.15
- Updated Mongolian translations
- Improved semantic markup of "edit this page" button
- Improved info plugin virtual environment resolution
- Fixed #8291: Large font size setting throws of breakpoints in JavaScript
pre-commit/mirrors-mypy (pre-commit/mirrors-mypy)
v1.16.1
v1.16.0
v1.15.0
v1.14.1
v1.14.0
v1.13.0
v1.12.1
v1.12.0
v1.11.2
v1.11.1
v1.11.0
v1.10.1
v1.10.0
v1.9.0
v1.8.0
v1.7.1
v1.7.0
v1.6.1
v1.6.0
v1.5.1
v1.5.0
pre-commit/pre-commit-hooks (pre-commit/pre-commit-hooks)
v4.6.0: pre-commit-hooks v4.6.0
Features
-
requirements-txt-fixer: remove duplicate packages.- #1014 MR by @vhoulbreque-withings.
- #960 issue @csibe17.
Migrating
-
fix-encoding-pragma: deprecated -- will be removed in 5.0.0. use pyupgrade or some other tool.
v4.5.0: pre-commit-hooks v4.5.0
Features
-
requirements-txt-fixer: also sortconstraints.txtby default.- #857 MR by @lev-blit.
- #830 issue by @PLPeeters.
-
debug-statements: addbpdbdebugger.
Fixes
-
file-contents-sorter: fix sorting an empty file.- #944 MR by @RoelAdriaans.
- #935 issue by @paduszyk.
-
double-quote-string-fixer: don't rewrite inside f-strings in 3.12+.- #973 MR by @asottile.
- #971 issue by @XuehaiPan.
Migrating
- now requires python >= 3.8.
- #926 MR by @asottile.
- #927 MR by @asottile.
psf/black (psf/black)
v23.12.1
Packaging
- Fixed a bug that included dependencies from the
dextra by default (#4108)
v23.12.0
Highlights
It's almost 2024, which means it's time for a new edition of Black's stable style! Together with this release, we'll put out an alpha release 24.1a1 showcasing the draft 2024 stable style, which we'll finalize in the January release. Please try it out and share your feedback.
This release (23.12.0) will still produce the 2023 style. Most but not all of the
changes in --preview mode will be in the 2024 stable style.
Stable style
- Fix bug where
# fmt: offautomatically dedents when used with the--line-rangesoption, even when it is not within the specified line range. (#4084) - Fix feature detection for parenthesized context managers (#4104)
Preview style
- Prefer more equal signs before a break when splitting chained assignments (#4010)
- Standalone form feed characters at the module level are no longer removed (#4021)
- Additional cases of immediately nested tuples, lists, and dictionaries are now indented less (#4012)
- Allow empty lines at the beginning of all blocks, except immediately before a docstring (#4060)
- Fix crash in preview mode when using a short
--line-length(#4086) - Keep suites consisting of only an ellipsis on their own lines if they are not functions or class definitions (#4066) (#4103)
Configuration
-
--line-rangesnow skips Black's internal stability check in--safemode. This avoids a crash on rare inputs that have many unformatted same-content lines. (#4034)
Packaging
- Upgrade to mypy 1.7.1 (#4049) (#4069)
- Faster compiled wheels are now available for CPython 3.12 (#4070)
Integrations
- Enable 3.12 CI (#4035)
- Build docker images in parallel (#4054)
- Build docker images with 3.12 (#4055)
v23.11.0
Highlights
- Support formatting ranges of lines with the new
--line-rangescommand-line option (#4020)
Stable style
- Fix crash on formatting bytes strings that look like docstrings (#4003)
- Fix crash when whitespace followed a backslash before newline in a docstring (#4008)
- Fix standalone comments inside complex blocks crashing Black (#4016)
- Fix crash on formatting code like
await (a ** b)(#3994) - No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019)
Preview style
- Multiline dicts and lists that are the sole argument to a function are now indented less (#3964)
- Multiline unpacked dicts and lists as the sole argument to a function are now also indented less (#3992)
- In f-string debug expressions, quote types that are visible in the final string are now preserved (#4005)
- Fix a bug where long
caseblocks were not split into multiple lines. Also enable general trailing comma rules oncaseblocks (#4024) - Keep requiring two empty lines between module-level docstring and first function or class definition (#4028)
- Add support for single-line format skip with other comments on the same line (#3959)
Configuration
- Consistently apply force exclusion logic before resolving symlinks (#4015)
- Fix a bug in the matching of absolute path names in
--include(#3976)
Performance
- Fix mypyc builds on arm64 on macOS (#4017)
Integrations
- Black's pre-commit integration will now run only on git hooks appropriate for a code formatter (#3940)
v23.10.1
Highlights
- Maintenance release to get a fix out for GitHub Action edge case (#3957)
Preview style
- Fix merging implicit multiline strings that have inline comments (#3956)
- Allow empty first line after block open before a comment or compound statement (#3967)
Packaging
- Change Dockerfile to hatch + compile black (#3965)
Integrations
- The summary output for GitHub workflows is now suppressible using the
summaryparameter. (#3958) - Fix the action failing when Black check doesn't pass (#3957)
Documentation
- It is known Windows documentation CI is broken https://github.com/psf/black/issues/3968
v23.10.0
Stable style
- Fix comments getting removed from inside parenthesized strings (#3909)
Preview style
- Fix long lines with power operators getting split before the line length (#3942)
- Long type hints are now wrapped in parentheses and properly indented when split across multiple lines (#3899)
- Magic trailing commas are now respected in return types. (#3916)
- Require one empty line after module-level docstrings. (#3932)
- Treat raw triple-quoted strings as docstrings (#3947)
Configuration
- Fix cache versioning logic when
BLACK_CACHE_DIRis set (#3937)
Parser
- Fix bug where attributes named
typewere not accepted insidematchstatements (#3950) - Add support for PEP 695 type aliases containing lambdas and other unusual expressions (#3949)
Output
- Black no longer attempts to provide special errors for attempting to format Python 2 code (#3933)
- Black will more consistently print stacktraces on internal errors in verbose mode (#3938)
Integrations
- The action output displayed in the job summary is now wrapped in Markdown (#3914)
v23.9.1
Due to various issues, the previous release (23.9.0) did not include compiled mypyc wheels, which make Black significantly faster. These issues have now been fixed, and this release should come with compiled wheels once again.
There will be no wheels for Python 3.12 due to a bug in mypyc. We will provide 3.12 wheels in a future release as soon as the mypyc bug is fixed.
Packaging
- Upgrade to mypy 1.5.1 (#3864)
Performance
- Store raw tuples instead of NamedTuples in Black's cache, improving performance and decreasing the size of the cache (#3877)
v23.9.0
Preview style
- More concise formatting for dummy implementations (#3796)
- In stub files, add a blank line between a statement with a body (e.g an
if sys.version_info > (3, x):) and a function definition on the same level (#3862) - Fix a bug whereby spaces were removed from walrus operators within subscript(#3823)
Configuration
- Black now applies exclusion and ignore logic before resolving symlinks (#3846)
Performance
- Avoid importing
IPythonif notebook cells do not contain magics (#3782) - Improve caching by comparing file hashes as fallback for mtime and size (#3821)
Blackd
- Fix an issue in
blackdwith single character input (#3558)
Integrations
- Black now has an
official pre-commit mirror. Swapping
https://github.com/psf/blacktohttps://github.com/psf/black-pre-commit-mirrorin your.pre-commit-config.yamlwill make Black about 2x faster (#3828) - The
.black.envfolder specified byENV_PATHwill now be removed on the completion of the GitHub Action (#3759)
v23.7.0
Highlights
- Runtime support for Python 3.7 has been removed. Formatting 3.7 code will still be supported until further notice (#3765)
Stable style
- Fix a bug where an illegal trailing comma was added to return type annotations using PEP 604 unions (#3735)
- Fix several bugs and crashes where comments in stub files were removed or mishandled under some circumstances (#3745)
- Fix a crash with multi-line magic comments like
type: ignorewithin parentheses (#3740) - Fix error in AST validation when Black removes trailing whitespace in a type comment (#3773)
Preview style
- Implicitly concatenated strings used as function args are no longer wrapped inside parentheses (#3640)
- Remove blank lines between a class definition and its docstring (#3692)
Configuration
- The
--workersargument to Black can now be specified via theBLACK_NUM_WORKERSenvironment variable (#3743) -
.pytest_cache,.ruff_cacheand.vscodeare now excluded by default (#3691) - Fix Black not honouring
pyproject.tomlsettings when running--stdin-filenameand thepyproject.tomlfound isn't in the current working directory (#3719) -
Black will now error if
excludeandextend-excludehave invalid data types inpyproject.toml, instead of silently doing the wrong thing (#3764)
Packaging
- Upgrade mypyc from 0.991 to 1.3 (#3697)
- Remove patching of Click that mitigated errors on Python 3.6 with
LANG=C(#3768)
Parser
- Add support for the new PEP 695 syntax in Python 3.12 (#3703)
Performance
- Speed up Black significantly when the cache is full (#3751)
- Avoid importing
IPythonin a case where we wouldn't need it (#3748)
Output
- Use aware UTC datetimes internally, avoids deprecation warning on Python 3.12 (#3728)
- Change verbose logging to exactly mirror Black's logic for source discovery (#3749)
Blackd
- The
blackdargument parser now shows the default values for options in their help text (#3712)
Integrations
- Black is now tested with
PYTHONWARNDEFAULTENCODING = 1(#3763) - Update GitHub Action to display black output in the job summary (#3688)
Documentation
pydantic/pydantic (pydantic)
v1.10.22
v1.10.21
- Fix compatibility with ForwardRef._evaluate and Python < 3.12.4 by @griels in https://github.com/pydantic/pydantic/pull/11232
v1.10.20
This release provides proper support for Python 3.13, with (Cythonized) wheels published for this version.
As a consequence, Cython was updated from 0.29.x to 3.0.x.
- General maintenance of CI and build ecosystem by @Viicos in https://github.com/pydantic/pydantic/pull/10847
- Update Cython to
3.0.x. - Properly address Python 3.13 deprecation warnings.
- Migrate packaging to
pyproject.toml, make use of PEP 517 build options. - Use
buildinstead of directsetup.pyinvocations. - Update various Github Actions versions.
- Update Cython to
- Replace outdated stpmex link in documentation by @jaredenorris in https://github.com/pydantic/pydantic/pull/10997
v1.10.19
- Add warning when v2 model is nested in v1 model by @sydney-runkle in https://github.com/pydantic/pydantic/pull/10432
- Fix deprecation warning in V1
isinstancecheck by @alicederyn in https://github.com/pydantic/pydantic/pull/10645
v1.10.18
- Eval type fix in V1 by @sydney-runkle in https://github.com/pydantic/pydantic/pull/9751
- Add
to_lower_camelto__all__inutils.pyby @sydney-runkle (direct commit) - Fix
mypyv1 plugin for mypy 1.11 release by @flaeppe in https://github.com/pydantic/pydantic/pull/10139 - Fix discriminator key used when discriminator has alias and
.schema(by_alias=False)by @exs-dwoodward in https://github.com/pydantic/pydantic/pull/10146
v1.10.17
- Advertise Python 3.12 for 1.10.x! Part Deux by @vfazio in https://github.com/pydantic/pydantic/pull/9644
- Mirrored modules in
v1namespace to fix typing and object resolution in python>3.11 by @exs-dwoodward in https://github.com/pydantic/pydantic/pull/9660 - setup: remove upper bound from python_requires by @vfazio in https://github.com/pydantic/pydantic/pull/9685
v1.10.16
- Specify recursive_guard as kwarg in FutureRef._evaluate by @vfazio in https://github.com/pydantic/pydantic/pull/9612
- Fix mypy v1 plugin for upcoming mypy release by @ cdce8p in https://github.com/pydantic/pydantic/pull/9586
- Import modules/objects directly from v1 namespace by @exs-dwoodward in https://github.com/pydantic/pydantic/pull/9162
v1.10.15
- Add pydantic.v1 namespace to Pydantic v1 by @exs-dmiketa in https://github.com/pydantic/pydantic/pull/9042
- Relax version of typing-extensions for V1 by @SonOfLilit in https://github.com/pydantic/pydantic/pull/8819
- patch fix for mypy by @sydney-runkle in https://github.com/pydantic/pydantic/pull/8765
v1.10.14
- Update install.md by @dmontagu in #7690
- Fix ci to only deploy docs on release by @sydney-runkle in #7740
- Ubuntu fixes for V1 by @sydney-runkle in #8540 and #8587
- Fix cached_property handling in dataclasses when copied by @rdbisme in #8407
v1.10.13
- Fix: Add max length check to
pydantic.validate_email, #7673 by @hramezani - Docs: Fix pip commands to install v1, #6930 by @chbndrhnns
v1.10.12
- Fixes the
maxlenproperty being dropped ondequevalidation. Happened only if the deque item has been typed. Changes the_validate_sequence_likefunc, #6581 by @maciekglowka
v1.10.11
- Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #6361 by @SharathHuddar
v1.10.10
- Add Pydantic
Jsonfield support to settings management, #6250 by @hramezani - Fixed literal validator errors for unhashable values, #6188 by @markus1978
- Fixed bug with generics receiving forward refs, #6130 by @mark-todd
- Update install method of FastAPI for internal tests in CI, #6117 by @Kludex
v1.10.9
- Fix trailing zeros not ignored in Decimal validation, #5968 by @hramezani
- Fix mypy plugin for v1.4.0, #5928 by @cdce8p
- Add future and past date hypothesis strategies, #5850 by @bschoenmaeckers
- Discourage usage of Cython 3 with Pydantic 1.x, #5845 by @lig
v1.10.8
- Fix a bug in
Literalusage withtyping-extension==4.6.0, #5826 by @hramezani - This solves the (closed) issue #3849 where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, #5736 by @benwah
- Update email-validator dependency to >=2.0.0post2, #5627 by @adriangb
- update
AnyClassMethodfor changes in python/typeshed#9771, #5505 by @ITProKyle
v1.10.7
- Fix creating schema from model using
ConstrainedStrwithregexas dict key, #5223 by @matejetz - Address bug in mypy plugin caused by explicit_package_bases=True, #5191 by @dmontagu
- Add implicit defaults in the mypy plugin for Field with no default argument, #5190 by @dmontagu
- Fix schema generated for Enum values used as Literals in discriminated unions, #5188 by @javibookline
- Fix mypy failures caused by the pydantic mypy plugin when users define
from_ormin their own classes, #5187 by @dmontagu - Fix
InitVarusage with pydantic dataclasses, mypy version1.1.1and the custom mypy plugin, #5162 by @cdce8p
v1.10.6
- Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping
functools.partialandfunctools.partialmethodwhen checking the signature, #5126 by @JensHeinrich - Fix mypy plugin for v1.1.1, and fix
dataclass_transformdecorator for pydantic dataclasses, #5111 by @cdce8p - Raise
ValidationError, notConfigError, when a discriminator value is unhashable, #4773 by @kurtmckee
v1.10.5
- Fix broken parametrized bases handling with
GenericModels with complex sets of models, #5052 by @MarkusSintonen - Invalidate mypy cache if plugin config changes, #5007 by @cdce8p
- Fix
RecursionErrorwhen deep-copying dataclass types wrapped by pydantic, #4949 by @mbillingr - Fix
X | Yunion syntax breakingGenericModel, #4146 by @thenx - Switch coverage badge to show coverage for this branch/release, #5060 by @samuelcolvin
v1.10.4
- Change dependency to
typing-extensions>=4.2.0, #4885 by @samuelcolvin
v1.10.3
NOTE: v1.10.3 was "yanked" from PyPI due to #4885 which is fixed in v1.10.4
- fix parsing of custom root models, #4883 by @gou177
- fix: use dataclass proxy for frozen or empty dataclasses, #4878 by @PrettyWood
- Fix
schemaandschema_jsonon models where a model instance is a one of default values, #4781 by @Bobronium - Add Jina AI to sponsors on docs index page, #4767 by @samuelcolvin
- fix: support assignment on
DataclassProxy, #4695 by @PrettyWood - Add
postgresql+psycopgas allowed scheme forPostgreDsnto make it usable with SQLAlchemy 2, #4689 by @morian - Allow dict schemas to have both
patternPropertiesandadditionalProperties, #4641 by @jparise - Fixes error passing None for optional lists with
unique_items, #4568 by @mfulgo - Fix
GenericModelwithCallableparam raising aTypeError, #4551 by @mfulgo - Fix field regex with
StrictStrtype annotation, #4538 by @sisp - Correct
dataclass_transformkeyword argument name fromfield_descriptorstofield_specifiers, #4500 by @samuelcolvin - fix: avoid multiple calls of
__post_init__when dataclasses are inherited, #4487 by @PrettyWood - Reduce the size of binary wheels, #2276 by @samuelcolvin
v1.10.2
- Fix compatibility with ForwardRef._evaluate and Python < 3.12.4 by @griels in https://github.com/pydantic/pydantic/pull/11232
v1.10.1
- Add warning when v2 model is nested in v1 model by @sydney-runkle in https://github.com/pydantic/pydantic/pull/10432
- Fix deprecation warning in V1
isinstancecheck by @alicederyn in https://github.com/pydantic/pydantic/pull/10645
v1.10.0
- Refactor the whole pydantic
dataclassdecorator to really act like its standard lib equivalent. It hence keeps__eq__,__hash__, ... and makes comparison with its non-validated version possible. It also fixes usage offrozendataclasses in fields and usage ofdefault_factoryin nested dataclasses. The support ofConfig.extrahas been added. Finally, config customization directly via adictis now possible, #2557 by @PrettyWood
BREAKING CHANGES:- The
compiledboolean (whether pydantic is compiled with cython) has been moved frommain.pytoversion.py - Now that
Config.extrais supported,dataclassignores by default extra arguments (likeBaseModel)
- The
- Fix PEP487
__set_name__protocol inBaseModelfor PrivateAttrs, #4407 by @tlambert03 - Allow for custom parsing of environment variables via
parse_env_varinConfig, #4406 by @acmiyaguchi - Rename
mastertomain, #4405 by @hramezani - Fix
StrictStrdoes not raiseValidationErrorwhenmax_lengthis present inField, #4388 by @hramezani - Make
SecretStrandSecretByteshashable, #4387 by @chbndrhnns - Fix
StrictBytesdoes not raiseValidationErrorwhenmax_lengthis present inField, #4380 by @JeanArhancet - Add support for bare
type, #4375 by @hramezani - Support Python 3.11, including binaries for 3.11 in PyPI, #4374 by @samuelcolvin
- Add support for
re.Pattern, #4366 by @hramezani - Fix
__post_init_post_parse__is incorrectly passed keyword arguments when no__post_init__is defined, #4361 by @hramezani - Fix implicitly importing
ForwardRefandCallablefrompydantic.typinginstead oftypingand also exposeMappingIntStrAny, #4358 by @aminalaee - remove
Anytypes from thedataclassdecorator so it can be used with thedisallow_any_exprmypy option, #4356 by @DetachHead - moved repo to
pydantic/pydantic, #4348 by @yezz123 - fix "extra fields not permitted" error when dataclass with
Extra.forbidis validated multiple times, #4343 by @detachhead - Add Python 3.9 and 3.10 examples to docs, #4339 by @Bobronium
- Discriminated union models now use
oneOfinstead ofanyOfwhen generating OpenAPI schema definitions, #4335 by @MaxwellPayne - Allow type checkers to infer inner type of
Jsontype.Json[list[str]]will be now inferred aslist[str],Json[Any]should be used instead of plainJson. Runtime behaviour is not changed, #4332 by @Bobronium - Allow empty string aliases by using a
alias is not Nonecheck, rather thanbool(alias), #4253 by @sergeytsaplin - Update
ForwardRefs inField.outer_type_, #4249 by @JacobHayes - The use of
__dataclass_transform__has been replaced bytyping_extensions.dataclass_transform, which is the preferred way to mark pydantic models as a dataclass under PEP 681, #4241 by @multimeric - Use parent model's
Configwhen validating nestedNamedTuplefields, #4219 by @synek - Update
BaseModel.constructto work with aliased Fields, #4192 by @kylebamos - Catch certain raised errors in
smart_deepcopyand revert todeepcopyif so, #4184 by @coneybeare - Add
Config.anystr_upperandto_upperkwarg to constr and conbytes, #4165 by @satheler - Fix JSON schema for
setandfrozensetwhen they include default values, #4155 by @aminalaee - Teach the mypy plugin that methods decorated by
@validatorare classmethods, #4102 by @DMRobertson - Improve mypy plugin's ability to detect required fields, #4086 by @richardxia
- Support fields of type
Type[]in schema, #4051 by @aminalaee - Add
defaultvalue in JSON Schema whenconst=True, #4031 by @aminalaee - Adds reserved word check to signature generation logic, #4011 by @strue36
- Fix Json strategy failure for the complex nested field, #4005 by @sergiosim
- Add JSON-compatible float constraint
allow_inf_nan, #3994 by @tiangolo - Remove undefined behaviour when
env_prefixhad characters in common withenv_nested_delimiter, #3975 by @arsenron - Support generics model with
create_model, #3945 by @hot123s - allow submodels to overwrite extra field info, #3934 by @PrettyWood
- Document and test structural pattern matching (PEP 636) on
BaseModel, #3920 by @irgolic - Fix incorrect deserialization of python timedelta object to ISO 8601 for negative time deltas. Minus was serialized in incorrect place ("P-1DT23H59M59.888735S" instead of correct "-P1DT23H59M59.888735S"), #3899 by @07pepa
- Fix validation of discriminated union fields with an alias when passing a model instance, #3846 by @chornsby
- Add a CockroachDsn type to validate CockroachDB connection strings. The type
supports the following schemes:
cockroachdb,cockroachdb+psycopg2andcockroachdb+asyncpg, #3839 by @blubber - Fix MyPy plugin to not override pre-existing
__init__method in models, #3824 by @patrick91 - Fix mypy version checking, #3783 by @KotlinIsland
- support overwriting dunder attributes of
BaseModelinstances, #3777 by @PrettyWood - Added
ConstrainedDateandcondate, #3740 by @hottwaj - Support
kw_onlyin dataclasses, #3670 by @detachhead - Add comparison method for
Colorclass, #3646 by @aminalaee - Drop support for python3.6, associated cleanup, #3605 by @samuelcolvin
- created new function
to_lower_camel()for "non pascal case" camel case, #3463 by @schlerp - Add checks to
defaultanddefault_factoryarguments in Mypy plugin, #3430 by @klaa97 - fix mangling of
inspect.signatureforBaseModel, #3413 by @fix-inspect-signature - Adds the
SecretFieldabstract class so that all the current and future secret fields likeSecretStrandSecretByteswill derive from it, #3409 by @expobrain - Support multi hosts validation in
PostgresDsn, #3337 by @rglsk - Fix parsing of very small numeric timedelta values, #3315 by @samuelcolvin
- Update
SecretsSettingsSourceto respectconfig.case_sensitive, #3273 by @JeanArhancet - Add MongoDB network data source name (DSN) schema, #3229 by @snosratiershad
- Add support for multiple dotenv files, #3222 by @rekyungmin
- Raise an explicit
ConfigErrorwhen multiple fields are incorrectly set for a single validator, #3215 by @SunsetOrange - Allow ellipsis on
Fields insideAnnotatedforTypedDictsrequired, #3133 by @ezegomez - Catch overflow errors in
int_validator, #3112 by @ojii - Adds a
__rich_repr__method toRepresentationclass which enables pretty printing with Rich, #3099 by @willmcgugan - Add percent encoding in
AnyUrland descendent types, #3061 by @FaresAhmedb -
validate_argumentsdecorator now supportsalias, #3019 by @MAD-py - Avoid
__dict__and__weakref__attributes inAnyUrland IP address fields, #2890 by @nuno-andre - Add ability to use
Finalin a field type annotation, #2766 by @uriyyo - Update requirement to
typing_extensions>=4.1.0to guaranteedataclass_transformis available, #4424 by @commonism - Add Explosion and AWS to main sponsors, #4413 by @samuelcolvin
- Update documentation for
copy_on_model_validationto reflect recent changes, #4369 by @samuelcolvin - Runtime warning if
__slots__is passed tocreate_model,__slots__is then ignored, #4432 by @samuelcolvin - Add type hints to
BaseSettings.Configto avoid mypy errors, also correct mypy version compatibility notice in docs, #4450 by @samuelcolvin
v1.9.2
Revert Breaking Change: v1.9.1 introduced a breaking change where model fields were
deep copied by default, this release reverts the default behaviour to match v1.9.0 and before,
while also allow deep-copy behaviour via copy_on_model_validation = 'deep'. See #4092 for more information.
- Allow for shallow copies of model fields,
Config.copy_on_model_validationis now a str which must be'none','deep', or'shallow'corresponding to not copying, deep copy & shallow copy; default'shallow', #4093 by @timkpaine
v1.9.1
Thank you to pydantic's sponsors: @tiangolo, @stellargraph, @JonasKs, @grillazz, @Mazyod, @kevinalh, @chdsbd, @povilasb, @povilasb, @jina-ai, @mainframeindustries, @robusta-dev, @SendCloud, @rszamszur, @jodal, @hardbyte, @corleyma, @daddycocoaman, @Rehket, @jokull, @reillysiemens, @westonsteimel, @primer-io, @koxudaxi, @browniebroke, @stradivari96, @adriangb, @kamalgill, @jqueguiner, @dev-zero, @datarootsio, @RedCarpetUp for their kind support.
- Limit the size of
generics._generic_types_cacheandgenerics._assigned_parametersto avoid unlimited increase in memory usage, #4083 by @samuelcolvin - Add Jupyverse and FPS as Jupyter projects using pydantic, #4082 by @davidbrochart
- Speedup
__isinstancecheck__on pydantic models when the type is not a model, may also avoid memory "leaks", #4081 by @samuelcolvin - Fix in-place modification of
FieldInfothat caused problems with PEP 593 type aliases, #4067 by @adriangb - Add support for autocomplete in VS Code via
__dataclass_transform__when usingpydantic.dataclasses.dataclass, #4006 by @giuliano-oliveira - Remove benchmarks from codebase and docs, #3973 by @samuelcolvin
- Typing checking with pyright in CI, improve docs on vscode/pylance/pyright, #3972 by @samuelcolvin
- Fix nested Python dataclass schema regression, #3819 by @himbeles
- Update documentation about lazy evaluation of sources for Settings, #3806 by @garyd203
- Prevent subclasses of bytes being converted to bytes, #3706 by @samuelcolvin
- Fixed "error checking inheritance of" when using PEP585 and PEP604 type hints, #3681 by @aleksul
- Allow self referencing
ClassVars in models, #3679 by @samuelcolvin - Breaking Change, see #4106: Fix issue with self-referencing dataclass, #3675 by @uriyyo
- Include non-standard port numbers in rendered URLs, #3652 by @dolfinus
-
Config.copy_on_model_validationdoes a deep copy and not a shallow one, #3641 by @PrettyWood - fix: clarify that discriminated unions do not support singletons, #3636 by @tommilligan
- Add
read_text(encoding='utf-8')forsetup.py, #3625 by @hswong3i - Fix JSON Schema generation for Discriminated Unions within lists, #3608 by @samuelcolvin
v1.9.0
Thank you to pydantic's sponsors: @sthagen, @timdrijvers, @toinbis, @koxudaxi, @ginomempin, @primer-io, @and-semakin, @westonsteimel, @reillysiemens, @es3n1n, @jokull, @JonasKs, @Rehket, @corleyma, @daddycocoaman, @hardbyte, @datarootsio, @jodal, @aminalaee, @rafsaf, @jqueguiner, @chdsbd, @kevinalh, @Mazyod, @grillazz, @JonasKs, @simw, @leynier, @xfenix for their kind support.
Highlights
- add Python 3.10 support, #2885 by @PrettyWood
- Discriminated unions, #619 by @PrettyWood
-
Config.smart_unionfor better union logic, #2092 by @PrettyWood - Binaries for Macos M1 CPUs, #3498 by @samuelcolvin
- Complex types can be set via nested environment variables, e.g.
foo___bar, #3159 by @Air-Mark - add a dark mode to pydantic documentation, #2913 by @gbdlin
- Add support for autocomplete in VS Code via
__dataclass_transform__, #2721 by @tiangolo - Add "exclude" as a field parameter so that it can be configured using model config, #660 by @daviskirk
v1.9.0 (2021-12-31) Changes
- Apply
update_forward_refstoConfig.json_encodesprevent name clashes in types defined via strings, #3583 by @samuelcolvin - Extend pydantic's mypy plugin to support mypy versions
0.910,0.920,0.921&0.930, #3573 & #3594 by @PrettyWood, @christianbundy, @samuelcolvin
v1.9.0a2 (2021-12-24) Changes
- support generic models with discriminated union, #3551 by @PrettyWood
- keep old behaviour of
json()by default, #3542 by @PrettyWood - Removed typing-only
__root__attribute fromBaseModel, #3540 by @layday - Build Python 3.10 wheels, #3539 by @mbachry
- Fix display of
extrafields with model__repr__, #3234 by @cocolman - models copied via
Config.copy_on_model_validationalways have all fields, #3201 by @PrettyWood - nested ORM from nested dictionaries, #3182 by @PrettyWood
- fix link to discriminated union section by @PrettyWood
v1.9.0a1 (2021-12-18) Changes
- Add support for
Decimal-specific validation configurations inField(), additionally to usingcondecimal(), to allow better support from editors and tooling, #3507 by @tiangolo - Add
arm64binaries suitable for MacOS with an M1 CPU to PyPI, #3498 by @samuelcolvin - Fix issue where
Nonewas considered invalid when using aUniontype containingAnyorobject, #3444 by @tharradine - When generating field schema, pass optional
fieldargument (of typepydantic.fields.ModelField) to__modify_schema__()if present, #3434 by @jasujm - Fix issue when pydantic fail to parse
typing.ClassVarstring type annotation, #3401 by @uriyyo - Mention Python >= 3.9.2 as an alternative to
typing_extensions.TypedDict, #3374 by @BvB93 - Changed the validator method name in the Custom Errors example
to more accurately describe what the validator is doing; changed from
name_must_contain_spacetovalue_must_equal_bar, #3327 by @michaelrios28 - Add
AmqpDsnclass, #3254 by @kludex - Always use
Enumvalue as default in generated JSON schema, #3190 by @joaommartins - Add support for Mypy 0.920, #3175 by @christianbundy
-
validate_argumentsnow supportsextracustomization (used to always beExtra.forbid), #3161 by @PrettyWood - Complex types can be set by nested environment variables, #3159 by @Air-Mark
- Fix mypy plugin to collect fields based on
pydantic.utils.is_valid_fieldso that it ignores untyped private variables, #3146 by @hi-ogawa - fix
validate_argumentsissue withConfig.validate_all, #3135 by @PrettyWood - avoid dict coercion when using dict subclasses as field type, #3122 by @PrettyWood
- add support for
objecttype, #3062 by @PrettyWood - Updates pydantic dataclasses to keep
_specialproperties on parent classes, #3043 by @zulrang - Add a
TypedDictclass for error objects, #3038 by @matthewhughes934 - Fix support for using a subclass of an annotation as a default, #3018 by @JacobHayes
- make
create_model_from_typeddictmypy compliant, #3008 by @PrettyWood - Make multiple inheritance work when using
PrivateAttr, #2989 by @hmvp - Parse environment variables as JSON, if they have a
Uniontype with a complex subfield, #2936 by @cbartz - Prevent
StrictStrpermittingEnumvalues where the enum inherits fromstr, #2929 by @samuelcolvin - Make
SecretsSettingsSourceparse values being assigned to fields of complex types when sourced from a secrets file, just as when sourced from environment variables, #2917 by @davidmreed - add a dark mode to pydantic documentation, #2913 by @gbdlin
- Make
pydantic-mypyplugin compatible withpyproject.tomlconfiguration, consistent withmypychanges. See the doc for more information, #2908 by @jrwalk - add Python 3.10 support, #2885 by @PrettyWood
- Correctly parse generic models with
Json[T], #2860 by @geekingfrog - Update contrib docs re: Python version to use for building docs, #2856 by @paxcodes
- Clarify documentation about pydantic's support for custom validation and strict type checking, despite pydantic being primarily a parsing library, #2855 by @paxcodes
- Fix schema generation for
Dequefields, #2810 by @sergejkozin - fix an edge case when mixing constraints and
Literal, #2794 by @PrettyWood - Fix postponed annotation resolution for
NamedTupleandTypedDictwhen they're used directly as the type of fields within Pydantic models, #2760 by @jameysharp - Fix bug when
mypyplugin fails onconstructmethod call forBaseSettingsderived classes, #2753 by @uriyyo - Add function overloading for a
pydantic.create_modelfunction, #2748 by @uriyyo - Fix mypy plugin issue with self field declaration, #2743 by @uriyyo
- The colon at the end of the line "The fields which were supplied when user was initialised:" suggests that the code following it is related. Changed it to a period, #2733 by @krisaoe
- Renamed variable
schematoschema_to avoid shadowing of global variable name, #2724 by @shahriyarr - Add support for autocomplete in VS Code via
__dataclass_transform__, #2721 by @tiangolo - add missing type annotations in
BaseConfigand handlemax_length = 0, #2719 by @PrettyWood - Change
orm_modechecking to allow recursive ORM mode parsing with dicts, #2718 by @nuno-andre - Add episode 313 of the Talk Python To Me podcast, where Michael Kennedy and Samuel Colvin discuss Pydantic, to the docs, #2712 by @RatulMaharaj
- fix JSON schema generation when a field is of type
NamedTupleand has a default value, #2707 by @PrettyWood -
Enumfields now properly support extra kwargs in schema generation, #2697 by @sammchardy - Breaking Change, see #3780: Make serialization of referenced pydantic models possible, #2650 by @PrettyWood
- Add
uniqueItemsoption toConstrainedList, #2618 by @nuno-andre - Try to evaluate forward refs automatically at model creation, #2588 by @uriyyo
- Switch docs preview and coverage display to use smokeshow, #2580 by @samuelcolvin
- Add
__version__attribute to pydantic module, #2572 by @paxcodes - Add
postgresql+asyncpg,postgresql+pg8000,postgresql+psycopg2,postgresql+psycopg2cffi,postgresql+py-postgresqlandpostgresql+pygresqlschemes forPostgresDsn, #2567 by @postgres-asyncpg - Enable the Hypothesis plugin to generate a constrained decimal when the
decimal_placesargument is specified, #2524 by @cwe5590 - Allow
collections.abc.Callableto be used as type in Python 3.9, #2519 by @daviskirk - Documentation update how to custom compile pydantic when using pip install, small change in
setup.pyto allow for custom CFLAGS when compiling, #2517 by @peterroelants - remove side effect of
default_factoryto run it only once even ifConfig.validate_allis set, #2515 by @PrettyWood - Add lookahead to ip regexes for
AnyUrlhosts. This allows urls with DNS labels looking like IPs to validate as they are perfectly valid host names, #2512 by @sbv-csis - Set
minItemsandmaxItemsin generated JSON schema for fixed-length tuples, #2497 by @PrettyWood - Add
strictargument toconbytes, #2489 by @koxudaxi - Support user defined generic field types in generic models, #2465 by @daviskirk
- Add an example and a short explanation of subclassing
GetterDictto docs, #2463 by @nuno-andre - add
KafkaDsntype,HttpUrlnow has default port 80 for http and 443 for https, #2447 by @MihanixA - Add
PastDateandFutureDatetypes, #2425 by @Kludex - Support generating schema for
Genericfields with subtypes, #2375 by @maximberg - fix(encoder): serialize
NameEmailto str, #2341 by @alecgerona - add
Config.smart_unionto prevent coercion inUnionif possible, see the doc for more information, #2092 by @PrettyWood - Add ability to use
typing.Counteras a model field type, #2060 by @uriyyo - Add parameterised subclasses to
__bases__when constructing new parameterised classes, so thatA <: B => A[int] <: B[int], #2007 by @diabolo-dan - Create
FileUrltype that allows URLs that conform to RFC 8089. Addhost_requiredparameter, which isTrueby default (AnyUrland subclasses),FalseinRedisDsn,FileUrl, #1983 by @vgerak - add
confrozenset(), analogous toconset()andconlist(), #1897 by @PrettyWood - stop calling parent class
root_validatorif overridden, #1895 by @PrettyWood - Add
repr(defaults toTrue) parameter toField, to hide it from the default representation of theBaseModel, #1831 by @fnep - Accept empty query/fragment URL parts, #1807 by @xavier
python-poetry/poetry (python-poetry/poetry)
v1.8.5
Changed
- Require
pkginfo>=1.12to fix an issue with an unknown metadata version 2.4 (#9888). - Do not fail if the unknown metadata version is only a minor version update (#9888).
v1.8.4
Added
- Add official support for Python 3.13 (#9523).
Changed
- Require
virtualenv>=20.26.6to mitigate potential command injection when runningpoetry shellin untrusted projects (#9757).
poetry-core (1.9.1)
- Add
3.13to the list of available Python versions (#747).
v1.8.3
Added
- Add support for untagged CPython builds with versions ending with a
+(#9207).
Changed
- Require
pkginfo>=1.10to ensure support for packages with metadata version 2.3 (#9130). - Improve locking on FIPS systems (#9152).
Fixed
- Fix an issue where unrecognized package metadata versions silently resulted in empty dependencies (#9203, #9226).
- Fix an issue where trailing slashes in git URLs where not handled correctly (#9205).
- Fix an issue where
poetry selfcommands printed a warning that the current project cannot be installed (#9302). - Fix an issue where
poetry installsporadically failed with aKeyErrordue to a race condition (#9335).
Docs
- Fix incorrect information about
poetry shell(#9060). - Add a git subdirectory example to
poetry add(#9080). - Mention interactive credential configuration (#9074).
- Add notes for optional advanced installation steps (#9098).
- Add reference to configuration credentials in documentation of poetry
publish(#9110). - Improve documentation for configuring credentials via environment variables (#9121).
- Remove misleading wording around virtual environments (#9213).
- Remove outdated advice regarding seeding keyring backends (#9164).
- Add a
pyproject.tomlexample for a dependency with multiple extras (#9138). - Clarify help of
poetry add(#9230). - Add a note how to configure credentials for TestPyPI for
poetry publish(#9255). - Fix information about the
--readmeoption inpoetry new(#9260). - Clarify what is special about the Python constraint in
dependencies(#9256). - Update how to uninstall plugins via
pipx(#9320).
requests-cache/requests-cache (requests-cache)
v0.9.8
- Fix
DeprecationWarningraised byBaseCache.urls - Reword ambiguous log message for
BaseCache.delete
Backport fixes from 1.0:
- For custom serializers, handle using a cattrs converter that doesn't support
omit_if_default - Raise an error for invalid expiration string values (except for headers containing httpdates)
v0.9.7
Backport compatibility fixes from 1.0:
-
PyInstaller: Fix potential
AttributeErrordue to undetected imports when requests-cache is bundled in a PyInstaller package - requests-oauthlib: Add support for header values as bytes for compatibility with OAuth1 features
- cattrs: Add compatibility with cattrs 22.2
- python: Add tests to ensure compatibility with python 3.11
- Fix
AttributeErrorwhen attempting to unpickle aCachedSessionobject, and instead disable pickling by raising aNotImplementedError
Add the following for forwards-compatibility with 1.0:
-
DeprecationWarningsto give an earlier notice for methods deprecated (not removed) in 1.0 -
requests_cache.policysubpackage (will replacerequests_cache.cache_controlmodule) BaseCache.contains()BaseCache.delete()BaseCache.filter()CachedSession.settings
v0.9.6
Backport fixes from 1.0:
- Remove potentially problematic row count from
BaseCache.__str__() - Remove upper version constraints for all non-dev dependencies
- Make dependency specification consistent between PyPI and Conda-Forge packages
v0.9.5
Backport fixes from 1.0:
- Fix usage of memory backend with
install_cache() - Add
CachedRequest.path_urlproperty - Add compatibility with cattrs 22.1
v0.9.4
Backport fixes from 1.0:
- Fix forwarding connection parameters passed to
RedisCachefor redis-py 4.2 and python <=3.8 - Fix forwarding connection parameters passed to
MongoCachefor pymongo 4.1 and python <=3.8
v0.9.3
- Fix handling BSON serializer differences between pymongo's
bsonand standalonebsoncodec. - Handle
CorruptGridFileerror in GridFS backend - Fix cache path expansion for user directories (
~/...) for SQLite and filesystem backends - Fix request normalization for request body with a list as a JSON root
- Skip normalizing a JSON request body if it's excessively large (>10MB) due to performance impact
- Fix some thread safety issues:
- Fix race condition in SQLite backend with dropping and recreating tables in multiple threads
- Fix race condition in filesystem backend when one thread deletes a file after it's opened but before it is read by a different thread
- Fix multiple race conditions in GridFS backend
v0.9.2
- Fix serialization in filesystem backend with binary content that is also valid UTF-8
- Fix some regression bugs introduced in 0.9.0:
- Add support for
paramsas a positional argument toCachedSession.request() - Add support for disabling expiration for a single request with
CachedSession.request(..., expire_after=-1)
- Add support for
v0.9.1
- Add support for python 3.10.2 and 3.9.10 (regarding resolving
ForwardReftypes during deserialization) - Add support for key-only request parameters (regarding hashing request data for cache key creation)
- Reduce verbosity of log messages when encountering an invalid JSON request body
v0.9.0
See all issues and MRs for 0.9
- Use
Cache-Controlrequest headers by default - Add support for
Cache-Control: immutable - Add support for immediate expiration + revalidation with
Cache-Control: max-age=0andExpires: 0 - Reset expiration for cached response when a
304 Not Modifiedresponse is received - Support
expire_afterparam forCachedSession.send()
-
Filesystem:
- Add better error message if parent path exists but isn't a directory
-
Redis:
- Add optional integration with Redis TTL to improve performance for removing expired responses
- This is enabled by default, but may be disabled
-
SQLite:
- Add better error message if parent path exists but isn't a directory
- Fix duplicate read operation for checking whether to read from redirects cache
- Skip unnecessary contains check if a key is in the main responses cache
- Make per-request expiration thread-safe for both
CachedSession.request()andCachedSession.send() - Some micro-optimizations for request matching
- Fix regression bug causing headers used for cache key to not guarantee sort order
- Handle some additional corner cases when normalizing request data
- Add support for
BaseCachekeyword arguments passed along with a backend instance - Fix issue with cache headers not being used correctly if
cache_control=Trueis used with anexpire_aftervalue - Fix license metadata as shown on PyPI
- Fix
CachedResponseserialization behavior when using stdlibpicklein a custom serializer
0.8.1 (2021-09-15)
- Redact
ignored_parametersfromCachedResponse.url(if used for credentials or other sensitive info) - Fix an incorrect debug log message about skipping cache write
- Add some additional aliases for
DbDict, etc. so fully qualified imports don't break
v0.8.1
- Redact
ignored_parametersfromCachedResponse.url(if used for credentials or other sensitive info) - Fix an incorrect debug log message about skipping cache write
- Add some additional aliases for
DbDict, etc. so fully qualified imports don't break
v0.8.0
See all issues and MRs for 0.8
- Add support for conditional requests and cache validation using:
-
ETag+If-None-Matchheaders -
Last-Modified+If-Modified-Sinceheaders -
304 Not Modifiedresponses
-
- If a cached response is expired but contains a validator, a conditional request will by sent, and a new response will be cached and returned only if the remote content has not changed
-
Filesystem:
- Add
FileCache.cache_dirwrapper property - Add
FileCache.paths()method - Add
use_cache_diroption to use platform-specific user cache directory - Return
pathlib.Pathobjects for all file paths - Use shorter hashes for file names
- Add
-
SQLite:
- Add
SQLiteCache.db_pathwrapper property - Add
use_memoryoption and support for in-memory databases - Add
use_cache_diroption to use platform-specific user cache directory - Return
pathlib.Pathobjects for all file paths
- Add
- Use
cattrsby default for optimized serialization - Slightly reduce size of serialized responses
- Allow
create_key()to optionally accept parameters forrequests.Requestinstead of a request object - Allow
match_headersto optionally accept a list of specific headers to match - Add support for custom cache key callbacks with
key_fnparameter - By default use blake2 instead of sha256 for generating cache keys
- Add
BaseCache.update()method as a shortcut for exporting to a different cache instance - Allow
BaseCache.has_url()anddelete_url()to optionally take parameters forrequests.Requestinstead of just a URL
- Add
appdirsas a dependency for easier cross-platform usage of user cache directories - Update
cattrsfrom optional to required dependency - Update
itsdangerousfrom required to optional (but recommended) dependency - Require
requests2.22+ andurllib31.25.5+
The following changes are meant to make certain behaviors more obvious for new users, without breaking existing usage:
- For consistency with
Cache-Control: stale-if-error, renameold_data_on_errortostale_if_error- Going forward, any new options based on a standard HTTP caching feature will be named after that feature
- For clarity about matching behavior, rename
include_get_headerstomatch_headers- References in the docs to cache keys and related behavior are now described as 'request matching'
- For consistency with other backends, rename SQLite backend classes:
backends.sqlite.Db*->SQLiteCache,SQLiteDict,SQLitePickleDict - Add aliases for all previous parameter/class names for backwards-compatibility
- Drop support for python 3.6
- Remove deprecated
coremodule - Remove deprecated
BaseCache.remove_old_entries()method
0.7.5 (2021-09-15)
- Fix incorrect location of
redirects.sqlitewhen using filesystem backend - Fix issue in which
redirects.sqlitewould get included in response paths with filesystem backend - Add aliases for forwards-compatibility with 0.8+
- Backport fixes from 0.8.1
0.7.4 (2021-08-16)
- Fix an issue with httpdate strings from
Expiresheaders not getting converted to UTC - Fix a packaging issue with extra files added to top-level wheel directory
- Fix some issues with parallelizing tests using pytest-xdist
0.7.3 (2021-08-10)
- SQLite backend:
- Update
DbCache.clear()to succeed even if the database is corrupted - Update
DbDict.bulk_delete()to split the operation into multiple statements to support deleting more items than SQLite's variable limit (999)
- Update
- Filesystem backend:
- When using JSON serializer, pretty-print JSON by default
- Add an appropriate file extension to cache files (
.json,.yaml,.pkl, etc.) by default; can be overridden or disabled with theextensionparameter.
- Add a
BaseCache.delete_urls()method to bulk delete multiple responses from the cache based on request URL
0.7.2 (2021-07-21)
- Add support for
Response.next(to get the next request in a redirect chain) when 302 responses are cached directly - Add a
CachedResponse.cache_keyattribute - Make
CachedResponsea non-slotted class to allow client code to set arbitrary attributes on it
0.7.1 (2021-07-09)
- Fix a bug in which Cache-Control headers would be used unexpectedly
python-social-auth/social-app-django (social-auth-app-django)
v5.5.1
Changed
- Fixed authentication with OpenID based services
v5.5.0
Changed
- Dropped support for older Django versions.
- Added non-empty constraind on
uid. - Added support for session restore with stricter SameSite cookie policy.
timothycrosley/isort (timothycrosley/isort)
v5.13.2
- Apply the bracket fix from issue #471 only for use_parentheses=True (#2184) @bp72
- Confine pre-commit to stages (#2213) @davidculley
- Fixed colors extras (#2212) @staticdev
v5.13.1
- Fixed integration tests (#2208) @bp72
- Fixed normalizing imports from more than one level of parent modules (issue/2152) (#2191) @bp72
- Remove optional dependencies without extras (#2207) @staticdev
v5.13.0
- Cleanup deprecated extras (#2089) @staticdev
- Fixed #1989: settings lookup when working in stream based mode
- Fixed 80 line length for wemake linter (#2183) @skatromb
- Add support for Python 3.12 (#2175) @hugovk
- Fixed: add newest version to pre-commit docs (#2190) @AzulGarza
- Fixed assertions in test_git_hook (#2196) @mgorny
- Removed check for include_trailing_comma for the Hanging Indent wrap mode (#2192) @bp72
- Use the standard library tomllib on sufficiently new python (#2202) @eli-schwartz
- Update pre-commit.md version number (#2197) @nicobako
- doc: Update black_compatibility.md (#2177) @JSS95
- Fixed safety sept 2023 (#2178) @staticdev
- docs: fix black profile documentation (#2163) @nijel
- Fixed typo: indended -> indented (#2161) @vadimkerr
- Docs(configuration/options.md): fix missing trailing spaces for hard linebreak (#2157) @JoeyTeng
- Update pre-commit.md (#2148) @godiard
- chore: move configurations to pyproject.toml (#2115) @SauravMaheshkar
- Fixed typo in README (#2112) @stefmolin
- Update version in pre-commit setup to avoid installation issue with poetry (#2103) @stefmolin
- Skip .pytype directory by default. (#2098) @manueljacob
- Fixed a tip block styling in the Config Files section (#2097) @Klavionik
- Do not cache configuration files (#1995) @kaste
- Derive settings_path from --filename (#1992) @kaste
- Fixed year of version 5.12.0 in CHANGELOG.md (#2082) @DjLegolas
tox-dev/tox (tox)
v4.27.0
What's Changed
- Feat: include free_threaded flag in result-json by @robsdedude in https://github.com/tox-dev/tox/pull/3534
- Add security policy by @jugmac00 in https://github.com/tox-dev/tox/pull/3535
- Fix dependency-group name normalization by @robsdedude in https://github.com/tox-dev/tox/pull/3540
- Log environment variables sorted by key while redacting values of unsafe ones by @ssbarnea in https://github.com/tox-dev/tox/pull/3543
Full Changelog: https://github.com/tox-dev/tox/compare/4.26.0...4.27.0
uis/devops/continuous-delivery/ci-templates (uis/devops/continuous-delivery/ci-templates)
v6.15.0
Changed
-
terraform-module.yml: Add support for Terraform testing with additional cleanup scripts.
Fixed
-
terraform-module.yml: Override thetflintjob so that theterraform_standard_module_structurerule is applied. -
terraform-module.yml: Override thepre-commitjob to avoid duplication of ourterraform-fmt,tflint, andtrivyjobs.
v6.14.2
v6.14.1
v6.14.0
v6.13.0
v6.12.3
v6.12.2
Fixed
- terraform-module: override .
test-job-rulesfromterraform-lint.ymlas theterraform-module.ymltemplate needs to support Auto-DevOps.
v6.12.1
v6.12.0
v6.11.0
Changed
-
terraform-lint: use customtflintdocker image for thetflintjob. This image includes the UIS DevOps customtflintruleset. -
terraform-lint: move default tflint arguments to a$TFLINT_ARGSvariable to allow repositories to override if required. -
terraform-module: enabletflintin our Terraform reusable module pipeline.
v6.10.0
Fixed
-
terraform-pipeline: Partially revert changes made in v5.1.0.- Plan jobs for branch push pipelines will be reverted.
- Manual apply jobs for the development environment will remain in the merge request pipelines.
v6.9.0
v6.8.1
v6.8.0
v6.7.3
v6.7.2
v6.7.1
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.