Skip to content

Release 3.20.2

Latest

Choose a tag to compare

@kszymankiewicz-sd kszymankiewicz-sd released this 16 Oct 14:45

Status: Stable

Version 3.20.2 is a patch release that keeps services reachable after a failed health check, fixes the stock event and physical inventory prints, and fixes valid reason assignment through the API. All users of 3.20.0 and 3.20.1 are encouraged to upgrade.

New Features

  • No new features have been added since version 3.20.1.

Improvements

  • The printed requisition summary shows the created, submitted and authorized signatures beside the three total costs, and the print skips the empty space for non-full supply products when the requisition has none, so the summary fits below the table on the first page more often.
  • User rights of the BUQ, stock price, stock event cancellation, DHIS2 and report modules have readable names in the role administration screen and can be translated.

Bug Fixes

  • A service whose health check fails stays registered in Consul. Previously Consul removed it after 10 minutes in the critical state and, since services register only once at startup, nginx answered HTTP 502 for it until the container was restarted, even when the service itself had recovered. This applies to all backend services and the Reference UI.
  • Stock event print: a product with several versions prints once, with the details of its latest version. Long product codes, names and pack size labels wrap with the whole product row, so the borders stay aligned, and a product header is no longer printed alone at the bottom of a page.
  • Physical inventory print: long product codes, product names and lot codes wrap inside their rows instead of being cut off.
  • Assigning a valid reason through POST /api/validReasons without the hidden flag creates it as shown again, instead of failing with HTTP 500 (a regression from 3.20.0).
  • The supplying-facility stock on hand column follows its template position in emergency requisitions and on the non-full supply tab, instead of always showing first. The demo requisition templates include the column (hidden), so it survives a demo data reload and can be switched on in template configuration.
  • Service releases are published to Maven Central reliably: each release uses its own staging repository and only final releases built on master are published.

Compatibility

Consul registration: services are no longer removed from Consul after 10 minutes in the critical state. An instance that failed its health check stays listed, reported as critical, until it recovers or the container is restarted.

All other changes are backwards-compatible with 3.20.0 and 3.20.1. This release contains no database schema changes or data migrations; the only data change is the supplying-facility stock on hand column (hidden) added to the demo requisition templates, which affects only instances that load demo data.

Full release notes, component versions and upgrade instructions: https://docs.openlmis.org/en/latest/releases/openlmis-ref-distro-v3.20.2.html