This repository contains the independently versioned OpenFeature SDK packages for Dart server and client applications.
| Package | Source | Status |
|---|---|---|
openfeature_dart_server_sdk |
packages/openfeature_dart_server_sdk |
Released, non-beta dynamic-context server SDK (pre-1.0); see package release notes for current version and support |
openfeature_dart_client_sdk |
packages/openfeature_dart_client_sdk |
Non-beta static-context client SDK (pre-1.0); see package release notes for current version and support |
Each package owns its pubspec, changelog, documentation, source, tests, release
history, and publication path. Server releases retain the v<version> tag format.
Client releases use openfeature_dart_client_sdk-v<version>.
The server SDK moved from the repository root to
packages/openfeature_dart_server_sdk. Package names, pub.dev dependencies,
and package: imports are unchanged.
Git dependencies that previously resolved the server package from the repository root must set the package path:
dependencies:
openfeature_dart_server_sdk:
git:
url: https://github.com/open-feature/dart-sdk.git
path: packages/openfeature_dart_server_sdkRepository-relative scripts and local path dependencies must make the same adjustment. See the repository layout migration guide for compatibility details.
The framework-neutral client SDK has no Flutter dependency, but Flutter applications can consume it as a normal Dart package. Consult the package guide and published release notes for current versions and accepted support. Release targets require maintainer acceptance and verified publication. They do not establish a 1.0 API compatibility commitment. Review the requirement-indexed evidence and platform/provider acceptance before treating a target as released.
- Read the client package guide.
- Review the client SDK architecture.
- Review the client SDK conformance matrix.
- Follow the client release procedure.
Install and validate repository tooling from the repository root:
dart pub get
dart analyze
dart test
Run SDK commands from the package being changed:
cd packages/openfeature_dart_server_sdk
dart pub get
dart analyze
dart test
dart pub publish --dry-run
Use packages/openfeature_dart_client_sdk for the equivalent client commands.
The client publication archive is validated from the repository root with:
dart tool/stage_client_package.dart --dry-run
See CONTRIBUTING.md for branch, commit, testing, and DCO requirements.