Skip to content

Releases: Alipsa/data-utils

Ver 2.0.4

20 Jan 20:53
3e270ba

Choose a tag to compare

  • Upgrade dependencies
    • Groovy [5.0.1 -> 5.0.3]
    • JUnit Jupiter [5.14.0 -> 6.0.2]
    • JUnit Platform Launcher [1.14.0 -> 6.0.2]
  • Bug fixes
    • ConnectionInfo.asJson() - Fixed invalid JSON output (was using = instead of :)
    • ConnectionInfo.asJson() - Added proper escaping for special characters (\, ", \n, \r, \t)
    • ConnectionInfo.hashCode() - Fixed NPE when name is null (now returns 0)
    • ConnectionInfo.compareTo() - Now properly throws NullPointerException when comparing with null
  • Code quality improvements
    • Removed debug println statement from SqlTypeMapper
    • Refactored SqlUtil.driver() classloader fallback logic for clarity
    • Removed commented-out debug code from SqlUtil
  • Build improvements
    • Added JaCoCo for code coverage reporting (v0.8.12)
    • Added CodeNarc for Groovy static analysis (v3.5.0)
  • Documentation
    • Completely rewrote README.md with comprehensive examples for multiple databases
  • Test coverage
    • Added ConnectionInfoTest (24 test methods)
    • Added DataGeneratorTest (7 test methods)
    • Expanded SqlTypeMapperTest with SQL Server and PostgreSQL mapping tests
    • Expanded SqlUtilTest with driver detection and ConnectionInfo usage tests

Ver 2.0.3

25 Oct 21:57

Choose a tag to compare

  • Fix getDriverClassName for h2 in SqlUtil
  • throw a RuntimeException when no driver class can be determined for a given url in SqlUtil.

Ver 2.0.2

25 Oct 21:18

Choose a tag to compare

  • Fix dependency for h2 for DatabaseProvider.H2

Ver 2.0.1

25 Oct 20:15

Choose a tag to compare

  • add methods that does not require driver class name but guesses them based on the url.
    • Set the driver class (if unset) when adding a url to connection info
  • Add driver dependency info to DatabaseProvider enum
  • upgrade gradle to 9.0.1, upgrade test dependencies and plugins

Ver 2.0.0

12 Mar 12:57

Choose a tag to compare

  • add getDependencyVersion method to ConnectionInfo
  • ensure size in varchar(size) is minimum 1 (was 0)
  • Improve support for Derby
  • Rename DefaultTypeMapperMapper to DefaultTypeMapper
  • Change scope of DefaultTypeMapper from protected to public in order to facilitate testing
  • Improve support for Derby, adding a mapper method for converting values when the db does not support it
    e.g. LocalDate inserts in Derby which must be converted to java.sql.Date for setObject to work.
  • Require JDK 21

Ver 1.0.6

11 Oct 13:40

Choose a tag to compare

  • Change github repo references from perNyfelt to Alipsa
  • Add support for ConnectionInfo as param to Sql factory methods
  • upgrade test dependencies and gradle version
  • fix bug in determining the DataBaseProvider from a URL
  • Add support for handling java.sql.Types and a jdbcType in SqlTypeMapper
    that returns the Types int corresponding to the Java class

Ver 1.0.5

04 Jul 09:01

Choose a tag to compare

  • move Tablesaw stuff to matrix-tablesaw
  • add support for getting a db type for a java class
  • remove dependency on log4j to slim down the library further and be logging agnostic

Ver 1.0.4

06 Aug 09:50

Choose a tag to compare

  • upgrade to jdk17
  • add conversions to/from Tablesaw and Matrix
  • add wrappers to Gtable for all Table methods returning a Table
  • move most of Normalization code to the Matrix-stats package and adjust accordingly
  • upgrade dependencies for groovy, tablesaw, SODS, dom4j

Ver 1.0.3

24 Dec 11:58

Choose a tag to compare

Minor upgrade that addresses some dependency issues:

  • upgrade transient dependencies with cve issues
  • upgrade to groovy 4.0.6
  • change groovy dependencies to compileOnly so that consumers of this library
    can use whatever compatible version of Groovy that they want without conflicts.

Ver 1.0.2

17 Aug 18:18

Choose a tag to compare

  • Add TableUtil with support for frequency tables