You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2023/06/14 23:59:56 UTC

[superset] tag 2.1.1rc1 updated (649b355767 -> f2724a7af4)

This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a change to tag 2.1.1rc1
in repository https://gitbox.apache.org/repos/asf/superset.git


*** WARNING: tag 2.1.1rc1 was modified! ***

    from 649b355767 (commit)
      to f2724a7af4 (commit)
    from 649b355767 bump version, changelog and updating for 2.1
     add 9096e27794 chore: Add docs for ssh tunneling (#23131)
     add ae6e2a00a0 fix(rbac): show objects accessible by database access perm (#23118)
     add 0082cf6a02 fix: bump FAB to 4.3.0 (#23184)
     add 7d014ad9dd fix(clickhouse): add clickhouse connect driver (#23185)
     add a94e67243b fix(clickhouse): add missing default format (#23192)
     add 22bab714d6 fix(dashboard): Focusing charts and native filters from filters badge (#23190)
     add b14e53e492 fix: memoized decorator memory leak (#23139)
     add 2f3758278f fix: add disallowed query params for engines specs (#23217)
     add bac5babff8 fix(dashboard): Don't show cross filters checkbox to users without write permissions (#23237)
     add 1f04b17f44 docs: update installation docs to include frontend asset build (#23199)
     add c60ba87d0f fix: refuse to start with default secret on non debug envs (#23186)
     add a336e685cd fix(dao): use explicit id filter (#23246)
     add d670cb6a7f fix: customize tab on heatmap chart is blank (#23243)
     add 224f962e46 fix(dashboard): Charts crashing when cross filter on adhoc column is applied (#23238)
     add 81a13189b0 fix(dashboard): Infinite load when filter with default first value is out of scope (#23299)
     add 231d39ae2e docs: improve API v1 migration documentation (#23298)
     add 29e36b4cb3 update changelog
     add e42c2a7ab3 chore: use util test env for init check (#23325)
     add 4f6b83a050 update releasing process for testing
     add b6b9a925e4 update changelog
     add b92e4fb49e fix(webdriver): default WEBDRIVER_OPTION_ARGS and update Firefox deps (#23388)
     add d80e67d819 bump package-lock version
     add 2817aebd69 update changelog
     add e4d3f7d5d3 chore(superset-ui): publish v0.19.0
     add 9bab31a55f chore(superset-ui): publish v2.1.0
     add 22e3ed161a fix: Validate jinja rendered query (#22851)
     add da157a70a7 fix(Pivot Table v2): resolved full width issue (#23393)
     add 3f13463281 fix(chart): non existent time grain no longer breaks the application (#23441)
     add 8f57d90efa fix(legacy-plugin-chart-heatmap): fix adhoc column tooltip (#23507)
     add 86f79be876 fix(generic-x-axis): skip initial time filter for legacy charts (#23506)
     add d04c2a5a13 fix(dash import): Ensure old datasource ids are not referenced in imported charts (#23582)
     add d96ba10fc3 fix(dashboard-rbac): use normal rbac when no roles chosen (#23586)
     add bb6ab97286 fix(mssql): apply top after distinct (#23751)
     add 502b8b81e0 test #1
     add 831978f0f7 fix: check sqlalchemy_uri (#23901)
     add cfc2ca672e fix: permission checks on import (#23200)
     add 0a9f47e4ac fix: load examples as anon user (#23600)
     add 8821174921 feat: add enforce URI query params with a specific for MySQL (#23723)
     add 4345a14841 add license to package and plugin readme files
     add 2f3471a87e lint
     add b26901cb05 fix: allow db driver distinction on enforced URI params (#23769)
     add 483195ad70 remove blocking test from release
     add f244c24bb9 lint
     add f478038281 add changelog
     add b53325e576 remove tests that don't apply
     add 831cd9b030 chore: Remove unnecessary information from response (#24056)
     add 8d32525f97 chore: update UPDATING for 2.1.0 (#24294)
     add e804489a89 fix: db validate parameters permission (#24185)
     add 4af81bf70a fix: disable SHOW_STACKTRACE by default (#24137)
     add a25347c113 fix: enable strong session protection by default (#24256)
     add 9e6c9d2aa3 fix: handle comments in `has_table_query` (#23882)
     add cfb4d27d8c lint
     add 5f21e7385f fix: handle temporal columns in presto partitions (#24054)
     add 7247b9bb07 merge in fix with migration (#24314)
     add 801389f2f1 update changelog
     add 3f20b9ebab update package version
     new c137b5428b update changelog
     new f2724a7af4 retry tables on import

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/docker.yml                       |   18 +
 .github/workflows/superset-python-unittest.yml     |    2 +
 CHANGELOG.md                                       |   72 +-
 Dockerfile                                         |    9 +-
 RELEASING/Dockerfile.from_local_tarball            |    3 +-
 RELEASING/from_tarball_entrypoint.sh               |    4 +
 RESOURCES/FEATURE_FLAGS.md                         |    1 +
 UPDATING.md                                        |   22 +
 docker/.env-non-dev                                |    1 +
 .../creating-your-first-dashboard.mdx              |    5 +-
 docs/docs/installation/configuring-superset.mdx    |    4 +-
 .../installing-superset-from-scratch.mdx           |    6 +
 docs/docs/installation/setup-ssh-tunneling.mdx     |   21 +
 docs/docs/security.mdx                             |   31 +-
 requirements/base.txt                              |    2 +-
 setup.py                                           |    2 +-
 superset-frontend/CHANGELOG.md                     | 4354 ++++++++++++++++++++
 .../integration/dataset/dataset_list.test.ts       |    2 +-
 superset-frontend/lerna.json                       |    2 +-
 superset-frontend/package-lock.json                |   64 +-
 superset-frontend/package.json                     |    2 +-
 .../packages/generator-superset/CHANGELOG.md       |   52 +-
 .../packages/generator-superset/package.json       |    2 +-
 .../superset-ui-chart-controls/CHANGELOG.md        |  214 +-
 .../superset-ui-chart-controls/package.json        |    2 +-
 .../src/shared-controls/mixins.tsx                 |    4 +-
 .../packages/superset-ui-core/CHANGELOG.md         |  252 +-
 .../packages/superset-ui-core/package.json         |    2 +-
 .../packages/superset-ui-switchboard/CHANGELOG.md  |   35 +
 .../superset-ui-switchboard/package-lock.json      |    4 +-
 .../packages/superset-ui-switchboard/package.json  |   30 +-
 .../legacy-plugin-chart-calendar/CHANGELOG.md      |   60 +-
 .../legacy-plugin-chart-calendar/package.json      |    2 +-
 .../plugins/legacy-plugin-chart-chord/CHANGELOG.md |   52 +-
 .../plugins/legacy-plugin-chart-chord/package.json |   34 +-
 .../legacy-plugin-chart-country-map/CHANGELOG.md   |   76 +-
 .../legacy-plugin-chart-country-map/package.json   |   32 +-
 .../legacy-plugin-chart-event-flow/CHANGELOG.md    |   58 +-
 .../legacy-plugin-chart-event-flow/package.json    |   38 +-
 .../legacy-plugin-chart-heatmap/CHANGELOG.md       |   74 +-
 .../legacy-plugin-chart-heatmap/package.json       |    2 +-
 .../legacy-plugin-chart-heatmap/src/Heatmap.js     |   15 +-
 .../legacy-plugin-chart-histogram/CHANGELOG.md     |   66 +-
 .../legacy-plugin-chart-histogram/package.json     |   34 +-
 .../legacy-plugin-chart-horizon/CHANGELOG.md       |   50 +-
 .../legacy-plugin-chart-horizon/package.json       |    2 +-
 .../legacy-plugin-chart-map-box/CHANGELOG.md       |   60 +-
 .../legacy-plugin-chart-map-box/package.json       |    2 +-
 .../legacy-plugin-chart-paired-t-test/CHANGELOG.md |   50 +-
 .../legacy-plugin-chart-paired-t-test/package.json |    2 +-
 .../CHANGELOG.md                                   |   50 +-
 .../package.json                                   |   34 +-
 .../legacy-plugin-chart-partition/CHANGELOG.md     |   66 +-
 .../legacy-plugin-chart-partition/package.json     |    2 +-
 .../legacy-plugin-chart-pivot-table/CHANGELOG.md   |   52 +-
 .../legacy-plugin-chart-pivot-table/package.json   |   34 +-
 .../plugins/legacy-plugin-chart-rose/CHANGELOG.md  |   66 +-
 .../plugins/legacy-plugin-chart-rose/package.json  |    2 +-
 .../legacy-plugin-chart-sankey-loop/CHANGELOG.md   |   50 +-
 .../legacy-plugin-chart-sankey-loop/package.json   |    2 +-
 .../legacy-plugin-chart-sankey/CHANGELOG.md        |   52 +-
 .../legacy-plugin-chart-sankey/package.json        |   34 +-
 .../legacy-plugin-chart-sunburst/CHANGELOG.md      |   60 +-
 .../legacy-plugin-chart-sunburst/package.json      |    2 +-
 .../legacy-plugin-chart-treemap/CHANGELOG.md       |   58 +-
 .../legacy-plugin-chart-treemap/package.json       |    2 +-
 .../legacy-plugin-chart-world-map/CHANGELOG.md     |   76 +-
 .../legacy-plugin-chart-world-map/package.json     |   34 +-
 .../legacy-preset-chart-deckgl/CHANGELOG.md        |   61 +
 .../legacy-preset-chart-deckgl/package.json        |    2 +-
 .../plugins/legacy-preset-chart-nvd3/CHANGELOG.md  |   86 +-
 .../plugins/legacy-preset-chart-nvd3/package.json  |   34 +-
 .../plugins/plugin-chart-echarts/CHANGELOG.md      |  239 +-
 .../plugins/plugin-chart-echarts/package.json      |   34 +-
 .../plugins/plugin-chart-handlebars/CHANGELOG.md   |   61 +
 .../plugins/plugin-chart-handlebars/package.json   |   42 +-
 .../plugins/plugin-chart-pivot-table/CHANGELOG.md  |   81 +-
 .../plugins/plugin-chart-pivot-table/package.json  |   49 +-
 .../src/PivotTableChart.tsx                        |    2 +-
 .../src/react-pivottable/Styles.js                 |    1 +
 .../plugins/plugin-chart-table/CHANGELOG.md        |  120 +-
 .../plugins/plugin-chart-table/package.json        |   34 +-
 .../plugins/plugin-chart-word-cloud/CHANGELOG.md   |   68 +-
 .../plugins/plugin-chart-word-cloud/package.json   |   38 +-
 .../plugins/preset-chart-xy/CHANGELOG.md           |   46 +-
 .../plugins/preset-chart-xy/package.json           |   34 +-
 .../DashboardBuilder/DashboardBuilder.tsx          |    9 +-
 .../dashboard/components/FiltersBadge/index.tsx    |   16 +-
 .../dashboard/components/FiltersBadge/selectors.ts |    5 +-
 .../dashboard/components/PropertiesModal/index.tsx |    2 +-
 .../FilterBar/FilterBarSettings/index.tsx          |    2 +-
 .../FilterBar/FilterControls/FilterControl.tsx     |    2 -
 .../FilterBar/FilterControls/FilterControls.tsx    |   17 +-
 .../FilterBar/FilterControls/FilterValue.tsx       |   43 +-
 .../FilterBar/FiltersDropdownContent/index.tsx     |    3 +
 .../FiltersOutOfScopeCollapsible/index.tsx         |    3 +
 .../nativeFilters/FilterBar/Horizontal.tsx         |    2 -
 .../nativeFilters/FilterBar/Vertical.tsx           |    3 -
 .../components/nativeFilters/FilterBar/index.tsx   |    3 -
 .../components/nativeFilters/FilterBar/types.ts    |    8 +-
 .../FilterBar/useFilterControlFactory.tsx          |    9 +-
 .../nativeFilters/FilterBar/useFilterOutlined.ts}  |   32 +-
 .../nativeFilters/FilterCard/DependenciesRow.tsx   |    4 +-
 .../nativeFilters/FilterCard/FilterCard.test.tsx   |    6 +-
 .../components/ControlPanelsContainer.test.tsx     |   39 +
 .../explore/components/ControlPanelsContainer.tsx  |    4 +-
 superset/charts/api.py                             |    2 -
 superset/charts/commands/importers/v1/utils.py     |   14 +-
 superset/charts/filters.py                         |   26 +-
 superset/commands/importers/v1/examples.py         |   40 +-
 superset/common/query_actions.py                   |   26 +-
 superset/common/query_context_processor.py         |    2 +
 superset/common/utils/query_cache_manager.py       |   15 +
 superset/config.py                                 |   19 +-
 superset/connectors/sqla/models.py                 |   64 +-
 superset/connectors/sqla/utils.py                  |    7 +-
 superset/constants.py                              |    6 +-
 superset/dao/base.py                               |    4 +-
 superset/dashboards/api.py                         |    3 -
 .../dashboards/commands/importers/v1/__init__.py   |    9 +-
 superset/dashboards/commands/importers/v1/utils.py |   18 +-
 superset/dashboards/filters.py                     |   14 +-
 superset/dashboards/permalink/commands/base.py     |    3 +-
 superset/dashboards/permalink/commands/create.py   |    1 +
 superset/dashboards/permalink/commands/get.py      |    6 +-
 superset/dashboards/schemas.py                     |    4 +-
 superset/databases/commands/importers/v1/utils.py  |   17 +-
 superset/datasets/api.py                           |    4 +-
 superset/datasets/commands/importers/v1/utils.py   |   17 +-
 superset/db_engine_specs/base.py                   |   41 +-
 superset/db_engine_specs/clickhouse.py             |  315 +-
 superset/db_engine_specs/drill.py                  |   11 +-
 superset/db_engine_specs/hive.py                   |   12 +-
 superset/db_engine_specs/mysql.py                  |   20 +-
 superset/db_engine_specs/presto.py                 |   27 +-
 superset/db_engine_specs/snowflake.py              |   10 +-
 superset/examples/utils.py                         |    6 +-
 superset/exceptions.py                             |    4 +
 superset/explore/permalink/commands/base.py        |    3 +-
 superset/explore/permalink/commands/create.py      |    3 +-
 superset/explore/permalink/commands/get.py         |    1 +
 superset/extensions/metastore_cache.py             |   11 +-
 superset/initialization/__init__.py                |   18 +-
 superset/jinja_context.py                          |    8 +-
 superset/key_value/commands/create.py              |   23 +-
 superset/key_value/commands/get.py                 |   15 +-
 superset/key_value/commands/update.py              |   11 +-
 superset/key_value/commands/upsert.py              |   13 +-
 superset/key_value/shared_entries.py               |   12 +-
 superset/key_value/types.py                        |   33 +-
 ...29_09-24_620241d1153f_update_time_grain_sqla.py |    2 -
 ...a5681ddfd_convert_key_value_entries_to_json.py} |   66 +-
 superset/models/core.py                            |   24 +-
 superset/models/dashboard.py                       |    6 +-
 superset/models/datasource_access_request.py       |    2 -
 superset/models/filter_set.py                      |    6 +-
 superset/models/helpers.py                         |    7 +-
 superset/models/slice.py                           |   19 +-
 superset/queries/api.py                            |    1 -
 superset/queries/schemas.py                        |    2 +-
 superset/security/analytics_db_safety.py           |   14 +-
 superset/security/manager.py                       |   43 +-
 superset/sql_parse.py                              |    4 +-
 superset/sqllab/commands/execute.py                |    6 +-
 superset/tags/schemas.py                           |   59 +
 superset/temporary_cache/api.py                    |   13 +-
 superset/temporary_cache/commands/parameters.py    |    3 +
 superset/utils/core.py                             |    4 +-
 superset/utils/date_parser.py                      |    6 +-
 superset/utils/decorators.py                       |    6 +-
 superset/{models/cache.py => utils/filters.py}     |   29 +-
 superset/utils/memoized.py                         |   81 -
 superset/views/base.py                             |   34 +-
 superset/views/chart/filters.py                    |    9 +-
 superset/views/core.py                             |  100 +-
 superset/views/dashboard/mixin.py                  |    2 +-
 superset/views/utils.py                            |    8 +-
 superset/viz.py                                    |   33 +-
 tests/integration_tests/charts/api_tests.py        |  127 +-
 tests/integration_tests/charts/commands_tests.py   |   11 +-
 tests/integration_tests/charts/data/api_tests.py   |   34 +
 tests/integration_tests/csv_upload_tests.py        |  146 +-
 tests/integration_tests/dashboards/api_tests.py    |  106 +-
 .../integration_tests/dashboards/commands_tests.py |   15 +-
 .../dashboards/security/security_rbac_tests.py     |   59 +-
 .../integration_tests/databases/commands_tests.py  |  110 +-
 tests/integration_tests/datasets/api_tests.py      |  139 +-
 tests/integration_tests/datasets/commands_tests.py |   17 +-
 .../db_engine_specs/base_engine_spec_tests.py      |    3 +-
 .../explore/permalink/api_tests.py                 |    5 +-
 tests/integration_tests/fixtures/importexport.py   |  105 +
 .../key_value/commands/create_test.py              |   55 +-
 .../key_value/commands/delete_test.py              |   13 +-
 .../key_value/commands/fixtures.py                 |   15 +-
 .../key_value/commands/get_test.py                 |   25 +-
 .../key_value/commands/update_test.py              |   11 +-
 .../key_value/commands/upsert_test.py              |   11 +-
 tests/integration_tests/model_tests.py             |   25 +
 tests/integration_tests/queries/api_tests.py       |    1 -
 .../queries/saved_queries/commands_tests.py        |   10 +-
 .../security/analytics_db_safety_tests.py          |   84 +-
 tests/integration_tests/sqllab_tests.py            |   40 +-
 tests/integration_tests/utils_tests.py             |    1 +
 .../charts/commands/importers/v1/import_test.py    |   45 +-
 .../commands/importers/v1/assets_test.py           |   16 +-
 .../commands/importers/v1/import_test.py           |   46 +-
 .../databases/commands/importers/v1/import_test.py |   44 +-
 .../datasets/commands/importers/v1/import_test.py  |   38 +-
 .../unit_tests/db_engine_specs/test_clickhouse.py  |  162 +-
 tests/unit_tests/db_engine_specs/test_mssql.py     |    5 +-
 tests/unit_tests/db_engine_specs/test_mysql.py     |   80 +-
 tests/unit_tests/db_engine_specs/test_presto.py    |   43 +-
 tests/unit_tests/memoized_tests.py                 |   96 -
 tests/unit_tests/models/core_test.py               |    4 +-
 tests/unit_tests/sql_parse_tests.py                |    8 +
 215 files changed, 9266 insertions(+), 1849 deletions(-)
 create mode 100644 docs/docs/installation/setup-ssh-tunneling.mdx
 create mode 100644 superset-frontend/CHANGELOG.md
 create mode 100644 superset-frontend/packages/superset-ui-switchboard/CHANGELOG.md
 create mode 100644 superset-frontend/plugins/legacy-preset-chart-deckgl/CHANGELOG.md
 create mode 100644 superset-frontend/plugins/plugin-chart-handlebars/CHANGELOG.md
 copy superset-frontend/src/dashboard/{util/getChartAndLabelComponentIdFromPath.test.js => components/nativeFilters/FilterBar/useFilterOutlined.ts} (65%)
 copy superset/migrations/versions/{2022-06-27_14-59_7fb8bca906d2_permalink_rename_filterstate.py => 2023-05-01_12-03_9c2a5681ddfd_convert_key_value_entries_to_json.py} (55%)
 create mode 100644 superset/tags/schemas.py
 copy superset/{models/cache.py => utils/filters.py} (53%)
 mode change 100755 => 100644
 delete mode 100644 superset/utils/memoized.py
 delete mode 100644 tests/unit_tests/memoized_tests.py


[superset] 01/02: update changelog

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a commit to tag 2.1.1rc1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit c137b5428b24cecda9137e0f55526ae778072a0f
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Thu Jun 8 16:36:58 2023 -0700

    update changelog
---
 CHANGELOG.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 71955dbc79..2d970a8828 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -39,6 +39,7 @@ under the License.
 
 **Fixes**
 - [#23723](https://github.com/apache/superset/pull/23723) add enforce URI query params with a specific for MySQL (@dpgaspar)
+- [#23600](https://github.com/apache/superset/pull/23600) fix: load examples as anon user (@betodealmeida)
 - [#24054](https://github.com/apache/superset/pull/24054) fix: handle temporal columns in presto partitions (@giftig)
 - [#23882](https://github.com/apache/superset/pull/23882) fix: handle comments in `has_table_query` (@betodealmeida)
 - [#24256](https://github.com/apache/superset/pull/24256) fix: enable strong session protection by default (@dpgaspar)
@@ -60,8 +61,6 @@ under the License.
 - [#24294](https://github.com/apache/superset/pull/24294) chore: update UPDATING for 2.1.0 (@eschutho)
 - [#24056](https://github.com/apache/superset/pull/24056) chore: Remove unnecessary information from response (@geido)
 
-
-
 ### 2.1.0 (Thu Mar 16 21:13:05 2023 -0700)
 **Database Migrations**
 - [#23139](https://github.com/apache/superset/pull/23139) fix: memoized decorator memory leak (@dpgaspar)


[superset] 02/02: retry tables on import

Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

elizabeth pushed a commit to tag 2.1.1rc1
in repository https://gitbox.apache.org/repos/asf/superset.git

commit f2724a7af444974f209afd67189c553295986572
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Wed Jun 14 16:59:02 2023 -0700

    retry tables on import
---
 superset/datasets/commands/importers/v1/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/superset/datasets/commands/importers/v1/utils.py b/superset/datasets/commands/importers/v1/utils.py
index 2df85cdfa2..d0ce87222f 100644
--- a/superset/datasets/commands/importers/v1/utils.py
+++ b/superset/datasets/commands/importers/v1/utils.py
@@ -168,9 +168,9 @@ def import_dataset(
     except Exception:  # pylint: disable=broad-except
         # MySQL doesn't play nice with GSheets table names
         logger.warning(
-            "Couldn't check if table %s exists, assuming it does", dataset.table_name
+            "Couldn't check if table %s exists, assuming it doesn't", dataset.table_name
         )
-        table_exists = True
+        table_exists = False
 
     if data_uri and (not table_exists or force_data):
         load_data(data_uri, dataset, dataset.database, session)