Skip to content

Upgrading github.com/aws/smithy-go 0.4 to 0.5

Unknownv0.4.0 → v0.5.0

UnknownUpgrade verdict

The only release in this range publishes no notes, so breaking changes can't be ruled out.

  • Some releases in this range publish no notes, so DepDelta can't rule out breaking changes.
  • Their commits are listed with this comparison.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published Go source. Not mixed with prose notes.

  • removed: method MediaType.MediaType() string
  • removed: type MediaType: interface
  • added: func EncodeFloat([]byte, float64, int) []byte
  • added: func EscapePath(string, bool) string
  • added: func NewEncoder(string, string, http.Header) (*Encoder, error)
  • added: func NewQueryValue(url.Values, string, bool) QueryValue
  • added: func SplitURI(string) (string, string)
  • added: method Encoder.AddHeader(string) HeaderValue
  • added: method Encoder.AddQuery(string) QueryValue
  • added: method Encoder.Encode(*http.Request) (*http.Request, error)
  • added: method Encoder.HasHeader(string) bool
  • added: method Encoder.Headers(string) Headers
  • added: method Encoder.SetHeader(string) HeaderValue
  • added: method Encoder.SetQuery(string) QueryValue
  • added: method Encoder.SetURI(string) URIValue
  • added: method HeaderValue.BigDecimal(*big.Float)
  • added: method HeaderValue.BigInteger(*big.Int)
  • added: method HeaderValue.Blob([]byte)
  • added: method HeaderValue.Boolean(bool)
  • added: method HeaderValue.Byte(int8)
  • added: method HeaderValue.Double(float64)
  • added: method HeaderValue.Float(float32)
  • added: method HeaderValue.Integer(int32)
  • added: method HeaderValue.Long(int64)
  • added: method HeaderValue.Short(int16)
  • added: method HeaderValue.String(string)
  • added: method Headers.AddHeader(string) HeaderValue
  • added: method Headers.SetHeader(string) HeaderValue
  • added: method QueryValue.BigDecimal(*big.Float)
  • added: method QueryValue.BigInteger(*big.Int)
  • added: method QueryValue.Blob([]byte)
  • added: method QueryValue.Boolean(bool)
  • added: method QueryValue.Byte(int8)
  • added: method QueryValue.Double(float64)
  • added: method QueryValue.Float(float32)
  • added: method QueryValue.Integer(int32)
  • added: method QueryValue.Long(int64)
  • added: method QueryValue.Short(int16)
  • added: method QueryValue.String(string)
  • added: method URIValue.BigDecimal(*big.Float) error
  • added: method URIValue.BigInteger(*big.Int) error
  • added: method URIValue.Boolean(bool) error
  • added: method URIValue.Byte(int8) error
  • added: method URIValue.Double(float64) error
  • added: method URIValue.Float(float32) error
  • added: method URIValue.Integer(int32) error
  • added: method URIValue.Long(int64) error
  • added: method URIValue.Short(int16) error
  • added: method URIValue.String(string) error
  • added: type Encoder: struct
  • added: type HeaderValue: struct
  • added: type Headers: struct
  • added: type QueryValue: struct
  • added: type URIValue: struct
  • added: field Encoder.Value: embedded Value
  • added: func CollectUnknownField(*json.Decoder) ([]byte, error)
  • added: func DiscardUnknownField(*json.Decoder) error
  • added: func NewEncoder() *Encoder
  • added: method Array.Close()
  • added: method Array.Value() Value
  • added: method Encoder.Bytes() []byte
  • added: method Encoder.String() string
  • added: method Object.Close()
  • added: method Object.Key(string) Value
  • added: method Value.Array() *Array
  • added: method Value.Base64EncodeBytes([]byte)
  • added: method Value.BigDecimal(*big.Float)
  • added: method Value.BigInteger(*big.Int)
  • added: method Value.Boolean(bool)
  • added: method Value.Byte(int8)
  • added: method Value.Double(float64)
  • added: method Value.Float(float32)
  • added: method Value.Integer(int32)
  • added: method Value.Long(int64)
  • added: method Value.Null()
  • added: method Value.Object() *Object
  • added: method Value.Short(int16)
  • added: method Value.String(string)
  • added: method Value.Write([]byte)
  • added: type Array: struct
  • added: type Encoder: struct
  • added: type Object: struct
  • added: type Value: struct
  • added: field Attr.Name: Name
  • added: field Attr.Value: string
  • added: field EndElement.Name: Name
  • added: field ErrorComponents.Code: string
  • added: field ErrorComponents.Message: string
  • added: field Name.Local: string
  • added: field Name.Space: string
  • added: field NodeDecoder.Decoder: *xml.Decoder
  • added: field NodeDecoder.StartEl: xml.StartElement
  • added: field StartElement.Attr: []Attr
  • added: field StartElement.Name: Name
  • added: func FetchRootElement(*xml.Decoder) (xml.StartElement, error)
  • added: func GetErrorResponseComponents(io.Reader, bool) (ErrorComponents, error)
  • added: func NewAttribute(string, string) Attr
  • added: func NewEncoder(writer) *Encoder
  • added: func NewNamespaceAttribute(string, string) Attr
  • added: func WrapNodeDecoder(*xml.Decoder, xml.StartElement) NodeDecoder
  • added: method Array.Member() Value
  • added: method Encoder.Bytes() []byte
  • added: method Encoder.RootElement(StartElement) Value
  • added: method Encoder.String() string
  • added: method Map.Entry() Value
  • added: method NodeDecoder.GetElement(string) (xml.StartElement, error)
  • added: method NodeDecoder.Token() (xml.StartElement, bool, error)
  • added: method NodeDecoder.Value() ([]byte, error)
  • added: method StartElement.Copy() StartElement
  • added: method StartElement.End() EndElement
  • added: method Value.Array() *Array
  • added: method Value.ArrayWithCustomName(StartElement) *Array
  • added: method Value.Base64EncodeBytes([]byte)
  • added: method Value.BigDecimal(*big.Float)
  • added: method Value.BigInteger(*big.Int)
  • added: method Value.Boolean(bool)
  • added: method Value.Byte(int8)
  • added: method Value.Close()
  • added: method Value.Double(float64)
  • added: method Value.FlattenedElement(StartElement) Value
  • added: method Value.Float(float32)
  • added: method Value.Integer(int32)
  • added: method Value.IsFlattened() bool
  • added: method Value.Long(int64)
  • added: method Value.Map() *Map
  • added: method Value.MemberElement(StartElement) Value
  • added: method Value.Short(int16)
  • added: method Value.String(string)
  • added: method Value.Write([]byte, bool)
  • added: type Array: struct
  • added: type Attr: struct
  • added: type Encoder: struct
  • added: type EndElement: struct
  • added: type ErrorComponents: struct
  • added: type Map: struct
  • added: type Name: struct
  • added: type NodeDecoder: struct
  • added: type StartElement: struct
  • added: type Value: struct
  • removed: func EscapePath(string, bool) string
  • removed: func NewEncoder(string, string, http.Header) (*Encoder, error)
  • removed: func NewQueryValue(url.Values, string, bool) QueryValue
  • removed: func SplitURI(string) (string, string)
  • removed: method Encoder.AddHeader(string) HeaderValue
  • removed: method Encoder.AddQuery(string) QueryValue
  • removed: method Encoder.Encode(*http.Request) (*http.Request, error)
  • removed: method Encoder.HasHeader(string) bool
  • removed: method Encoder.Headers(string) Headers
  • removed: method Encoder.SetHeader(string) HeaderValue
  • removed: method Encoder.SetQuery(string) QueryValue
  • removed: method Encoder.SetURI(string) URIValue
  • removed: method HeaderValue.BigDecimal(*big.Float)
  • removed: method HeaderValue.BigInteger(*big.Int)
  • removed: method HeaderValue.Blob([]byte)
  • removed: method HeaderValue.Boolean(bool)
  • removed: method HeaderValue.Byte(int8)
  • removed: method HeaderValue.Double(float64)
  • removed: method HeaderValue.Float(float32)
  • removed: method HeaderValue.Integer(int32)
  • removed: method HeaderValue.Long(int64)
  • removed: method HeaderValue.Short(int16)
  • removed: method HeaderValue.String(string)
  • removed: method Headers.AddHeader(string) HeaderValue
  • removed: method Headers.SetHeader(string) HeaderValue
  • removed: method QueryValue.BigDecimal(*big.Float)
  • removed: method QueryValue.BigInteger(*big.Int)
  • removed: method QueryValue.Blob([]byte)
  • removed: method QueryValue.Boolean(bool)
  • removed: method QueryValue.Byte(int8)
  • removed: method QueryValue.Double(float64)
  • removed: method QueryValue.Float(float32)
  • removed: method QueryValue.Integer(int32)
  • removed: method QueryValue.Long(int64)
  • removed: method QueryValue.Short(int16)
  • removed: method QueryValue.String(string)
  • removed: method URIValue.BigDecimal(*big.Float) error
  • removed: method URIValue.BigInteger(*big.Int) error
  • removed: method URIValue.Boolean(bool) error
  • removed: method URIValue.Byte(int8) error
  • removed: method URIValue.Double(float64) error
  • removed: method URIValue.Float(float32) error
  • removed: method URIValue.Integer(int32) error
  • removed: method URIValue.Long(int64) error
  • removed: method URIValue.Short(int16) error
  • removed: method URIValue.String(string) error
  • removed: type Encoder: struct
  • removed: type HeaderValue: struct
  • removed: type Headers: struct
  • removed: type QueryValue: struct
  • removed: type URIValue: struct
  • removed: field Encoder.Value: embedded Value
  • removed: func CollectUnknownField(*json.Decoder) ([]byte, error)
  • removed: func DiscardUnknownField(*json.Decoder) error
  • removed: func NewEncoder() *Encoder
  • removed: method Array.Close()
  • removed: method Array.Value() Value
  • removed: method Encoder.Bytes() []byte
  • removed: method Encoder.String() string
  • removed: method Object.Close()
  • removed: method Object.Key(string) Value
  • removed: method Value.Array() *Array
  • removed: method Value.Base64EncodeBytes([]byte)
  • removed: method Value.BigDecimal(*big.Float)
  • removed: method Value.BigInteger(*big.Int)
  • removed: method Value.Boolean(bool)
  • removed: method Value.Byte(int8)
  • removed: method Value.Double(float64)
  • removed: method Value.Float(float32)
  • removed: method Value.Integer(int32)
  • removed: method Value.Long(int64)
  • removed: method Value.Null()
  • removed: method Value.Object() *Object
  • removed: method Value.Short(int16)
  • removed: method Value.String(string)
  • removed: method Value.Write([]byte)
  • removed: type Array: struct
  • removed: type Encoder: struct
  • removed: type Object: struct
  • removed: type Value: struct
  • added: func CryptoRandInt63n(int64) (int64, error)
  • added: func Int63n(io.Reader, int64) (int64, error)
  • added: var Reader: io.Reader
  • added: func SleepWithContext(context.Context, time.Duration) error
  • added: field Logger.Attempt: int64
  • added: func ComputeDelay(int64, time.Duration, time.Duration, time.Duration) (time.Duration, error)
  • added: method Logger.AddLogger(*middleware.Stack) error
  • added: method Logger.HandleInitialize(context.Context, middleware.InitializeInput, middleware.InitializeHandler) (middleware.InitializeOutput, middleware.Metadata, error)
  • added: method Logger.ID() string
  • added: type Logger: struct
  • removed: field Attr.Name: Name
  • removed: field Attr.Value: string
  • removed: field EndElement.Name: Name
  • removed: field ErrorComponents.Code: string
  • removed: field ErrorComponents.Message: string
  • removed: field Name.Local: string
  • removed: field Name.Space: string
  • removed: field NodeDecoder.Decoder: *xml.Decoder
  • removed: field NodeDecoder.StartEl: xml.StartElement
  • removed: field StartElement.Attr: []Attr
  • removed: field StartElement.Name: Name
  • removed: func FetchRootElement(*xml.Decoder) (xml.StartElement, error)
  • removed: func GetErrorResponseComponents(io.Reader, bool) (ErrorComponents, error)
  • removed: func NewAttribute(string, string) Attr
  • removed: func NewEncoder(writer) *Encoder
  • removed: func NewNamespaceAttribute(string, string) Attr
  • removed: func WrapNodeDecoder(*xml.Decoder, xml.StartElement) NodeDecoder
  • removed: method Array.Member() Value
  • removed: method Encoder.Bytes() []byte
  • removed: method Encoder.RootElement(StartElement) Value
  • removed: method Encoder.String() string
  • removed: method Map.Entry() Value
  • removed: method NodeDecoder.Token() (xml.StartElement, bool, error)
  • removed: method NodeDecoder.Value() ([]byte, bool, error)
  • removed: method StartElement.Copy() StartElement
  • removed: method StartElement.End() EndElement
  • removed: method Value.Array() *Array
  • removed: method Value.ArrayWithCustomName(StartElement) *Array
  • removed: method Value.Base64EncodeBytes([]byte)
  • removed: method Value.BigDecimal(*big.Float)
  • removed: method Value.BigInteger(*big.Int)
  • removed: method Value.Boolean(bool)
  • removed: method Value.Byte(int8)
  • removed: method Value.Close()
  • removed: method Value.Double(float64)
  • removed: method Value.FlattenedElement(StartElement) Value
  • removed: method Value.Float(float32)
  • removed: method Value.Integer(int32)
  • removed: method Value.IsFlattened() bool
  • removed: method Value.Long(int64)
  • removed: method Value.Map() *Map
  • removed: method Value.MemberElement(StartElement) Value
  • removed: method Value.Short(int16)
  • removed: method Value.String(string)
  • removed: method Value.Write([]byte, bool)
  • removed: type Array: struct
  • removed: type Attr: struct
  • removed: type Encoder: struct
  • removed: type EndElement: struct
  • removed: type ErrorComponents: struct
  • removed: type Map: struct
  • removed: type Name: struct
  • removed: type NodeDecoder: struct
  • removed: type StartElement: struct
  • removed: type Value: struct