Skip to content

Util 18.6.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 15 Jun 03:40
· 819 commits to develop since this release

API Changes

  • util-app: Allow users a way to override the argument parsing behavior in
    c.t.app.App#nonExitingMain which was inlined. Users can override parseArgs
    to define custom behavior. cf7860e5

  • util-core: Removed c.t.u.NonFatal, use scala.util.control.NonFatal
    instead. 57533b34

  • util-class-preloader: This library has been removed since it deprecated. We
    no longer recommend that people do this. af41e634

Bug Fixes

  • util-app: Fix issue where in some environments, URLClassLoader#getURLs can
    return null, failing LoadService from initializing properly
    (see: google/guava#2239). The URLClassLoader javadoc
    is not clear if a null can be returned when calling URLClassLoader#getURLs and for
    at least one application server, the default returned is null, thus we should be more
    resilient against this possibility. Fixes Finagle #695. 3adca94a

Deprecations

  • util-reflect: This library has been deprecated since it is legacy code and shouldn't
    be used for new services. We no longer think this facility is the right way to do it
    and encourage you to provide your own forwarders. af41e634

New Features

  • util-app: added #suppressGracefulShutdownErrors method to optionally suppress exceptions
    during graceful shutdown from bubbling up. ab261b26