Flagr Versions Save

Flagr is a feature flagging, A/B testing and dynamic configuration microservice

1.1.6

4 years ago

1.1.6 (2020-03-17)

Full Changelog

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 and findFlags 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:

1.1.5

4 years ago

Features

#282 Support HS512 JWT token format. Thanks to @tejash-jl

Bug Fixes

#277 Bump npm packages #281 Bump base alpine docker image #284 Bump go-swagger #288 Bump es-lint

1.1.4

4 years ago

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

4 years ago

Features

  • #259 Add support for arbitrary JSON (in key/value pairs instead of string/string pairs) format for variant attachment. Thanks @saary
  • #258 Add UI support for JSON editor of variant attachment. Thanks @yosyad

1.1.2

4 years ago

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

5 years ago

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

5 years ago

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

5 years ago

Features

#233 Refactor data recorder with FLAGR_RECORDER_FRAME_OUTPUT_MODE #235 Add global switch for evaluation debug field. FLAGR_EVAL_DEBUG_ENABLED

Bug Fixes

#226 Fix default locale in UI

1.0.14

5 years ago

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

5 years ago

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

Bug fixes

  • #186 CORS middleware fixes
  • #191 Fix middleware orders to better catch panic errors