diff --git a/CHANGELOG.md b/CHANGELOG.md index ee7c447ed..736ba678c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Optimizely Android X SDK Changelog +## 3.0.0-RC +November 9, 2018 + +This is a RC candidate for major release 3.0.0 with support of new audience match types. +### New Features +* Support for number-valued and boolean-valued attributes. ([#213](https://githu +b.com/optimizely/java-sdk/pull/213)) +* 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. +* 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 +timizely/java-sdk/pull/209)) +* Audience combinations within an experiment are unofficially supported in this +release. + +### Breaking Changes +* Previously, notification listeners filtered non-string attribute values from t +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`. +* Update to use Java 1.7 ([#208](https://github.com/optimizely/java-sdk/pull/208)) + + +### Bug Fixes +The attributes map is now copied to ensure there is no concurrency issues. + ## 2.1.2 November 8, 2018 diff --git a/android-sdk/src/debug/res/raw/validprojectconfigv4 b/android-sdk/src/debug/res/raw/validprojectconfigv4 index 6c6aeb5ff..f56bda720 100644 --- a/android-sdk/src/debug/res/raw/validprojectconfigv4 +++ b/android-sdk/src/debug/res/raw/validprojectconfigv4 @@ -25,37 +25,37 @@ { "id": "3468206643", "name": "BOOL", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"booleanKey\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":true}]]]" + "conditions": ["and", ["or", ["or", {"name": "booleanKey", "type": "custom_attribute", "match":"exact", "value":true}]]] }, { "id": "3468206644", "name": "INT", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"integerKey\", \"type\": \"custom_attribute\", \"match\":\"gt\", \"value\":1.0}]]]" + "conditions": ["and", ["or", ["or", {"name": "integerKey", "type": "custom_attribute", "match":"gt", "value":1.0}]]] }, { "id": "3468206645", "name": "DOUBLE", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"doubleKey\", \"type\": \"custom_attribute\", \"match\":\"lt\", \"value\":100.0}]]]" + "conditions": ["and", ["or", ["or", {"name": "doubleKey", "type": "custom_attribute", "match":"lt", "value":100.0}]]] }, { "id": "3468206642", "name": "Gryffindors", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"house\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":\"Gryffindor\"}]]]" + "conditions": ["and", ["or", ["or", {"name": "house", "type": "custom_attribute", "match":"exact", "value":"Gryffindor"}]]] }, { "id": "3988293898", "name": "Slytherins", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"house\", \"type\": \"custom_attribute\", \"match\":\"substring\", \"value\":\"Slytherin\"}]]]" + "conditions": ["and", ["or", ["or", {"name": "house", "type": "custom_attribute", "match":"substring", "value":"Slytherin"}]]] }, { "id": "4194404272", "name": "english_citizens", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"nationality\", \"type\": \"custom_attribute\", \"match\":\"exact\", \"value\":\"English\"}]]]" + "conditions": ["and", ["or", ["or", {"name": "nationality", "type": "custom_attribute", "match":"exact", "value":"English"}]]] }, { "id": "2196265320", "name": "audience_with_missing_value", - "conditions": "[\"and\", [\"or\", [\"or\", {\"name\": \"nationality\", \"type\": \"custom_attribute\", \"value\": \"English\"}, {\"name\": \"nationality\", \"type\": \"custom_attribute\"}]]]" + "conditions": ["and", ["or", ["or", {"name": "nationality", "type": "custom_attribute", "value": "English"}, {"name": "nationality", "type": "custom_attribute"}]]] } ], "attributes": [{ diff --git a/build.gradle b/build.gradle index bf99bdcd6..70cfb1355 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ ext { build_tools_version = "27.0.0" min_sdk_version = 14 target_sdk_version = 26 - java_core_ver = "3.0.0-alpha" + java_core_ver = "3.0.0-RC" android_logger_ver = "1.3.6" support_annotations_ver = "24.2.1" junit_ver = "4.12"