Skip to content

Releases: fiorix/wsdl2go

v1.6.2

23 Apr 11:29

Choose a tag to compare

v1.6.1

23 Apr 09:55

Choose a tag to compare

Full Changelog: v1.6.0...v1.6.1

v1.6.0

23 Apr 09:26

Choose a tag to compare

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 (OpContext variants)
  • 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-cache to disable)
  • short -> int16
  • anyType/anySequence/anySimpleType -> *soap.AnyType (preserves raw XML)

Breaking changes:

  • wsdl.Definitions.PortType is now PortTypes []PortType
  • wsdl.Definitions.Binding is now Bindings []Binding
  • Generated method signatures include OpContext(ctx, ...) variants
  • Enums generate const blocks instead of Validate() methods
  • Date/time fields use soap.DateTime etc. instead of string

v1.5.0

22 Apr 23:52

Choose a tag to compare

What's changed

  • Migrated from dep to Go modules
  • Replaced Travis CI with GitHub Actions
  • Replaced deprecated io/ioutil and strings.Title APIs
  • 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 of action). This matches the W3C spec; compliant servers should already accept both forms.
  • Minimum Go version: 1.25

v1.4.7

26 Jan 11:57

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.6...v1.4.7

v1.4.5

17 Feb 12:17

Choose a tag to compare

Now using stdlib context package, a more bug fixes.

v1.4.4

20 Jan 19:29

Choose a tag to compare

Add support for new types, and bug fixes.

v1.4.3

05 Oct 16:05

Choose a tag to compare

Bug fixes

v1.4.1

24 Mar 14:23

Choose a tag to compare

Minor fix: cleanup interface comments.

v1.4

24 Mar 05:14

Choose a tag to compare

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