Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

prepare 6.1.3 release #134

Merged
merged 91 commits into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
67fb5ce
Removed the guides link
bwoskow-ld Feb 3, 2021
b6a113c
V4.0 (#68)
torchhound Apr 1, 2021
a193441
merge from public after release
LaunchDarklyCI Apr 1, 2021
510e581
Update iOS SDK dependency to fix Throttler behavior (#69)
torchhound Apr 7, 2021
0afc773
merge from public after release
LaunchDarklyCI Apr 7, 2021
9df202f
V4.1.0 (#72)
torchhound Apr 14, 2021
17e2d75
merge from public after release
LaunchDarklyCI Apr 14, 2021
35b61e1
Fixed jsonVariationDetail parsing on Android and fixed a typo in json…
torchhound Apr 16, 2021
fceade3
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 23, 2021
82ba5fe
Releasing version 4.0.2
bwoskow-ld Apr 23, 2021
5489162
Merge branch 'v4.0.x-squashed' of github.com:launchdarkly/react-nativ…
bwoskow-ld Apr 23, 2021
ccc28c3
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 24, 2021
c4a2891
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 24, 2021
cae667b
Removes Typescript enums and replaces them with types that extend str…
torchhound Apr 28, 2021
f975de3
Releasing version 4.0.3
bwoskow-ld Apr 28, 2021
881c2fb
Merge branch 'v4.0.x-squashed'
bwoskow-ld Apr 28, 2021
b23e1c0
Merge branch 'master' of github.com:launchdarkly/react-native-client-…
bwoskow-ld Apr 28, 2021
c261c78
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Apr 28, 2021
5ad0499
Multi Environment (#65)
torchhound May 11, 2021
4ca1a1f
Add secondary user attribute (#76)
torchhound May 11, 2021
4a9530e
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld May 11, 2021
81ae48d
Fix multi environment on restwrapper (#77)
torchhound May 19, 2021
0029ba5
merge from public after release
LaunchDarklyCI May 19, 2021
83640b7
[ch109800] Await Android client initialization. (#78)
gwhelanLD May 28, 2021
2668c2a
Update iOS method signature to match implementation (#79)
bwoskow-ld Jun 1, 2021
9703765
Merge remote-tracking branch 'public/master'
gwhelanLD Jun 1, 2021
b1a94ca
merge from public after release
LaunchDarklyCI Jun 1, 2021
8399a02
Releasing version 4.0.4
bwoskow-ld Jun 2, 2021
14c3993
Merge tag '4.0.4'
bwoskow-ld Jun 2, 2021
4d003c0
[ch110474] Fixes for undeclared variables and other callback issues. …
gwhelanLD Jun 15, 2021
36516d0
Merge remote-tracking branch 'public/master'
gwhelanLD Jun 15, 2021
093d62d
Changes for Android 3. (#82)
gwhelanLD Jun 15, 2021
894de0f
Add unit tests for JS native bridge wrapper. (#83)
gwhelanLD Jun 16, 2021
3da41af
Docs improvements (#84)
gwhelanLD Jun 16, 2021
493d554
[ch94513] Add aliasing support (#85)
gwhelanLD Jun 16, 2021
a735bab
Requiring default values to be specified. Remove intVariation. (#86)
gwhelanLD Jun 29, 2021
0364d51
Safer and cleaner configuration on iOS (#87)
gwhelanLD Jul 1, 2021
eb1aecb
Cleanup Android variation implementation (#88)
gwhelanLD Jul 1, 2021
9f8dbc9
Merge remote-tracking branch 'public/master'
gwhelanLD Aug 19, 2021
cbad402
Use latest iOS and Android SDKs (#89)
gwhelanLD Aug 19, 2021
f0ade3f
Fix issue with numeric variation calls. (#90)
gwhelanLD Aug 20, 2021
89668aa
merge from public after release
Aug 20, 2021
db3ca38
Add consumer Proguard file to Android build configuration. (#91)
gwhelanLD Sep 3, 2021
d631ea9
Merge remote-tracking branch 'public/master'
gwhelanLD Sep 3, 2021
cb9aab3
Update Android SDK to 3.1.1 (#92)
gwhelanLD Sep 3, 2021
33187c2
merge from public after release
Sep 3, 2021
c4a98d7
Fix for absolute paths in cocoapods generated build files by running …
gwhelanLD Sep 17, 2021
4511f91
Re-introduce compatibility for React Native 0.63 (#94)
bwoskow-ld Sep 20, 2021
1f314a8
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Sep 22, 2021
432605c
Updates docs URLs
ember-stevens Sep 26, 2021
714ab09
Merge pull request #95 from launchdarkly/emberstevens/sc-118589/url-a…
ember-stevens Sep 29, 2021
51504f9
Add configuration option `inlineUsersInEvents` and typescript definit…
gwhelanLD Sep 29, 2021
595c3c2
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
bwoskow-ld Sep 29, 2021
b2104a2
minor doc improvement (#97)
bwoskow-ld Sep 30, 2021
2fc3cac
Update version in README to match what version we'll actually be rele…
gwhelanLD Sep 30, 2021
aa880bc
merge from public after release
Sep 30, 2021
17275e7
Merge branch 'master' of github.com:launchdarkly/react-native-client-…
louis-launchdarkly Sep 30, 2021
addc762
Invert isOffline on iOS. (#99)
gwhelanLD Oct 14, 2021
038017e
Fixes and improvements for CI configuration (#100)
gwhelanLD Dec 22, 2021
329b094
[SC-130395] Allow native SDKs to generate anonymous user when user ke…
gwhelanLD Dec 22, 2021
77d7b11
See will this work without adding the mavenCentral
louis-launchdarkly Jan 13, 2022
9f55e81
Adding MavenCentral
louis-launchdarkly Jan 13, 2022
f62cab3
Fix RN0.63 builds
louis-launchdarkly Jan 19, 2022
adeac7c
Merge pull request #102 from launchdarkly/lc/sc-137578/remove-jcenter
louis-launchdarkly Jan 19, 2022
eb26b57
Fix outdated sed CI expression preventing actually testing against th…
gwhelanLD Jan 21, 2022
d3385b5
Update Android native SDK dependency and gradle config. (#104)
gwhelanLD Jan 21, 2022
aa39b22
Update iOS SDK native dependency in podspec. (#105)
gwhelanLD Jan 21, 2022
808b306
merge from public after release
Jan 21, 2022
1da708d
[sc-139041] Fix releaser typedoc generation (#106)
gwhelanLD Feb 8, 2022
a54ca2d
Have podspec retrieve version from package.json to allow using defaul…
gwhelanLD Feb 8, 2022
f38a2aa
Fix iOS jsonVariation and jsonVariationDetail when using array defaul…
gwhelanLD Feb 8, 2022
e78af59
Completely rework CI build to not use hello-react-native (#109)
gwhelanLD Feb 10, 2022
07f3c8f
Include manual testing application in repo (#110)
gwhelanLD Feb 10, 2022
8f1e09e
Merge remote-tracking branch 'public/master'
gwhelanLD Feb 10, 2022
f0545f5
Adding the addListener and removeListeners method to silence the warning
louis-launchdarkly Feb 23, 2022
1a2038d
Merge pull request #111 from launchdarkly/lc/remove-warning
louis-launchdarkly Feb 24, 2022
4bc3ea4
Add privateAttributeNames to TypeScript and iOS wrapper implementatio…
gwhelanLD Feb 25, 2022
a7b7f7f
Bump to latest Android SDK release (#114)
gwhelanLD Feb 25, 2022
5873f90
Fix ownership handling for all flags and connection mode listeners on…
gwhelanLD Feb 25, 2022
a0f2820
merge from public after release
Feb 26, 2022
98389e3
Update iOS SDK to latest 5.4.5 release. (#115)
gwhelanLD Mar 17, 2022
3bfcb84
merge from public after release
Mar 18, 2022
02a9f18
Update Android SDK to latest patch release. (#116)
gwhelanLD Mar 25, 2022
777be46
merge from public after release
Mar 25, 2022
fbe7c29
Update to the correct variation method
louis-launchdarkly Apr 4, 2022
1f590bc
Add RN 0.68 CI and expand RN version bounds in package definition. (#…
gwhelanLD Apr 4, 2022
98da24c
Merge pull request #118 from launchdarkly/lc/fix-manual-test-app
louis-launchdarkly Apr 4, 2022
868258c
Update supported RN versions in readme.
gwhelanLD Apr 8, 2022
f39ce06
Merge pull request #119 from launchdarkly/gw/update-supported-version…
louis-launchdarkly Apr 13, 2022
285aa05
Merge branch 'master' of github.com:launchdarkly/react-native-client-sdk
louis-launchdarkly Apr 14, 2022
067354d
[sc-149512] Android reason fixes (#120)
gwhelanLD Apr 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ workflows:
name: rn<<matrix.rn-version>>-xc<<matrix.xcode-version>>-build-apps-using-template
matrix:
parameters:
rn-version: ["0.64.3", "0.65.2", "0.66.4", "0.67.3"]
rn-version: ["0.64.3", "0.65.2", "0.66.4", "0.67.3", "0.68.0"]
xcode-version: ["12.2.0", "12.5.1", "13.2.1"]
requires:
- test-javascript
4 changes: 2 additions & 2 deletions ManualTestApp/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ const Body = () => {
} else if (flagType === 'string') {
res = await client.stringVariation(flagKey, '');
} else if (flagType === 'int') {
res = await client.intVariation(flagKey, 0);
res = await client.numberVariation(flagKey, 0);
} else if (flagType === 'float') {
res = await client.floatVariation(flagKey, 0.0);
res = await client.numberVariation(flagKey, 0.0);
} else if (flagType === 'array') {
res = await client.jsonVariation(flagKey, []);
} else if (flagType === 'object') {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LaunchDarkly overview
Supported versions
-------------------------

This SDK is currently compatible with React Native versions `>=0.64 <0.68`, the minimum iOS deployment target is `10.0`, and the minimum Android SDK version is `21`. Builds are tested with XCode 12.2+.
This SDK is currently compatible with React Native versions `>=0.64 <0.69`, the minimum iOS deployment target is `10.0`, and the minimum Android SDK version is `21`. Builds are tested with XCode 12.2+.

For React Native `0.63.x` support, use the latest [`5.1.x` release](https://github.com/launchdarkly/react-native-client-sdk/releases/tag/5.1.1).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,19 +434,30 @@ private ObjectBuilder objectBuilderFromDetail(EvaluationDetail<?> detail) {
ObjectBuilder resultMap = LDValue.buildObject();
if (!detail.isDefaultValue()) {
resultMap.put("variationIndex", detail.getVariationIndex());
} else {
resultMap.put("variationIndex", LDValue.ofNull());
}
EvaluationReason reason = detail.getReason();
if (reason == null) {
resultMap.put("reason", LDValue.ofNull());
return resultMap;
}
ObjectBuilder reasonMap = LDValue.buildObject();
reasonMap.put("kind", reason.getKind().name());
switch (reason.getKind()) {
case RULE_MATCH:
reasonMap.put("ruleIndex", reason.getRuleIndex());
if (reason.getRuleId() != null) {
reasonMap.put("ruleId", reason.getRuleId());
reasonMap.put("ruleId", reason.getRuleId());
if (reason.isInExperiment()) {
reasonMap.put("inExperiment", true);
}
break;
case PREREQUISITE_FAILED: reasonMap.put("prerequisiteKey", reason.getPrerequisiteKey()); break;
case ERROR: reasonMap.put("errorKind", reason.getErrorKind().name()); break;
case FALLTHROUGH:
if (reason.isInExperiment()) {
reasonMap.put("inExperiment", true);
}
default: break;
}
resultMap.put("reason", reasonMap.build());
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://docs.launchdarkly.com/sdk/client-side/react-native",
"peerDependencies": {
"react-native": ">=0.64.0 <0.68.0"
"react-native": ">=0.64.0 <0.69.0"
},
"devDependencies": {
"jest": "^26.6.3",
Expand Down