Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

release v0.5.0 #60

Merged
merged 1 commit into from
Jul 3, 2022
Merged

release v0.5.0 #60

merged 1 commit into from
Jul 3, 2022

Conversation

marten-seemann
Copy link
Contributor

No description provided.

@marten-seemann marten-seemann requested a review from MarcoPolo July 3, 2022 09:52
@github-actions
Copy link

github-actions bot commented Jul 3, 2022

Suggested version: v0.5.0
Comparing to: v0.4.0 (diff)

Changes in go.mod file(s):

diff --git a/go.mod b/go.mod
index 3071287..047a6df 100644
--- a/go.mod
+++ b/go.mod
@@ -7,8 +7,9 @@ require (
 	github.com/libp2p/go-libp2p-core v0.19.0
 	github.com/multiformats/go-multiaddr v0.6.0
 	github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
-	github.com/stretchr/testify v1.7.0
+	github.com/stretchr/testify v1.8.0
 	go.opencensus.io v0.23.0
+	golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
 )
 
 require (
@@ -38,6 +39,5 @@ require (
 	go.uber.org/multierr v1.6.0 // indirect
 	go.uber.org/zap v1.19.1 // indirect
 	golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf // indirect
-	golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
-	gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
+	gopkg.in/yaml.v3 v3.0.1 // indirect
 )

gorelease says:

! second, different message for obj type github.com/libp2p/go-libp2p-resource-manager.DefaultLimitConfig struct{SystemBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; SystemMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; TransientBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; TransientMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; ServiceBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; ServiceMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; ServicePeerBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; ServicePeerMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; ProtocolBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; ProtocolMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; ProtocolPeerBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; ProtocolPeerMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; PeerBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; PeerMemory github.com/libp2p/go-libp2p-resource-manager.MemoryLimit; ConnBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; ConnMemory int64; StreamBaseLimit github.com/libp2p/go-libp2p-resource-manager.BaseLimit; StreamMemory int64}, part ""
  first:  removed
  second: old is comparable, new is not
# github.com/libp2p/go-libp2p-resource-manager
## incompatible changes
(*DefaultLimitConfig).WithSystemMemory: removed
BasicLimitConfig: removed
BasicLimiter: removed
BasicLimiterConfig: removed
DefaultLimitConfig.ConnMemory: removed
DefaultLimitConfig.PeerMemory: removed
DefaultLimitConfig.ProtocolMemory: removed
DefaultLimitConfig.ProtocolPeerMemory: removed
DefaultLimitConfig.ServiceMemory: removed
DefaultLimitConfig.ServicePeerMemory: removed
DefaultLimitConfig.StreamMemory: removed
DefaultLimitConfig.SystemMemory: removed
DefaultLimitConfig.TransientMemory: removed
DefaultLimitConfig: old is comparable, new is not
DynamicLimit: removed
InfiniteLimits: changed from DefaultLimitConfig to LimitConfig
Limit.WithConnLimit: removed
Limit.WithFDLimit: removed
Limit.WithMemoryLimit: removed
Limit.WithStreamLimit: removed
Limiter.GetAllowlistedSystemLimits: added
Limiter.GetAllowlistedTransientLimits: added
MemoryLimit: removed
NewDefaultDynamicLimiter: removed
NewDefaultFixedLimiter: removed
NewDefaultLimiter: removed
NewDefaultLimiterFromJSON: changed from func(io.Reader) (*BasicLimiter, error) to func(io.Reader) (Limiter, error)
NewDefaultStaticLimiter: removed
NewDynamicLimiter: removed
NewLimiter: removed
NewLimiterFromJSON: changed from func(io.Reader, DefaultLimitConfig) (*BasicLimiter, error) to func(io.Reader, LimitConfig) (Limiter, error)
NewStaticLimiter: removed
StaticLimit: removed
## compatible changes
(*BaseLimit).Apply: added
(*BaseLimit).GetMemoryLimit: added
(*ScalingLimitConfig).AddPeerLimit: added
(*ScalingLimitConfig).AddProtocolLimit: added
(*ScalingLimitConfig).AddProtocolPeerLimit: added
(*ScalingLimitConfig).AddServiceLimit: added
(*ScalingLimitConfig).AddServicePeerLimit: added
(*ScalingLimitConfig).AutoScale: added
(*ScalingLimitConfig).Scale: added
BaseLimit.Memory: added
BaseLimitIncrease: added
DefaultLimitConfig.AllowlistedSystemBaseLimit: added
DefaultLimitConfig.AllowlistedSystemLimitIncrease: added
DefaultLimitConfig.AllowlistedTransientBaseLimit: added
DefaultLimitConfig.AllowlistedTransientLimitIncrease: added
DefaultLimitConfig.ConnLimitIncrease: added
DefaultLimitConfig.PeerLimitIncrease: added
DefaultLimitConfig.PeerLimits: added
DefaultLimitConfig.ProtocolLimitIncrease: added
DefaultLimitConfig.ProtocolLimits: added
DefaultLimitConfig.ProtocolPeerLimitIncrease: added
DefaultLimitConfig.ProtocolPeerLimits: added
DefaultLimitConfig.ServiceLimitIncrease: added
DefaultLimitConfig.ServiceLimits: added
DefaultLimitConfig.ServicePeerLimitIncrease: added
DefaultLimitConfig.ServicePeerLimits: added
DefaultLimitConfig.StreamLimitIncrease: added
DefaultLimitConfig.SystemLimitIncrease: added
DefaultLimitConfig.TransientLimitIncrease: added
LimitConfig: added
NewFixedLimiter: added
ScalingLimitConfig: added

# summary
Suggested version: v0.5.0

gocompat says:

(empty)

@MarcoPolo
Copy link
Contributor

Would like to get #63 in before

@MarcoPolo MarcoPolo merged commit fe31993 into master Jul 3, 2022
@MarcoPolo MarcoPolo deleted the release-v050 branch July 3, 2022 16:30
@MarcoPolo MarcoPolo mentioned this pull request Jul 7, 2022
41 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants