Skip to content

Release 2.0.0

Choose a tag to compare

@dot-mike dot-mike released this 19 Aug 16:07
· 5 commits to main since this release

Requires LibreNMS 26.5+.

Storage was simplified: custom field values used to live in their own table, now they sit directly on the device-field link. The REST API behaves the same. Text and integer fields are now separate types; integer fields only accept whole numbers.

Breaking

  • custom_field_values table dropped. Values now live on custom_field_device as value_text / value_int.
  • CustomFieldValue model and customFieldValue relation removed.

Fixed

  • #4: integer fields no longer accept text. Rejected with 422 on all write paths.
  • Bulk edit / "add to devices" form on the per-field page silently dropped custom_field_id.
  • Device's custom fields page rendered "View [device.header] not found" on recent LibreNMS releases.

Migration notes

The migration runs automatically and cleans up old data. Duplicate fields and duplicate device links are collapsed to the oldest, and for each device+field the newest value from the old table wins. Older history is discarded.