v9.1.0
New features and improvements:
- When an error occurs and there is a related
Throwable
object, pass it to theonError
hook handlers. (#46) - When
forceRefresh
fails and there is a relatedThrowable
object, expose it inRefreshResult
via the newgetErrorException
property. - Handle unexpected errors in the
forceRefresh
method (to stop potential unhandled exceptions thrown by the evaluation logic from bringing down the consumer's application).
Breaking changes:
- Rename the
getError
property togetErrorMessage
inRefreshResult
. (Low impact expected.) - Add an extra parameter of type
?Throwable
to theonError
hook handlers. (Low impact expected.) - Don't include
event_id
in the log message but leave it up to the actual logger implementation to choose the log message format. (Affects consumers using custom logging only.)