Skip to content

Latest commit

 

History

History
126 lines (70 loc) · 5.07 KB

CHANGELOG.md

File metadata and controls

126 lines (70 loc) · 5.07 KB

paranoia Changelog

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