Releases: openflagr/flagr
1.1.6
1.1.6 (2020-03-17)
Fixed bugs:
- UI appears to delete the wrong constraint #290
Closed issues:
- Question: Flags Usage Stats #325
- [Bug] When attempting to save an invalid JSON blob for a variant attachment, flagr reports success #324
- [question/feature request] Allow slashes (/) in flag keys #315
- [Development]Met error after executing 'make all' #309
- make fails with dependency error #303
- Need Feeedback on a client acting as a local evaluator #298
- Question: Other ways of setting created_by or updated_by #297
- Using
getFlag
andfindFlags
in python and go clients returns non-matching objects #294 - Variant Distribution does not work #293
- [feat] Add Flagr version to UI #287
- [feat] allow creating a flag with a specific ID #286
- UI not using correct value for ID #278
Merged pull requests:
- Bump version to 1.1.6 #333 (zhouzhuojie)
- Bump to go 1.14 #332 (zhouzhuojie)
- Bump npm package and fix security deps #329 (zhouzhuojie)
- Fix golangci-lint for context string key unittest #328 (zhouzhuojie)
- Fix json attachment validation and minimist dependency #327 (zhouzhuojie)
- Bump npm packages #321 (zhouzhuojie)
- [Feat] Added Flagr version to UI #319 (wesleimp)
- Allow slashes in the flag name regex #316 (Cull-Methi)
- Remove fmt.Println from Prometheus middleware #313 (gfloyd)
- Fix swagger version #311 (zhouzhuojie)
- Add ability to enable newrelic's distributed tracing #305 (jaysonsantos)
- Fix golangci-lint deps #304 (zhouzhuojie)
- Update flagr_use_cases.md #302 (sircelsius)
- Setting created_by/updated_by via header #300 (pacoguzman)
- feat: Put EvalFlag public #299 (tkanos)
- Change Postgres connection string example #296 (iJackUA)
- Fix UI for constraint deletion #295 (zhouzhuojie)
- docs: update Dynamic Configuration section #280 (kgeorgiou)
1.1.5
1.1.4
Features
#268 Add search in the front page of flagr UI. Thanks to @yosyad
Bug Fixes
#273 Fix undefined flag id in the UI when the flag is deleted. Thanks again to @yosyad
#275 Fix float equality comparison problem. Previously, the epsilon is set as 1e-6 for relative difference, now, we check 1e-6 for absolute difference first, and then the relative difference.
1.1.3
1.1.2
Features
#248 Upgrade to go 1.12 and migrated to go mod
#253 Support JSON format for logrus logging. Thanks to @croemmich
#257 Relax the key validation to accept ^[\w\d-]+$
. Thanks to @raviambati
#262 Fix health check endpoint to return Content-Type with application/json instead of just empty response.
Bug Fixes
#260 Bump webpack bundle analyzer
1.1.1
Features
#234 Use FLAGR_WEB_PREFIX
for both main api and flagr UI
#243 Add notes support. Thanks to @crberube
#247 Add EvalOnlyMode
and extend DBDriver
with json_file
and json_http
. People can decouple DB from eval cache if people want to opt-in these options.
Bug Fixes
#242 Remove entity_type statsd tag due to its possible high cardinality
1.1.0
Changes
❗️#239 introduced a semi-breaking change to the evalResult model. Since fields are no longer required, the zero value (e.g. null
, 0
) fields are ignored in the final evalResult payload. Old versions of goflagr
, rbflagr
, and jsflagr
are compatible with this change.
{
"evalContext": {
"enableDebug": true,
"entityContext": {
"hello": "world"
},
"entityID": "a1234",
"entityType": "report",
"flagID": 1,
"flagKey": "kmmcd1nsd6ze56chh"
},
"evalDebugLog": {
"segmentDebugLogs": [
{
"msg": "argument: state not found",
"segmentID": 1
}
]
},
"flagID": 1,
"flagKey": "kmmcd1nsd6ze56chh",
"flagSnapshotID": 8,
"segmentID": 1,
"timestamp": "2019-03-20T00:11:40Z",
"variantAttachment": null,
"variantID": null,
"variantKey": null
}
becomes
{
"evalContext": {
"enableDebug": true,
"entityContext": {
"hello": "world"
},
"entityID": "a1234",
"entityType": "report",
"flagID": 1,
"flagKey": "kmmcd1nsd6ze56chh"
},
"evalDebugLog": {
"segmentDebugLogs": [
{
"msg": "argument: state not found",
"segmentID": 1
}
]
},
"flagID": 1,
"flagKey": "kmmcd1nsd6ze56chh",
"flagSnapshotID": 8,
"segmentID": 1,
"timestamp": "2019-03-20T00:11:40Z"
}
1.0.15
1.0.14
Features
- #209 Supports Google PubSub for data records. Thanks to @vic3lord @crberube
- #221 Supports Prometheus export.
/metrics
endpoint is up. Thanks to @jasongwartz - #219 Bump conditions to support faster evalution of
str IN array
when the array is super long.
Bug fixes
- #223 Fixes the relative path of flagr UI
1.0.13
Features
- #183 User claim in JWT auth is now configurable, previously its default value is
sub
- #189 Add kafka version config
- #190 Add integration tests for three supported DBs. MySQL, PostgreSQL, and Sqlite3
- #200 Add
GET /flags?preload=true
to get preloaded segments and variants - #205 Add datadog apm support
- #208 Add retry for DB connection