Skip to content

v3.0.0

Latest

Choose a tag to compare

@phax phax released this 29 Nov 21:24
· 9 commits to main since this release
  • New major version, because of these breaking changes:
    • Java 21 is the baseline
    • /api/hybrid_validate without the query parameter country auto-detects the country instead of using OTHER
    • With external repositories configured, /ready replies with HTTP 200 only after they were loaded
  • Security: the Docker image disables the HotSpot Base64 intrinsic (-XX:-UseBASE64Intrinsics) as mitigation for CVE-2026-114938 ("Java2Shell").
  • Updated to ph-diver 4.5.0
  • Updated to kaltblut 1.0.0
  • Added support for external local validation repositories, described in an XML file referenced by the new configuration property phorm.repositories.file. See the new section External repositories
  • Added the admin APIs GET /api/admin/repositories and POST /api/admin/repositories/reload, enabled by the new configuration property phorm.api.admin.token
  • /api/validate/{vesid}, /api/dd_and_validate and /api/hybrid_validate now create a PDF validation report with the request header Accept: application/pdf, based on phive-result-pdf
  • /api/get/vesids returns the new field repository for VES loaded from an external repository
  • /api/hybrid_validate auto-detects the country from the embedded XML, if the query parameter country is not provided. Previously OTHER was used
  • A VES of an external repository may require a built-in VES. See issue #24
  • The external repositories are loaded in the background after the built-in VES. /ready replies with HTTP 200 only after both were loaded; an error with the external repositories keeps /ready at HTTP 503 instead of aborting the startup
  • POST /api/admin/repositories/reload sets the readiness to its result - a failed reload makes /ready reply with HTTP 503, even though the previously loaded VES stay active
  • Added telemetry for the external repositories: the span phorm.repositories.load has the new attributes phorm.repositories.trigger (startup or reload) and phorm.repositories.errors, and the status error if loading failed; each repository gets a child span phorm.repositories.load_repository; the metric phorm.repositories.loads has the new attribute trigger
  • The gauge phorm.ves.registry.size reports the built-in and the external VES separately, with the new attribute source (builtin or external) - the sum is the previous total
  • Updated to ph-telemetry 1.1.3
  • The span phorm.phive.validate has the new attribute phorm.vesid.repository, and the metrics phorm.validation.runs and phorm.validation.duration the new attribute repository, both only for VES of an external repository

What's Changed

Full Changelog: phorm-2.2.18...phorm-3.0.0