Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.0-beta.1 #181

Merged
merged 3 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
CHANGELOG
=========

3.2.0-beta.1
------------------
3.2.0-beta.1 (2024-09-06)
-------------------------

* Added support for the new risk reasons outputs in minFraud Factors. The risk
reasons output codes and reasons are currently in beta and are subject to
Expand Down
6 changes: 3 additions & 3 deletions dev-bin/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ phar='minfraud.phar'
changelog=$(cat CHANGELOG.md)

regex='
([0-9]+\.[0-9]+\.[0-9]+) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
([0-9]+\.[0-9]+\.[0-9]+(-[^ ]+)?) \(([0-9]{4}-[0-9]{2}-[0-9]{2})\)
-*

((.|
Expand All @@ -20,8 +20,8 @@ if [[ ! $changelog =~ $regex ]]; then
fi

version="${BASH_REMATCH[1]}"
date="${BASH_REMATCH[2]}"
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')"
date="${BASH_REMATCH[3]}"
notes="$(echo "${BASH_REMATCH[4]}" | sed -n -E '/^[0-9]+\.[0-9]+\.[0-9]+/,$!p')"

if [[ "$date" != $(date +"%Y-%m-%d") ]]; then
echo "$date is not today!"
Expand Down
2 changes: 1 addition & 1 deletion src/MinFraud/ServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

abstract class ServiceClient
{
public const VERSION = 'v3.1.0';
public const VERSION = 'v3.2.0-beta.1';

/**
* @var Client
Expand Down