Skip to content

Releases: cero-t/sqltemplate

Bootiful SQL Template 4.0.1

Choose a tag to compare

@cero-t cero-t released this 08 Jul 12:59

Maintenance and feature release on top of 4.0.0 (Java 17 / Spring Boot 4.0 / Spring Framework 7.0).

Highlights

  • Enum binding & mapping — enums are bound and read by Enum.name() across all parameter and result paths (#41).
  • forStream() overloads returning Stream — new overloads return the Stream directly, alongside the existing callback-based ones (#24). The returned Stream is not auto-closed; close it yourself (e.g. with try-with-resources).
  • java.time.Instant supportInstant column values are bound and read via the epoch (Timestamp.from / Timestamp.toInstant), independent of the configured time zone (#19).
  • Proper SQL types for positional & batch parameters — positional and batch parameters now derive the SQL type from the value's runtime type, consistent with map/bean parameters (#14). (A positional NULL still carries no type; see the README batch section.)
  • Non-public record support in RecordMapper.

Fixes

  • Bump the PostgreSQL driver to 42.7.13, resolving the high-severity SCRAM authentication CPU-exhaustion DoS (CVE-2026-42198).

Compatibility

  • Requires Java 17+ and Spring Boot 4.0+ / Spring Framework 7.0+.
  • For Java 8 or Spring Boot 2.x–3.x, use the 2.x branch (latest 2.1.0).

Maven

<dependency>
    <groupId>ninja.cero.bootiful-sqltemplate</groupId>
    <artifactId>bootiful-sqltemplate</artifactId>
    <version>4.0.1</version>
</dependency>

Full Changelog: 4.0.0...4.0.1

Bootiful SQL Template 4.0.0

Choose a tag to compare

@cero-t cero-t released this 08 Jul 08:45

Spring Boot 4.0 / Spring Framework 7.0 / Java 17 support.

Highlights

  • New baseline: Java 17, Spring Framework 7.0, Spring Boot 4.0 (previously Java 8 / Spring 5–6 / Boot 2–3).
  • First-class Java record support — records can be used both to map query results and to bind parameters.
  • Updated dependencies (spring-jdbc 7.0.8, freemarker 2.3.34, slf4j-api 2.0.18).
  • Internal cleanup: dropped the pre-Java-17 reflection workarounds in the record/bean mappers, and simplified streaming on top of queryForStream.
  • Reworked documentation (README / README_ja), including the previously unwritten Update, Batch update, and Time-zone sections.

Compatibility

  • Requires Java 17+ and Spring Boot 4.0+ / Spring Framework 7.0+.
  • For Java 8 or Spring Boot 2.x–3.x, use the 2.x branch (latest 2.1.0).

Maven

<dependency>
    <groupId>ninja.cero.bootiful-sqltemplate</groupId>
    <artifactId>bootiful-sqltemplate</artifactId>
    <version>4.0.0</version>
</dependency>

bootiful-sqltemplate 2.1.0

Choose a tag to compare

@cero-t cero-t released this 22 Oct 15:46

Support record class (Java >16 is required)

bootiful-sqltemplate 2.0.0

Choose a tag to compare

@cero-t cero-t released this 20 Oct 01:20
  • API redesigned.

bootiful-sqltemplate 1.0.4

Choose a tag to compare

@cero-t cero-t released this 13 Aug 10:36

New Feature

#7 Stream API Support!

bootiful-sqltemplate 1.0.3

Choose a tag to compare

@cero-t cero-t released this 20 May 16:17

New Feature
#5 Private fields with accessor method of return type value object support
#8 Batch Update support
#9 java.util.Map as a return type.
#12 Update by adding params

Bug Fix
#13 Cannot return LocalDate or List

bootiful-sqltemplate 1.0.2

Choose a tag to compare

@cero-t cero-t released this 10 Aug 17:46

#6 [Improvement]supports more JSR-310 classes
#11 [NewFeature]PlainText support

bootiful-sqltemplate 1.0.1

Choose a tag to compare

@cero-t cero-t released this 06 Aug 15:43

#3 [NewFeatue]SqlParameterSourceを引数にとれるようにしてほしい
#4 [BugFix]forListメソッドで、戻り値をListにするとInstantiationExceptionが起きる

bootiful-sqltemplate 1.0.0

Choose a tag to compare

@cero-t cero-t released this 08 May 08:53

First release version.