Releases: fiorix/wsdl2go
Releases · fiorix/wsdl2go
v1.6.2
Full Changelog: v1.6.1...v1.6.2
v1.6.1
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's new
SOAP runtime:
- SOAP fault detection and typed errors (
*soap.Fault) - MTOM/XOP binary optimization
- MIME multipart attachments (SwA)
- Per-method context support (
OpContextvariants) - Proper XSD date/time types (
soap.DateTime,soap.Date,soap.Time) with XML marshal/unmarshal and timezone tracking
Code generation:
- Multiple PortTypes and Bindings per WSDL
- Typed enum constants (replaces reflect-based
Validate()) - Schema download caching (
--no-cacheto disable) short->int16anyType/anySequence/anySimpleType->*soap.AnyType(preserves raw XML)
Breaking changes:
wsdl.Definitions.PortTypeis nowPortTypes []PortTypewsdl.Definitions.Bindingis nowBindings []Binding- Generated method signatures include
OpContext(ctx, ...)variants - Enums generate
constblocks instead ofValidate()methods - Date/time fields use
soap.DateTimeetc. instead ofstring
v1.5.0
What's changed
- Migrated from dep to Go modules
- Replaced Travis CI with GitHub Actions
- Replaced deprecated
io/ioutilandstrings.TitleAPIs - Updated README: badges, install command, usage example
- Renamed default branch from master to main
Bug fixes
- Fix one-way operation setting input type instead of output type (PR #136)
- Fix '-' in schema names producing invalid Go identifiers (PR #142, issue #47)
- Fix JSON/YAML struct tags incorrectly including XML ",attr" suffix (PR #147)
- Fix nil pointer crash in genGoOpStruct on mismatched operation names (PR #137, issue #132)
- Fix SOAPAction header missing double-quotes per W3C SOAP 1.1 spec (issue #130)
- Fix non-constant format string flagged by go vet
Breaking changes
- SOAPAction HTTP header values are now quoted (
"action"instead ofaction). This matches the W3C spec; compliant servers should already accept both forms. - Minimum Go version: 1.25
v1.4.7
What's Changed
- Added client x509 key pair support for generator CLI by @woodnathan in #104
- Fix complex content array restriction type by @sywesk in #105
- Add support for by @kjgorman in #106
- Update wsdl:part messages to use XML name from referenced element by @silverspace in #110
- Fix character-set issues by @digitalsparky in #108
- readme: add missing "go" marker by @quasilyte in #115
- fix travis badge's URL by @costela in #126
- add "DO NOT EDIT" header to generated file by @costela in #125
- Context Tracking feature. by @Greyeye in #128
New Contributors
- @woodnathan made their first contribution in #104
- @sywesk made their first contribution in #105
- @kjgorman made their first contribution in #106
- @silverspace made their first contribution in #110
- @digitalsparky made their first contribution in #108
- @quasilyte made their first contribution in #115
- @costela made their first contribution in #126
- @Greyeye made their first contribution in #128
Full Changelog: v1.4.6...v1.4.7
v1.4.5
v1.4.4
v1.4.3
v1.4.1
v1.4
Generate public interface type instead of struct, and constructor returns interface.
The struct with the implementation is generated at the bottom, after the types. It contains some repetitive code not interesting to humans. Code reads better and having the interface makes it easier to test.
Thanks @adriantam