Skip to content

Releases: instacart/truetime-android

3.5

Choose a tag to compare

@kaushikgopal kaushikgopal released this 20 Oct 16:44
ddde9c4

Bug fixes

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

3.4

3.4

Choose a tag to compare

@kaushikgopal kaushikgopal released this 05 Sep 21:52
  • 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

3.3

Choose a tag to compare

@kaushikgopal kaushikgopal released this 17 Jul 23:02

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

3.2

Choose a tag to compare

@kaushikgopal kaushikgopal released this 06 Jun 18:14

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

2.2

Choose a tag to compare

@kaushikgopal kaushikgopal released this 28 Jan 01:52

Fixes

2.1

2.1

Choose a tag to compare

@kaushikgopal kaushikgopal released this 23 Dec 08:08

Fixes:

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

2.0

2.0

Choose a tag to compare

@kaushikgopal kaushikgopal released this 18 Oct 18:55

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

1.5

Choose a tag to compare

@kaushikgopal kaushikgopal released this 02 Sep 23:18
  • expose retry count
  • (Rx) fix: first -> take(1)

1.3

1.3

Choose a tag to compare

@kaushikgopal kaushikgopal released this 30 Jul 00:50
  • clean Singleton implementation
  • add TrueTime.isInitialized()

1.1

1.1

Choose a tag to compare

@kaushikgopal kaushikgopal released this 20 Jul 22:34

api cleanup:

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

minor fixes & cleanup