Skip to content

2.0.0

Compare
Choose a tag to compare
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot released this 17 Nov 21:36
· 17 commits to main since this release

[2.0.0] - 2022-11-17

This release improves compatibility of the library with Android code by removing usage of Java 8 APIs that are not supported in Android. It also revises the embedded HTTP mechanism to use a fork of nanohttpd rather than the heavier-weight Jetty.

Changed:

  • All methods that took a java.time.Duration now take long, TimeUnit instead.
  • The HttpServer class is now based on a fork of the lightweight nanohttpd (https://github.com/launchdarkly-labs/nanohttpd) library. This should work correctly in any server-side Java environment; it has not been validated in Android, but the previous Jetty implementation did not work in Android anyway.