Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 docs/reference/sdks/client/kotlin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from kotlin-sdk.
Edits should be made here: https://github.com/open-feature/kotlin-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/client/swift.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
Edits should be made here: https://github.com/open-feature/swift-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/client/web/angular.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
Edits should be made here: https://github.com/open-feature/js-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:44 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->

<p align="center" class="github-badges">
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/client/web/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
Edits should be made here: https://github.com/open-feature/js-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/sdks/client/web/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
Edits should be made here: https://github.com/open-feature/js-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down Expand Up @@ -402,7 +402,7 @@ If you'd like to control the values returned by the evaluation hooks, you can pa
<FeatureFlag flagKey="new-feature" defaultValue={false}>
<NewFeature />
</FeatureFlag>
<FeatureFlag flagKey="theme" match="dark" defaultValue="light">
<FeatureFlag flagKey="theme" matchValue="dark" defaultValue="light">
<DarkMode />
</FeatureFlag>
</OpenFeatureTestProvider>
Expand Down
30 changes: 16 additions & 14 deletions docs/reference/sdks/server/dart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from dart-server-sdk.
Edits should be made here: https://github.com/open-feature/dart-server-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:44 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->

<p align="center" class="github-badges">
Expand All @@ -19,8 +19,8 @@ Last updated at Wed Dec 24 2025 08:11:44 GMT+0000 (Coordinated Universal Time)
</a>


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

<a href="https://dart.dev/">
Expand Down Expand Up @@ -56,7 +56,7 @@ Dart language version: [3.9.2](https://dart.dev/get-dart/archive)

```yaml
dependencies:
openfeature_dart_server_sdk: ^0.0.13
openfeature_dart_server_sdk: ^0.0.15
```

### Then run:
Expand All @@ -69,33 +69,35 @@ dart pub get

```dart
import 'dart:async';
import 'package:openfeature_dart_server_sdk/client.dart';
import 'package:openfeature_dart_server_sdk/open_feature_api.dart';
import 'package:openfeature_dart_server_sdk/feature_provider.dart';
import 'package:openfeature_dart_server_sdk/evaluation_context.dart';
import 'package:openfeature_dart_server_sdk/hooks.dart';

void main() async {
// Register your feature flag provider
// Get the API instance
final api = OpenFeatureAPI();
api.setProvider(InMemoryProvider({

// Register your feature flag provider and wait for it to be ready
await api.setProviderAndWait(InMemoryProvider({
'new-feature': true,
'welcome-message': 'Hello, OpenFeature!'
}));

// Create a client
final client = FeatureClient(
metadata: ClientMetadata(name: 'my-app'),
hookManager: HookManager(),
defaultContext: EvaluationContext(attributes: {}),
);
final client = api.getClient('my-app');

// Evaluate your feature flags
final newFeatureEnabled = await client.getBooleanFlag(
'new-feature',
defaultValue: false,
);

// Get full evaluation details if needed
final details = await client.getBooleanDetails(
'new-feature',
defaultValue: false,
);
print('Reason: ${details.reason}, Variant: ${details.variant}');

// Use the returned flag value
if (newFeatureEnabled) {
print('New feature is enabled!');
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/dotnet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from dotnet-sdk.
Edits should be made here: https://github.com/open-feature/dotnet-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/go.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from go-sdk.
Edits should be made here: https://github.com/open-feature/go-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/java.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from java-sdk.
Edits should be made here: https://github.com/open-feature/java-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/javascript/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
Edits should be made here: https://github.com/open-feature/js-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/javascript/nestjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
Edits should be made here: https://github.com/open-feature/js-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/php.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from php-sdk.
Edits should be made here: https://github.com/open-feature/php-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/python.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from python-sdk.
Edits should be made here: https://github.com/open-feature/python-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:43 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:25 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/ruby.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This content has been automatically generated from ruby-sdk.
Edits should be made here: https://github.com/open-feature/ruby-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:44 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->
import MCPInstall from '@site/src/partials/mcp-install';

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/sdks/server/rust.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This content has been automatically generated from rust-sdk.
Edits should be made here: https://github.com/open-feature/rust-sdk
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs

Last updated at Wed Dec 24 2025 08:11:44 GMT+0000 (Coordinated Universal Time)
Last updated at Mon Jan 05 2026 08:13:26 GMT+0000 (Coordinated Universal Time)
-->

<p align="center" class="github-badges">
Expand Down
4 changes: 2 additions & 2 deletions src/datasets/sdks/sdk-compatibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@
"path": "/docs/reference/sdks/server/dart",
"category": "Server",
"release": {
"href": "https://github.com/open-feature/dart-server-sdk/releases/tag/v0.0.13",
"version": "0.0.13",
"href": "https://github.com/open-feature/dart-server-sdk/releases/tag/v0.0.15",
"version": "0.0.15",
"stable": false
},
"spec": {
Expand Down