You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- v12.9.0 → Feature excluded (no matching versions)
112
+
113
+
The version matching is deterministic and uses semantic version comparison to find the highest version that is less than or equal to the current app version.
114
+
115
+
**4. Composing version-based scope with threshold scope**: Use when you need to control both version targeting and user percentage rollout simultaneously.
116
+
117
+
In this example: the feature is rolled out to 30% of users on v13.0.0+, and 100% of users on v13.2.0+.
118
+
119
+
```json
120
+
{
121
+
"newFeature": {
122
+
"versions": {
123
+
"13.0.0": [
124
+
{
125
+
"name": "gradual rollout",
126
+
"scope": {
127
+
"type": "threshold",
128
+
"value": 0.3
129
+
},
130
+
"value": { "enabled": true }
131
+
},
132
+
{
133
+
"name": "disabled",
134
+
"scope": {
135
+
"type": "threshold",
136
+
"value": 1
137
+
},
138
+
"value": { "enabled": false }
139
+
}
140
+
],
141
+
"13.2.0": [
142
+
{
143
+
"name": "full rollout",
144
+
"scope": {
145
+
"type": "threshold",
146
+
"value": 1
147
+
},
148
+
"value": { "enabled": true }
149
+
}
150
+
]
151
+
}
152
+
}
153
+
}
154
+
```
155
+
156
+
- v13.0.5 user in 30% bucket → `{ "enabled": true }`
157
+
- v13.0.5 user in 70% bucket → `{ "enabled": false }`
0 commit comments