Skip to content

Commit cdd69bf

Browse files
chore: update sdk readmes
Signed-off-by: OpenFeature Bot <[email protected]>
1 parent 67ff964 commit cdd69bf

File tree

16 files changed

+38
-24
lines changed

16 files changed

+38
-24
lines changed

docs/reference/sdks/client/kotlin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from kotlin-sdk.
1010
Edits should be made here: https://github.com/open-feature/kotlin-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/client/swift.mdx

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
1010
Edits should be made here: https://github.com/open-feature/swift-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

@@ -22,8 +22,8 @@ import MCPInstall from '@site/src/partials/mcp-install';
2222
</a>
2323

2424

25-
<a href="https://github.com/open-feature/swift-sdk/releases/tag/0.4.0">
26-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.4.0&color=blue&style=for-the-badge" />
25+
<a href="https://github.com/open-feature/swift-sdk/releases/tag/0.5.0">
26+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.5.0&color=blue&style=for-the-badge" />
2727
</a>
2828

2929

@@ -67,7 +67,7 @@ First, ensure you have your GitHub account added as an option (+ > Add Source Co
6767
If you manage dependencies through SPM, in the dependencies section of Package.swift add:
6868

6969
```swift
70-
.package(url: "[email protected]:open-feature/swift-sdk.git", from: "0.4.0")
70+
.package(url: "[email protected]:open-feature/swift-sdk.git", from: "0.5.0")
7171
```
7272

7373
and in the target dependencies section add:
@@ -112,7 +112,7 @@ Task {
112112
|| [Providers](#providers) | Integrate with a commercial, open source, or in-house feature management tool. |
113113
|| [Targeting](#targeting) | Contextually-aware flag evaluation using [evaluation context](/docs/reference/concepts/evaluation-context). |
114114
|| [Hooks](#hooks) | Add functionality to various stages of the flag evaluation life-cycle. |
115-
| | [Tracking](#tracking) | Associate user actions with feature flag evaluations. |
115+
| | [Tracking](#tracking) | Associate user actions with feature flag evaluations. |
116116
|| [Logging](#logging) | Integrate with popular logging packages. |
117117
|| [MultiProvider](#multiprovider) | Utilize multiple providers in a single application. |
118118
|| [Eventing](#eventing) | React to state changes in the provider or flag management system. |
@@ -162,7 +162,7 @@ Once you've added a hook as a dependency, it can be registered at the global, cl
162162
OpenFeatureAPI.shared.addHooks(hooks: ExampleHook())
163163

164164
// add a hook on this client, to run on all evaluations made by this client
165-
val client = OpenFeatureAPI.shared.getClient()
165+
let client = OpenFeatureAPI.shared.getClient()
166166
client.addHooks(ExampleHook())
167167

168168
// add a hook for this evaluation only
@@ -173,7 +173,21 @@ _ = client.getValue(
173173
```
174174
### Tracking
175175

176-
Tracking is not yet available in the iOS SDK.
176+
The tracking API allows you to use OpenFeature abstractions and objects to associate user actions with feature flag evaluations.
177+
This is essential for robust experimentation powered by feature flags.
178+
For example, a flag enhancing the appearance of a UI component might drive user engagement to a new feature; to test this hypothesis, telemetry collected by a [hook](#hooks) or [provider](#providers) can be associated with telemetry reported in the client's `track` function.
179+
180+
```swift
181+
let client = OpenFeatureAPI.shared.getClient()
182+
183+
// Track an event
184+
client.track(key: "test")
185+
186+
// Track an event with a numeric value
187+
client.track(key: "test-value", details: ImmutableTrackingEventDetails(value: 5))
188+
```
189+
190+
Note that some providers may not support tracking; check the documentation for your provider for more information.
177191

178192
### Logging
179193

docs/reference/sdks/client/web/angular.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/sdks/client/web/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/client/web/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:26 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/server/dart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from dart-server-sdk.
99
Edits should be made here: https://github.com/open-feature/dart-server-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Tue Nov 11 2025 12:07:27 GMT-0500 (Eastern Standard Time)
12+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/sdks/server/dotnet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from dotnet-sdk.
1010
Edits should be made here: https://github.com/open-feature/dotnet-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:25 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

docs/reference/sdks/server/go.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from go-sdk.
99
Edits should be made here: https://github.com/open-feature/go-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Tue Nov 11 2025 12:07:25 GMT-0500 (Eastern Standard Time)
12+
Last updated at Tue Nov 18 2025 08:11:18 GMT+0000 (Coordinated Universal Time)
1313
-->
1414
import MCPInstall from '@site/src/partials/mcp-install';
1515

docs/reference/sdks/server/java.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from java-sdk.
99
Edits should be made here: https://github.com/open-feature/java-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Tue Nov 11 2025 12:07:25 GMT-0500 (Eastern Standard Time)
12+
Last updated at Tue Nov 18 2025 08:11:17 GMT+0000 (Coordinated Universal Time)
1313
-->
1414
import MCPInstall from '@site/src/partials/mcp-install';
1515

docs/reference/sdks/server/javascript/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Tue Nov 11 2025 12:07:25 GMT-0500 (Eastern Standard Time)
13+
Last updated at Tue Nov 18 2025 08:11:17 GMT+0000 (Coordinated Universal Time)
1414
-->
1515
import MCPInstall from '@site/src/partials/mcp-install';
1616

0 commit comments

Comments
 (0)