From b1b74c6e5d8aede2312023ff55955ccec7bd4eb6 Mon Sep 17 00:00:00 2001 From: so1n Date: Sun, 21 Aug 2022 03:06:59 +0800 Subject: [PATCH] Modify, build, version 0.1.1 --- .gitignore | 2 ++ CHANGELOG.md | 12 +++++++++++- pyproject.toml | 3 ++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 86845df..f30439c 100644 --- a/.gitignore +++ b/.gitignore @@ -107,3 +107,5 @@ venv.bak/ .idea/ .vscode/ poetry.lock +p2p_validate.proto +validate.proto diff --git a/CHANGELOG.md b/CHANGELOG.md index 306f8e1..51d40cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,14 @@ -## 0.0.2[Now] +## 0.1[now] +- Feature, add get desc from p2p +- Feature, add DescTemplate class +- Refactor, change pydantic validate param type (datetime -> float) + +## 0.0.3 +- Feature, add simple get desc from pgv +- Feature, support gpv other validation by pydantic validator +- Feature, Any, Duration, Enum, Timestamp, Repeated, Map and one of support + +## 0.0.2 - Fix, fix parse_method_by_protobuf not support TAIL comment - Feature, support customer field.type and field.default_factory - Feature, support module path diff --git a/pyproject.toml b/pyproject.toml index f01bdcf..699fdbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "protobuf_to_pydantic" -version = "0.0.2" +version = "0.1.1" description = "Convert Protobuf-generated Python objects to Pydantic.BaseModel objects with parameter checksum" authors = ["So1n "] license = "Apache Software License" @@ -8,6 +8,7 @@ readme = "./README.md" repository = "https://github.com/so1n/protobuf_to_pydantic" homepage = "https://github.com/so1n/protobuf_to_pydantic" + [tool.poetry.dependencies] python = "^3.7" grpcio-tools = "^1.47.0"