Releases: semibreve/minim
Fix cookie path issue
The cookie's path was being set to the empty string ''
and so would misbehave at sub-directories deeper than one level. This release fixes that issue by setting it to /
to cover the whole domain.
Fix Breaking Issue
The previous release (v1.4) is fundamentally broken. Trying to decrypt an empty session token cookie throws a bunch of errors. This release fixes that issue.
Use Library for Encryption
The task of encrypting/decrypting the session token files has been delegated to Taylor Hornby's library which seems relatively time-tested and popular. This should be a nice boost to security.
Documentation update
Not a functionality update, but a documentation update. Corrects various inaccuracies in the README.md file about the name of the package.
Rename release
Transferred this repository to a dedicated organisation because it's useful and modular enough to be there. Plus it makes adding contributors easier. This necessitated renaming the package.
Bugfix release for multiple calls to isAuthenticated
The use of setcookie
to persist the authentication token was causing the following weirdness to happen:
$a = $auth->isAuthenticated(); // true
$b = $auth->isAuthenticated(); // false
This release addresses this bug. The isAuthenticated
function can now be called twice or more in the same request and still give an accurate return value.
Change to bcrypt hashes
This version changes from SHA-256 to bcrypt hashing and adds a utility called minim-genhash
to generate hashes for inclusion in the configuration file.
PSR version fix
Package previously used PSR-0 instead of PSR-4 as the autoloading mechanism, creating a problem. This bugfix release remedies that.
Bugfix/consistency release for autoloader
This release adds a \\
to the end of the namespace in the autoloader and a `/`` to the end of the file path. From what I've seen this is best practice and might fix a problem with the autoloader.
Initial release
This is my first release going out via Packagist. Might work, might not. We're about to find out.