Skip to content

Commit e89f138

Browse files
authored
feat: add v5.10.0 package updates (#115)
Channels: Current ### 🚀 New Features - feat: [SDK-4866] add `in_array` and `not_in_array` filter relations (OneSignal/API-Client-Libraries#430)
2 parents 4b35314 + 75386d2 commit e89f138

91 files changed

Lines changed: 155 additions & 143 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.

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> **Building with an AI agent or LLM?** See [AGENTS.md](https://github.com/OneSignal/onesignal-java-api/blob/main/AGENTS.md) for an agent-oriented integration guide — authentication, calling conventions, idempotent retries, and the full API reference.
44
55
OneSignal
6-
- API version: 5.9.0
6+
- API version: 5.10.0
77

88
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
99

@@ -21,14 +21,14 @@ Building the API client library requires:
2121
<dependency>
2222
<groupId>com.onesignal</groupId>
2323
<artifactId>onesignal-java-client</artifactId>
24-
<version>5.9.0</version>
24+
<version>5.10.0</version>
2525
</dependency>
2626
```
2727

2828
### Gradle
2929

3030
```groovy
31-
implementation "com.onesignal:onesignal-java-client:5.9.0"
31+
implementation "com.onesignal:onesignal-java-client:5.10.0"
3232
```
3333

3434
## Configuration

‎api/openapi.yaml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
customer engagement strategies. Learn more at onesignal.com
99
termsOfService: https://onesignal.com/tos
1010
title: OneSignal
11-
version: 5.9.0
11+
version: 5.10.0
1212
servers:
1313
- url: https://api.onesignal.com
1414
paths:
@@ -3428,8 +3428,10 @@ components:
34283428
example: level
34293429
type: string
34303430
value:
3431-
description: Constant value to use as the second operand in the filter expression.
3432-
This value is *required* when the relation operator is a binary operator.
3431+
description: "Constant value to use as the second operand in the filter\
3432+
\ expression. This value is *required* when the relation operator is a\
3433+
\ binary operator. For `in_array` and `not_in_array` relations, provide\
3434+
\ a comma-separated list of up to 20 values."
34333435
example: "10"
34343436
type: string
34353437
hours_ago:
@@ -3460,6 +3462,8 @@ components:
34603462
- not_exists
34613463
- time_elapsed_gt
34623464
- time_elapsed_lt
3465+
- in_array
3466+
- not_in_array
34633467
type: string
34643468
type: object
34653469
Operator:

‎build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'com.diffplug.spotless'
55
apply plugin: 'com.vanniktech.maven.publish'
66

77
group = 'com.onesignal'
8-
version = '5.9.0'
8+
version = '5.10.0'
99

1010
buildscript {
1111
repositories {

‎build.sbt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.onesignal",
44
name := "onesignal-java-client",
5-
version := "5.9.0",
5+
version := "5.10.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

‎docs/Filter.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**field** | **String** | Required. Name of the field to use as the first operand in the filter expression. | [optional] |
1111
|**key** | **String** | If &#x60;field&#x60; is &#x60;tag&#x60;, this field is *required* to specify &#x60;key&#x60; inside the tags. | [optional] |
12-
|**value** | **String** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional] |
12+
|**value** | **String** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For &#x60;in_array&#x60; and &#x60;not_in_array&#x60; relations, provide a comma-separated list of up to 20 values. | [optional] |
1313
|**hoursAgo** | **String** | If &#x60;field&#x60; is session-related, this is *required* to specify the number of hours before or after the user&#39;s session. | [optional] |
1414
|**radius** | **BigDecimal** | If &#x60;field&#x60; is &#x60;location&#x60;, this will specify the radius in meters from a provided location point. Use with &#x60;lat&#x60; and &#x60;long&#x60;. | [optional] |
1515
|**lat** | **BigDecimal** | If &#x60;field&#x60; is &#x60;location&#x60;, this is *required* to specify the user&#39;s latitude. | [optional] |
@@ -30,6 +30,8 @@
3030
| NOT_EXISTS | &quot;not_exists&quot; |
3131
| TIME_ELAPSED_GT | &quot;time_elapsed_gt&quot; |
3232
| TIME_ELAPSED_LT | &quot;time_elapsed_lt&quot; |
33+
| IN_ARRAY | &quot;in_array&quot; |
34+
| NOT_IN_ARRAY | &quot;not_in_array&quot; |
3335

3436

3537

‎docs/FilterExpression.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**field** | **String** | Required. Name of the field to use as the first operand in the filter expression. | [optional] |
1111
|**key** | **String** | If &#x60;field&#x60; is &#x60;tag&#x60;, this field is *required* to specify &#x60;key&#x60; inside the tags. | [optional] |
12-
|**value** | **String** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. | [optional] |
12+
|**value** | **String** | Constant value to use as the second operand in the filter expression. This value is *required* when the relation operator is a binary operator. For &#x60;in_array&#x60; and &#x60;not_in_array&#x60; relations, provide a comma-separated list of up to 20 values. | [optional] |
1313
|**hoursAgo** | **String** | If &#x60;field&#x60; is session-related, this is *required* to specify the number of hours before or after the user&#39;s session. | [optional] |
1414
|**radius** | **BigDecimal** | If &#x60;field&#x60; is &#x60;location&#x60;, this will specify the radius in meters from a provided location point. Use with &#x60;lat&#x60; and &#x60;long&#x60;. | [optional] |
1515
|**lat** | **BigDecimal** | If &#x60;field&#x60; is &#x60;location&#x60;, this is *required* to specify the user&#39;s latitude. | [optional] |
@@ -31,6 +31,8 @@
3131
| NOT_EXISTS | &quot;not_exists&quot; |
3232
| TIME_ELAPSED_GT | &quot;time_elapsed_gt&quot; |
3333
| TIME_ELAPSED_LT | &quot;time_elapsed_lt&quot; |
34+
| IN_ARRAY | &quot;in_array&quot; |
35+
| NOT_IN_ARRAY | &quot;not_in_array&quot; |
3436

3537

3638

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>onesignal-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>onesignal-java-client</name>
8-
<version>5.9.0</version>
8+
<version>5.10.0</version>
99
<url>https://github.com/OneSignal/onesignal-java-api</url>
1010
<description>OneSignal Java API Client</description>
1111
<scm>

‎src/main/java/com/onesignal/client/ApiCallback.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.9.0
5+
* The version of the OpenAPI document: 5.10.0
66
* Contact: devrel@onesignal.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

‎src/main/java/com/onesignal/client/ApiClient.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.9.0
5+
* The version of the OpenAPI document: 5.10.0
66
* Contact: devrel@onesignal.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -133,7 +133,7 @@ private void init() {
133133
json = new JSON();
134134

135135
// Set default User-Agent.
136-
setUserAgent("OpenAPI-Generator/5.9.0/java");
136+
setUserAgent("OpenAPI-Generator/5.10.0/java");
137137

138138
authentications = new HashMap<String, Authentication>();
139139
}

‎src/main/java/com/onesignal/client/ApiException.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.9.0
5+
* The version of the OpenAPI document: 5.10.0
66
* Contact: devrel@onesignal.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)