15 KiB
15 KiB
CHANGELOG
Latest Changes
2.10.2
- Add back Python 3.8 support by @Viicos in https://github.com/pydantic/pydantic-extra-types/pull/249
- ⬆ Bump astral-sh/setup-uv from 4 to 5 by @dependabot in https://github.com/pydantic/pydantic-extra-types/pull/282
- Preserve months when using the Pendulum Duration type by @gareththackeray in https://github.com/pydantic/pydantic-extra-types/pull/283
- ✨ Add type checking support and improve type hints across the codebase by @yezz123 in https://github.com/pydantic/pydantic-extra-types/pull/285
- 📝 Add additional installation information to README by @oakhan3 in https://github.com/pydantic/pydantic-extra-types/pull/233
2.10.1
- Allow build with python-ulid 3.0.0 by @sunpoet in https://github.com/pydantic/pydantic-extra-types/pull/225
- 🔨 added automatic syntax-upgrade hook ~ pyupgrade by @janas-adam in https://github.com/pydantic/pydantic-extra-types/pull/229
- 🔥 Revert adding pyupgrade as a hook in pre-commit by @yezz123 in https://github.com/pydantic/pydantic-extra-types/pull/230
- isolate url in Currency by @edasubert in https://github.com/pydantic/pydantic-extra-types/pull/235
- lower case currency is valid by @edasubert in https://github.com/pydantic/pydantic-extra-types/pull/236
- Update SemanticVersion by @viccie30 in https://github.com/pydantic/pydantic-extra-types/pull/237
- Epoch - unix timestamp by @commonism in https://github.com/pydantic/pydantic-extra-types/pull/240
- ♻️ Migrate Pydantic Extra Types to use uv by @yezz123 in https://github.com/pydantic/pydantic-extra-types/pull/241
- ⬆ Bump astral-sh/setup-uv from 3 to 4 by @dependabot in https://github.com/pydantic/pydantic-extra-types/pull/245
- ⬆ Bump pre-commit/action from 3.0.0 to 3.0.1 by @dependabot in https://github.com/pydantic/pydantic-extra-types/pull/244
- 🔖 Release version 2.10.1 by @yezz123 in https://github.com/pydantic/pydantic-extra-types/pull/246
- Fix check python version for release by @hramezani in https://github.com/pydantic/pydantic-extra-types/pull/247
2.10.0
Types
- Add semantic version type by @jbkroner in https://github.com/pydantic/pydantic-extra-types/pull/199
- feat: add S3Path by @lucianosrp in https://github.com/pydantic/pydantic-extra-types/pull/206
Refactor
- feature: Improve phone number validator by @mZbZ in https://github.com/pydantic/pydantic-extra-types/pull/202
- Feature: Add phone number validator by @mZbZ in https://github.com/pydantic/pydantic-extra-types/pull/203
- Domain name string type by @matter1-git in https://github.com/pydantic/pydantic-extra-types/pull/212
- Adjust test_json_schema() for Pydantic 2.9 by @musicinmybrain in https://github.com/pydantic/pydantic-extra-types/pull/215
- Allow python-ulid 3.0 by @musicinmybrain in https://github.com/pydantic/pydantic-extra-types/pull/222
Dependencies
- ⬆ Bump the python-packages group with 5 updates by @dependabot in https://github.com/pydantic/pydantic-extra-types/pull/201
- ✨ deprecate
semver
in favor ofsemantic_version
by @07pepa in https://github.com/pydantic/pydantic-extra-types/pull/209 - 🔖 Release version 2.10.0 by @yezz123 in https://github.com/pydantic/pydantic-extra-types/pull/224
2.9.0
Types
- Add Semantic version type. PR #195 by @nikstuckenbrock
- Add timezone name validation. PR #193 by @07pepa
Refactor
Dependencies
- ⬆ Bump the python-packages group with 4 updates. PR #194 by @dependabot
2.8.2
- 🐛 Preserve timezone information when validating Pendulum DateTimes. #189 by @chrisguidry
2.8.1
Bug Fixes
Types
2.8.0
Refactor
Internal
Types
- Add ISO 15924 and tests. #174 by @07pepa
- add native datetime to pendulum_dt.py. #176 by @07pepa
- add hash and eq to phone_numbers. #177 by @07pepa
Dependencies
- ⬆ Bump the python-packages group with 5 updates. PR #179 by @dependabot
- ⬆ Bump the python-packages group with 4 updates. PR #171 by @dependabot
2.7.0
- 🔥 Remove latest-changes workflow. PR #165 by yezz123
- 🔨 Add latest-changes workflow to generate Changes. PR #164 by yezz123
- Added LanguageAlpha2 and LanguageName types. PR #153 by odelmarcelle
- Added support for pendulum Dates. PR #154 by Woody1193
- Add support for pendulum Duration. PR #162 by tempookian
Dependencies
- ⬆ Bump the python-packages group with 1 update. PR #150 by dependabot
- ⬆ Bump the python-packages group with 6 updates. PR #160 by dependabot
2.6.0
- Allow python-ulid 2.x on Python 3.9 and later. PR #131 by @musicinmybrain
- Do not pin the ”major” version of pycountry. PR #132 by @musicinmybrain
- 🤖 Create dependabot.yml for updating GitHub action. PR #134 by @yezz123
- Refactor Documentation for ISBN and MAC address modules. PR #124 by @yezz123
- Add language code definitions and test. PR #141 by @07pepa
- Create a
changelog
to match release notes. PR #142 by @yezz123 - Add currency code ISO 4217 and its subset that includes only currencies. PR #143 by @07pepa
- 🔨 Update code formatting and linting configurations. PR #144 by @yezz123
- 👷 Add Python checking for dependencies. PR #145 by @yezz123
- 🐛 Fix single quote issue. PR #148 by @yezz123
2.5.0
- Add Pendulum DT support. PR #110 by @theunkn0wn1
2.4.1
- Fix refs blocking docs build. PR #125 by @sydney-runkle
2.4.0
- Add: New type ISBN. PR #116 by lucasmucidas
- Fix validate_digits actually allowing non-digit characters. PR #120 by romaincaillon
- Refactor the
validate_brand
method & add new types. PR #56 by yezz123 - Drop Python 3.7 & support 3.12. PR #122 by yezz123
2.3.0
2.2.0
- Add
long
andshort
format toas_hex
. PR #93 by DJRHails - Refactor documentation. PR #98 by Kludex
- Add
ULID
type. PR #73 by JeanArhancet - Add
__get_pydantic_json_schema__
method withformat='tel'
. PR #106 by hasansezertasan
2.1.0
- Add
MacAddress
type. PR #71 by JeanArhancet - Fix usage of
MAC address
. PR #72 by yezz123 - Add docstrings for payment cards. PR #77 by tpdorsey
- Fix MAC address validation. PR #79 by JeanArhancet
- Remove work in progress part from README.md. PR #81 by hramezani
- Add
Latitude
,Longitude
, andCoordinate
. PR #76 by JeanArhancet - Refactor: use stdlib and remove useless code. PR #86 by eumiro
- Make Latitude and Longitude evaluated. PR #90 by Kludex
2.0.0
- Migrate
Color
&Payment Card
. PR #2 by yezz123 - Add
pydantic
to classifiers. PR #13 by yezz123 - Remove dependencies caching. PR #16 by yezz123
- Deprecate
__modify_schema__
method. PR #20 by yezz123 - Fix Color JSON schema generation. PR #21 by dmontagu
- Fix issues of
pydantic_core.core_schema
has no attributexxx
. PR #23 by yezz123 - Fix Failed tests for
color
type. PR #26 by yezz123 - Created Country type. PR #14 by HomiGrotas
- Add phone number types. PR #25 by JamesHutchison
- Make
phonenumbers
a requirement. PR #29 by yezz123 - Add ABARouting number type. PR #30 by RevinderDev
- Add missing countries. PR #32 by EssaAlshammri
- Resolve
pydantic-core
dependency conflict. PR #45 by hirotasoshu - Add
MIR
card brand. PR #46 by hirotasoshu - Fix dependencies version. PR #48 by yezz123
- Add documentation for
Color
andPaymentCardNumber
. PR #50 by Kludex - Add hooky. PR #51 by Kludex
- Simplify project structure. PR #52 by Kludex
- Add coverage check on the pipeline. PR #53 by Kludex
- Refactor country type using
pycountry
. PR #54 by yezz123 - Add 100% coverage. PR #57 by Kludex
- Add support for transparent Color. PR #59 by CollinHeist
- Add documentation for
PhoneNumber
andABARoutingNumber
. PR #60 by Kludex - Refactor README. PR #61 by Kludex
- Rename
routing_number.md
torouting_numbers.md
. PR #62 by Kludex - Fix code in
payment
documentation. PR #63 by yezz123 - Uprev pydantic to b3. PR #69 by samuelcolvin
- Prepare for release 2.0.0. PR #70 by hramezani