- Close
multiprocess.connection.Connection
correctly in@in_subprocess
decorator - Updated dependencies
- added
retry_func()
function
- improve implementation of
copy_with()
- bugfix
@pedantic
together withtyping.Protocol
- bugfix
@pedantic
together withtyping.Protocol
- make
@pedantic
work withtyping.Protocol
(at least do not raise a false-positive error)
- add
retry
decorator - update example in
README.md
- improve API of
WithDecoratedMethods.get_decorated_functions()
- fix bug in
GenericMixin
that appears when using multiple inheritance
- add Mixin
WithDecoratedMethods
that makes it easy to find out which method is decorated with which specific parametrized decorator - drop support for Python 3.9 and 3.10
- fix
GenericMixin
bug that appears when using inheritance
- improve error message for the case that you call
GenericMixin.type_var()
in the__init__()
method.
- bump
flask
andwerkzeug
to version3.0.0
- allow type hints like
list[int], dict[str, float], ...
- drop support for Python 3.8
- added
@safe_contextmanager
and@safe_async_contextmanager
decorators - drop support for Python 3.7
- improve implementation of
@in_subprocess
decorator
- fix issue that appears when using
slots=True
in thefrozen_dataclass
decorator
- added release notes to GitHub releases (CI)
- fix a typo in the docs here
- allow async functions for
@in_subprocess
- use Pipe instead of Queue for subprocess communication
- Fix type checking bug with callables
- Fix deployment (CI)
- Added support for Python 3.11:
typing.Self
typing.Never
typing.LiteralString
typing.TypeVarTuple
is not supported yet, but it least it does not lead to errors ;)
- Fix type checking of
typing.NoReturn
- Fix
@pedantic_class
behavior with@classmethod
s - Changed Ubuntu version in CI from 20 to 22
- Added arguments
slots
andkw_only
tofrozen_dataclass
- fix
ImportError
of optionalmultiprocess
package - fix typo in
README.md
- added more test for
@in_subprocess
decorator - improve resolving of
typing.ForwardRef
s
- added
GenericMixin
- added
@in_subprocess
decorator
- bugfix in type checking logic
- fix tests
- bugfix in type checking logic concerning
typing.Awaitable
andtyping.Coroutine
with return typeUnionType
- bugfix in type checking logic concerning
typing.Awaitable
andtyping.Coroutine
with return typeNone
- fix test coverage
- bugfix in type checking logic concerning
typing.Awaitable
andtyping.Coroutine
- fix type hints
- use
kw_only=True
infrozen_dataclass
andfrozen_type_safe_dataclass
- fix inheritance bug in
frozen_dataclass
andfrozen_type_safe_dataclass
- added more badges to
README.md
- Added method
deep_copy_with()
to dataclasses generated byfrozen_dataclass
andfrozen_type_safe_dataclass
- Fix bug in
copy_with()
that occurred when using nested dataclasses
- Added the
frozen_type_safe_dataclass
decorator - Added parameters to
frozen_dataclass
:type_safe
with defaultFalse
: IfTrue
it ensured that all fields have a value that matches the given data type at any time.order
with defaultFalse
: IfTrue
the comparison methods are generated for the class.
- Fix link in
README.md
- update dependencies in
requirements.txt
- fix some typos in docstrings and comments
- make some private methods public
- minor code cleanups
- Add decorator
frozen_dataclass
which adds the methodscopy_with()
andvalidate_types()
to the often useddataclass(frozen=True)
.
- Added remarks to
README.md
concerning code compilation - Exclude lines to fix test coverage
- Fix
NameError: name 'Docstring' is not defined
- Fix type hint of
raw_doc()
- Fix
create_pdoc.sh
- Remove the dependency docstring-parser dependency and make it optional
- Bugfix in
IsUuid
validator: Now handleNone
andint
values correctly.
- Added
GenericDeserializer
andDeserializable
as proposed in #55 - Added
validate_param()
instance method toValidator
- Breaking: Drop support for Python 3.6.
- Make the
pedantic
decorator compatible with Python 3.10. - Added changelog
- CI: drop Python 3.6 and add Python 3.10 and 3.11