You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: UPDATING.md
+1
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ assists people when migrating to a new version.
31
31
32
32
### Breaking Changes
33
33
34
+
-[26348](https://github.com/apache/superset/issues/26348): Removes the deprecated `CLIENT_CACHE` feature flag. The previous value of the feature flag was `False` and now the feature is permanently removed.
34
35
-[26349](https://github.com/apache/superset/issues/26349): Removes the deprecated `DASHBOARD_CACHE` feature flag. The previous value of the feature flag was `False` and now the feature is permanently removed.
35
36
-[26369](https://github.com/apache/superset/issues/26369): Removes the Filter Sets feature including the deprecated `DASHBOARD_NATIVE_FILTERS_SET` feature flag and all related API endpoints. The feature is permanently removed as it was not being actively maintained, it was not widely used, and it was full of bugs. We also considered that if we were to provide a similar feature, it would be better to re-implement it from scratch given the amount of technical debt that the current implementation has. The previous value of the feature flag was `False` and now the feature is permanently removed.
36
37
-[26343](https://github.com/apache/superset/issues/26343): Removes the deprecated `ENABLE_EXPLORE_DRAG_AND_DROP` feature flag. The previous value of the feature flag was `True` and now the feature is permanently enabled.
If you are using your own custom Dockerfile with official Superset image as base image, then you can add your overrides as shown below:
23
+
22
24
```bash
23
25
COPY --chown=superset superset_config.py /app/
24
26
ENV SUPERSET_CONFIG_PATH /app/superset_config.py
25
27
```
26
28
27
-
Docker compose deployments handle application configuration differently. See [https://github.com/apache/superset/tree/master/docker#readme](https://github.com/apache/superset/tree/master/docker#readme) for details.
29
+
Docker compose deployments handle application configuration differently. See [https://github.com/apache/superset/tree/master/docker#readme](https://github.com/apache/superset/tree/master/docker#readme) for details.
28
30
29
31
The following is an example of just a few of the parameters you can set in your `superset_config.py` file:
32
+
30
33
```
31
34
# Superset specific config
32
35
ROW_LIMIT = 5000
@@ -88,7 +91,7 @@ WTF_CSRF_EXEMPT_LIST = [‘’]
88
91
89
92
#### Adding an initial SECRET_KEY
90
93
91
-
Superset requires a user-specified SECRET_KEY to start up. This requirement was [added in version 2.1.0 to force secure configurations](https://preset.io/blog/superset-security-update-default-secret_key-vulnerability/). Add a strong SECRET_KEY to your `superset_config.py` file like:
94
+
Superset requires a user-specified SECRET_KEY to start up. This requirement was [added in version 2.1.0 to force secure configurations](https://preset.io/blog/superset-security-update-default-secret_key-vulnerability/). Add a strong SECRET_KEY to your `superset_config.py` file like:
92
95
93
96
```python
94
97
SECRET_KEY='YOUR_OWN_RANDOM_GENERATED_SECRET_KEY'
@@ -99,7 +102,7 @@ You can generate a strong secure key with `openssl rand -base64 42`.
99
102
#### Rotating to a newer SECRET_KEY
100
103
101
104
If you wish to change your existing SECRET_KEY, add the existing SECRET_KEY to your `superset_config.py` file as
102
-
`PREVIOUS_SECRET_KEY = `and provide your new key as `SECRET_KEY =`. You can find your current SECRET_KEY with these
105
+
`PREVIOUS_SECRET_KEY = `and provide your new key as `SECRET_KEY =`. You can find your current SECRET_KEY with these
103
106
commands - if running Superset with Docker, execute from within the Superset application container:
104
107
105
108
```python
@@ -119,23 +122,21 @@ database engine on a separate host or container.
119
122
120
123
Superset supports the following database engines/versions:
To configure Superset metastore set `SQLALCHEMY_DATABASE_URI` config key on `superset_config`
136
138
to the appropriate connection string.
137
139
138
-
139
140
### Running on a WSGI HTTP Server
140
141
141
142
While you can run Superset on NGINX or Apache, we recommend using Gunicorn in async mode. This
@@ -167,7 +168,7 @@ So, when you use `BigQuery` datasource on Superset, you have to use `gunicorn` w
167
168
168
169
### HTTPS Configuration
169
170
170
-
You can configure HTTPS upstream via a load balancer or a reverse proxy (such as nginx) and do SSL/TLS Offloading before traffic reaches the Superset application. In this setup, local traffic from a Celery worker taking a snapshot of a chart for Alerts & Reports can access Superset at a `http://` URL, from behind the ingress point.
171
+
You can configure HTTPS upstream via a load balancer or a reverse proxy (such as nginx) and do SSL/TLS Offloading before traffic reaches the Superset application. In this setup, local traffic from a Celery worker taking a snapshot of a chart for Alerts & Reports can access Superset at a `http://` URL, from behind the ingress point.
171
172
You can also configure [SSL in Gunicorn](https://docs.gunicorn.org/en/stable/settings.html#ssl) (the Python webserver) if you are using an official Superset Docker image.
172
173
173
174
### Configuration Behind a Load Balancer
@@ -191,7 +192,7 @@ RequestHeader set X-Forwarded-Proto "https"
191
192
### Custom OAuth2 Configuration
192
193
193
194
Superset is built on Flask-AppBuilder (FAB), which supports many providers out of the box
194
-
(GitHub, Twitter, LinkedIn, Google, Azure, etc). Beyond those, Superset can be configured to connect
195
+
(GitHub, Twitter, LinkedIn, Google, Azure, etc). Beyond those, Superset can be configured to connect
195
196
with other OAuth2 Authorization Server implementations that support “code” authorization.
196
197
197
198
Make sure the pip package [`Authlib`](https://authlib.org/) is installed on the webserver.
@@ -357,7 +358,6 @@ You can enable or disable features with flag from `superset_config.py`:
0 commit comments