Skip to content

Releases: openflagr/flagr

1.1.6

17 Mar 21:25
eb1857f
Compare
Choose a tag to compare

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

16 Sep 22:35
be93658
Compare
Choose a tag to compare

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

05 Jul 18:00
5b62880
Compare
Choose a tag to compare

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

31 May 17:39
6d30c35
Compare
Choose a tag to compare

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

24 May 21:52
1293e27
Compare
Choose a tag to compare

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

19 Apr 05:07
2709285
Compare
Choose a tag to compare

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

20 Mar 00:15
7c9ffed
Compare
Choose a tag to compare

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

20 Mar 00:09
82dcc45
Compare
Choose a tag to compare

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

22 Feb 23:16
2be16b8
Compare
Choose a tag to compare

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

31 Jan 01:12
4cc964b
Compare
Choose a tag to compare

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