Skip to content

Commit

Permalink
Add support for pydantic 1.5+
Browse files Browse the repository at this point in the history
  • Loading branch information
koldakov committed Mar 13, 2024
1 parent 646ca34 commit 4f7f49a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.13] - 2024-03-12
## [0.0.14] - 2024-03-13

### Added

- Support for pydantic 1.5+.

## [0.0.13] - 2024-03-13

### Added

Expand Down Expand Up @@ -57,6 +63,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Base Country Model.
- Base Currency Model.

[0.0.14]: https://github.com/AivGitHub/pycountries/releases/tag/0.0.14
[0.0.13]: https://github.com/AivGitHub/pycountries/releases/tag/0.0.13
[0.0.12]: https://github.com/AivGitHub/pycountries/releases/tag/0.0.12
[0.0.11]: https://github.com/AivGitHub/pycountries/releases/tag/0.0.11
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pycountries"
version = "0.0.13"
version = "0.0.14"
authors = [
{ name="Ivan Koldakov", email="ivan@koldakov.com" },
]
Expand All @@ -19,7 +19,7 @@ keywords = [
"currencies",
]
dependencies = [
"pydantic>=2.6.3",
"pydantic>=1.5",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion src/pycountries/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pycountries.countries import Country
from pycountries.currencies import Currency

__version__ = "0.0.13"
__version__ = "0.0.14"
__author__ = "Ivan Koldakov"
__all__ = [
"Country",
Expand Down

0 comments on commit 4f7f49a

Please sign in to comment.