Skip to content

Add WalkUnknownFields and release v0.1.0 - #2

Merged
maoueh merged 3 commits into
masterfrom
feature/add-walkunknownfields-iterator-to-protox-protox
Dec 4, 2026
Merged

maoueh merged 3 commits into
masterfrom
feature/add-walkunknownfields-iterator-to-protox-protox

Conversation

@maoueh

@maoueh maoueh commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Add WalkUnknownFields iterator for unknown protobuf fields, sfreleaser config and release workflows, and release v0.1.0.

@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Merging this PR will release v0.1.0

Release notes

Added

  • Initial release as a standalone Go module (github.com/streamingfast/protox)
  • FindMessageByNameInFiles: find a message descriptor by full name across a set of file descriptors
  • FindMessageRepeatedFields / FindMessageFirstRepeatedField: shallow lookup of repeated fields on a message descriptor
  • MessageRepeatedFieldCount / MessageRepeatedFieldNames: count and enumerate repeated field names on a message descriptor
  • WalkMessageDescriptors: depth-first walk of a message descriptor tree with cycle detection
  • WalkMessageFields: iterator-based depth-first walk of all fields in a message hierarchy, with optional field filter
  • WalkMessageInstanceFields: iterator-based depth-first walk of all fields in a proto message instance (not just descriptors), recursing into sub-messages and repeated message elements; skips google.protobuf.* well-known types and prevents infinite recursion via DFS type-stack
  • WalkUnknownFields: iterator over unknown protobuf field numbers in a message instance, recursing into sub-messages, lists and maps
  • DynamicAsTimestamppb / DynamicAsTimestampTime / DynamicAsTimestampParts: convert dynamic google.protobuf.Timestamp messages to Go types
  • IsWellKnownTimestampField / IsWellKnownGoogleField: helpers to identify well-known google.protobuf.* fields
  • EnumValueToString / EnumKnownValuesDebugString: enum value utilities
  • GetMessageExtensionValue / GetFieldExtensionValue: typed extension value retrieval from message and field descriptors

@maoueh
maoueh merged commit 82e08c9 into master Dec 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant