# SDK Feature Support

Some features need a minimum version of your SDK. The table below lists, for each SDK, the first published release that supports each feature. We update it as SDKs are released.

| SDK        | Package                             | Switchbacks               | [Override rules](https://docs.absmartly.com/docs/web-console-docs/experiments/unit-assignment.md#override-rules) | [Split traffic rules](https://docs.absmartly.com/docs/web-console-docs/experiments/unit-assignment.md#split-traffic) | Semver comparison         |
| ---------- | ----------------------------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | ------------------------- |
| Javascript | `@absmartly/javascript-sdk`         | 1.14.1                    | 1.14.1                                                                                                           | 1.14.1                                                                                                               | 1.14.1                    |
| React      | `@absmartly/react-sdk`              | JS SDK ≥ 1.14.1           | JS SDK ≥ 1.14.1                                                                                                  | JS SDK ≥ 1.14.1                                                                                                      | JS SDK ≥ 1.14.1           |
| Vue2       | `@absmartly/vue2-sdk`               | Coming soon               | Coming soon                                                                                                      | Coming soon                                                                                                          | Coming soon               |
| Vue3       | `@absmartly/vue3-sdk`               | Coming soon               | Coming soon                                                                                                      | Coming soon                                                                                                          | Coming soon               |
| Swift      | `swift-sdk` (Swift Package Manager) | 1.6.0 (1.x) / 2.2.0 (2.x) | 1.5.0 (1.x) / 2.0.0 (2.x)                                                                                        | 1.5.0 (1.x) / 2.0.0 (2.x)                                                                                            | 1.5.0 (1.x) / 2.0.0 (2.x) |
| Flutter    | `absmartly_sdk`                     | Coming soon               | Coming soon                                                                                                      | Coming soon                                                                                                          | Coming soon               |
| Dart       | `absmartly_dart`                    | Coming soon               | 2.2.0                                                                                                            | 2.2.0                                                                                                                | 2.2.0                     |
| Java       | `com.absmartly.sdk:core-api`        | 1.10.0                    | 1.7.0                                                                                                            | 1.7.0                                                                                                                | 1.7.0                     |
| Python3    | `absmartly`                         | Coming soon               | 0.3.0                                                                                                            | 0.3.0                                                                                                                | 0.3.0                     |
| Golang     | `github.com/absmartly/go-sdk`       | v1.4.0                    | v1.2.0                                                                                                           | v1.2.0                                                                                                               | v1.2.0                    |
| .NET       | `ABSmartly.Sdk`                     | 1.6.0                     | 1.4.1                                                                                                            | 1.4.1                                                                                                                | 1.4.1                     |
| PHP        | `absmartly/php-sdk`                 | 1.3.0                     | 1.1.0                                                                                                            | 1.1.0                                                                                                                | 1.1.0                     |
| Ruby       | `absmartly`                         | Coming soon               | 1.4.0                                                                                                            | 1.4.0                                                                                                                | 1.4.0                     |

## Notes on specific SDKs

* **React.** The React SDK uses the Javascript SDK installed in your app, so what matters is that version. Check it with `npm ls @absmartly/javascript-sdk`. If it is older than 1.14.1, run `npm install @absmartly/javascript-sdk@^1.14.1`, then check again.
* **Swift.** Swift has two release lines. Use the 1.x version if you're on 1.x, and the 2.x version if you're on 2.x.
