Releases: alexejk/go-xmlrpc
Releases · alexejk/go-xmlrpc
v0.5.3
v0.5.2
v0.5.1
Bugfixes:
- Handling of empty values while decoding responses (#80).
Library will now properly handle empty values for<string>
,<int>
,<i4>
,<boolean>
,<double>
,<dateTime.iso8601>
,<base64>
and<array>
(with case of<data />
).
As<struct>
may not have an empty list of<member>
elements as per specification. Similarly<array/>
is considered invalid.
v0.5.0
Improvements:
- Ability to decode struct members into a map.
v0.4.1
Bugfixes:
- Adding missing handling of undeclared value types to default to
string
as per XML-RPC spec (previouslynil
would be returned)
Library is now built against Go 1.21
v0.4.0
v0.3.0
v0.2.0
Improvements:
-
NewClient
supports receiving a list ofOption
s that modify clients behavior.
Initial supported options are:HttpClient(*http.Client)
- set customhttp.Client
to be usedHeaders(map[string]string)
- set custom headers to use in every request (kudos: @Nightapes)UserAgent(string)
- set User-Agent identification to be used (#6). This is a shortcut for just settingUser-Agent
custom header
Deprecations:
NewCustomClient
is deprecated in favor ofNewClient(string, ...Option)
withHttpClient(*http.Client)
option.
This method will be removed in future versions.
v0.1.2
v0.1.1
Mainly documentation and internal refactoring:
- Made
Encoder
andDecoder
into interfaces with correspondingStdEncoder
/StdDecoder
. - Removal of intermediate objects in
Codec