Tags: temporalio/api
Tags
Versioning docs touch-up (#405) * Versioning docs touch-up * address comments * gen openapi * clarify first workflow task behaviour * Update temporal/api/taskqueue/v1/message.proto Co-authored-by: David Reiss <david@temporal.io> * Update temporal/api/taskqueue/v1/message.proto Co-authored-by: David Reiss <david@temporal.io> * Update temporal/api/taskqueue/v1/message.proto Co-authored-by: David Reiss <david@temporal.io> * Update temporal/api/taskqueue/v1/message.proto Co-authored-by: David Reiss <david@temporal.io> * Update temporal/api/taskqueue/v1/message.proto Co-authored-by: David Reiss <david@temporal.io> * Update temporal/api/workflowservice/v1/service.proto Co-authored-by: David Reiss <david@temporal.io> * update generated files --------- Co-authored-by: David Reiss <david@temporal.io>
Replace gogo protobuf with google's protobuf v2 compiler (#317) **What changed?** gogo/protobuf has been replaced with Google's official go compiler. I also changed our code generation to use buf as it was slightly easier to manage plugin versions, though I may revert that. **Why?** gogo/protobuf has been deprecated for some time and the community is moving on, building new tools (like vtproto) atop google's v2 compiler. **Breaking changes** - `*time.Time` in proto structs will now be [timestamppb.Timestamp](https://pkg.go.dev/google.golang.org/protobuf@v1.31.0/types/known/timestamppb#section-documentation) - `*time.Duration` will now be [durationpb.Duration](https://pkg.go.dev/google.golang.org/protobuf/types/known/durationpb) - V2-generated structs embed locks, so you cannot dereference them willy-nilly. `go vet` will scream at you about this - Proto enums will, when formatted to JSON, now be in `SCREAMING_SNAKE_CASE` rather than `PascalCase`. We decided (in discussion with the SDK team) that now was as good a time as any to rip the bandage off
PreviousNext