Logidze v1.2.0 Release Notes

Release Date: 2021-06-11 // 4 months ago
    • ➕ Add user-defined exception handling ([@skryukov][])

    0️⃣ By default, Logidze raises an exception which causes the entire transaction to fail. To change this behavior, it's now possible to override logidze_capture_exception(error_data jsonb) function.

    • [Fixes #69] Fallback on NUMERIC_VALUE_OUT_OF_RANGE exception ([@skryukov][])

    • [Fixes #192] Skip log_data column during apply_column_diff ([@skryukov][])


Previous changes from v1.1.0

    • ➕ Add pending upgrade checks [Experimental]. ([@skryukov][])

    ⬆️ Now Logidze can check for a pending upgrade. Use Logidze.pending_upgrade = :warn to be notified by warning, or Logidze.pending_upgrade = :error if you want Logidze to raise an error.

    • 🛠 [Fixes #171] Stringify jsonb column values within snapshots. ([@skryukov][])

    • 🛠 [Fixes #175] Set dynamic ActiveRecord version for migrations. ([@skryukov][])

    • 🚚 [Fixes #184] Remove Rails meta-gem dependency ([@bf4][])