Skip to content

Releases: jeremykendall/query-auth

3.1.0

05 Apr 23:38
Compare
Choose a tag to compare

Request adapters and better RandomLib version constraint

3.0.2

28 Jun 22:44
Compare
Choose a tag to compare

Fixes #20
Updates README

3.0.1

06 Oct 20:53
Compare
Choose a tag to compare

Bug fix for #18.

3.0.0

04 Oct 20:51
Compare
Choose a tag to compare

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

03 Feb 15:51
Compare
Choose a tag to compare
  • 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 to http_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

03 Sep 13:13
Compare
Choose a tag to compare
QueryAuth 1.0.2-beta Pre-release
Pre-release

Adds QueryAuthException inteface

QueryAuth 1.0.0-beta

23 Aug 02:41
Compare
Choose a tag to compare
QueryAuth 1.0.0-beta Pre-release
Pre-release

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

QueryAuth 4.0.0-alpha

19 Aug 22:50
Compare
Choose a tag to compare
QueryAuth 4.0.0-alpha Pre-release
Pre-release

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 now ParameterCollection
    • ParameterCollection::add() is now ParameterCollection::set()
  • KeyGenerator::__construct() now accepts RandomLib\Generator as its only
    argument