Permalink
Commits on May 31, 2017
Commits on May 18, 2017
  1. Fix mapping result sets with NULL in some rows

    nicktelford committed May 18, 2017
    When a column is nullable, if there is at least one column after the
    nullable column, the nullable column contains a `NULL` value,
    that `NULL` value will be incorrectly applied to the _next_ column.
    
    This is caused by `rs.wasNull`, which looks at the _previous_ value
    retrieved, not the current one.
Commits on May 11, 2017
  1. Fix a bunch of SBT deprecations

    nicktelford committed May 11, 2017
    Will want to switch to a `build.sbt` at some point.
  2. Update to latest releases of Scala

    nicktelford committed May 11, 2017
    Scala 2.11.11 and 2.12.2 are the latest bugfix releases, so we should
    build against them.
  3. Fix build for Scala 2.12

    nicktelford committed May 11, 2017
    Scala 2.10.6 is the only version we now support that still
    supports/requires JVM 1.7, so this is now exclusively a special-case.
  4. Add Apache 2.0 license (#17)

    EronWright authored and nicktelford committed May 11, 2017
  5. Scala 2.12 (#18)

    bmckown authored and nicktelford committed May 11, 2017
    * Dependency bumps
    
    * Change target to check for scala 2.12 prefix
    
    * Version bump
    
    * Remove comment
  6. Delay param conversion until Option parses as Some (#21)

    BoopBoopBeepBoop authored and nicktelford committed May 11, 2017
    - param Options that wrapped non-string values would throw exceptions during conversion
     - changed to apply conversion after null values were successfully wrapped by Option
Commits on Sep 9, 2016
  1. Add simple DSL for ResultSet mapping to object (#14)

    jairamc authored and nicktelford committed Sep 9, 2016
    - Contains a new `SimpleMapper` that extends the jdbi `ResultSetMapper` aimed at simplifying object creation from `ResultSet`
    - Contains a new `ResultSetDSL` that works on (`ResultSet`, `ColumnName`) tuples to create objects. See comments in code.
  2. Support for-comprehensions for DBI transactions (#2)

    mpitid authored and nicktelford committed Sep 9, 2016
    This allows for the following DSL which should make working with multiple DAOs
    inside a transaction simpler:
    
         for { handle <- dbi.transaction
               dao1   <- handle.attachable[Dao1]
               ...
               daoN   <- handle.attachable[DaoN] } yield {
    
              dao1.some_function()
              ...
              daoN.some_other_function()
         }
Commits on Aug 16, 2016
  1. Set version to 1.0.0-1

    nicktelford committed Aug 16, 2016
  2. Upgrade to Dropwizard 1.0.0 (#10)

    kelnos authored and nicktelford committed Aug 16, 2016
Commits on Jul 12, 2016
  1. Add metrics module as dependency on core module

    nicktelford committed Jul 12, 2016
    The metrics module was always meant to be automatically included by the
    core module, it's exclusion was an oversight. The only optional module
    was meant to be jdbi.
Commits on May 20, 2016
  1. Fix ApplicationTest for singleton object apps

    nicktelford committed May 20, 2016
    When using an Application defined as a singleton object, the
    ApplicationTest couldn't be used, due to obnoxious types.
    
    This also has the bonus that it's now possible to let Scala's compiler
    infer the type arguments for ApplicationTest for you.
Commits on May 19, 2016
  1. Upgrade to Dropwizard 1.0.0-rc2

    nicktelford committed May 19, 2016
    Note: no release of dropwizard-scala will be made against an RC version
    of upstream Dropwizaed; this upgrade is just to help us prepare for the
    new API.
  2. Upgrade to Dropwizard 0.9.2

    nicktelford committed May 19, 2016
    Includes workaround for jackson-scala bug involving paranamer.
  3. Enable release signing

    nicktelford committed May 19, 2016
    Required to make releases with `sbt release`
  4. Fix build for releases

    nicktelford committed May 19, 2016
  5. Fix build for release

    nicktelford committed May 19, 2016
  6. Fix sbt release tag name

    nicktelford committed May 19, 2016