- Feature, support protovalidate(proto-gen-validate version >= 1.0.0) rule
- CommentHandler
- FormatHandler
- Fix, fix pydantic issue 6506
- Fix, fix issue 74
-
Note: Template is the introduction method that changes
- OLD:
from protobuf_to_pydantic.desc_template import DescTemplate
- NEW:
from protobuf_to_pydantic.template import Template
- OLD:
-
Feat, Plugin config support pkg config
-
Feat, Support all field can be set optional
-
Fix,
check_one_of
not support alias field(#67) -
Fix, Fixed the issue that some message references could not be parsed properly
-
Refactor, Refactored the internal implementation and changed the directory name(Prepare for version 4.0)
- Fix, (#57)
- Feat, Plugin support comment rule
- Test, fix ge le gt lt value
- Feat, support google.protobuf.xxx message and plugin add protobuf type gen config (#51)
- Fix, Remove dependency:grpcio-tools and fix dependencies clash with protobuf-5.26.1 (#48)
- Fix, fix nested message gen code syntax error (#44)
- Feat, support field mask (#43)
- Feat, support
google.protobuf.Struct
(#41) - Fix, Fix use of
base_model_class
parameter value in code generation (#40)
- Fix, fix missing typing import for optional field (#38)
- Feat, py311 support
- Feat, add oneof optional support
- Feat, add buf-cli support
- Feature, support buf-cli
- Feature, Remove redundant parameters in con_type
- Feature, plugin support create dynamic plugin config module
- Build, change requirements and script
- Fix, fix option field has default and default_factory value
- Fix, default factory and default generated together
- Feature, support Pydantic Version 2.0.0+
- Feature, datetime compared by timestamp
- Feature, support optional field
- Feature, field add required attr
- Feature, change format feature optional default value
- Feature, p2p rule support default template feature
- Refactor, refactor model's validator code gen(Use Pydantic's validator naming standard)
- Fix, fix plugin cli not use param
- Feature, Plugin CodeGen support customer config and support Field config
- Feature, Plugin CodeGen support customer head&tail content
- Feature, Plugin CodeGen support Struct
- Feature, support after refer Message(#4) and Self-referencing Message(#7)
- Feature, support 3.20.x and 4.20.x Protobuf (See the differences in versions)
- Refactor, Enhanced module path matching
- Refactor, format code
- 1.remove yapf support
- 2.support format tool load config from pyproject.toml
- 3.fix parse auto_flake fix_code func param error
- Feature, support proto plugin feature
- Feature, add get desc from p2p
- Feature, add DescTemplate class
- Refactor, change pydantic validate param type (datetime -> float)
- 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
- Fix, fix parse_method_by_protobuf not support TAIL comment
- Feature, support customer field.type and field.default_factory
- Feature, support module path
- Refactor, refactor gen model func -> class
- description: The first version
- Feature: support gen pydantic.basemodel in runtime
- Feature: support gen python code from pydantic.basemodel
- Feature: support parameter verification