Releases: infocyph/OTP
Releases · infocyph/OTP
Release list
5.02.2
What's Changed
- Update README.md by @abmmhasan in #39
- updated ci by @abmmhasan in #40
Full Changelog: 5.02.1...5.02.2
5.02.1
What's Changed
- ignore by @abmmhasan in #37
- updated tests by @abmmhasan in #38
Full Changelog: 5.02...5.02.1
5.02
What's Changed
- docs formatting by @abmmhasan in #35
- basic docs by @abmmhasan in #36
Full Changelog: 5.01...5.02
5.0
Version 5.0 - Release Notes
Requirements
- PHP 8.4+ (up from 8.2)
Breaking Changes
- Generic OTP codes are now strings (leading zeroes preserved), digit count limited to 4-10
- Generic OTP requires caller-provided PSR-6 cache pool (replaces Symfony)
- TOTP leeway replaced with configurable
VerificationWindow
Major Features
- Replay protection via
ReplayStoreInterfaceandInMemoryReplayStore - Recovery codes with hashed storage and consumption tracking
- URI parsing - Parse existing
otpauth://URIs - Richer verification - New
verifyWithResult()APIs for TOTP, HOTP, OCRA - HOTP look-ahead resynchronization with matched counter reporting
- Enrollment payloads - Complete provisioning data (secret, URI, QR SVG)
New Components
- Contracts:
ReplayStoreInterface,RecoveryCodeStoreInterface - Support utilities:
SecretUtility,ProvisioningUriParser,AlgorithmValidator,StepUp - Result objects:
VerificationResult,RecoveryCodeGenerationResult,ParsedOtpAuthUri - Value objects:
VerificationWindow,OcraSuite,EnrollmentPayload,DeviceEnrollment
Improvements
- Stricter Base32 normalization and validation
- Safer label and issuer handling
- Enhanced OCRA suite parsing
- Comprehensive test coverage and benchmarking support
Documentation
5.01
What's Changed
- Update conf.py by @abmmhasan in #33
- rotations by @abmmhasan in #34
Full Changelog: 5.0...5.01
4.01.4
4.01.3
What's Changed
- updated few typo by @abmmhasan in #18
- updated co by @abmmhasan in #19
- Feature/enhancement by @abmmhasan in #24
- Additional params by @abmmhasan in #25
Full Changelog: 4.01.2...4.01.3
4.01.2
What's Changed
- Feature/enhancement by @abmmhasan in #16
- readme update by @abmmhasan in #17
Full Changelog: 4.01.1...4.01.2
4.01.1
What's Changed
- Update README.md by @abmmhasan in #13
- Update README.md by @abmmhasan in #14
- Update README.md by @abmmhasan in #15
Full Changelog: 4.01...4.01.1
4.0
What's Changed
- Update README.md by @abmmhasan in #8
- Update bacon/bacon-qr-code requirement from ^2.0 to ^2.0 || ^3.0 by @dependabot in #9
- updated ns by @abmmhasan in #10
New Contributors
- @dependabot made their first contribution in #9
Full Changelog: 3.0...4.0