Skip to content

Releases: aliirfaan/laravel-simple-otp

6.0.1

10 Dec 07:42

Choose a tag to compare

Added

  • otp_retention_days config

Changed

  • Model SimpleOtp is now prunable

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

6.0.0

09 Dec 08:33

Choose a tag to compare

Added

  • Added device_id for otp per device
  • Added otp_meta for meta data
  • Added correlation_id for auditing
  • Added otp_type config to support: numeric, alphanumeric

Changed

  • Renamed model to SimpleOtp
  • Renamed table to lso_otps

Deprecated

  • Nothing

Removed

  • Removed otp_does_expire config, now always expires
  • Removed should config, now always encodes
  • Removed fillable digit, now has a simulated OTP code for more security
  • Removed events

Fixed

  • Nothing

5.2.2

17 Oct 06:49

Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • hash otp default - clear otp will be disabled in future release

5.2.1

11 Sep 06:52

Choose a tag to compare

Added

  • Nothing

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • cast parameter int for Carbon addSeconds()

5.2.0

03 Jul 10:23

Choose a tag to compare

Added

  • Nothing

Changed

  • getOtpCodeExpiryDate() add date format to return expiry date

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

5.1.0

03 Jul 10:00

Choose a tag to compare

Added

  • getOtpCodeExpiryDate() to get expiry date of generated otp code

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

5.0.0

20 Jul 09:27

Choose a tag to compare

Added

  • Nothing

Changed

  • otp_intent field to know why the otp was sent in the first place
  • ModelGotOtp model to use new otp_intent field

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

4.3.0

11 Mar 11:37

Choose a tag to compare

Added

  • Events OtpExpired, OtpNotFound, OtpNotMatched

Changed

  • Nothing

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

4.2.0

10 Jan 11:22

Choose a tag to compare

Added

  • Nothing

Changed

  • migration file added index to column otp_generated_at, otp_was_validated

Deprecated

  • Nothing

Removed

  • Nothing

Fixed

  • Nothing

4.1.0

17 Aug 06:35

Choose a tag to compare

Added

  • OTP code simulation

Changed

  • generateOtpCode(int $otpCodeLength = null)

Deprecated

  • Nothing

Removed

  • Nothing