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

Release v0.0.5 #492

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Release v0.0.5 #492

merged 1 commit into from
Jul 24, 2024

Conversation

masih
Copy link
Member

@masih masih commented Jul 23, 2024

Make a new tagged release in prep for lotus dependency bubble-up.

@masih
Copy link
Member Author

masih commented Jul 23, 2024

Relates to filecoin-project/lotus#12279

Copy link

Suggested version: v0.0.5

Comparing to: v0.0.4 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 5755973..56c5aa0 100644
--- a/go.mod
+++ b/go.mod
@@ -4,10 +4,10 @@ go 1.21
 
 require (
 	github.com/Kubuxu/go-broadcast v0.0.0-20240621161059-1a8c90734cd6
-	github.com/benbjohnson/clock v1.3.5
 	github.com/drand/kyber v1.3.1
 	github.com/drand/kyber-bls12381 v0.3.1
 	github.com/filecoin-project/go-bitfield v0.2.4
+	github.com/filecoin-project/go-clock v0.1.0
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-datastore v0.6.0
 	github.com/ipfs/go-ds-leveldb v0.5.0
@@ -21,12 +21,14 @@ require (
 	go.opentelemetry.io/otel v1.28.0
 	go.opentelemetry.io/otel/metric v1.28.0
 	go.uber.org/multierr v1.11.0
+	go.uber.org/zap v1.27.0
 	golang.org/x/crypto v0.24.0
 	golang.org/x/sync v0.7.0
 	golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
 )
 
 require (
+	github.com/benbjohnson/clock v1.3.5 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/cespare/xxhash/v2 v2.3.0 // indirect
 	github.com/containerd/cgroups v1.1.0 // indirect
@@ -123,7 +125,6 @@ require (
 	go.uber.org/dig v1.17.1 // indirect
 	go.uber.org/fx v1.21.1 // indirect
 	go.uber.org/mock v0.4.0 // indirect
-	go.uber.org/zap v1.27.0 // indirect
 	golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
 	golang.org/x/mod v0.17.0 // indirect
 	golang.org/x/net v0.26.0 // indirect

gorelease says:

# github.com/filecoin-project/go-f3/certexchange
## compatible changes
FindInitialPowerTable: added

# github.com/filecoin-project/go-f3/certs
## incompatible changes
ApplyPowerTableDiffs: changed from func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, ...[]PowerTableDelta) (github.com/filecoin-project/go-f3/gpbft.PowerEntries, error) to func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, ...PowerTableDiff) (github.com/filecoin-project/go-f3/gpbft.PowerEntries, error)
FinalityCertificate.PowerTableDelta: changed from []PowerTableDelta to PowerTableDiff
MakePowerTableDiff: changed from func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, github.com/filecoin-project/go-f3/gpbft.PowerEntries) []PowerTableDelta to func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, github.com/filecoin-project/go-f3/gpbft.PowerEntries) PowerTableDiff
NewFinalityCertificate: changed from func([]PowerTableDelta, *github.com/filecoin-project/go-f3/gpbft.Justification) (*FinalityCertificate, error) to func(PowerTableDiff, *github.com/filecoin-project/go-f3/gpbft.Justification) (*FinalityCertificate, error)
## compatible changes
PowerTableDiff: added

# github.com/filecoin-project/go-f3/ec
## incompatible changes
NewFakeEC: changed from func(uint64, int64, time.Duration, github.com/filecoin-project/go-f3/gpbft.PowerEntries, bool) *FakeEC to func(context.Context, uint64, int64, time.Duration, github.com/filecoin-project/go-f3/gpbft.PowerEntries, bool) *FakeEC

# github.com/filecoin-project/go-f3/manifest
## incompatible changes
NewDynamicManifestProvider: changed from func(*Manifest, *github.com/libp2p/go-libp2p-pubsub.PubSub, github.com/libp2p/go-libp2p/core/peer.ID) *DynamicManifestProvider to func(*Manifest, github.com/ipfs/go-datastore.Datastore, *github.com/libp2p/go-libp2p-pubsub.PubSub, github.com/libp2p/go-libp2p/core/peer.ID) *DynamicManifestProvider
NewManifestSender: changed from func(github.com/libp2p/go-libp2p/core/host.Host, *github.com/libp2p/go-libp2p-pubsub.PubSub, *Manifest, time.Duration) (*ManifestSender, error) to func(context.Context, github.com/libp2p/go-libp2p/core/host.Host, *github.com/libp2p/go-libp2p-pubsub.PubSub, *Manifest, time.Duration) (*ManifestSender, error)
## compatible changes
Manifest.InitialPowerTable: added
Manifest.ProtocolVersion: added
VersionCapability: added

# diagnostics
required module github.com/microcosm-cc/[email protected] retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.1.0

gocompat says:

Your branch is up to date with 'origin/main'.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.82%. Comparing base (e1f7e6d) to head (b24f7bd).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #492      +/-   ##
==========================================
+ Coverage   79.77%   79.82%   +0.04%     
==========================================
  Files          43       43              
  Lines        4074     4074              
==========================================
+ Hits         3250     3252       +2     
- Misses        492      493       +1     
+ Partials      332      329       -3     

see 3 files with indirect coverage changes

@masih masih marked this pull request as ready for review July 23, 2024 22:56
@jennijuju
Copy link
Member

hey can we get the top commit in main from steb in as well? (rod thinks that's important

@masih masih force-pushed the masih/release-0-0-5 branch 2 times, most recently from 32e6b5b to d3308b6 Compare July 23, 2024 23:46
@masih masih requested review from Kubuxu and Stebalien July 23, 2024 23:49
Make a new tagged release in prep for lotus dependency bubble-up.

Signed-off-by: Jakub Sztandera <[email protected]>
Copy link

Suggested version: 0.0.5

Comparing to: v0.0.4 (diff)

Changes in configuration file(s):

diff --git a/go.mod b/go.mod
index 5755973..56c5aa0 100644
--- a/go.mod
+++ b/go.mod
@@ -4,10 +4,10 @@ go 1.21
 
 require (
 	github.com/Kubuxu/go-broadcast v0.0.0-20240621161059-1a8c90734cd6
-	github.com/benbjohnson/clock v1.3.5
 	github.com/drand/kyber v1.3.1
 	github.com/drand/kyber-bls12381 v0.3.1
 	github.com/filecoin-project/go-bitfield v0.2.4
+	github.com/filecoin-project/go-clock v0.1.0
 	github.com/ipfs/go-cid v0.4.1
 	github.com/ipfs/go-datastore v0.6.0
 	github.com/ipfs/go-ds-leveldb v0.5.0
@@ -21,12 +21,14 @@ require (
 	go.opentelemetry.io/otel v1.28.0
 	go.opentelemetry.io/otel/metric v1.28.0
 	go.uber.org/multierr v1.11.0
+	go.uber.org/zap v1.27.0
 	golang.org/x/crypto v0.24.0
 	golang.org/x/sync v0.7.0
 	golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028
 )
 
 require (
+	github.com/benbjohnson/clock v1.3.5 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
 	github.com/cespare/xxhash/v2 v2.3.0 // indirect
 	github.com/containerd/cgroups v1.1.0 // indirect
@@ -123,7 +125,6 @@ require (
 	go.uber.org/dig v1.17.1 // indirect
 	go.uber.org/fx v1.21.1 // indirect
 	go.uber.org/mock v0.4.0 // indirect
-	go.uber.org/zap v1.27.0 // indirect
 	golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
 	golang.org/x/mod v0.17.0 // indirect
 	golang.org/x/net v0.26.0 // indirect

gorelease says:

# github.com/filecoin-project/go-f3
## incompatible changes
Logger: removed

# github.com/filecoin-project/go-f3/certexchange
## compatible changes
FindInitialPowerTable: added

# github.com/filecoin-project/go-f3/certs
## incompatible changes
ApplyPowerTableDiffs: changed from func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, ...[]PowerTableDelta) (github.com/filecoin-project/go-f3/gpbft.PowerEntries, error) to func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, ...PowerTableDiff) (github.com/filecoin-project/go-f3/gpbft.PowerEntries, error)
FinalityCertificate.PowerTableDelta: changed from []PowerTableDelta to PowerTableDiff
MakePowerTableDiff: changed from func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, github.com/filecoin-project/go-f3/gpbft.PowerEntries) []PowerTableDelta to func(github.com/filecoin-project/go-f3/gpbft.PowerEntries, github.com/filecoin-project/go-f3/gpbft.PowerEntries) PowerTableDiff
NewFinalityCertificate: changed from func([]PowerTableDelta, *github.com/filecoin-project/go-f3/gpbft.Justification) (*FinalityCertificate, error) to func(PowerTableDiff, *github.com/filecoin-project/go-f3/gpbft.Justification) (*FinalityCertificate, error)
## compatible changes
PowerTableDiff: added

# github.com/filecoin-project/go-f3/ec
## incompatible changes
NewFakeEC: changed from func(uint64, int64, time.Duration, github.com/filecoin-project/go-f3/gpbft.PowerEntries, bool) *FakeEC to func(context.Context, uint64, int64, time.Duration, github.com/filecoin-project/go-f3/gpbft.PowerEntries, bool) *FakeEC

# github.com/filecoin-project/go-f3/manifest
## incompatible changes
(*Manifest).Unmarshal: removed
(*ManifestSender).Pause: removed
(*ManifestSender).Resume: removed
EcConfig.CommitteeLookback: removed
EcConfig.ECDelayMultiplier: removed
EcConfig.ECFinality: removed
EcConfig.ECPeriod: removed
Manifest.BaseDecisionBackoffTable: removed
Manifest.ClientRequestTimeout: removed
Manifest.CxConfig: removed
Manifest.Delta: removed
Manifest.DeltaBackOffExponent: removed
Manifest.ECDelayMultiplier: removed
Manifest.ECFinality: removed
Manifest.ECPeriod: removed
Manifest.EcConfig: removed
Manifest.GpbftConfig: removed
Manifest.MaxLookaheadRounds: removed
Manifest.MaximumPollInterval: removed
Manifest.MinimumPollInterval: removed
Manifest.ServerRequestTimeout: removed
ManifestUpdateMessage.Manifest: changed from *Manifest to Manifest
ManifestUpdateMessage: old is comparable, new is not
NewDynamicManifestProvider: changed from func(*Manifest, *github.com/libp2p/go-libp2p-pubsub.PubSub, github.com/libp2p/go-libp2p/core/peer.ID) *DynamicManifestProvider to func(*Manifest, github.com/ipfs/go-datastore.Datastore, *github.com/libp2p/go-libp2p-pubsub.PubSub, github.com/libp2p/go-libp2p/core/peer.ID) *DynamicManifestProvider
NewManifestSender: changed from func(github.com/libp2p/go-libp2p/core/host.Host, *github.com/libp2p/go-libp2p-pubsub.PubSub, *Manifest, time.Duration) (*ManifestSender, error) to func(context.Context, github.com/libp2p/go-libp2p/core/host.Host, *github.com/libp2p/go-libp2p-pubsub.PubSub, *Manifest, time.Duration) (*ManifestSender, error)
## compatible changes
(*CxConfig).Validate: added
(*EcConfig).Validate: added
(*GpbftConfig).Validate: added
(*Manifest).Validate: added
DefaultCommitteeLookback: added
EcConfig.DelayMultiplier: added
EcConfig.Finality: added
EcConfig.HeadLookback: added
EcConfig.Period: added
Manifest.CertificateExchange: added
Manifest.CommitteeLookback: added
Manifest.EC: added
Manifest.Gpbft: added
Manifest.InitialPowerTable: added
Manifest.Pause: added
Manifest.ProtocolVersion: added
Unmarshal: added
VersionCapability: added

# diagnostics
required module github.com/microcosm-cc/[email protected] retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.1.0

gocompat says:

HEAD is now at 253ee25 Bump version in prep for releasing `v0.0.4` (#476)
Previous HEAD position was 253ee25 Bump version in prep for releasing `v0.0.4` (#476)
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@Kubuxu Kubuxu enabled auto-merge July 24, 2024 00:43
@Kubuxu Kubuxu added this pull request to the merge queue Jul 24, 2024
Merged via the queue into main with commit 660547c Jul 24, 2024
15 checks passed
@Kubuxu Kubuxu deleted the masih/release-0-0-5 branch July 24, 2024 00:53
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.

3 participants