feat(flags): enabling and deprecating a few feature flags (#24232)
This commit is contained in:
parent
7e70f19b68
commit
d1c57e0ddb
|
|
@ -28,7 +28,6 @@ These features are considered **unfinished** and should only be used on developm
|
||||||
[//]: # "PLEASE KEEP THE LIST SORTED ALPHABETICALLY"
|
[//]: # "PLEASE KEEP THE LIST SORTED ALPHABETICALLY"
|
||||||
|
|
||||||
- ENABLE_ADVANCED_DATA_TYPES
|
- ENABLE_ADVANCED_DATA_TYPES
|
||||||
- ENABLE_TEMPLATE_REMOVE_FILTERS
|
|
||||||
- KV_STORE
|
- KV_STORE
|
||||||
- PRESTO_EXPAND_DATA
|
- PRESTO_EXPAND_DATA
|
||||||
- SHARE_QUERIES_VIA_KV_STORE
|
- SHARE_QUERIES_VIA_KV_STORE
|
||||||
|
|
@ -56,7 +55,6 @@ These features are **finished** but currently being tested. They are usable, but
|
||||||
- RLS_IN_SQLLAB
|
- RLS_IN_SQLLAB
|
||||||
- SSH_TUNNELING [(docs)](https://superset.apache.org/docs/installation/setup-ssh-tunneling)
|
- SSH_TUNNELING [(docs)](https://superset.apache.org/docs/installation/setup-ssh-tunneling)
|
||||||
- USE_ANALAGOUS_COLORS
|
- USE_ANALAGOUS_COLORS
|
||||||
- VERSIONED_EXPORT
|
|
||||||
|
|
||||||
## Stable
|
## Stable
|
||||||
|
|
||||||
|
|
@ -95,5 +93,7 @@ These features flags currently default to True and **will be removed in a future
|
||||||
- DISABLE_DATASET_SOURCE_EDIT
|
- DISABLE_DATASET_SOURCE_EDIT
|
||||||
- ENABLE_EXPLORE_DRAG_AND_DROP
|
- ENABLE_EXPLORE_DRAG_AND_DROP
|
||||||
- ENABLE_EXPLORE_JSON_CSRF_PROTECTION
|
- ENABLE_EXPLORE_JSON_CSRF_PROTECTION
|
||||||
|
- ENABLE_TEMPLATE_REMOVE_FILTERS
|
||||||
- GENERIC_CHART_AXES
|
- GENERIC_CHART_AXES
|
||||||
- REMOVE_SLICE_LEVEL_LABEL_COLORS
|
- REMOVE_SLICE_LEVEL_LABEL_COLORS
|
||||||
|
- VERSIONED_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ This file documents any backwards-incompatible changes in Superset and
|
||||||
assists people when migrating to a new version.
|
assists people when migrating to a new version.
|
||||||
|
|
||||||
## Next
|
## Next
|
||||||
|
- [24232](https://github.com/apache/superset/pull/24232) Enables ENABLE_TEMPLATE_REMOVE_FILTERS, DRILL_TO_DETAIL, DASHBOARD_CROSS_FILTERS by default, marks VERSIONED_EXPORT and ENABLE_TEMPLATE_REMOVE_FILTERS as deprecated.
|
||||||
- [23652](https://github.com/apache/superset/pull/23652) Enables GENERIC_CHART_AXES feature flag by default.
|
- [23652](https://github.com/apache/superset/pull/23652) Enables GENERIC_CHART_AXES feature flag by default.
|
||||||
- [23226](https://github.com/apache/superset/pull/23226) Migrated endpoint `/estimate_query_cost/<int:database_id>` to `/api/v1/sqllab/estimate/`. Corresponding permissions are can estimate query cost on SQLLab. Make sure you add/replace the necessary permissions on any custom roles you may have.
|
- [23226](https://github.com/apache/superset/pull/23226) Migrated endpoint `/estimate_query_cost/<int:database_id>` to `/api/v1/sqllab/estimate/`. Corresponding permissions are can estimate query cost on SQLLab. Make sure you add/replace the necessary permissions on any custom roles you may have.
|
||||||
- [22809](https://github.com/apache/superset/pull/22809): Migrated endpoint `/superset/sql_json` and `/superset/results/` to `/api/v1/sqllab/execute/` and `/api/v1/sqllab/results/` respectively. Corresponding permissions are `can sql_json on Superset` to `can execute on SQLLab`, `can results on Superset` to `can results on SQLLab`. Make sure you add/replace the necessary permissions on any custom roles you may have.
|
- [22809](https://github.com/apache/superset/pull/22809): Migrated endpoint `/superset/sql_json` and `/superset/results/` to `/api/v1/sqllab/execute/` and `/api/v1/sqllab/results/` respectively. Corresponding permissions are `can sql_json on Superset` to `can execute on SQLLab`, `can results on Superset` to `can results on SQLLab`. Make sure you add/replace the necessary permissions on any custom roles you may have.
|
||||||
|
|
|
||||||
|
|
@ -424,7 +424,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
|
||||||
# See `PR 7935 <https://github.com/apache/superset/pull/7935>`_ for more details.
|
# See `PR 7935 <https://github.com/apache/superset/pull/7935>`_ for more details.
|
||||||
"ENABLE_EXPLORE_JSON_CSRF_PROTECTION": False, # deprecated
|
"ENABLE_EXPLORE_JSON_CSRF_PROTECTION": False, # deprecated
|
||||||
"ENABLE_TEMPLATE_PROCESSING": False,
|
"ENABLE_TEMPLATE_PROCESSING": False,
|
||||||
"ENABLE_TEMPLATE_REMOVE_FILTERS": False,
|
"ENABLE_TEMPLATE_REMOVE_FILTERS": True, # deprecated
|
||||||
# Allow for javascript controls components
|
# Allow for javascript controls components
|
||||||
# this enables programmers to customize certain charts (like the
|
# this enables programmers to customize certain charts (like the
|
||||||
# geospatial ones) by inputting javascript in controls. This exposes
|
# geospatial ones) by inputting javascript in controls. This exposes
|
||||||
|
|
@ -446,13 +446,13 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
|
||||||
# When True, this escapes HTML (rather than rendering it) in Markdown components
|
# When True, this escapes HTML (rather than rendering it) in Markdown components
|
||||||
"ESCAPE_MARKDOWN_HTML": False,
|
"ESCAPE_MARKDOWN_HTML": False,
|
||||||
"DASHBOARD_NATIVE_FILTERS": True, # deprecated
|
"DASHBOARD_NATIVE_FILTERS": True, # deprecated
|
||||||
"DASHBOARD_CROSS_FILTERS": False,
|
"DASHBOARD_CROSS_FILTERS": True,
|
||||||
# Feature is under active development and breaking changes are expected
|
# Feature is under active development and breaking changes are expected
|
||||||
"DASHBOARD_NATIVE_FILTERS_SET": False, # deprecated
|
"DASHBOARD_NATIVE_FILTERS_SET": False, # deprecated
|
||||||
"DASHBOARD_FILTERS_EXPERIMENTAL": False, # deprecated
|
"DASHBOARD_FILTERS_EXPERIMENTAL": False, # deprecated
|
||||||
"DASHBOARD_VIRTUALIZATION": False,
|
"DASHBOARD_VIRTUALIZATION": False,
|
||||||
"GLOBAL_ASYNC_QUERIES": False,
|
"GLOBAL_ASYNC_QUERIES": False,
|
||||||
"VERSIONED_EXPORT": True,
|
"VERSIONED_EXPORT": True, # deprecated
|
||||||
"EMBEDDED_SUPERSET": False,
|
"EMBEDDED_SUPERSET": False,
|
||||||
# Enables Alerts and reports new implementation
|
# Enables Alerts and reports new implementation
|
||||||
"ALERT_REPORTS": False,
|
"ALERT_REPORTS": False,
|
||||||
|
|
@ -482,7 +482,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
|
||||||
"CACHE_QUERY_BY_USER": False,
|
"CACHE_QUERY_BY_USER": False,
|
||||||
# Enable sharing charts with embedding
|
# Enable sharing charts with embedding
|
||||||
"EMBEDDABLE_CHARTS": True,
|
"EMBEDDABLE_CHARTS": True,
|
||||||
"DRILL_TO_DETAIL": False,
|
"DRILL_TO_DETAIL": True,
|
||||||
"DRILL_BY": False,
|
"DRILL_BY": False,
|
||||||
"DATAPANEL_CLOSED_BY_DEFAULT": False,
|
"DATAPANEL_CLOSED_BY_DEFAULT": False,
|
||||||
"HORIZONTAL_FILTER_BAR": False,
|
"HORIZONTAL_FILTER_BAR": False,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue