Skip to content

Commit 1404d37

Browse files
authored
Merge pull request #148 from alma/release/v2.3.0
Release v2.3.0
2 parents 37495b0 + 213741b commit 1404d37

23 files changed

+894
-18
lines changed

.github/workflows/backport-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
create-backport-pull-request:
1515
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release')) }}
16-
runs-on: ubuntu-22.04
16+
runs-on: ubuntu-24.04
1717

1818
steps:
1919

@@ -28,7 +28,7 @@ jobs:
2828
git reset --hard main
2929
3030
- name: Create Pull Request
31-
uses: peter-evans/create-pull-request@v6
31+
uses: peter-evans/create-pull-request@v7
3232
with:
3333
commit-message: 'chore: backport main to develop'
3434
title: Backport main to develop

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
ci:
1616
name: Linting, tests and coverage
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818

1919
strategy:
2020
fail-fast: false

.github/workflows/hotfix-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212

1313
create-hotfix-pull-request:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515

1616
steps:
1717

@@ -49,7 +49,7 @@ jobs:
4949
./scripts/update-files-with-release-version.sh ${{ steps.release-drafter.outputs.tag_name }}
5050
5151
- name: Create Pull Request
52-
uses: peter-evans/create-pull-request@v6
52+
uses: peter-evans/create-pull-request@v7
5353
with:
5454
commit-message: 'chore: update version'
5555
title: Release ${{ steps.release-drafter.outputs.tag_name }}

.github/workflows/pr-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
contents: read
1010
pull-requests: write
1111

12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- uses: TimonVS/pr-labeler-action@v5
1515
env:

.github/workflows/release-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
release:
1313
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'release')
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515

1616
steps:
1717

@@ -113,7 +113,7 @@ jobs:
113113
cc <@france.berut> <@khadija.cherif>
114114
115115
- name: Send changelog to Slack
116-
uses: slackapi/slack-github-action@v1.26.0
116+
uses: slackapi/slack-github-action@v1.27.0
117117
with:
118118
channel-id: CR9C57YM6
119119
slack-message: ${{ steps.slack-markdown-release-notes.outputs.text }}

.github/workflows/release-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77

88
create-release-pull-request:
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010

1111
steps:
1212

@@ -55,7 +55,7 @@ jobs:
5555
repositories: alma-php-client
5656

5757
- name: Create Pull Request
58-
uses: peter-evans/create-pull-request@v6
58+
uses: peter-evans/create-pull-request@v7
5959
with:
6060
token: ${{ steps.github-token.outputs.token }}
6161
commit-message: 'chore: update version'

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
- id: check-added-large-files
88
args: ["--maxkb=1024"]
@@ -35,7 +35,7 @@ repos:
3535
stages: [commit]
3636

3737
- repo: https://github.com/returntocorp/semgrep
38-
rev: v1.27.0
38+
rev: v1.92.0
3939
hooks:
4040
- id: semgrep
4141
args:

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# CHANGELOG
22

3+
## v2.3.0 - 2024-11-04
4+
5+
### Changes
6+
7+
- chore(deps): update pre-commit hook returntocorp/semgrep to v1.92.0 (#116)
8+
9+
### 🚀 New Features
10+
11+
- feat: replace payment validator hmac verification by request hmac val… (#147)
12+
- Change CmsInfo themes to theme_name and theme_version (#146)
13+
- Add isUrlRefreshRequired function (#145)
14+
- Make nullable for all attributes in CmsInfo and CmsFeatures (#143)
15+
- Create endpoint and formatter for gather cms data (#142)
16+
17+
#### Contributors
18+
19+
@Benjamin-Freoua-Alma, @Francois-Gomis, @alma-renovate-bot, @alma-renovate-bot[bot], @github-actions, @hyahiaoui, @joyet-simon and @remi-zuffinetti
20+
321
## v2.2.0 - 2024-09-05
422

523
### Changes
@@ -162,6 +180,7 @@
162180
}
163181

164182

183+
165184
```
166185
* Add fields and docs to the Payment entity
167186
* Add a Refund entity and extract refunds data within the Payment entity constructor

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "alma/alma-php-client",
33
"description": "PHP API client for the Alma payments API",
4-
"version": "2.2.0",
4+
"version": "2.3.0",
55
"type": "library",
66
"require": {
77
"php": "^5.6 || ~7.0 || ~7.1 || ~7.2 || ~7.3 || ~7.4 || ~8.0 || ~8.1 || ~8.2 || ~8.3",

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
class Client
3232
{
33-
const VERSION = '2.2.0';
33+
const VERSION = '2.3.0';
3434

3535
const LIVE_MODE = 'live';
3636
const TEST_MODE = 'test';

0 commit comments

Comments
 (0)