Skip to content

Releases: eed3si9n/scalaxb

1.4.0

18 Jul 00:03
1.4.0
Compare
Choose a tag to compare

SOAP/REST changes

  • Adds requestTimeout and connectionTimeout to DispatchHttpClients. #304 by @eed3si9n
  • Adds --no-dispatch-client option (generateDispatchClient := false). #322 by @liff
  • Adds --dispatch-as option (generateDispatchAs := true) for Dispatch's Http(request > as.scalaxb[A]) support. #332 by @arkadius

other enhancements

  • Adds --ignore-unknown option (ignoreUnknown := true) to ignore unknown XML elements, as well as order in which they are arrived. #310 by @jet-black
  • Adds --no-varargs option to use Seq instead of the varargs. #292/#309 by @lbruand and @Erwan56
  • Improves handling of duplicate enumeration values. #308 by @donderom
  • Refactors configuration into a sequence of case classes. #342 by @eed3si9n

bug fixes

compiler warnings

The code generated by scalaxb 1.4.0 should no longer generate compiler warnings.

  • Adds SIP-18 imports to the generated code. #294 by @carl297r
  • Removes "adapting argument list" and other compiler warnings from the generetad code. #321 by @liff
  • Removes compiler warnings from the scalaxb code. #335 by @justjoheinz
  • Removes postfix usages in the generated code.
  • Adds -Xfatal-warnings during the integration tests. #343 by @eed3si9n

contributors

A huge thanks to everyone who has helped to improve scalaxb by reporting bugs and sending pull requests!

According to git shortlog -sn --no-merges 1.3.0..release/1.4.0 ten people contributed to this release: Eugene Yokota (@eed3si9n), @jet-black, Olli Helenius (@liff), Lucas Bruand (@lbruand), Markus Klink (@justjoheinz), Carl Livermore (@carl297r), Arek Burdach (@arkadius), Joe Barnes (@joescii), @Erwan56, Roman Parykin (@donderom).

1.3.0

18 Jul 00:04
1.3.0
Compare
Choose a tag to compare

breaking changes

  • Dropping SOAP RPC/encoded support.
  • Makes SOAP faultactor a String. #268 by @rubbish
  • Generates >22 case classes by default. #280
  • Generates attributes field to handle all attributes. #286

SOAP changes

  • Fixes the handling of message parts involving headers. #285 by @plaflamme
  • Fixes nillable fault support. #284
  • Makes http instances lazy. #279 by @rubbish
  • Implements toString methods for faults. #278

case class >22 and attributes change

Starting scalaxb 1.3.0, the generated code will be >22 by default. In addition, all attributes will be handled via attributes field.

To bring back the older behavior:

contentsSizeLimit in (Compile, scalaxb) := 20

namedAttributes in (Compile, scalaxb) := true

Related, 1.3.0 fixes attribute's default value handling #288.