Skip to content

Commit

Permalink
update for release. fix build (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaszurkan-optimizely authored Nov 9, 2018
1 parent cb5a49a commit a9129f4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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<String, ?>`.
* 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

Expand Down
14 changes: 7 additions & 7 deletions android-sdk/src/debug/res/raw/validprojectconfigv4
Original file line number Diff line number Diff line change
Expand Up @@ -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": [{
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a9129f4

Please sign in to comment.