Skip to content

Commit 0a603ab

Browse files
chore: update sdk readmes (#1174)
The PR was automatically generated via the update-sdk-docs GitHub workflow. Signed-off-by: OpenFeature Bot <[email protected]>
1 parent 5c7b011 commit 0a603ab

File tree

14 files changed

+50
-26
lines changed

14 files changed

+50
-26
lines changed

docs/reference/technologies/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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

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

docs/reference/technologies/client/swift.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 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 Fri May 16 2025 08:10:51 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ 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 Fri May 16 2025 08:10:51 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:12 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">
1717
<a href="https://github.com/open-feature/spec/releases/tag/v0.8.0">
1818
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
1919
</a>
2020

21-
<a href="https://github.com/open-feature/js-sdk/releases/tag/angular-sdk-v0.0.13">
22-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.0.13&color=blue&style=for-the-badge" />
21+
<a href="https://github.com/open-feature/js-sdk/releases/tag/angular-sdk-v0.0.15">
22+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.0.15&color=blue&style=for-the-badge" />
2323
</a>
2424

2525
<br/>
@@ -110,7 +110,7 @@ import { OpenFeatureModule } from '@openfeature/angular-sdk';
110110
CommonModule,
111111
OpenFeatureModule.forRoot({
112112
provider: yourFeatureProvider,
113-
// domainBoundProviders are optional, mostly needed if more than one provider is needed
113+
// domainBoundProviders are optional, mostly needed if more than one provider is used in the application.
114114
domainBoundProviders: {
115115
domain1: new YourOpenFeatureProvider(),
116116
domain2: new YourOtherOpenFeatureProvider(),

docs/reference/technologies/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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:11 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

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

docs/reference/technologies/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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:11 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

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

docs/reference/technologies/server/dotnet.mdx

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ 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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:11 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
[![Specification](https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge)](https://github.com/open-feature/spec/releases/tag/v0.8.0)
1717
[
18-
![Release](https://img.shields.io/static/v1?label=release&message=v2.5.0&color=blue&style=for-the-badge)
19-
](https://github.com/open-feature/dotnet-sdk/releases/tag/v2.5.0)
18+
![Release](https://img.shields.io/static/v1?label=release&message=v2.6.0&color=blue&style=for-the-badge)
19+
](https://github.com/open-feature/dotnet-sdk/releases/tag/v2.6.0)
2020

2121
[![Slack](https://img.shields.io/badge/slack-%40cncf%2Fopenfeature-brightgreen?style=flat&logo=slack)](https://cloud-native.slack.com/archives/C0344AANLA1)
2222
[![Codecov](https://codecov.io/gh/open-feature/dotnet-sdk/branch/main/graph/badge.svg?token=MONAVJBXUJ)](https://codecov.io/gh/open-feature/dotnet-sdk)
@@ -74,6 +74,30 @@ public async Task Example()
7474
}
7575
```
7676

77+
### Samples
78+
79+
The [`samples/`](https://github.com/open-feature/dotnet-sdk/blob/main/samples) folder contains example applications demonstrating how to use OpenFeature in different .NET scenarios.
80+
81+
| Sample Name | Description |
82+
|---------------------------------------------------|----------------------------------------------------------------|
83+
| [AspNetCore](https://github.com/open-feature/dotnet-sdk/blob/main/samples/AspNetCore/README.md) | Feature flags in an ASP.NET Core Web API. |
84+
85+
**Getting Started with a Sample:**
86+
87+
1. Navigate to the sample directory
88+
89+
```shell
90+
cd samples/AspNetCore
91+
```
92+
93+
2. Restore dependencies and run
94+
95+
```shell
96+
dotnet run
97+
```
98+
99+
Want to contribute a new sample? See our [CONTRIBUTING](https://github.com/open-feature/dotnet-sdk/blob/main/CONTRIBUTING.md) guide!
100+
77101
## Features
78102

79103
| Status | Features | Description |

docs/reference/technologies/server/go.mdx

Lines changed: 6 additions & 6 deletions
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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Mon Jun 02 2025 17:42:11 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">
@@ -40,7 +40,7 @@ Last updated at Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
4040

4141
### Requirements
4242

43-
Go language version: [1.20](https://go.dev/doc/devel/release#go1.20)
43+
Go language version: [1.23](https://go.dev/doc/devel/release#go1.23.0)
4444

4545
> [!NOTE]
4646
> The OpenFeature Go SDK only supports currently maintained Go language versions.
@@ -125,23 +125,23 @@ If the flag management system you're using supports targeting, you can provide t
125125
```go
126126
// set a value to the global context
127127
openfeature.SetEvaluationContext(openfeature.NewTargetlessEvaluationContext(
128-
map[string]interface{}{
128+
map[string]any{
129129
"region": "us-east-1-iah-1a",
130130
},
131131
))
132132

133133
// set a value to the client context
134134
client := openfeature.NewClient("my-app")
135135
client.SetEvaluationContext(openfeature.NewTargetlessEvaluationContext(
136-
map[string]interface{}{
136+
map[string]any{
137137
"version": "1.4.6",
138138
},
139139
))
140140

141141
// set a value to the invocation context
142142
evalCtx := openfeature.NewEvaluationContext(
143143
"user-123",
144-
map[string]interface{}{
144+
map[string]any{
145145
"company": "Initech",
146146
},
147147
)
@@ -366,7 +366,7 @@ func (i MyFeatureProvider) IntEvaluation(ctx context.Context, flag string, defau
366366
}
367367

368368
// ObjectEvaluation returns an object flag
369-
func (i MyFeatureProvider) ObjectEvaluation(ctx context.Context, flag string, defaultValue interface{}, evalCtx openfeature.FlattenedContext) openfeature.InterfaceResolutionDetail {
369+
func (i MyFeatureProvider) ObjectEvaluation(ctx context.Context, flag string, defaultValue any, evalCtx openfeature.FlattenedContext) openfeature.InterfaceResolutionDetail {
370370
// code to evaluate object
371371
}
372372

docs/reference/technologies/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 Fri May 16 2025 08:10:49 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Mon Jun 02 2025 17:42:10 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

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

docs/reference/technologies/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 Fri May 16 2025 08:10:49 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:10 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

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

docs/reference/technologies/server/javascript/nestjs.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ 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 Fri May 16 2025 08:10:50 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Mon Jun 02 2025 17:42:10 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">
1717
<a href="https://github.com/open-feature/spec/releases/tag/v0.8.0">
1818
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
1919
</a>
2020

21-
<a href="https://github.com/open-feature/js-sdk/releases/tag/nestjs-sdk-v0.2.4">
22-
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.2.4&color=blue&style=for-the-badge" />
21+
<a href="https://github.com/open-feature/js-sdk/releases/tag/nestjs-sdk-v0.2.5">
22+
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v0.2.5&color=blue&style=for-the-badge" />
2323
</a>
2424

2525
<br/>

0 commit comments

Comments
 (0)