diff --git a/docs/reference/sdks/client/kotlin.mdx b/docs/reference/sdks/client/kotlin.mdx index ac6bd9b22..8b45bea3f 100644 --- a/docs/reference/sdks/client/kotlin.mdx +++ b/docs/reference/sdks/client/kotlin.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; @@ -113,7 +113,7 @@ coroutineScope.launch(Dispatchers.Default) { | ✅ | [Hooks](#hooks) | Add functionality to various stages of the flag evaluation life-cycle. | | ✅ | [Tracking](#tracking) | Associate user actions with feature flag evaluations. | | ✅ | [Logging](#logging) | Integrate with popular logging packages. | -| ❌ | [Domains](#domains) | Logically bind clients with providers. | +| ⚠️ | [Domains](#domains) | Logically bind clients with providers. | | ✅ | [Eventing](#eventing) | React to state changes in the provider or flag management system. | | ✅ | [Shutdown](#shutdown) | Gracefully clean up a provider during application shutdown. | | ✅ | [Extending](#extending) | Extend OpenFeature with custom providers and hooks. | @@ -345,8 +345,8 @@ client.getBooleanValue( ### Domains -Domains allow you to logically bind clients with providers. -Support for domains is not yet available in the Kotlin SDK. +[Domains](/docs/reference/concepts/domain) allow you to logically bind clients with providers, enabling multiple provider configurations within the same application. +Support for domains is currently in development. ### Eventing diff --git a/docs/reference/sdks/client/swift.mdx b/docs/reference/sdks/client/swift.mdx index f76dd3cd2..64142432e 100644 --- a/docs/reference/sdks/client/swift.mdx +++ b/docs/reference/sdks/client/swift.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/client/web/angular.mdx b/docs/reference/sdks/client/web/angular.mdx index 92c3ee611..b722c90c4 100644 --- a/docs/reference/sdks/client/web/angular.mdx +++ b/docs/reference/sdks/client/web/angular.mdx @@ -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 Thu Apr 23 2026 06:21:00 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:58 GMT+0000 (Coordinated Universal Time) -->

diff --git a/docs/reference/sdks/client/web/index.mdx b/docs/reference/sdks/client/web/index.mdx index ec1b737b8..998e92177 100644 --- a/docs/reference/sdks/client/web/index.mdx +++ b/docs/reference/sdks/client/web/index.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/client/web/react.mdx b/docs/reference/sdks/client/web/react.mdx index 0373aed6b..fbd3795c0 100644 --- a/docs/reference/sdks/client/web/react.mdx +++ b/docs/reference/sdks/client/web/react.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/dart.mdx b/docs/reference/sdks/server/dart.mdx index a23eafcf6..15721bdaa 100644 --- a/docs/reference/sdks/server/dart.mdx +++ b/docs/reference/sdks/server/dart.mdx @@ -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 Thu Apr 23 2026 06:21:00 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:58 GMT+0000 (Coordinated Universal Time) -->

diff --git a/docs/reference/sdks/server/dotnet.mdx b/docs/reference/sdks/server/dotnet.mdx index d3134d37c..ac4f761af 100644 --- a/docs/reference/sdks/server/dotnet.mdx +++ b/docs/reference/sdks/server/dotnet.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/go.mdx b/docs/reference/sdks/server/go.mdx index feb9ebb08..2c5eed287 100644 --- a/docs/reference/sdks/server/go.mdx +++ b/docs/reference/sdks/server/go.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/java.mdx b/docs/reference/sdks/server/java.mdx index 88342595a..7fb32d207 100644 --- a/docs/reference/sdks/server/java.mdx +++ b/docs/reference/sdks/server/java.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:56 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/javascript/index.mdx b/docs/reference/sdks/server/javascript/index.mdx index b49f5565f..f66e30873 100644 --- a/docs/reference/sdks/server/javascript/index.mdx +++ b/docs/reference/sdks/server/javascript/index.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/javascript/nestjs.mdx b/docs/reference/sdks/server/javascript/nestjs.mdx index 67977a46d..48777a715 100644 --- a/docs/reference/sdks/server/javascript/nestjs.mdx +++ b/docs/reference/sdks/server/javascript/nestjs.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/php.mdx b/docs/reference/sdks/server/php.mdx index 0182dffc9..e0864d695 100644 --- a/docs/reference/sdks/server/php.mdx +++ b/docs/reference/sdks/server/php.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; @@ -87,6 +87,7 @@ function example() #### Extended Example ```php +use OpenFeature\OpenFeatureAPI; use OpenFeature\OpenFeatureClient; class MyClass @@ -175,14 +176,14 @@ If the flag management system you're using supports targeting, you can provide t ```php // add a value to the global context $api = OpenFeatureAPI::getInstance(); -$api->setEvaluationContext(new EvaluationContext('targetingKey', ['myGlobalKey' => 'myGlobalValue'])); +$api->setEvaluationContext(new EvaluationContext('targetingKey', new Attributes(['myGlobalKey' => 'myGlobalValue']))); // add a value to the client context $client = $api->getClient(); -$client->setEvaluationContext(new EvaluationContext('targetingKey', ['myClientKey' => 'myClientValue'])); +$client->setEvaluationContext(new EvaluationContext('targetingKey', new Attributes(['myClientKey' => 'myClientValue']))); // add a value to the invocation context -$context = new EvaluationContext('targetingKey', ['myInvocationKey' => 'myInvocationValue']); +$context = new EvaluationContext('targetingKey', new Attributes(['myInvocationKey' => 'myInvocationValue'])); $boolValue = $client->getBooleanValue('boolFlag', false, $context); ``` @@ -198,11 +199,11 @@ Once you've added a hook as a dependency, it can be registered at the global, cl ```php // add a hook globally, to run on all evaluations $api = OpenFeatureAPI::getInstance(); -$api->addHook(new ExampleGlobalHook()); +$api->addHooks(new ExampleGlobalHook()); // add a hook on this client, to run on all evaluations made by this client $client = $api->getClient(); -$client->addHook(new ExampleClientHook()); +$client->addHooks(new ExampleClientHook()); // add a hook for this evaluation only $value = $client->getBooleanValue("boolFlag", false, $context, new EvaluationOptions([new ExampleInvocationHook()])); @@ -338,8 +339,9 @@ declare(strict_types=1); namespace OpenFeature\Example\Providers; +use OpenFeature\implementation\provider\AbstractProvider; use OpenFeature\interfaces\flags\EvaluationContext; -use OpenFeature\interfaces\provider\ResolutionDetails; +use OpenFeature\interfaces\provider\ResolutionDetails as ResolutionDetailsInterface; class ExampleProviderExtension extends AbstractProvider { @@ -381,9 +383,9 @@ class ExampleProviderExtension extends AbstractProvider To develop a hook, you need to create a new project and include the OpenFeature SDK as a dependency. This can be a new repository or included in [the existing contrib repository](https://github.com/open-feature/php-sdk-contrib) available under the OpenFeature organization. -Implement your own hook by conforming to the `Hook interface`. -To satisfy the interface, all methods (`Before`/`After`/`Finally`/`Error`) need to be defined. -To avoid defining empty functions, make use of the `UnimplementedHook` struct (which already implements all the empty functions). +Implement your own hook by conforming to the `Hook` interface. +To satisfy the interface, all methods (`before`/`after`/`finally`/`error`) need to be defined. +You can also extend one of the typed abstract base classes (`BooleanHook`, `StringHook`, `IntegerHook`, `FloatHook`, `ObjectHook`) which automatically implement `supportsFlagValueType()` for the corresponding flag type. ```php declare(strict_types=1); @@ -396,6 +398,7 @@ use OpenFeature\interfaces\hooks\Hook; use OpenFeature\interfaces\hooks\HookContext; use OpenFeature\interfaces\hooks\HookHints; use OpenFeature\interfaces\provider\ResolutionDetails; +use Throwable; class ExampleStringHookImplementation implements Hook { @@ -436,6 +439,7 @@ use OpenFeature\interfaces\flags\FlagValueType; use OpenFeature\interfaces\hooks\HookContext; use OpenFeature\interfaces\hooks\HookHints; use OpenFeature\interfaces\provider\ResolutionDetails; +use Throwable; class ExampleStringHookExtension extends StringHook { diff --git a/docs/reference/sdks/server/python.mdx b/docs/reference/sdks/server/python.mdx index 92f1b7936..b72f6a26a 100644 --- a/docs/reference/sdks/server/python.mdx +++ b/docs/reference/sdks/server/python.mdx @@ -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 Thu Apr 23 2026 06:20:59 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:57 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/ruby.mdx b/docs/reference/sdks/server/ruby.mdx index 327a50033..dbc0b7693 100644 --- a/docs/reference/sdks/server/ruby.mdx +++ b/docs/reference/sdks/server/ruby.mdx @@ -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 Thu Apr 23 2026 06:21:00 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:58 GMT+0000 (Coordinated Universal Time) --> import MCPInstall from '@site/src/partials/mcp-install'; diff --git a/docs/reference/sdks/server/rust.mdx b/docs/reference/sdks/server/rust.mdx index b417dee1d..05e2f2387 100644 --- a/docs/reference/sdks/server/rust.mdx +++ b/docs/reference/sdks/server/rust.mdx @@ -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 Thu Apr 23 2026 06:21:00 GMT+0000 (Coordinated Universal Time) +Last updated at Fri Apr 24 2026 08:49:58 GMT+0000 (Coordinated Universal Time) -->

diff --git a/src/datasets/sdks/sdk-compatibility.json b/src/datasets/sdks/sdk-compatibility.json index 258345849..b22f60248 100644 --- a/src/datasets/sdks/sdk-compatibility.json +++ b/src/datasets/sdks/sdk-compatibility.json @@ -446,7 +446,7 @@ "path": "/docs/reference/sdks/client/kotlin#logging" }, "Domains": { - "status": "❌", + "status": "⚠️", "path": "/docs/reference/sdks/client/kotlin#domains" }, "Eventing": {