Skip to content

Commit 29c574b

Browse files
authored
0.1.3 (#71)
1 parent 9867ff6 commit 29c574b

File tree

14 files changed

+66
-21
lines changed

14 files changed

+66
-21
lines changed

splitio/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# 0.1.3 (May 18, 2023)
2+
3+
* Updated iOS SDK to `2.20.1` & Android SDK to `3.2.1`
4+
* Added support for new configuration options:
5+
* `impressionsMode`
6+
* `syncEnabled`
7+
* `logLevel`
8+
* `userConsent`
9+
* `encryptionEnabled`
10+
* Deprecated `enableDebug` configuration in favor of `logLevel`.
11+
112
# 0.1.3-rc.1 (May 18, 2023)
213

314
# 0.1.2+2 (Dec 7, 2022)

splitio/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: splitio
22
description: Official plugin for split.io, the platform for controlled rollouts, which serves features to your users via feature flags to manage your complete customer experience.
3-
version: 0.1.3-rc.1
3+
version: 0.1.3
44
homepage: https://split.io/
55
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio/
66

@@ -19,9 +19,9 @@ flutter:
1919
dependencies:
2020
flutter:
2121
sdk: flutter
22-
splitio_android: ^0.1.3-rc.1
23-
splitio_ios: ^0.1.3-rc.1
24-
splitio_platform_interface: ^1.1.0-rc.1
22+
splitio_android: ^0.1.3
23+
splitio_ios: ^0.1.3
24+
splitio_platform_interface: ^1.1.0
2525

2626
dev_dependencies:
2727
flutter_test:

splitio_android/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 0.1.3 (May 18, 2023)
2+
* Updated Android SDK to `3.2.1`
3+
* Added support for new configuration options:
4+
* `impressionsMode`
5+
* `syncEnabled`
6+
* `logLevel`
7+
* `userConsent`
8+
* `encryptionEnabled`
9+
110
# 0.1.3-rc.1 (May 18, 2023)
211

312
# 0.1.2+1 (Dec 7, 2022)

splitio_android/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: splitio_android
22
description: The official Android implementation of splitio Flutter plugin.
33
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio_android
4-
version: 0.1.3-rc.1
4+
version: 0.1.3
55

66
environment:
77
sdk: ">=2.16.2 <4.0.0"
@@ -19,7 +19,7 @@ flutter:
1919
dependencies:
2020
flutter:
2121
sdk: flutter
22-
splitio_platform_interface: ^1.1.0-rc.1
22+
splitio_platform_interface: ^1.1.0
2323

2424
dev_dependencies:
2525
flutter_test:

splitio_android/test/splitio_android_test.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ void main() {
2323
}
2424

2525
setUp(() {
26-
_channel.setMockMethodCallHandler((MethodCall methodCall) async {
26+
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
27+
.setMockMethodCallHandler(_channel, (MethodCall methodCall) async {
2728
methodName = methodCall.method;
2829
methodArguments = methodCall.arguments;
2930

@@ -54,6 +55,7 @@ void main() {
5455
case 'clearAttributes':
5556
return true;
5657
}
58+
return null;
5759
});
5860
});
5961

@@ -371,13 +373,13 @@ void main() {
371373
matchingKey: 'matching-key',
372374
bucketingKey: 'bucketing-key',
373375
sdkConfiguration:
374-
SplitConfiguration(enableDebug: true, streamingEnabled: false));
376+
SplitConfiguration(logLevel: SplitLogLevel.error, streamingEnabled: false));
375377
expect(methodName, 'init');
376378
expect(methodArguments, {
377379
'apiKey': 'api-key',
378380
'matchingKey': 'matching-key',
379381
'bucketingKey': 'bucketing-key',
380-
'sdkConfiguration': {'enableDebug': true, 'streamingEnabled': false},
382+
'sdkConfiguration': {'logLevel': 'error', 'streamingEnabled': false},
381383
});
382384
});
383385
});

splitio_ios/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 0.1.3 (May 18, 2023)
2+
* Updated iOS SDK to `2.20.1`
3+
* Added support for new configuration options:
4+
* `impressionsMode`
5+
* `syncEnabled`
6+
* `logLevel`
7+
* `userConsent`
8+
* `encryptionEnabled`
9+
110
# 0.1.3-rc.1 (May 18, 2023)
211

312
# 0.1.2 (Aug 13, 2022)

splitio_ios/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: splitio_ios
22
description: The official iOS implementation of splitio Flutter plugin.
33
repository: https://github.com/splitio/flutter-sdk-plugin/tree/main/splitio_ios
4-
version: 0.1.3-rc.1
4+
version: 0.1.3
55

66
environment:
77
sdk: ">=2.16.2 <4.0.0"
@@ -18,7 +18,7 @@ flutter:
1818
dependencies:
1919
flutter:
2020
sdk: flutter
21-
splitio_platform_interface: ^1.1.0-rc.1
21+
splitio_platform_interface: ^1.1.0
2222

2323
dev_dependencies:
2424
flutter_test:

splitio_ios/test/splitio_ios_test.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ void main() {
2323
}
2424

2525
setUp(() {
26-
_channel.setMockMethodCallHandler((MethodCall methodCall) async {
26+
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
27+
.setMockMethodCallHandler(_channel, (MethodCall methodCall) async {
2728
methodName = methodCall.method;
2829
methodArguments = methodCall.arguments;
2930

@@ -54,6 +55,7 @@ void main() {
5455
case 'clearAttributes':
5556
return true;
5657
}
58+
return null;
5759
});
5860
});
5961

@@ -371,13 +373,13 @@ void main() {
371373
matchingKey: 'matching-key',
372374
bucketingKey: 'bucketing-key',
373375
sdkConfiguration:
374-
SplitConfiguration(enableDebug: true, streamingEnabled: false));
376+
SplitConfiguration(logLevel: SplitLogLevel.warning, streamingEnabled: false));
375377
expect(methodName, 'init');
376378
expect(methodArguments, {
377379
'apiKey': 'api-key',
378380
'matchingKey': 'matching-key',
379381
'bucketingKey': 'bucketing-key',
380-
'sdkConfiguration': {'enableDebug': true, 'streamingEnabled': false},
382+
'sdkConfiguration': {'logLevel': 'warning', 'streamingEnabled': false},
381383
});
382384
});
383385
});

splitio_platform_interface/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# 1.1.0 (May 18, 2023)
2+
* Added support for new configuration options:
3+
* `impressionsMode`
4+
* `syncEnabled`
5+
* `logLevel`
6+
* `userConsent`
7+
* `encryptionEnabled`
8+
* Deprecated `enableDebug` configuration in favor of `logLevel`.
9+
110
# 1.1.0-rc.1 (May 18, 2023)
211

312
# 1.0.0 (Aug 13, 2022)

splitio_platform_interface/lib/split_configuration.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SplitConfiguration {
3737
///
3838
/// [syncEnabled] Controls the SDK continuous synchronization flags. When true, a running SDK processes rollout plan updates performed in the Split user interface (default). When false, it fetches all data upon init, which ensures a consistent experience during a user session and optimizes resources when these updates are not consumed by the app.
3939
///
40-
/// [UserConsent] User consent status used to control the tracking of events and impressions. Possible values are [UserConsent.granted], [UserConsent.declined], and [UserConsent.unknown].
40+
/// [userConsent] User consent status used to control the tracking of events and impressions. Possible values are [UserConsent.granted], [UserConsent.declined], and [UserConsent.unknown].
4141
///
4242
/// [encryptionEnabled] If set to true, the local database contents is encrypted. Defaults to false.
4343
///

0 commit comments

Comments
 (0)