Skip to content

Commit 1fe9d71

Browse files
committed
Prepare release of 0.7.1
1 parent 04bfae7 commit 1fe9d71

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88

9+
## [0.7.1](https://github.com/binary-butterfly/validataclass/releases/tag/0.7.1) - 2022-09-26
10+
11+
[Full changelog](https://github.com/binary-butterfly/validataclass/compare/0.7.0...0.7.1)
12+
13+
This small patch release improves type hinting for the `@validataclass` decorator and the `DataclassValidation`.
14+
15+
### Changed
16+
17+
- `DataclassValidator`: The exact type of the validator (e.g. `DataclassValidator[MyDataclass]`) and thus the return
18+
type of `validate()` is now auto-deduced from the constructor arguments without an explicit type annotation. [#84]
19+
- The `@validataclass` decorator has (hopefully correct) type annotations now. [#84]
20+
21+
[#84]: https://github.com/binary-butterfly/validataclass/pull/84
22+
23+
924
## [0.7.0](https://github.com/binary-butterfly/validataclass/releases/tag/0.7.0) - 2022-09-22
1025

1126
[Full changelog](https://github.com/binary-butterfly/validataclass/compare/0.6.2...0.7.0)

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ docker-pull:
8888

8989
# Cleanup
9090
# -------
91+
9192
.PHONY: clean
9293
clean:
9394
rm -rf .coverage .pytest_cache reports src/validataclass/_version.py

0 commit comments

Comments
 (0)