Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Jul 20, 2023
1 parent ac4790f commit 4810fa6
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.0.5
current_version = 1.0.0

[bumpversion:file:.bumpversion.cfg]

Expand Down
13 changes: 13 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
1.0.0 (2023-07-20)
==================

Features
--------

- Makes the module working with pydantic V2. Therefore from version 1.0.0 extendable_pydantic no more support pydantic V1. (`#7 <https://github.com/lmignon/extendable-pydantic/pull/7>`_)


Bugfixes
--------

- Pervent 'ModuleNotFoundError' when used on Odoo.sh (`#3 <https://github.com/lmignon/extendable-pydantic/issues/3>`_)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![CI](https://github.com/lmignon/pydantic-ext/actions/workflows/ci.yml/badge.svg)](https://github.com/lmignon/pydantic-ext/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/lmignon/pydantic-ext/branch/master/graph/badge.svg?token=Z9FWM57T14)](https://codecov.io/gh/lmignon/pydantic-ext)

# pydantic-ext
# Extendable Pydantic

This addons provides a new type used to declare [Pydantic](https://pypi.org/project/pydantic/)
model as [Extendable](https://pypi.org/project/extendable/) class.
Expand Down
1 change: 0 additions & 1 deletion news/3.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion news/pydanticv2.feature

This file was deleted.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module="pydantic._internal._generate_schema"
implicit_reexport = true

[tool.towncrier]
name = "Extendable Pydantic"
package = "extendable_pydantic"
package_dir = "src"
filename = "HISTORY.rst"
Expand Down
1 change: 1 addition & 0 deletions src/extendable_pydantic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

# shortcut to main used class
from .main import ExtendableModelMeta
from .version import __version__
2 changes: 1 addition & 1 deletion src/extendable_pydantic/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.5"
__version__ = "1.0.0"

0 comments on commit 4810fa6

Please sign in to comment.