Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 885 Bytes

CHANGELOG.md

File metadata and controls

48 lines (32 loc) · 885 Bytes

[Unreleased]

[0.1.5] - 2024-07-15

  • Rails 8.0 brings some changes, the data is correctly recorded as BINARY in SQLite, so we can simplify the code, but too stay compatible the code is less simple.

[0.1.4] - 2024-07-10

  • Relax Gem Spec Constraints

[0.1.3] - 2024-07-10

  • Fix Zeitwerk::NameError
  • Check if created_at is present

[0.1.2] - 2024-02-09

Configure The Behaviours When UUID Is Invalid

UuidV7.configure do |config|
  config.throw_invalid_uuid = false
end
record_class.find_by(uuid: "invalid")
=> nil
UuidV7.configure do |config|
  config.throw_invalid_uuid = true
end
record_class.find_by(uuid: "invalid")
raise_error(UuidV7::Types::InvalidUUID, "invalid is not a valid UUID")

[0.1.1] - 2023-12-11

Fix wrong default field name. Change from :uuid to :id

[0.1.0] - 2023-11-28

  • Initial release