Skip to content

CoilBase 0.1.0-preview2

Pre-release
Pre-release

Choose a tag to compare

@ejboy ejboy released this 06 Nov 17:11

0.1.0-preview2

This preview adds a DataSource-first repository API and simplifies Jex pool
lifecycle management.

  • Create repository contexts directly from a DataSource with
    new RepositoryContext(dataSource); dialect selection remains optional.
  • Jex applications configure and own their datasource explicitly. Update
    applications to follow the revised getting-started and database configuration
    examples when migrating from preview1.
  • Examples and standalone consumer fixtures now target 0.1.0-preview2.

See the release procedure for artifact publication steps.

Preview scope

CoilBase is an experimental Java foundation for explicit repositories and
transactions, with optional Avaje Jex integration. This is a preview; APIs and
behavior may change in later releases.

  • coilbase-core requires Java 17 and supplies Jdbi-based repository,
    transaction, SQL selection, and opt-in monitoring helpers.
  • coilbase-jex requires Java 21 and provides application lifecycle, JSON,
    error handling, and opt-in StatLite endpoint integration.
  • Applications provide their own datasource and JDBC driver. Transactions are
    synchronous and scoped to one datasource; distributed transactions and
    automatic migrations are not supported.
  • Jex monitoring counts unmatched routes with zero duration because Jex 3.6
    bypasses request filters for them. See StatLite monitoring for this
    and other limitations.

Artifacts are distributed through GitHub Releases and the PVR Labs Maven
repository at https://pvrlabs.github.io/maven/.