Releases: jeremykendall/query-auth
Releases · jeremykendall/query-auth
3.1.0
3.0.2
3.0.1
3.0.0
Version 3.0.0 GA release
This release represents a significant refactoring of Query Auth. Class names make more sense, there's far less code for the you to write during implementation, and there are new Request Adapters that allow for use of any HTTP library and any PHP framework (or custom request implementation) with Query Auth.
Please review the updated documentation in the README for more details.
Changelog
- Adds phing and pdepend files
- Updates and fixes phpDocumentor doc blocks
- Refactors to remove 'else'. Updates docs.
- Extends more specific exception class
- Updates, adds, and corrects phpDocumentor doc blocks
- Minor grammar and formatting updates
- Updates license year
- Updates README
- Adds package suggestions related to request adapters
- Adds guzzlehttp outgoing request adapter
- Adds doc blocks
- Adds guzzlehttp as dev requirement
- Shuffles lib organization, adds interfaces
- Changes validateSignature to isValid
- Adds PHP 5.6 to .travis.yml
- Removes, ignores composer.lock
- Updates existing classes and tests
- New RequestInterface
- Updates to the renamed classes
- New request adapters (will be broken out later)
- New exception
- New exception
- Adds new dev dependencies
- Updates Credentials class and interface
- Renames classes to better convey functionality
- Removes ParameterCollection
- Moves tests out of their own namespace
- Updates phpunit version
- Adds credentials class and interface
QueryAuth 2.0.0-beta
- Adds
SignatureSigner
interface. - Updates minimum PHP version to 5.4
- Because it's past time to upgrade
- Because there is a new
enc_type
argument tohttp_build_query
enc_type
will encode to RFC3986
BC BREAK
The upgrade to 5.4 introduces a BC break due to the use of http_build_query
with the enc_type
argument.
QueryAuth 1.0.2-beta
Adds QueryAuthException inteface
QueryAuth 1.0.0-beta
New Features
- Adds replay attack prevention capability
- Addition of a cnonce to signature creation ensures each signature is unique, even if created during the same second
- Unique, validated signatures can be persisted to ensure they're never used again.
QueryAuth\Storage\SignatureStorage
interface is provided to check for, save, and purge signatures- If a signature exists in the storage layer, that request is likely a replay attack
Backwards Incompatible Changes
- DriftExceeded exceptions have been replaced by the
QueryAuth\Exception\TimeOutOfBoundsException
QueryAuth\Client
now requiresQueryAuth\KeyGenerator
as the second argument in its constructor, used to generate the cnonce.
QueryAuth 4.0.0-alpha
New Features
QueryAuth\Factory
has been added to make creating new Servers, Clients, and
KeyGenerators extremely simple.
// New factory
$factory = new QueryAuth\Factory();
// New Client, Server, and KeyGenerator
$client = $factory->newClient();
$server = $factory->newServer();
$keyGenerator = $factory->newKeyGenerator();
- A phpDocumentor config file has been added, allowing you to run
$ phpdoc
from the cli without any options, if you're into that kind of thing.
Backwards Incompatible Changes
- Renames
QueryAuth\NormalizedParameterCollection
NormalizedParameterCollection
is nowParameterCollection
ParameterCollection::add()
is nowParameterCollection::set()
KeyGenerator::__construct()
now acceptsRandomLib\Generator
as its only
argument