Skip to content

Commit

Permalink
Merge pull request #136 from alma/chore/backport-main-to-develop
Browse files Browse the repository at this point in the history
Backport main to develop
  • Loading branch information
hyahiaoui authored Sep 5, 2024
2 parents 0a0cab3 + d677ccf commit ac79e56
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
draft: false,
make_latest: true,
tag_name: "${{ steps.fetch-release-draft.outputs.name }}",
target_commitish: "refs/heads/main
target_commitish: "refs/heads/main"
});
- name: Format release notes for Slack
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## v2.2.0 - 2024-09-05

### Changes

### 🚀 New Features

- Add function for HMAC verification (#132)

#### Contributors

@Benjamin-Freoua-Alma, @CamilleFljt, @Francois-Gomis and @carine-bonnafous

## v2.1.0 - 2024-07-29

### Changes
Expand Down Expand Up @@ -149,6 +161,7 @@
// Handle errors
}


```
* Add fields and docs to the Payment entity
* Add a Refund entity and extract refunds data within the Payment entity constructor
Expand Down Expand Up @@ -268,10 +281,15 @@ Getting more serious with a 1.0.0 release! 🎉
## v0.0.1

* Initial "pre-release" of the API Client

* Includes two main endpoints: Payments and Merchants

* Provides what's necessary for a typical payment flow:

* `Payments.createPayment` and `Payments.eligibility`
* `Merchants.me`

* Base `Alma\API\Client` class can be configured with API key and live/test mode

* TLS is automatically forced to TLS 1.2 to meet Alma's security requirements, but configurable

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alma/alma-php-client",
"description": "PHP API client for the Alma payments API",
"version": "2.1.0",
"version": "2.2.0",
"type": "library",
"require": {
"php": "^5.6 || ~7.0 || ~7.1 || ~7.2 || ~7.3 || ~7.4 || ~8.0 || ~8.1 || ~8.2 || ~8.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

class Client
{
const VERSION = '2.1.0';
const VERSION = '2.2.0';

const LIVE_MODE = 'live';
const TEST_MODE = 'test';
Expand Down

0 comments on commit ac79e56

Please sign in to comment.