Skip to content

deps: apply Renovate updates; drop custom hoplite type discriminator - #52

Merged
rocketraman merged 2 commits into
masterfrom
rg/renovate-updates
Oct 27, 2026
Merged

rocketraman merged 2 commits into
masterfrom
rg/renovate-updates

Conversation

@rocketraman

Copy link
Copy Markdown
Owner

Applies the open Renovate updates in one PR and uses Hoplite 3.0.5 to drop the custom type discriminator.

Dependency updates

  • kotlinx-serialization 1.12.0, kotlinx-coroutines 1.11.0
  • hoplite 3.0.5, flyway 13.11.1, mysql-connector-j 26.10.0
  • kodein-di 7.33.0, graalvm buildtools 0.11.5
  • Gradle 9.8.2, gradle/actions 4.4.4, claude-code-action 1.0.263

Supersedes #23, #25, #26, #29, #30, #31, #44, #45, #48, #49.

Sealed subtypes select with _type again

Hoplite 3.0.5 (sksamuel/hoplite#604) lets an environment variable select a sealed subtype by naming it as the sealed type's own value, so hopliteConfigBinder no longer needs withExplicitSealedTypes("type"):

  • Config files use Hoplite's default _type, as in 3.0.0: tiebreaker { _type = Shuffled, seed = 42 }.
  • Environment variables: BOOT_SERVICE_ORDER_TIEBREAKER=Shuffled and BOOT_SERVICE_ORDER_TIEBREAKER_SEED=42.
  • An environment variable that selects a subtype overrides the one config selects.
  • Subtype names match in any case, like enum values.

The unreleased 3.1.0 changelog drops the _type → type breaking change, and the README, service-ordering doc, and KDoc use the new keys.

Testing

  • ./gradlew build passes, including the Postgres and MySQL Testcontainers tests.
  • New tests cover subtype names in any case and an environment variable overriding a config-selected subtype.

- kotlinx-serialization 1.12.0, kotlinx-coroutines 1.11.0
- hoplite 3.0.5, flyway 13.11.1, mysql-connector-j 26.10.0
- kodein-di 7.33.0, graalvm buildtools 0.11.5
- Gradle 9.8.2, gradle/actions 4.4.4, claude-code-action 1.0.263
Hoplite 3.0.5 lets an environment variable select a sealed subtype by
naming it as the sealed type's own value, e.g.
BOOT_SERVICE_ORDER_TIEBREAKER=Shuffled, so the custom `type`
discriminator is no longer needed. Config files go back to `_type`, as
in 3.0.0, and subtype names now match in any case.
@rocketraman
rocketraman merged commit dbcd0cb into master Oct 27, 2026
2 checks passed
@rocketraman
rocketraman deleted the rg/renovate-updates branch October 27, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant