Logidze v0.11.0 Release Notes

Release Date: 2019-08-15 // over 4 years ago
  • ๐ŸŒฒ This release reverts some changes made in 0.10.0 related to ignore_log_data functionality.

    ๐Ÿ”„ Changes

    • ๐Ÿ‘ป Return nil when log_data is not loaded instead of raising an exception.

    We cannot distinguish between not loaded log_data and not-yet-created (i.e. for new records).
    The latter could be used in frameworks/gems (example).

    • ๐ŸŒฒ Only allow specifying ignore_log_data at boot time without runtime modifications.

    Playing with ActiveRecord default scopes wasn't a good idea. We fallback to a more explicit way of telling AR
    when to load or ignore the log_data column.

    ๐ŸŒฒ This change removes Logidze.with_log_data method.