Logidze v1.0.0.rc1 Release Notes
Release Date: 2020-09-01 // over 3 years ago-
- Add
.with_full_snapshot
to add full snapshots to the log instead of diffs. ([@palkan][])
⚡️ Useful in combination with
.without_logging
: first, you perform multiple updates without logging, then you do something likewith_full_snapshot { record.touch }
to create a log entry with the current state.Add
#create_logidze_snapshot!
and.create_logidze_snapshot
methods. ([@palkan][])➕ Add integration with
fx
gem. ([@palkan][])
Now it's possible to use Logidze with
schema.rb
. Addfx
gem to the project, and new migrations will be using Fxcreate_function
/create_trigger
functions.- 🔨 Refactored columns filtering. ([@palkan][])
📇 Renamed
--whitelist/--blacklist
to--only/--except
correspondingly.The only-logic has been changed: previously we collected the list of columns to ignore at the migration generation time, now we filter the columns within the trigger function (thus, schema changes do not affect the columns being tracked).
- ⬇️ Dropped support for Rails 4.2, Ruby 2.4 and PostgreSQL 9.5. ([@palkan][])
- Add