From 21178b978070252610f66b48b121f45269742d63 Mon Sep 17 00:00:00 2001 From: John Conde Date: Thu, 16 Feb 2023 15:35:02 -0500 Subject: [PATCH] Updated for v3.2 release --- CHANGELOG | 49 ++++++++++--------------------------------------- README.md | 13 +++++-------- 2 files changed, 15 insertions(+), 47 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 63d82c0..07de645 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,61 +1,32 @@ CHANGE LOG -2023-02-14 - Version 4.2.0 ❤ +2023-02-17 - Version 3.2.0 -------------------------------------------- Added __set() and __isset() magic methods to JSON handling classes. Throws an exception if you try to set values in response objects. +Added AuthnetJson::BOUNDLESS_OCCURRENCES to indicate an endless subscription +Added support for prepaid cards +Added constructor to Authnet exceptions +Added support for Accept.js and Accept Hosted APIs +Added SECURITY.md to project +Added phpunit to require-dev +Added CONTRIBUTING.md +Added examples for ARBGetSubscriptionListRequest, ARBGetSubscriptionRequest, ARBCreateSubscriptionRequest (from Profile) Fixed minor bug in debugging code for webhooks Fixed grammatical errors in comments Fixed bug in getting webhook events -Cleaned up examples a bit more - -2020-08-31 - Version 4.1.3 --------------------------------------------- -Fixed namespacing issues and unit tests - -2020-08-28 - Version 4.1.2 --------------------------------------------- Fixed: Added ability to get results from multiple payment results as may be possible when creating multiple payment profiles Fixed potential bug where getting a transaction response would fail and cause transactions appear to not be approved. -Updated namespacing to be PSR-0/4 compliant Improved example to show how more data is accessed -Cleaned up unit tests a bit -Minor code clean up - -2020-06-21 - Version 4.1.1 --------------------------------------------- Fixed HTTP headers being incorrect and causing isValid() to incorrectly fail -Added examples for ARBGetSubscriptionListRequest, ARBGetSubscriptionRequest, ARBCreateSubscriptionRequest (from Profile) Removed unnecessary proxy code in Exception classes - -2020-05-29 - Version 4.1.0 --------------------------------------------- -Added support for Accept.js and Accept Hosted APIs -Added SECURITY.md to project -Cleaned up the examples even more -Minor code clean up - -2020-05-08 - Version 4.0.0 --------------------------------------------- +Cleaned up the examples Changed name of Akamai endpoint to be more generic and accurate (CDN); includes tests -Minor fixes for examples Changed config.inc.php to throw RuntimeException -Master branch will now support PHP 7.2+. PHP 5.6+ has been moved to its own branch. - -2020-03-08 - Version 4.0.0-beta --------------------------------------------- -Bumped minimum supported version of PHP to 7.2 If trying to retrieve non-existent response value, NULL is returned in AuthnetJsonResponse::__get() -Added AuthnetJson::BOUNDLESS_OCCURRENCES to indicate an endless subscription -Added support for prepaid cards -Added constructor to Authnet exceptions Removed unused AuthnetInvalidParameterException class Updated unit tests for phpunit 8 Removed unneeded require of config file in unit tests -Added phpunit to require-dev -Added CONTRIBUTING.md Shiny badges for the README -Cleaned up HTML and CSS in examples -Minor formatting changes 2019-06-03 - Version 3.1.9 -------------------------------------------- diff --git a/README.md b/README.md index 4968fd4..24d4365 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ [![Latest Stable Version](https://poser.pugx.org/stymiee/authnetjson/v/stable.svg)](https://packagist.org/packages/stymiee/authnetjson) [![Total Downloads](https://poser.pugx.org/stymiee/authnetjson/downloads)](https://packagist.org/packages/stymiee/authnetjson) -[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/stymiee/authnetjson/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/stymiee/authnetjson/?branch=php72) -[![Build Status](https://scrutinizer-ci.com/g/stymiee/authnetjson/badges/build.png?b=master)](https://scrutinizer-ci.com/g/stymiee/authnetjson/build-status/php72) -[![Code Coverage](https://scrutinizer-ci.com/g/stymiee/authnetjson/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/stymiee/authnetjson/?branch=php72) -[![Maintainability](https://api.codeclimate.com/v1/badges/5847da924af47933e25f/maintainability)](https://codeclimate.com/github/stymiee/authnetjson/maintainability) [![License](https://poser.pugx.org/stymiee/authnetjson/license)](https://packagist.org/packages/stymiee/authnetjson) # AuthnetJSON @@ -11,13 +7,14 @@ Library that abstracts [Authorize.Net](http://www.authorize.net/)'s [JSON APIs]( ## Requirements -- PHP 7.2+ (Support for PHP 7.2.0 - 8.*) +- PHP 5.6+ (Support for PHP 5.6.0 - 8.*) - cURL PHP Extension - JSON PHP Extension - An Authorize.Net account -Support for PHP versions less than 7.2 has been removed from the master branch. There is a [PHP 5.6 compatible branch](https://github.com/stymiee/authnetjson/tree/php56) -available for development and releases for 5.6 may continue to be made as long as it is feasible to do so. +This version of the AuthnetJSON package is provided AS IS. No support is promised although requests will be reviewed. It +is recommended to upgrade to a supported version of PHP and use the latest version of this package to ensure the highest +performance as well as getting the latest fixes and features. ## Installation @@ -28,7 +25,7 @@ Here is a minimal example of a `composer.json` file that just defines a dependen { "require": { - "stymiee/authnetjson": "~4.1" + "stymiee/authnetjson": "~3.2" } }