Skip to content

Releases: instacart/truetime-android

3.5

20 Oct 16:44
ddde9c4
Compare
Choose a tag to compare

Bug fixes

  • #136 - fix vulnerability around exported broadcast receiver (unblocking sdk 31 support) 🙏 @anjalsaneen

3.4

05 Sep 21:52
Compare
Choose a tag to compare
3.4
  • Improved caching (Provide custom caching implementation) 🙏 @TonyTangAndroid
  • new Wiki with better instructions and information around using the library
  • use Single instead of Flowable for init call apis
  • update example to demonstrate usage better
  • remove "support-annotations" dependency

3.3

17 Jul 23:02
Compare
Choose a tag to compare
3.3

Features

  • provide api for server response delay max (millis) #57
  • provide root delay and root dispersion as api inputs (millis) #57
  • propagate InvalidNtpServerResponseException properly with violated property values #57

Fixes

  • bump the default server response delay to 200

3.2

06 Jun 18:14
Compare
Choose a tag to compare
3.2

Features

  • upgrade to RxJava 2.x (Observables are now Flowables)

Fixes:

  • api for providing NTP resolved IPs directly (see #42 for details)
  • fix manifest merge fail (see #44)
  • synchronize accessors (see #56)

2.2

28 Jan 01:52
Compare
Choose a tag to compare
2.2

Fixes

2.1

23 Dec 08:08
Compare
Choose a tag to compare
2.1

Fixes:

  • coerce signed 16.16 int -> double value and compare in milliseconds

2.0

18 Oct 18:55
Compare
Choose a tag to compare
2.0

Features:

  • Full NTP implementation #24 (this was a significant change and warranted the change of the apis)
  • Disk persistence! cache TrueTime info to disk, so we avoid network requests calls (even across app kills). This requires the boot permission as TrueTime is invalid across device boots #15
  • Add flag for logging #16

Fixes:

  • More stringent checks with custom InvalidNtpServerResponseException thrown with reason for failure
  • the maxConcurrent option was incorrectly being used on flatMap. While limiting the number of parallel SNTP calls made, it was also basically ignoring rest of the provided NTP hosts.

1.5

02 Sep 23:18
Compare
Choose a tag to compare
1.5
  • expose retry count
  • (Rx) fix: first -> take(1)

1.3

30 Jul 00:50
Compare
Choose a tag to compare
1.3
  • clean Singleton implementation
  • add TrueTime.isInitialized()

1.1

20 Jul 22:34
Compare
Choose a tag to compare
1.1

api cleanup:

  • #3 - make TrueTime a Singleton
  • #5 - return Observable<Date> vs Observable<Void>

minor fixes & cleanup