This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch cves
in repository https://gitbox.apache.org/repos/asf/superset.git
from 6fd345d8e9 Update test
add 4dc5a922e6 build(deps-dev): bump @types/node from 20.0.0 to 20.1.0 in
/superset-websocket (#23962)
add cf3410ad63 build(deps-dev): bump eslint from 8.39.0 to 8.40.0 in
/superset-websocket (#23961)
add 724fd82919 fix(filters): Stop breaking if translateToSql returns an
object (#23715)
add 2af76fc41f fix: MySQL et al. super calls (#23971)
add d96b72d46f chore(sqllab): Refactor react-query by redux-toolkit query
(#23760)
add 7a4117097a fix(migration): handle permalink edge cases correctly
(#23980)
add 48f3db946e docs(feature flags): remove the conflicting entry for
DRILL_BY (#23994)
add 543040b304 chore: Bump python libs (#23986)
add a35764839b chore: Comment 3.8 PY required CI checks (#24002)
add 20d439ac01 chore(actions): adding JavaScript to CodeQL config (#23974)
add 33da642d26 chore(deps): Add dependency-review action (#23951)
add ce0a857906 build(deps-dev): bump @types/node from 20.1.0 to 20.1.1 in
/superset-websocket (#23983)
add 95fbbeb326 build(deps-dev): bump @typescript-eslint/eslint-plugin from
5.59.2 to 5.59.5 in /superset-websocket (#23984)
add 7fb8b38cdf feat: Allows dynamic type on viz migrations (#23975)
add 7757b61c22 chore: Deprecate DND feature flags (#23981)
add 2a2f8a8e0a chore: mark explore_json as deprecated in 3.0 (#23976)
add e3719a1b07 feat: bump to Python3.9 (#23890)
add 0788b5fdcc chore: fix deprecation warnings for SQLALchemy URL (#23770)
add c8beaabab8 test: cover empty AdvancedDataTypes internet_address and
internet_port (#23756)
add 4497601ebc feat(chart-controls): Show detailed data type tooltip when
hovering type icon (#23970)
add c9a0694116 build(deps-dev): bump @types/node from 20.1.1 to 20.1.2 in
/superset-websocket (#24017)
add c963416c09 chore: remove deprecated distutils (#24001)
add 7a55625243 fix(sqllab): rollback clean comments out (#24009)
add 479be86596 fix: typing and using enter to select the table on sql lab
layout (#24028)
add 7fe0ca12c0 chore: remove duplicates of `validate_adhoc_subquery`
(#24023)
add 4a828f57f4 chore: Update mypy and fix stubs issue (#24033)
add f7dd52b8f5 feat: implement time grain in temporal filters (#24035)
add 97482c57b5 chore: bump werkzeug and Flask (#23965)
add 1670275571 feat: Use AntD table in FilterableTable (#23035)
add 33eb4c6b71 build(deps-dev): bump @types/node from 20.1.2 to 20.1.4 in
/superset-websocket (#24052)
add 422e21eb16 fix(plugin-chart-handlebars): Fix TypeError when using
handlebars columns raw mode (#23801)
add 2f33c477e9 chore(docs): add version for postgres when doing brew
install (#24025)
add de96372ba7 chore: add log for ssh tunnel information (#24058)
add e9effd6093 Merge branch 'master' into cves
No new revisions were added by this update.
Summary of changes:
.asf.yaml | 10 +-
.github/workflows/codeql-analysis.yml | 2 +-
.github/workflows/dependency-review.yml | 25 +
.github/workflows/docker_build_push.sh | 13 +-
.github/workflows/superset-applitool-cypress.yml | 2 +-
.github/workflows/superset-cli.yml | 2 +-
.github/workflows/superset-e2e.yml | 2 +-
.github/workflows/superset-helm-lint.yml | 2 +-
.../workflows/superset-python-integrationtest.yml | 6 +-
.github/workflows/superset-python-misc.yml | 6 +-
.github/workflows/superset-python-presto-hive.yml | 4 +-
.github/workflows/superset-python-unittest.yml | 2 +-
.github/workflows/superset-translations.yml | 2 +-
.pre-commit-config.yaml | 16 +-
.pylintrc | 2 +-
Dockerfile | 2 +-
Makefile | 6 +-
RESOURCES/FEATURE_FLAGS.md | 4 +-
UPDATING.md | 1 +
docs/docs/contributing/local-backend.mdx | 2 +-
.../installing-superset-from-scratch.mdx | 2 +-
docs/docs/installation/running-on-kubernetes.mdx | 2 +-
docs/docs/security.mdx | 2 +-
requirements/base.txt | 35 +-
requirements/development.txt | 48 +-
requirements/docker.txt | 4 +
requirements/integration.txt | 60 +--
requirements/testing.txt | 79 ++--
scripts/benchmark_migration.py | 6 +-
setup.cfg | 2 +-
setup.py | 21 +-
superset-frontend/package-lock.json | 162 +------
superset-frontend/package.json | 3 -
.../src/components/ColumnOption.tsx | 23 +-
.../src/components/labelUtils.tsx | 13 +
.../src/shared-controls/dndControls.tsx | 3 +-
.../test/components/labelUtils.test.tsx | 30 ++
.../superset-ui-core/src/utils/featureFlags.ts | 1 -
.../src/plugin/controls/columns.tsx | 5 +-
superset-frontend/spec/helpers/testing-library.tsx | 30 +-
superset-frontend/src/SqlLab/App.jsx | 17 +-
superset-frontend/src/SqlLab/actions/sqlLab.js | 68 +--
.../src/SqlLab/actions/sqlLab.test.js | 32 --
.../SqlLab/components/ResultSet/ResultSet.test.tsx | 6 +-
.../src/SqlLab/components/ResultSet/index.tsx | 13 +-
.../components/RunQueryActionButton/index.tsx | 5 +-
.../SqlLab/components/SqlEditor/SqlEditor.test.jsx | 161 +++----
.../SqlEditorLeftBar/SqlEditorLeftBar.test.jsx | 82 ++--
.../TabbedSqlEditors/TabbedSqlEditors.test.jsx | 9 +-
.../DatabaseSelector/DatabaseSelector.test.tsx | 28 +-
.../src/components/DatabaseSelector/index.tsx | 9 +-
.../components/Datasource/DatasourceModal.test.jsx | 18 +-
.../FilterableTable/FilterableTable.test.tsx | 447 ++++++++++--------
.../src/components/FilterableTable/index.tsx | 522 ++++-----------------
superset-frontend/src/components/Table/index.tsx | 15 +-
.../TableSelector/TableSelector.test.tsx | 28 +-
.../src/components/TableSelector/index.tsx | 9 +-
.../DndColumnSelect.test.tsx | 4 +-
.../DndColumnSelectControl/DndColumnSelect.tsx | 50 +-
.../DndFilterSelect.test.tsx | 8 +-
.../DndColumnSelectControl/DndFilterSelect.tsx | 14 +-
.../DndMetricSelect.test.tsx | 12 +-
.../DndColumnSelectControl/DndMetricSelect.tsx | 24 +-
.../DndColumnSelectControl/DndSelectLabel.test.tsx | 21 +-
.../DndColumnSelectControl/DndSelectLabel.tsx | 6 +-
.../controls/DndColumnSelectControl/types.ts | 1 -
.../FilterControl/AdhocFilter/AdhocFilter.test.js | 32 ++
.../src/explore/exploreUtils/index.js | 4 +-
.../src/hooks/apiResources/queryApi.test.ts | 100 ++++
.../src/hooks/apiResources/queryApi.ts | 71 +++
.../src/hooks/apiResources/schemas.test.ts | 113 +++--
.../src/hooks/apiResources/schemas.ts | 129 +++--
.../src/hooks/apiResources/tables.test.ts | 144 +++---
superset-frontend/src/hooks/apiResources/tables.ts | 144 ++++--
.../src/hooks/useDebounceValue.test.ts | 81 ++++
.../hooks/useDebounceValue.ts} | 31 +-
.../src/types/react-table-config.d.ts | 1 -
superset-frontend/src/views/App.tsx | 49 +-
superset-frontend/src/views/QueryProvider.tsx | 43 --
superset-frontend/src/views/store.ts | 4 +-
superset-frontend/webpack.config.js | 1 -
superset-websocket/package-lock.json | 464 ++++++++++++++----
superset-websocket/package.json | 6 +-
superset/charts/api.py | 2 +-
superset/config.py | 3 +-
superset/connectors/sqla/models.py | 2 +-
superset/connectors/sqla/utils.py | 38 +-
superset/dashboards/api.py | 2 +-
superset/databases/api.py | 2 +-
superset/datasets/api.py | 2 +-
superset/db_engine_specs/base.py | 2 +-
superset/db_engine_specs/clickhouse.py | 2 +-
superset/db_engine_specs/databricks.py | 2 +-
superset/db_engine_specs/db2.py | 4 +-
superset/db_engine_specs/elasticsearch.py | 6 +-
superset/db_engine_specs/hive.py | 2 +-
superset/db_engine_specs/mysql.py | 18 +-
superset/db_engine_specs/ocient.py | 4 +-
superset/db_engine_specs/presto.py | 7 +-
superset/db_engine_specs/snowflake.py | 2 +-
superset/embedded/view.py | 2 +
superset/explore/permalink/commands/create.py | 2 +-
superset/extensions/__init__.py | 2 +-
superset/importexport/api.py | 2 +-
superset/initialization/__init__.py | 10 +-
superset/jinja_context.py | 2 +-
superset/migrations/shared/migrate_viz/base.py | 13 +-
...2a5681ddfd_convert_key_value_entries_to_json.py | 21 +-
superset/models/core.py | 7 +-
superset/models/helpers.py | 51 +-
superset/queries/saved_queries/api.py | 2 +-
superset/result_set.py | 6 +-
superset/sqllab/api.py | 4 +-
superset/sqllab/query_render.py | 4 +-
superset/utils/core.py | 9 +-
superset/utils/encrypt.py | 2 +-
superset/utils/pandas_postprocessing/boxplot.py | 4 +-
superset/utils/pandas_postprocessing/flatten.py | 13 +-
superset/utils/url_map_converters.py | 2 +-
superset/views/base.py | 8 +-
superset/views/core.py | 8 +-
superset/views/utils.py | 4 +-
tests/integration_tests/async_events/api_tests.py | 4 +
tests/integration_tests/charts/data/api_tests.py | 43 +-
tests/integration_tests/core_tests.py | 2 +
.../dashboards/permalink/api_tests.py | 6 +-
.../db_engine_specs/base_engine_spec_tests.py | 82 ++--
.../explore/permalink/api_tests.py | 8 +-
tests/integration_tests/reports/commands_tests.py | 12 +-
tests/integration_tests/reports/scheduler_tests.py | 2 +-
.../security/analytics_db_safety_tests.py | 12 +-
.../integration_tests/tasks/async_queries_tests.py | 6 +
tests/integration_tests/utils/core_tests.py | 4 +-
tests/unit_tests/advanced_data_type/types_tests.py | 47 ++
tests/unit_tests/db_engine_specs/test_drill.py | 8 +-
tests/unit_tests/tasks/test_cron_util.py | 2 +-
tests/unit_tests/utils/test_core.py | 53 ++-
137 files changed, 2291 insertions(+), 1946 deletions(-)
create mode 100644 .github/workflows/dependency-review.yml
create mode 100644 superset-frontend/src/hooks/apiResources/queryApi.test.ts
create mode 100644 superset-frontend/src/hooks/apiResources/queryApi.ts
create mode 100644 superset-frontend/src/hooks/useDebounceValue.test.ts
copy
superset-frontend/{packages/superset-ui-core/src/hooks/useChangeEffect/useChangeEffect.ts
=> src/hooks/useDebounceValue.ts} (61%)
delete mode 100644 superset-frontend/src/views/QueryProvider.tsx