Skip to content

Latest commit

 

History

History
219 lines (127 loc) · 9.02 KB

CHANGELOG.md

File metadata and controls

219 lines (127 loc) · 9.02 KB

paranoia Changelog

3.0.0 - August 13, 2024

Tagged as 3.0 as Ruby + Rails version constraints have been modernised.

  • #564 Support Rails edge
  • #563 Support Rails 7.2

2.6.4 - July 20, 2024

2.6.3 - Oct 12, 2023

2.6.2 - Jun 6, 2023

  • #441 Recursive restore with has_many/one through assocs (#441) Emil Ong

2.6.1 - Nov 16, 2022

  • #535 Allow to skip updating paranoia_destroy_attributes for records while really_destroy! Anton Bogdanov

2.6.0 - Mar 23, 2022

  • #512 Quote table names; Mysql 8 has keywords that might match table names which cause an exception.
  • #476 Fix syntax error in documentation.
  • #485 Rollback transaction if destroy aborted.
  • #522 Add failing tests for association with abort on destroy.
  • #513 Fix create callback called on destroy.

2.5.3

2.5.2

2.5.1

2.5.0

  • #516 Add support for ActiveRecord 7.0, drop support for EOL Ruby < 2.5 and Rails < 5.1 adding support for Rails 7

    Mathieu Jobin

  • #515 Switch from Travis CI to GitHub Actions

    Shinichi Maeshima

2.4.3

2.4.2

2.4.1

2.4.0

2.3.1

  • #397 Bump active record max version to support 5.1 final

2.3.0 (2017-04-14)

2.2.1 (2017-02-15)

2.2.0 (2016-10-21)

  • Ruby 2.0 or greater is required
  • Rails 5.0.0.beta1.1 support @pigeonworks @halostatue and @gagalago
  • Previously #really_destroyed? may have been defined on non-paranoid models, it is now only available on paranoid models, use regular #destroyed? instead.

2.1.5 (2016-01-06)

  • Ruby 2.3 support

2.1.4

2.1.3

2.1.2

2.1.1

2.1.0 (2015-01-23)

Major changes

  • #destroyed? is no longer overridden. Use #paranoia_destroyed? for the existing behaviour. Washington Luiz
  • #persisted? is no longer overridden.
  • ActiveRecord 4.0 no longer has #destroy! as an alias for #really_destroy!.
  • #destroy will now raise an exception if called on a readonly record.
  • #destroy on a hard deleted record is now a successful noop.
  • #destroy on a new record will set deleted_at (previously this raised an error)
  • #destroy and #delete always return self when successful.

Bug Fixes

  • Calling #destroy twice will not hard-delete records. Use #really_destroy! if this is desired.
  • Fix errors on non-paranoid has_one dependent associations

2.0.5 (2015-01-22)

Bug fixes

2.0.4 (2014-12-02)

Features

Bug Fixes

  • Fix initialization problems when missing table or no database connection #186
  • Fix broken restore of has_one associations #185 #171 Martin Sereinig