From a215dea7aa37fffac16d6a1217059dc27481eb96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Germond?= Date: Sun, 27 Apr 2025 19:12:42 +0200 Subject: [PATCH] version number and changelog --- README.md | 10 ++++++++++ pyproject.toml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 71cd6fc..e89d851 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,16 @@ def square(v : Even) -> Even # Changelog +* v1.2.0 + +Full support of annotated-types library for checking PEP-593 compatible type annotations +automatically through the `@annotated` decorator. + +Generated contracted functions are now of a `ContractedFunction` class, with a `original_call` +attribute that contains the function without contracts checking. + +Pyright check for the totality of the code. + * v1.1.0 Contracts can be disabled at runtime with `ignore_preconditions()` and `ignore_postconditions()` diff --git a/pyproject.toml b/pyproject.toml index 368e8a9..ae60710 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "contractme" -version = "1.1.0" +version = "1.2.0" description = "A powerful, expressive and lightweight design-by-contract framework" readme = "README.md" authors = [ -- GitLab