libsdi12 (0.5.2-1) unstable; urgency=medium

  * New upstream release 0.5.2:
    - Fix D-page boundary off-by-one that silently lost the value landing
      exactly on the 75-char page limit.
    - Locale-independent value formatting and parsing (no %f/strtod).
    - Precision reduction with rounding when integer digits + decimals
      exceed the spec's 7-digit cap.
    - Strict V/R/D command grammar; concurrent measurements aborted only
      by well-formed commands; state-machine hygiene fixes.
    - Test suite grown from 165 to 181 tests.
  * Add sdi12_crc16_update to the symbols file (introduced in 0.5.1).

 -- Phillip Weinstock <phillipweinstock@gmail.com>  Tue, 25 Aug 2026 12:00:00 +1000

libsdi12 (0.4.0-1) unstable; urgency=medium

  * Initial Debian packaging (Closes: #1130920).
  * New upstream release 0.4.0:
    - Fix D-page pagination: measurements spanning more than one data
      page previously returned no data at all via aD0!/aD1!.
    - Master now verifies the CRC on aD/aR responses when requested and
      rejects responses from the wrong sensor address.
    - Fix aDBn! binary packet buffer overflow and overlong-value
      out-of-bounds read on the sensor side.
    - Spec conformance: breaks no longer abort concurrent measurements
      (SDI-12 v1.4 sec. 4.4.7); identify CRC variants (aIMC!/aICC!)
      now include a CRC in the response.
    - New compile-time SDI12_MAX_RESPONSE_LEN override for full-size
      1000-byte binary packets.
    - Test suite grown from 98 to 114 tests.

 -- Phillip Weinstock <phillipweinstock@gmail.com>  Mon, 06 Jul 2026 23:41:27 +1000
