Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add gorelease job #774

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

add gorelease job #774

wants to merge 2 commits into from

Conversation

jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Sep 17, 2024

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

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