protobuf_message_editor 0.2.2
protobuf_message_editor: ^0.2.2 copied to clipboard
An editor widget for protobuf GeneratedMessage instances
0.2.2 #
- Refactored
ProtoMapControllerto simplify initialization and improve message serialization. - Standardized field editor interfaces using
ProtoMapFieldInfoand unified value normalization. - Added support for disabling and excluding fields via
ProtoMapEditorProvider. - Enhanced
google.protobuf.Anyediting with a new searchable type selector. - Added custom builder support for initializing new submessage fields and elements.
- Improved UX with auto-expansion of newly added fields and collapsed-by-default expandable fields.
- Pinned the save header in
ProtoMapEditorand updated bytes fields to hide the text input by default. - Fixed initialization issues for repeated message fields in the map editor.
0.2.1 #
- Extracted reusable UI components into
styled_widgetsto support custom decorators. - Migrated internal naming from
ProtobufJsontoProtoMapfor consistency. - Provided deprecated aliases for all renamed classes to maintain backward compatibility.
0.2.0 #
- Added
ProtobufJsonEditorusing internal JSON state management. - Implemented
ProtobufJsonControllerhierarchy for message state. - Added depth-weighted label colors and matching vertical indentation guides.
- Added context-aware tooltips for fields and add buttons.
- Introduced
ProtobufEditorThemefor centralized styling. - Global support for limiting numerical precision (3 significant figures) during serialization.
- Fixed
google.protobuf.Anyserialization for uninitialized fields. - Improved custom provider support for nested
Anyfields. - Added visual "Unsaved Changes" indicator.
- Standardized Protobuf package naming.
- Deprecated legacy editors (
ProtoMessageEditor,ProtoDualPanelMessageEditor, etc.) and associated types in favor ofProtobufJsonEditor.
0.1.0 #
- Refactored custom message editors to decouple the editor content widget from field expansion or navigation logic.
- Provided
CustomEditorProviderandSubmessageBuilderdown the widget tree viaProviderto simplify propagation.
Breaking changes: #
CustomEditorRegistryhas been largely abstracted into theCustomEditorProviderinterface.customEditorRegistryproperties has been renamed tocustomEditorProviderand accepts the new interface.submessageBuilderproperty now receives a content widget instead of just the submessage itself.ProtoNavigationStateand its nodes now trackfieldInfoalongside messages in their stack.
0.0.5 #
- Add
AnyEditorfor editinggoogle.protobuf.Anymessages - Add
AnyEditorRegistryfor managing available message types forAnyEditor
Breaking changes: #
SubmessageBuildertypedef has been updated to includeparentMessageandonRebuildRequestedparameters.- Add copy-to-edit button for frozen submessages
0.0.4 #
Added support for google.protobuf.BoolValue via a default custom editor registry
0.0.3 #
Added missing exports relevant to custom field editors
0.0.2 #
ProtoDualPanelMessageEditor can now accept a root message instead of a ProtoNavigationState.
When used this way, the widget will create an internally managed ProtoNavigationState.
0.0.1 #
Initial release