Scalaxb v1.7.0 Release Notes

Release Date: 2018-09-09 // over 5 years ago
  • 1.5.2...v1.7.0

    ๐Ÿ’ฅ Breaking changes

    • ExecutionContext parameter is added to all methods returning Future[A], instead of hardcoding a execution context. #482 inspired by #407

    Symbol encoding strategy and capitalization

    scalaxb 1.7.0 adds option to encode symbols.

    lazy val scalaxbCapitalizeWords= settingKey[Boolean]("Attempts to capitalize class and attribute names to match the CamelCase convention") lazy val scalaxbSymbolEncodingStrategy = settingKey[SymbolEncodingStrategy.Value]("Specifies the strategy to encode non-identifier characters in generated class names") object SymbolEncodingStrategy extends Enumeration { val Discard = Value("discard") val SymbolName = Value("symbol-name") val UnicodePoint = Value("unicode-point") val DecimalAscii = Value("decimal-ascii") val Legacy151 = Value("legacy-1.5.1") }
    

    #461 by @hosamaly

    Other enhancements

    • ๐Ÿ– Handle multiple faults #438 by @SupraFii
    • โž• Adds support for enum values list #446 by @bbarker
    • ๐Ÿ‘Œ Supports Dispatch versions from 0.11.4 to 0.14.x #468 by @margussipria
    • 0๏ธโƒฃ Generates a default value for class parameters of anyAttribute #470 by @hosamaly
    • ๐Ÿ“œ scala-xml 1.1.0 and scala-parser-combinators 1.1.0 #476 by @sullis
    • ๐Ÿ‘‰ Uses sealed traits for enums #479 by @mrdziuban
    • โž• Adds config option for setting scalaxbEnumNameMaxLength for enum name length #480 by @mrdziuban

    ๐Ÿ› Bug fixes

    • ๐Ÿ“œ Don't throw exception on http status code != 200 to allow Fault parsing #444 by @alexdupre
    • ๐Ÿ›  Fixes Soap11Fault bug when empty detail #450 by @dportabella