Skip to content

Releases: davidmoten/rxjava2-jdbc

0.1-RC16

25 Oct 23:16
Compare
Choose a tag to compare
  • limit scheduled creates by demand and enable shortcutting (if checkin happens just after member initialize (open connection) scheduled then can use that checkin immediately)

0.1-RC14

24 Oct 12:53
Compare
Choose a tag to compare
  • add Database.nonBlocking builder so don't have to construct a Pool to pass to Database creation method
  • rename healthy method to healthCheck in builders
  • add .healthCheck(DatabaseType) so you can write .healthCheck(DatabaseType.ORACLE) for instance
  • time dependent builder methods must use TimeUnit (removed a few methods in builders)
  • rename checkoutRetryXXX to createRetryXXX in builders
  • adjust MemberSingle.requested down when number of observers is less than the requested number of checkouts
  • many refactorings, new tests
  • add javadoc to Database.nonBlocking and NonBlockingPool builders

0.1-RC13

19 Oct 20:11
Compare
Choose a tag to compare
  • fix Database.connections() (repeat operator missing)

0.1-RC12

19 Oct 16:26
Compare
Choose a tag to compare
  • added support for connection health checks on checkout. The health check is only performed if the connection has been checked in for a minimum of idleTimeBeforeHealthCheck. The parameter is set in the Pools.nonBlocking builder.
  • added Database.connections method to return a Flowable of connections from the pool. Note that the author has no existing use case for this method but put it in because if you use Database.connection().repeat() to get a Flowable then you end up over-requesting because of the request behaviour (actually subscribe behaviour to be specific) of the repeat operator.

0.1-RC11

17 Oct 15:27
Compare
Choose a tag to compare
  • alter Database.close behaviour so it does not shutdown an internally created ExecutorService. Don't want to cancel a close operation on a connection inadvertently and don't have to worry about gc of ExecutorService and associated threads because it will be gc'd when out of scope.

0.1-RC9

16 Oct 05:51
Compare
Choose a tag to compare
  • extensive rework of MemberSingle.drain and associated classes to simplify and maximize non-blocking #5
  • upgrade to rxjava 2.1.5
  • add Parameter list builder
  • add generic wildcards to api
  • add more unit tests

0.1-RC8

29 Sep 16:54
Compare
Choose a tag to compare
  • add @NonNull annotation and Preconditions checks to builders
  • add autoMap and tuple mapping to TransactedReturnGeneratedKeysBuilder
  • refactor Member to return MemberWithValue from checkout()
  • add support for default methods in automapped interfaces
  • add support for blocking connection providers (Database.fromBlocking(DataSource)) #4

0.1-RC7

26 Sep 18:36
Compare
Choose a tag to compare
  • schedule retry if all checkouts fail on the queue in drain loop (MemberSingle)
  • close test database creation statement on failure
  • throw exception if test database does not create within 1 minute
  • close resource in lambda properly (test database)
  • add tests for TransactedSelectBuilder
  • javadoc fixes

0.1-RC6

25 Sep 18:58
Compare
Choose a tag to compare

Add autoMap(...) and getAs(...) tuple mappings to

  • select transacted()
  • select transacted().valuesOnly()

0.1-RC5

22 Sep 13:00
Compare
Choose a tag to compare
  • fix autoMap PreparedStatement reuse #3