chainlink-common icon indicating copy to clipboard operation
chainlink-common copied to clipboard

add gorelease job

Open jmank88 opened this issue 1 year ago • 0 comments

Now that our go.mod file is free of replaces, we can run gorelease. This PR adds a workflow job for exactly that. The tool may not be stable enough yet to use in a blocking manner, but we can at least surface the output for developers to consider the feedback.

example output:
# github.com/smartcontractkit/chainlink-common/pkg/beholder
## compatible changes
Client.ForName: added
Config.OtelExporterHTTPEndpoint: added
Metadata.BeholderDomain: added
Metadata.BeholderEntity: added
NewMetadataValidator: added
TestDefaultConfigHTTPClient: added
writerClientConfig.OtelExporterHTTPEndpoint: added

# github.com/smartcontractkit/chainlink-common/pkg/beholder/pb
## incompatible changes
File_example_proto: removed
## compatible changes
BaseMessage: added
File_beholder_pb_base_message_proto: added
File_beholder_pb_example_proto: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/cli/cmd
## compatible changes
AddDefaultGoTemplates: added
Field.SkipCap: added
Field.WrapCap: added
GenerateUserTypes: added
GoStructReader: added
UserGenerationInfo: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/cli/cmd/generate-user-types
## compatible changes
package added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3
## compatible changes
ValueMapEncoder: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/aggregators
## compatible changes
package added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/datafeeds
## incompatible changes
NewDataFeedsAggregator: changed from func(github.com/smartcontractkit/chainlink-common/pkg/values.Map, github.com/smartcontractkit/chainlink-common/pkg/capabilities/datastreams.ReportCodec, github.com/smartcontractkit/chainlink-common/pkg/logger.Logger) (github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/types.Aggregator, error) to func(github.com/smartcontractkit/chainlink-common/pkg/values.Map, github.com/smartcontractkit/chainlink-common/pkg/capabilities/datastreams.ReportCodec) (github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/types.Aggregator, error)

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/ocr3cap
## incompatible changes
FeedValueCapFromStep: removed
IdenticalConsensusInput.Observations: removed
IdenticalConsensusInput: old is comparable, new is not
IdenticalConsensusMergedInput: removed
SignedReportCapFromStep: removed
## compatible changes
ConstantFeedValue: added
ConstantSignedReport: added
EncoderConfigWrapper: added
EncoderValueMap: added
EncoderWrapper: added
Encoders: added
FeedValueWrapper: added
IdenticalConsensusInput.Encoder: added
IdenticalConsensusInput.EncoderConfig: added
IdenticalConsensusInput.Observation: added
ReportIdWrapper: added
SignedReportWrapper: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/ocr3cap/ocr3captest
## incompatible changes
(*IdenticalConsensusMock[T]).SingleToManyObservations: removed
(*IdenticalConsensusMock[T]).SingleToManyObservations: removed
(*IdenticalConsensusMock[T]).SingleToManyObservations: removed

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/requests
## compatible changes
Request.OverriddenEncoderConfig: added
Request.OverriddenEncoderName: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/consensus/ocr3/types
## incompatible changes
Aggregator.Aggregate: changed from func(*AggregationOutcome, map[github.com/smartcontractkit/libocr/commontypes.OracleID][]github.com/smartcontractkit/chainlink-common/pkg/values.Value, int) (*AggregationOutcome, error) to func(github.com/smartcontractkit/chainlink-common/pkg/logger.Logger, *AggregationOutcome, map[github.com/smartcontractkit/libocr/commontypes.OracleID][]github.com/smartcontractkit/chainlink-common/pkg/values.Value, int) (*AggregationOutcome, error)
## compatible changes
(*Observation).GetOverriddenEncoderConfig: added
(*Observation).GetOverriddenEncoderName: added
Observation.OverriddenEncoderConfig: added
Observation.OverriddenEncoderName: added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/events
## compatible changes
package added

# github.com/smartcontractkit/chainlink-common/pkg/capabilities/triggers/streams
## incompatible changes
FeedCapFromStep: removed
FeedReportCapFromStep: removed
NewRunner: added
RuntimeConfig.Metadata: added
RuntimeConfig.RequestID: added

# github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/host
## incompatible changes
(*Module).Run: changed from func(*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.Request) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.Response, error) to func(context.Context, *github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.Request) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.Response, error)
GetWorkflowSpec: changed from func(*ModuleConfig, []byte, []byte) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk.WorkflowSpec, error) to func(context.Context, *ModuleConfig, []byte, []byte) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/sdk.WorkflowSpec, error)
ModuleConfig.Fetch: changed from func(*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.FetchRequest) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.FetchResponse, error) to func(context.Context, *github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.FetchRequest) (*github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb.FetchResponse, error)
## compatible changes
ModuleConfig.Labeler: added
ModuleConfig.MaxFetchRequests: added
RequestData: added

# github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/host/test/runnerapi/cmd
## compatible changes
package added

# github.com/smartcontractkit/chainlink-common/pkg/workflows/wasm/pb
## incompatible changes
(*FetchResponse).GetSuccess: removed
FetchResponse.Success: removed
## compatible changes
(*FetchRequest).GetId: added
(*FetchResponse).GetExecutionError: added
EmitMessageRequest: added
EmitMessageResponse: added
Error: added
FetchRequest.Id: added
FetchResponse.ExecutionError: added

# summary
Inferred base version: v0.3.0
Suggested version: v0.4.0

jmank88 avatar Sep 17 '24 16:09 jmank88