Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 2.08 KB

CHANGELOG.md

File metadata and controls

39 lines (28 loc) · 2.08 KB

Changelog

Unreleased

Breaking Changes

  • #15 - validates :bitemporal_id, uniqueness: true is no raise by default.
  • #19 - Fix create history records after logical destroy in #destroy.

Added

  • #12 - Added utility (and extension) scopes.
    • .bitemporl_for(id)
    • .valid_in(from: from, to: to)
    • .valid_allin(from: from, to: to)
    • .bitemporal_histories_by(id)
    • .bitemporal_most_future(id)
    • .bitemporal_most_past(id)
  • #15 - Added .bitemporalize. Use .bitemporalize instead of include ActiveRecord::Bitemporal.
  • #15 - Added .bitemporalize options.
option describe default
enable_strict_by_validates_bitemporal_id raised with validates :bitemporal_id, uniqueness: true if true false

Fixed

  • #17 - Fixed bug in create record with valid_datetime out of the range valid_from to valid_to.
  • #18 - record.valid_datetime is not nil when after Model.valid_at("2019/1/1").ignore_valid_datetime.
  • #18 - ignore_valid_datetime is not applied in ActiveRecord::Bitemporal.valid_at!.
  • #21 - Fixed bug in multi thread with #update.
  • #24 #25 - Fixed bug. Does not respect table alias on join clause.
  • #27 - Fixed a bug that swapped_id doesn't change after #reload.
  • #28 - Fix the bug that valid_from == valid_to record is generated.

Deprecated

  • None