Skip to content

Latest commit

 

History

History
54 lines (50 loc) · 2.27 KB

CHANGELOG.md

File metadata and controls

54 lines (50 loc) · 2.27 KB

0.2.2[Future]

  • Feature, support protovalidate(proto-gen-validate version >= 1.0.0) rule

0.2.1[Now]

  • Feature, support buf-cli
  • Feature, Remove redundant parameters in con_type
  • Feature, plugin support create dynamic plugin config module
  • Build, change requirements and script

0.2.0.x(1-4)

  • Fix, fix option field has default and default_factory value
  • Fix, default factory and default generated together

0.2.0

  • 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)

0.1.7

  • 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

0.1.6

  • Feature, support proto plugin feature

0.1

  • 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
  • Refactor, refactor gen model func -> class

0.0.1

  • description: The first version
  • Feature: support gen pydantic.basemodel in runtime
  • Feature: support gen python code from pydantic.basemodel
  • Feature: support parameter verification