Skip to content

Releases: crystal-garage/lustra

v0.12.0

13 Oct 09:40

Choose a tag to compare

In memory of my cat Sviatoslav. RIP 💔😿
26.04.2023 - 13.10.2025

image

What's Changed

Additions:

  • update_all - Bulk updates without loading models
  • find_by / find_by! - Convenient finders
  • find([ids]) - Multiple ID lookup
  • increment! / decrement! - Atomic counter updates
  • update_column / update_columns - Direct updates without validations/callbacks
  • touch - Update timestamps without validations/callbacks
  • destroy / destroy_all - Rails-compatible deletion with callbacks
  • :destroy callbacks - Renamed from :delete for Rails compatibility
  • default_scope - Automatically apply filters to all queries (soft deletes, multi-tenancy)
  • query.unscoped - Bypass default_scope when needed
  • ✅ Attribute change tracking - column.change, changes, changed for auditing
  • ids - Convenient shortcut for getting array of primary keys
  • explain / explain_analyze - PostgreSQL query performance analysis

Breaking Changes:

  • delete now skips callbacks (fast deletion)
  • destroy triggers callbacks (safe deletion)
  • Callback event renamed: :delete:destroy
  • Use before(:destroy) and after(:destroy) instead of before(:delete) and after(:delete)

Full Changelog: v0.11.0...v0.12.0

v0.11.0

09 Oct 10:07

Choose a tag to compare

What's Changed

Full Changelog: v0.10.1...v0.11.0

v0.10.1

08 Oct 21:26

Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.10.1

v0.10.0

08 Oct 20:08

Choose a tag to compare

What's Changed

Full Changelog: v0.9.0...v0.10.0

v0.9.0

06 Oct 12:50

Choose a tag to compare

What's Changed

Full Changelog: v0.8.24...v0.9.0

v0.8.24

26 Sep 11:02

Choose a tag to compare

What's Changed

Full Changelog: v0.8.23...v0.8.24

v0.8.23

09 Jun 19:01

Choose a tag to compare

Full Changelog: v0.8.22...v0.8.23

v0.8.22

09 Jun 16:56

Choose a tag to compare

Full Changelog: v0.8.21...v0.8.22

v0.8.21

13 Jan 17:03

Choose a tag to compare

What's Changed

Full Changelog: v0.8.20...v0.8.21

v0.8.20

05 Nov 13:55

Choose a tag to compare

What's Changed

Full Changelog: v0.8.19...v0.8.20