Skip to content
open-featurePublic

About

OpenFeature SDKs for Dart server and client applications, including Flutter.

Resources

Code of conduct

Contributing

Security policy

Stars

26 stars

Watchers

19 watching

Forks

OpenFeature Logo

OpenFeature Dart SDKs

Built with Dart Code Coverage GitHub CI Status

This repository contains the independently versioned OpenFeature SDK packages for Dart server and client applications.

Packages

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>.

Repository layout migration

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_sdk

Repository-relative scripts and local path dependencies must make the same adjustment. See the repository layout migration guide for compatibility details.

Client SDK release readiness

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.

Development

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.

Community

About

OpenFeature SDKs for Dart server and client applications, including Flutter.

Resources

Code of conduct

Contributing

Security policy

Stars

26 stars

Watchers

19 watching

Forks

Releases

Used by

Contributors

Languages