Skip to content

Commit a9129f4

Browse files
update for release. fix build (#238)
1 parent cb5a49a commit a9129f4

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Optimizely Android X SDK Changelog
22

3+
## 3.0.0-RC
4+
November 9, 2018
5+
6+
This is a RC candidate for major release 3.0.0 with support of new audience match types.
7+
### New Features
8+
* Support for number-valued and boolean-valued attributes. ([#213](https://githu
9+
b.com/optimizely/java-sdk/pull/213))
10+
* Support for audiences with new match conditions for attribute values, including “substring” and “exists” matches for strings; “greater than”, “less than”, exact, and “exists” matches for numbers; and “exact”, and “exists” matches for booleans.
11+
* Built-in datafile version compatibility checks so that SDKs will not initialize with a newer datafile it is not compatible with. ([#209](https://github.com/op
12+
timizely/java-sdk/pull/209))
13+
* Audience combinations within an experiment are unofficially supported in this
14+
release.
15+
16+
### Breaking Changes
17+
* Previously, notification listeners filtered non-string attribute values from t
18+
he data passed to registered listeners. To support our growing list of supported attribute values, we’ve changed this behavior. Notification listeners will now post any value type passed as an attribute. Therefore, the interface of the notification listeners has changed to accept a `Map<String, ?>`.
19+
* Update to use Java 1.7 ([#208](https://github.com/optimizely/java-sdk/pull/208))
20+
21+
22+
### Bug Fixes
23+
The attributes map is now copied to ensure there is no concurrency issues.
24+
325
## 2.1.2
426
November 8, 2018
527

android-sdk/src/debug/res/raw/validprojectconfigv4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,37 +25,37 @@
2525
{
2626
"id": "3468206643",
2727
"name": "BOOL",
28-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"booleanKey\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":true}]]]"
28+
"conditions": ["and", ["or", ["or", {"name": "booleanKey", "type": "custom_attribute", "match":"exact", "value":true}]]]
2929
},
3030
{
3131
"id": "3468206644",
3232
"name": "INT",
33-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"integerKey\", \"type\": \"custom_attribute\", \"match\":\"gt\", \"value\":1.0}]]]"
33+
"conditions": ["and", ["or", ["or", {"name": "integerKey", "type": "custom_attribute", "match":"gt", "value":1.0}]]]
3434
},
3535
{
3636
"id": "3468206645",
3737
"name": "DOUBLE",
38-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"doubleKey\", \"type\": \"custom_attribute\", \"match\":\"lt\", \"value\":100.0}]]]"
38+
"conditions": ["and", ["or", ["or", {"name": "doubleKey", "type": "custom_attribute", "match":"lt", "value":100.0}]]]
3939
},
4040
{
4141
"id": "3468206642",
4242
"name": "Gryffindors",
43-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"house\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":\"Gryffindor\"}]]]"
43+
"conditions": ["and", ["or", ["or", {"name": "house", "type": "custom_attribute", "match":"exact", "value":"Gryffindor"}]]]
4444
},
4545
{
4646
"id": "3988293898",
4747
"name": "Slytherins",
48-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"house\", \"type\": \"custom_attribute\", \"match\":\"substring\", \"value\":\"Slytherin\"}]]]"
48+
"conditions": ["and", ["or", ["or", {"name": "house", "type": "custom_attribute", "match":"substring", "value":"Slytherin"}]]]
4949
},
5050
{
5151
"id": "4194404272",
5252
"name": "english_citizens",
53-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"nationality\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":\"English\"}]]]"
53+
"conditions": ["and", ["or", ["or", {"name": "nationality", "type": "custom_attribute", "match":"exact", "value":"English"}]]]
5454
},
5555
{
5656
"id": "2196265320",
5757
"name": "audience_with_missing_value",
58-
"conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"nationality\", \"type\": \"custom_attribute\", \"value\": \"English\"}, {\"name\": \"nationality\", \"type\": \"custom_attribute\"}]]]"
58+
"conditions": ["and", ["or", ["or", {"name": "nationality", "type": "custom_attribute", "value": "English"}, {"name": "nationality", "type": "custom_attribute"}]]]
5959
}
6060
],
6161
"attributes": [{

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ ext {
5353
build_tools_version = "27.0.0"
5454
min_sdk_version = 14
5555
target_sdk_version = 26
56-
java_core_ver = "3.0.0-alpha"
56+
java_core_ver = "3.0.0-RC"
5757
android_logger_ver = "1.3.6"
5858
support_annotations_ver = "24.2.1"
5959
junit_ver = "4.12"

0 commit comments

Comments
 (0)