palkan / logidze

Database changes log for Rails
MIT License
1.59k stars 74 forks source link

Add Sequel preliminary support #229

Closed ardecvz closed 10 months ago

ardecvz commented 1 year ago

Hi, Vladimir!

What is the purpose of this pull request?

Add Sequel preliminary support.

It's an important feature for the Sequel ecosystem as, AFAIK, there's no model change trackers at all.

Fixes #28

What changes did you make? (overview)

It supports:

Preliminary support means that although Active Record is decoupled already, it's still a hard dependency for the gemspec in order to minimize any possible breaks. However, there should be no breaking changes for the current users.

Moreover, it removes:

Is there anything you'd like reviewers to focus on?

Fun fact: a really crude version of this code is saved one real world project with Sequel in 2020 (manually applied triggers and Logidze::History).

You know, an application-independent tracker rules! Thank you!

Checklist

ardecvz commented 10 months ago

Closed in favor of #242