Skip to content

Latest commit

 

History

History
95 lines (59 loc) · 2.02 KB

DEPRECATIONS.md

File metadata and controls

95 lines (59 loc) · 2.02 KB

Deprecation Notices

This page is used to list deprecation notices for Flipt.

Deprecated configuration options will be removed after ~6 months from the time they were deprecated.

Deprecated API endpoints, fields and objects will be removed after ~1 year from the time they were deprecated.

Active Deprecations

API ListFlagRequest, ListSegmentRequest, ListRuleRequest offset

since v1.13.0

offset has been deprecated in favor of page_token/next_page_token for ListFlagRequest, ListSegmentRequest and ListRuleRequest. See: #936.

db.migrations.path and db.migrations_path

since v1.14.0

These options are no longer considered during Flipt execution. Database migrations are embedded directly within the Flipt binary.

cache.memory.enabled

since v1.10.0

Enabling in-memory cache via cache.memory is deprecated in favor of setting the cache.backend to memory and cache.enabled to true.

=== Before

``` yaml
cache:
  memory:
    enabled: true
```

=== After

``` yaml
cache:
  enabled: true
  backend: memory
```

cache.memory.expiration

since v1.10.0

Setting cache expiration via cache.memory is deprecated in favor of setting the cache.backend to memory and cache.ttl to the desired duration.

=== Before

``` yaml
cache:
  memory:
    expiration: 1m
```

=== After

``` yaml
cache:
  enabled: true
  backend: memory
  ttl: 1m
```

Expired Deprecation Notices

The following options were deprecated in the past and were already removed.