Skip to content

Releases

v1.1.1

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 04 Nov 13:51
29d68d0

1.1.1 (2026-11-04)

Bug Fixes

  • parse empty power failures log 1-0:99.97.0() (#94) (750a4c4)

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Jul 05:19
d6db032

1.1.0 (2026-07-11)

Features

  • add lenient parsing option for nonconforming meters (133d5b6)
  • add timestamp-to-UTC and octet-string decoding helpers (2637286)
  • include expected and actual checksum in error (c583514)

Bug Fixes

  • descriptive error for malformed legacy gas reading (27fc1eb)
  • only include decimal code when decimal is loaded (dc1c691)
  • preserve precision for lossless round-trip (6b03d84)
  • reject timestamps that lack the DST marker (a77d227)
  • require checksum for telegrams that declare a DSMR version (fd710fa)
  • return tagged error for malformed power failure log (de58a43)
  • serialize hand-built measurements with spec-defined field widths (70ec5eb)
  • stop rescuing all exceptions as parse errors (4927138)
  • validate timestamp token length in lexer (e496dd8)

Performance Improvements

  • compile OBIS lookups to O(1) function heads (f964a95)
  • move checksum validation before parsing for early rejection (d51ad93)
  • replace regex timestamp split with binary match (4caf2d2)
  • use compile-time lookup table for CRC16 checksum (faaeee8)
  • validate checksum in single pass via lexer token (a447d30)

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 06 Oct 11:51

What's Changed

  • Centralizing OBIS attribute handling with lookup table
  • Fix mbus channel ordering
  • Surface parser errors with context
  • Fix checksum validation to accept uppercase hex digits
  • Fix checksum parsing crash when ! appears in header
  • Move OBIS-to-field mapping from Elixir into yecc parser
  • Extract MBus channel in lexer for single-pass processing
  • Centralize OBIS mappings plus add Telegram.to_string
  • Validate power failure log event count
  • Extend M-Bus valve position and legacy gas reading to all channels
  • Handle unknown OBIS codes gracefully

Full Changelog: v0.6.0...v1.0.0

v0.5.0

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 23 Apr 12:50

Changes

  • Add bang variant of parse
  • Move value normalization to post_traverse calls
  • Make measurements and timestamps a struct
  • Return telegram struct directly from parser

v0.4.0

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 13 Mar 14:02

Changes

  • Move library to mijnverbruik organization
  • Rewrite library to use YECC (#26)

v0.3.0

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 26 Sep 11:33

Changes

  • Renamed package to just dsmr(892e56b)

v0.2.1

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 07 Jul 14:19

Changes

  • Fix incorrect separator between OBIS (7a1a696)

v0.2.0

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 14 Dec 12:21

Changes

  • Fix type of value struct: 44d36bd
  • Only map when we are sure that it is a value: 186e648
  • Expose raw value when format is detected incorrectly: 95e5223
  • Parse OBIS as list of digits: ff02ffe
  • Group mbus values: dd2eab9

v0.1.0

Choose a tag to compare

@robinvdvleuten robinvdvleuten released this 08 Dec 11:57
  • Initial release 🎉
⌂ 换网址