Skip to content

Commit 0fbb5a1

Browse files
committed
release v5.0.0-rc2
1 parent c461b12 commit 0fbb5a1

1,554 files changed

Lines changed: 10124 additions & 6349 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
name: SDK Github Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "Version (e.g. 2.1.0)"
8+
required: true
9+
is_prerelease:
10+
description: "Mark as pre-release?"
11+
type: boolean
12+
required: false
13+
default: false
14+
15+
permissions:
16+
contents: write
17+
18+
jobs:
19+
release:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0 # need tags
25+
26+
- name: Configure git user for tagging
27+
run: |
28+
git config user.name "github-actions[bot]"
29+
git config user.email "github-actions[bot]@users.noreply.github.com"
30+
31+
- name: Validate version format (SemVer core + optional suffix)
32+
run: |
33+
set -euo pipefail
34+
VERSION="${{ inputs.version }}"
35+
36+
if [[ "$VERSION" =~ ^v ]]; then
37+
echo "::error::Version must not start with 'v' — use format like 1.2.3 or 1.2.3-rc1"
38+
exit 1
39+
fi
40+
41+
if ! [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?(\+[0-9A-Za-z.-]+)?$ ]]; then
42+
echo "::error::Version must be X.Y.Z with optional -suffix and optional +build (e.g., 1.2.3-rc1 or 1.2.3-rc.1+build.45)"
43+
exit 1
44+
fi
45+
46+
- name: Ensure tag exists (v${{ inputs.version }})
47+
run: |
48+
set -euo pipefail
49+
NEW_TAG="v${{ inputs.version }}"
50+
if git rev-parse -q --verify "refs/tags/${NEW_TAG}" >/dev/null; then
51+
echo "Tag ${NEW_TAG} already exists."
52+
else
53+
git tag -a "${NEW_TAG}" -m "${NEW_TAG}"
54+
git push origin "${NEW_TAG}"
55+
fi
56+
57+
- name: Prepare release notes (notes.md)
58+
run: |
59+
awk '
60+
BEGIN { found_first = 0; found_second = 0 }
61+
/^\*\*/ {
62+
if (found_first == 0) {
63+
found_first = 1
64+
next
65+
} else {
66+
found_second = 1
67+
exit
68+
}
69+
}
70+
found_first == 1 && found_second == 0 {
71+
print $0
72+
}
73+
' CHANGELOG.md > notes.md
74+
75+
- name: Zip sdk-example
76+
run: |
77+
rm -f sdk-example.zip
78+
zip -r sdk-example.zip sdk-example
79+
80+
- name: Create GitHub release
81+
env:
82+
GH_TOKEN: ${{ github.token }}
83+
run: |
84+
FLAGS=("--title" "v${{ inputs.version }}" "--notes-file" "notes.md")
85+
if [ "${{ inputs.is_prerelease }}" = "true" ]; then
86+
FLAGS+=("--prerelease")
87+
fi
88+
89+
gh release create "v${{ inputs.version }}" "${FLAGS[@]}" sdk-example.zip

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
### Unified Feed SDK 4.x changelog
1+
### Unified Feed SDK 5.x changelog
22

3-
**5.0.0-rc1**
3+
**5.0.0-rc2**
4+
- UoF API call is retried once if the response has a status code 401 (Unauthorized).
5+
- Internal resiliency improvements for Common IAM communication.
6+
7+
**5.0.0-rc1 (2025-10-10)**
48
- Introduced ClientAuthentication configuration as a more secure and recommended alternative to access tokens.
59
- Added a dependency to com.auth0:java-jvt:4.5.0 to support Common IAM authentication.
610

7-
**4.6.0**
11+
**4.6.0 (2025-10-07)**
812
- breaking change: Sport Event timeline now uses long event IDs (previously int) to support larger identifiers introduced by the Unified API.
913

1014
**4.5.1 (2025-08-25)**

docs/allclasses-frame.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:37 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:23 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>All Classes (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>All Classes (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<script type="text/javascript" src="script.js"></script>
1111
</head>
@@ -492,6 +492,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
492492
<li><a href="com/sportradar/unifiedodds/sdk/entities/ReportingStatus.html" title="enum in com.sportradar.unifiedodds.sdk.entities" target="classFrame">ReportingStatus</a></li>
493493
<li><a href="com/sportradar/unifiedodds/sdk/internal/caching/RequestOptions.html" title="class in com.sportradar.unifiedodds.sdk.internal.caching" target="classFrame">RequestOptions</a></li>
494494
<li><a href="com/sportradar/unifiedodds/sdk/internal/caching/RequestOptions.RequestOptionsBuilder.html" title="class in com.sportradar.unifiedodds.sdk.internal.caching" target="classFrame">RequestOptions.RequestOptionsBuilder</a></li>
495+
<li><a href="com/sportradar/unifiedodds/sdk/internal/commoniam/ResourceAudience.html" title="enum in com.sportradar.unifiedodds.sdk.internal.commoniam" target="classFrame">ResourceAudience</a></li>
495496
<li><a href="com/sportradar/unifiedodds/sdk/internal/impl/util/files/ResourceReader.html" title="class in com.sportradar.unifiedodds.sdk.internal.impl.util.files" target="classFrame">ResourceReader</a></li>
496497
<li><a href="com/sportradar/unifiedodds/sdk/entities/ResourceTypeGroup.html" title="enum in com.sportradar.unifiedodds.sdk.entities" target="classFrame">ResourceTypeGroup</a></li>
497498
<li><a href="com/sportradar/unifiedodds/sdk/entities/ResultChange.html" title="interface in com.sportradar.unifiedodds.sdk.entities" target="classFrame"><span class="interfaceName">ResultChange</span></a></li>

docs/allclasses-noframe.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:37 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:23 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>All Classes (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>All Classes (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
1010
<script type="text/javascript" src="script.js"></script>
1111
</head>
@@ -492,6 +492,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
492492
<li><a href="com/sportradar/unifiedodds/sdk/entities/ReportingStatus.html" title="enum in com.sportradar.unifiedodds.sdk.entities">ReportingStatus</a></li>
493493
<li><a href="com/sportradar/unifiedodds/sdk/internal/caching/RequestOptions.html" title="class in com.sportradar.unifiedodds.sdk.internal.caching">RequestOptions</a></li>
494494
<li><a href="com/sportradar/unifiedodds/sdk/internal/caching/RequestOptions.RequestOptionsBuilder.html" title="class in com.sportradar.unifiedodds.sdk.internal.caching">RequestOptions.RequestOptionsBuilder</a></li>
495+
<li><a href="com/sportradar/unifiedodds/sdk/internal/commoniam/ResourceAudience.html" title="enum in com.sportradar.unifiedodds.sdk.internal.commoniam">ResourceAudience</a></li>
495496
<li><a href="com/sportradar/unifiedodds/sdk/internal/impl/util/files/ResourceReader.html" title="class in com.sportradar.unifiedodds.sdk.internal.impl.util.files">ResourceReader</a></li>
496497
<li><a href="com/sportradar/unifiedodds/sdk/entities/ResourceTypeGroup.html" title="enum in com.sportradar.unifiedodds.sdk.entities">ResourceTypeGroup</a></li>
497498
<li><a href="com/sportradar/unifiedodds/sdk/entities/ResultChange.html" title="interface in com.sportradar.unifiedodds.sdk.entities"><span class="interfaceName">ResultChange</span></a></li>

docs/com/sportradar/unifiedodds/sdk/EventChangeListener.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>EventChangeListener (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>EventChangeListener (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="EventChangeListener (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="EventChangeListener (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

docs/com/sportradar/unifiedodds/sdk/ExceptionHandlingStrategy.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>ExceptionHandlingStrategy (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>ExceptionHandlingStrategy (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="ExceptionHandlingStrategy (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="ExceptionHandlingStrategy (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

docs/com/sportradar/unifiedodds/sdk/LoggerDefinitions.UfSdkClientInteractionLog.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>LoggerDefinitions.UfSdkClientInteractionLog (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>LoggerDefinitions.UfSdkClientInteractionLog (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="LoggerDefinitions.UfSdkClientInteractionLog (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="LoggerDefinitions.UfSdkClientInteractionLog (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

docs/com/sportradar/unifiedodds/sdk/LoggerDefinitions.UfSdkRestTrafficLog.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>LoggerDefinitions.UfSdkRestTrafficLog (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>LoggerDefinitions.UfSdkRestTrafficLog (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="LoggerDefinitions.UfSdkRestTrafficLog (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="LoggerDefinitions.UfSdkRestTrafficLog (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

docs/com/sportradar/unifiedodds/sdk/LoggerDefinitions.UfSdkTrafficFailureLog.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>LoggerDefinitions.UfSdkTrafficFailureLog (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>LoggerDefinitions.UfSdkTrafficFailureLog (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="LoggerDefinitions.UfSdkTrafficFailureLog (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="LoggerDefinitions.UfSdkTrafficFailureLog (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

docs/com/sportradar/unifiedodds/sdk/LoggerDefinitions.UfSdkTrafficLog.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
<!-- NewPage -->
33
<html lang="en">
44
<head>
5-
<!-- Generated by javadoc (1.8.0_342) on Tue Oct 07 15:35:36 UTC 2025 -->
5+
<!-- Generated by javadoc (1.8.0_342) on Mon Nov 24 14:47:21 UTC 2025 -->
66
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7-
<title>LoggerDefinitions.UfSdkTrafficLog (Unified Odds SDK 5.0.0-rc1 API)</title>
8-
<meta name="date" content="2025-10-07">
7+
<title>LoggerDefinitions.UfSdkTrafficLog (Unified Odds SDK 5.0.0-rc2 API)</title>
8+
<meta name="date" content="2025-11-24">
99
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
1010
<script type="text/javascript" src="../../../../script.js"></script>
1111
</head>
1212
<body>
1313
<script type="text/javascript"><!--
1414
try {
1515
if (location.href.indexOf('is-external=true') == -1) {
16-
parent.document.title="LoggerDefinitions.UfSdkTrafficLog (Unified Odds SDK 5.0.0-rc1 API)";
16+
parent.document.title="LoggerDefinitions.UfSdkTrafficLog (Unified Odds SDK 5.0.0-rc2 API)";
1717
}
1818
}
1919
catch(err) {

0 commit comments

Comments
 (0)