Compare commits

..

18 Commits

Author SHA1 Message Date
Maxime Beauchemin
29fd4a3094 clarifying messages, removing some useless output 2024-12-15 23:17:33 -08:00
Maxime Beauchemin
cd6cc34735 chore: set dev env logging level to INFO (from DEBUG)
Using a higher logging default in dev mode to clean up output. Also setting so TMI messages to debug to prevent not-so-useful information to show up on startup.

Devs can easily switch the logging level to DEBUG if/when needed.
2024-12-15 22:55:47 -08:00
Shane Zarechian
04077ce934 fix(api): typo api.py (#31458) 2024-12-15 13:37:57 -08:00
Maxime Beauchemin
092faa019b chore: remove numba and llvmlite deps as they are large and we don't use them (#31451) 2024-12-13 21:17:52 -08:00
Maxime Beauchemin
1f17b975d6 fix: docker refactor (#31385) 2024-12-13 16:17:44 -08:00
Michael Gerber
15ede02c25 chore(translations): German translation update (#30605) 2024-12-13 16:52:43 -07:00
Maxime Beauchemin
4bccf36375 chore: deprecate pylint in favor of ruff (#31262)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2024-12-13 12:53:14 -08:00
Vitor Avila
21e794a66f fix(database import): Gracefully handle error to get catalog schemas (#31437) 2024-12-13 12:31:10 -03:00
Geido
e1f98e246f fix(Dashboard): Sync color configuration via dedicated endpoint (#31374) 2024-12-13 15:58:02 +02:00
Ville Brofeldt
bf56a327f4 fix(tags): clean up bulk create api and schema (#31427) 2024-12-12 17:54:10 -08:00
Elizabeth Thompson
cd200f07a5 fix: prevent multiple pvm errors on migration (#31332) 2024-12-12 16:26:36 -08:00
Maxime Beauchemin
4ff9aac1fa feat(sqllab): giving the query history pane a facelift (#31316) 2024-12-12 16:30:50 -07:00
Daniel Vaz Gaspar
988da2c477 docs: CVEs fixed on 4.1.0 v2 (#31422) 2024-12-12 18:48:54 +00:00
Maxime Beauchemin
f510f42b96 fix: pkg_resources is getting deprecated (#31411) 2024-12-12 09:20:52 -08:00
Vitor Avila
43314dc8db fix(Pivot Table): Fix column width to respect currency config (#31414) 2024-12-12 10:44:07 -03:00
Luiz Otavio
423a0fefa5 feat: Adds helper functions for migrations (#31303) 2024-12-11 10:50:56 -03:00
Enzo Martellucci
fd57fce977 refactor: Migrate AdhocFilterEditPopoverSqlTabContent to TypeScript (#31268)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2024-12-11 14:26:18 +02:00
Maxime Beauchemin
d8fbaa4cbe fix: don't include chromium on ephemeral envs (#31391) 2024-12-10 18:33:56 -08:00
125 changed files with 7764 additions and 7689 deletions

View File

@@ -45,3 +45,4 @@ superset-frontend/coverage/
superset/static/assets/
superset-websocket/dist/
venv
.venv

View File

@@ -148,14 +148,26 @@ jobs:
- name: Setup supersetbot
uses: ./.github/actions/setup-supersetbot/
- name: Try to login to DockerHub
if: steps.check.outputs.python || steps.check.outputs.frontend || steps.check.outputs.docker
continue-on-error: true
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build ephemeral env image
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
run: |
supersetbot docker \
--preset ci \
--platform linux/amd64 \
--context-ref "$RELEASE"
--context-ref "$RELEASE" \
--extra-flags "--build-arg INCLUDE_CHROMIUM=false"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4

View File

@@ -81,17 +81,3 @@ repos:
- id: ruff
args: [ --fix ]
- id: ruff-format
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
exclude: ^(tests/|superset/migrations/|scripts/|RELEASING/|docker/)
args:
[
"-rn", # Only display messages
"-sn", # Don't display the score
"--rcfile=.pylintrc",
]

380
.pylintrc
View File

@@ -1,380 +0,0 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Add files or directories to the blacklist. They should be base names, not
# paths.
ignore=CVS,migrations
# Add files or directories matching the regex patterns to the blacklist. The
# regex matches against base names, not paths.
ignore-patterns=
# Pickle collected data for later comparisons.
persistent=yes
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=superset.extensions.pylint
# Use multiple processes to speed up Pylint.
jobs=2
# Allow loading of arbitrary C extensions. Extensions are imported into the
# active Python interpreter and may run arbitrary code.
unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=pyarrow
[MESSAGES CONTROL]
# Only show warnings with the listed confidence levels. Leave empty to show
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
confidence=
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time (only on the command line, not in the configuration file where
# it should appear only once). See also the "--disable" option for examples.
enable=
useless-suppression,
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifiers separated by comma (,) or put this
# option multiple times (only on the command line, not in the configuration
# file where it should appear only once).You can also use "--disable=all" to
# disable everything first and then reenable specific checks. For example, if
# you want to run only the similarities checker, you can use "--disable=all
# --enable=similarities". If you want to run only the classes checker, but have
# no Warning level messages displayed, use"--disable=all --enable=classes
# --disable=W"
disable=
cyclic-import, # re-enable once this no longer raises false positives
missing-docstring,
duplicate-code,
line-too-long,
unspecified-encoding,
too-many-instance-attributes # re-enable once this no longer raises false positives
[REPORTS]
# Set the output format. Available formats are text, parseable, colorized, msvs
# (visual studio) and html. You can also give a reporter class, eg
# mypackage.mymodule.MyReporterClass.
output-format=text
# Tells whether to display a full report or only the messages
reports=yes
# Python expression which should return a note less than 10 (10 is the highest
# note). You have access to the variables errors warning, statement which
# respectively contain the number of errors / warnings messages and the total
# number of statements analyzed. This is used by the global evaluation report
# (RP0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
# Template used to display messages. This is a python new-style format string
# used to format the message information. See doc for all details
#msg-template=
[BASIC]
# Good variable names which should always be accepted, separated by a comma
good-names=_,df,ex,f,i,id,j,k,l,o,pk,Run,ts,v,x,y
# Bad variable names which should always be refused, separated by a comma
bad-names=bar,baz,db,fd,foo,sesh,session,tata,toto,tutu
# Colon-delimited sets of names that determine each other's naming style when
# the name regexes allow several styles.
name-group=
# Include a hint for the correct naming format with invalid-name
include-naming-hint=no
# List of decorators that produce properties, such as abc.abstractproperty. Add
# to this list to register other decorators that produce valid properties.
property-classes=
abc.abstractproperty,
sqlalchemy.ext.hybrid.hybrid_property
# Regular expression matching correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct variable names
variable-rgx=[a-z_][a-z0-9_]{1,30}$
# Regular expression matching correct inline iteration names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Regular expression matching correct constant names
const-rgx=(([A-Za-z_][A-Za-z0-9_]*)|(__.*__))$
# Regular expression matching correct class names
class-rgx=[A-Z_][a-zA-Z0-9]+$
# Regular expression matching correct class attribute names
class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$
# Regular expression matching correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression matching correct attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression matching correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match function or class names that do
# not require a docstring.
no-docstring-rgx=^_
# Minimum line length for functions/classes that require docstrings, shorter
# ones are exempt.
docstring-min-length=10
[ELIF]
# Maximum number of nested blocks for function / method body
max-nested-blocks=5
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=100
# Regexp for a line that is allowed to be longer than the limit.
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
# Allow the body of an if to be on the same line as the test if there is no
# else.
single-line-if-stmt=no
# Maximum number of lines in a module
max-module-lines=1000
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
indent-string=' '
# Number of spaces of indent required inside a hanging or continued line.
indent-after-paren=4
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
expected-line-ending-format=
[LOGGING]
# Logging modules to check that the string format arguments are in logging
# function parameter format
logging-modules=logging
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
notes=FIXME,XXX
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=5
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# Ignore imports when computing similarities.
ignore-imports=no
[SPELLING]
# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
spelling-dict=
# List of comma separated words that should not be checked.
spelling-ignore-words=
# A path to a file that contains private dictionary; one word per line.
spelling-private-dict-file=
# Tells whether to store unknown words to indicated private dictionary in
# --spelling-private-dict-file option instead of raising a message.
spelling-store-unknown-words=no
[TYPECHECK]
# Tells whether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes
# List of module names for which member attributes should not be checked
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=numpy,pandas,alembic.op,sqlalchemy,alembic.context,flask_appbuilder.security.sqla.PermissionView.role,flask_appbuilder.Model.metadata,flask_appbuilder.Base.metadata
# List of class names for which member attributes should not be checked (useful
# for classes with dynamically set attributes). This supports the use of
# qualified names.
ignored-classes=contextlib.closing,optparse.Values,thread._local,_thread._local
# List of members which are set dynamically and missed by pylint inference
# system, and so shouldn't trigger E1101 when accessed. Python regular
# expressions are accepted.
generated-members=
# List of decorators that produce context managers, such as
# contextlib.contextmanager. Add to this list to register other decorators that
# produce valid context managers.
contextmanager-decorators=contextlib.contextmanager
[VARIABLES]
# Tells whether we should check for unused import in __init__ files.
init-import=no
# A regular expression matching the name of dummy variables (i.e. expectedly
# not used).
dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
additional-builtins=
# List of strings which can identify a callback function by name. A callback
# name must start or end with one of those strings.
callbacks=cb_,_cb
# List of qualified module names which can have objects that can redefine
# builtins.
redefining-builtins-modules=six.moves,future.builtins
[CLASSES]
# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods=__init__,__new__,setUp
# List of valid names for the first argument in a class method.
valid-classmethod-first-arg=cls
# List of valid names for the first argument in a metaclass class method.
valid-metaclass-classmethod-first-arg=mcs
# List of member names, which should be excluded from the protected access
# warning.
exclude-protected=_asdict,_fields,_replace,_source,_make
[DESIGN]
# Maximum number of arguments for function / method
max-args=5
# Argument names that match this expression will be ignored. Default to name
# with leading underscore
ignored-argument-names=_.*
# Maximum number of locals for function / method body
max-locals=15
# Maximum number of return / yield for function / method body
max-returns=10
# Maximum number of branch for function / method body
max-branches=15
# Maximum number of statements in function / method body
max-statements=50
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of attributes for a class (see R0902).
max-attributes=8
# Minimum number of public methods for a class (see R0903).
min-public-methods=2
# Maximum number of public methods for a class (see R0904).
max-public-methods=20
# Maximum number of boolean expressions in a if statement
max-bool-expr=5
[IMPORTS]
# Deprecated modules which should not be used, separated by a comma
deprecated-modules=optparse
# Create a graph of every (i.e. internal and external) dependencies in the
# given file (report RP0402 must not be disabled)
import-graph=
# Create a graph of external dependencies in the given file (report RP0402 must
# not be disabled)
ext-import-graph=
# Create a graph of internal dependencies in the given file (report RP0402 must
# not be disabled)
int-import-graph=
# Force import order to recognize a module as part of the standard
# compatibility libraries.
known-standard-library=
# Force import order to recognize a module as part of a third party library.
known-third-party=enchant
# Analyse import fallback blocks. This can be used to support both Python 2 and
# 3 compatible code, which means that the block might have code that exists
# only in one or another interpreter, leading to false positives when analysed.
analyse-fallback-blocks=no
[EXCEPTIONS]
# Exceptions that will emit a warning when being caught. Defaults to
# "Exception"
overgeneral-exceptions=builtins.Exception

View File

@@ -22,26 +22,29 @@ ARG PY_VER=3.10-slim-bookworm
# If BUILDPLATFORM is null, set it to 'amd64' (or leave as is otherwise).
ARG BUILDPLATFORM=${BUILDPLATFORM:-amd64}
FROM --platform=${BUILDPLATFORM} node:20-bullseye-slim AS superset-node
######################################################################
# superset-node used for building frontend assets
######################################################################
FROM --platform=${BUILDPLATFORM} node:20-bullseye-slim AS superset-node
ARG BUILD_TRANSLATIONS="false" # Include translations in the final build
ENV BUILD_TRANSLATIONS=${BUILD_TRANSLATIONS}
ARG DEV_MODE="false" # Skip frontend build in dev mode
ENV DEV_MODE=${DEV_MODE}
COPY docker/ /app/docker/
# Arguments for build configuration
ARG NPM_BUILD_CMD="build"
ARG BUILD_TRANSLATIONS="false" # Include translations in the final build
ARG DEV_MODE="false" # Skip frontend build in dev mode
ARG INCLUDE_CHROMIUM="true" # Include headless Chromium for alerts & reports
ARG INCLUDE_FIREFOX="false" # Include headless Firefox if enabled
# Install system dependencies required for node-gyp
RUN --mount=type=bind,source=./docker,target=/docker \
/docker/apt-install.sh build-essential python3 zstd
RUN /app/docker/apt-install.sh build-essential python3 zstd
# Define environment variables for frontend build
ENV BUILD_CMD=${NPM_BUILD_CMD} \
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
# Run the frontend memory monitoring script
RUN --mount=type=bind,source=./docker,target=/docker \
/docker/frontend-mem-nag.sh
RUN /app/docker/frontend-mem-nag.sh
WORKDIR /app/superset-frontend
@@ -49,6 +52,9 @@ WORKDIR /app/superset-frontend
RUN mkdir -p /app/superset/static/assets \
/app/superset/translations
# Copy translation files
COPY superset/translations /app/superset/translations
# Mount package files and install dependencies if not in dev mode
RUN --mount=type=bind,source=./superset-frontend/package.json,target=./package.json \
--mount=type=bind,source=./superset-frontend/package-lock.json,target=./package-lock.json \
@@ -61,41 +67,28 @@ RUN --mount=type=bind,source=./superset-frontend/package.json,target=./package.j
# Runs the webpack build process
COPY superset-frontend /app/superset-frontend
# Copy translation files
COPY superset/translations /app/superset/translations
# Build the frontend if not in dev mode
RUN if [ "$DEV_MODE" = "false" ]; then \
BUILD_TRANSLATIONS=$BUILD_TRANSLATIONS npm run ${BUILD_CMD}; \
echo "Running 'npm run ${BUILD_CMD}'"; \
if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
npm run build-translation; \
fi; \
npm run ${BUILD_CMD}; \
else \
echo "Skipping 'npm run ${BUILD_CMD}' in dev mode"; \
fi
# Compile .json files from .po translations (if required) and clean up .po files
RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
npm run build-translation; \
else \
echo "Skipping translations as requested by build flag"; \
fi \
# removing translations files regardless
&& rm -rf /app/superset/translations/*/LC_MESSAGES/*.po \
/app/superset/translations/messages.pot
fi && \
rm -rf /app/superset/translations/*/*/*.po
# Transition to Python base image
######################################################################
# Base python layer
######################################################################
FROM python:${PY_VER} AS python-base
RUN pip install --no-cache-dir --upgrade setuptools pip uv
ARG BUILD_TRANSLATIONS="false" # Include translations in the final build
ENV BUILD_TRANSLATIONS=${BUILD_TRANSLATIONS}
ARG DEV_MODE="false" # Skip frontend build in dev mode
ENV DEV_MODE=${DEV_MODE}
######################################################################
# Final lean image...
######################################################################
FROM python-base AS lean
# Build argument for including translations
ARG BUILD_TRANSLATIONS="false"
WORKDIR /app
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8 \
SUPERSET_ENV=production \
@@ -104,126 +97,128 @@ ENV LANG=C.UTF-8 \
SUPERSET_HOME="/app/superset_home" \
SUPERSET_PORT=8088
RUN useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset
# Some bash scripts needed throughout the layers
COPY --chmod=755 docker/*.sh /app/docker/
RUN pip install --no-cache-dir --upgrade setuptools pip uv
# Using uv as it's faster/simpler than pip
RUN uv venv /app/.venv
ENV PATH="/app/.venv/bin:${PATH}"
# Install Playwright and optionally setup headless browsers
ARG INCLUDE_CHROMIUM="true"
ARG INCLUDE_FIREFOX="false"
RUN --mount=type=cache,target=/root/.cache/pip \
if [ "$INCLUDE_CHROMIUM" = "true" ] || [ "$INCLUDE_FIREFOX" = "true" ]; then \
pip install playwright && \
playwright install-deps && \
if [ "$INCLUDE_CHROMIUM" = "true" ]; then playwright install chromium; fi && \
if [ "$INCLUDE_FIREFOX" = "true" ]; then playwright install firefox; fi; \
else \
echo "Skipping browser installation"; \
fi
######################################################################
# Python translation compiler layer
######################################################################
FROM python-base AS python-translation-compiler
# Install Python dependencies using docker/pip-install.sh
COPY requirements/translations.txt requirements/
RUN --mount=type=cache,target=/root/.cache/pip \
/app/docker/pip-install.sh -r requirements/translations.txt
COPY superset/translations/ /app/translations_mo/
RUN pybabel compile -d /app/translations_mo | true && \
rm -f /app/translations_mo/*/*/*.po
######################################################################
# Python APP common layer
######################################################################
FROM python-base AS python-common
# Copy the entrypoints, make them executable in userspace
COPY --chmod=755 docker/entrypoints /app/docker/entrypoints
WORKDIR /app
# Set up necessary directories and user
RUN --mount=type=bind,source=./docker,target=/docker \
mkdir -p ${PYTHONPATH} \
RUN mkdir -p \
${SUPERSET_HOME} \
${PYTHONPATH} \
superset/static \
requirements \
superset-frontend \
apache_superset.egg-info \
requirements \
&& useradd --user-group -d ${SUPERSET_HOME} -m --no-log-init --shell /bin/bash superset \
&& /docker/apt-install.sh \
curl \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libpq-dev \
libecpg-dev \
libldap2-dev \
&& touch superset/static/version_info.json \
&& chown -R superset:superset ./* \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
&& touch superset/static/version_info.json
# Copy required files for Python build
COPY --chown=superset:superset pyproject.toml setup.py MANIFEST.in README.md ./
COPY --chown=superset:superset superset-frontend/package.json superset-frontend/
COPY --chown=superset:superset requirements/base.txt requirements/
COPY --chown=superset:superset scripts/check-env.py scripts/
COPY pyproject.toml setup.py MANIFEST.in README.md ./
COPY superset-frontend/package.json superset-frontend/
COPY scripts/check-env.py scripts/
# keeping for backward compatibility
COPY --chmod=755 ./docker/entrypoints/run-server.sh /usr/bin/
# Some debian libs
RUN /app/docker/apt-install.sh \
curl \
libsasl2-dev \
libsasl2-modules-gssapi-mit \
libpq-dev \
libecpg-dev \
libldap2-dev
# Copy compiled things from previous stages
COPY --from=superset-node /app/superset/static/assets superset/static/assets
# Merging translations from backend and frontend stages
COPY --from=superset-node /app/superset/translations superset/translations
COPY --from=python-translation-compiler /app/translations_mo superset/translations
HEALTHCHECK CMD curl -f "http://localhost:${SUPERSET_PORT}/health"
CMD ["/app/docker/entrypoints/run-server.sh"]
EXPOSE ${SUPERSET_PORT}
######################################################################
# Final lean image...
######################################################################
FROM python-common AS lean
COPY superset superset
# Install Python dependencies using docker/pip-install.sh
RUN --mount=type=bind,source=./docker,target=/docker \
--mount=type=cache,target=/root/.cache/pip \
/docker/pip-install.sh --requires-build-essential -r requirements/base.txt
COPY requirements/base.txt requirements/
RUN --mount=type=cache,target=/root/.cache/pip \
/app/docker/pip-install.sh --requires-build-essential -r requirements/base.txt && \
uv pip install .
# Copy the compiled frontend assets from the node image
COPY --chown=superset:superset --from=superset-node /app/superset/static/assets superset/static/assets
RUN python -m compileall /app/superset
# Copy the main Superset source code
COPY --chown=superset:superset superset superset
# Install Superset itself using docker/pip-install.sh
RUN --mount=type=bind,source=./docker,target=/docker \
--mount=type=cache,target=/root/.cache/pip \
/docker/pip-install.sh -e .
# Copy .json translations from the node image
COPY --chown=superset:superset --from=superset-node /app/superset/translations superset/translations
# Compile backend translations and clean up
COPY ./scripts/translations/generate_mo_files.sh ./scripts/translations/
RUN if [ "$BUILD_TRANSLATIONS" = "true" ]; then \
./scripts/translations/generate_mo_files.sh \
&& chown -R superset:superset superset/translations; \
fi \
&& rm -rf superset/translations/messages.pot \
superset/translations/*/LC_MESSAGES/*.po
# Add server run script
COPY --chmod=755 ./docker/run-server.sh /usr/bin/
# Set user and healthcheck
USER superset
HEALTHCHECK CMD curl -f "http://localhost:${SUPERSET_PORT}/health"
# Expose port and set CMD
EXPOSE ${SUPERSET_PORT}
CMD ["/usr/bin/run-server.sh"]
######################################################################
# Dev image...
######################################################################
FROM lean AS dev
FROM python-common AS dev
COPY superset superset
USER root
# Install dev dependencies
RUN --mount=type=bind,source=./docker,target=/docker \
/docker/apt-install.sh \
libnss3 \
libdbus-glib-1-2 \
libgtk-3-0 \
libx11-xcb1 \
libasound2 \
libxtst6 \
git \
pkg-config
# Install Playwright and its dependencies
RUN --mount=type=cache,target=/root/.cache/pip \
uv pip install --system playwright \
&& playwright install-deps
# Optionally install Chromium
RUN if [ "$INCLUDE_CHROMIUM" = "true" ]; then \
playwright install chromium; \
else \
echo "Skipping Chromium installation in dev mode"; \
fi
# Install GeckoDriver WebDriver and Firefox (if required)
ARG GECKODRIVER_VERSION=v0.34.0
ARG FIREFOX_VERSION=125.0.3
RUN --mount=type=bind,source=./docker,target=/docker \
if [ "$INCLUDE_FIREFOX" = "true" ]; then \
/docker/apt-install.sh wget bzip2 \
&& wget -q https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O - | tar xfz - -C /usr/local/bin \
&& wget -q https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 -O - | tar xfj - -C /opt \
&& ln -s /opt/firefox/firefox /usr/local/bin/firefox \
&& apt-get autoremove -yqq --purge wget bzip2 && rm -rf /var/[log,tmp]/* /tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*; \
else \
echo "Skipping Firefox installation in dev mode"; \
fi
# Install MySQL client dependencies
RUN --mount=type=bind,source=./docker,target=/docker \
/docker/apt-install.sh default-libmysqlclient-dev
# Debian libs needed for dev
RUN /app/docker/apt-install.sh \
git \
pkg-config \
default-libmysqlclient-dev
# Copy development requirements and install them
COPY --chown=superset:superset requirements/development.txt requirements/
RUN --mount=type=bind,source=./docker,target=/docker \
--mount=type=cache,target=/root/.cache/pip \
/docker/pip-install.sh --requires-build-essential -r requirements/development.txt
COPY requirements/*.txt requirements/
# Install Python dependencies using docker/pip-install.sh
RUN --mount=type=cache,target=/root/.cache/pip \
/app/docker/pip-install.sh --requires-build-essential -r requirements/development.txt && \
uv pip install .
RUN python -m compileall /app/superset
USER superset
@@ -232,6 +227,4 @@ USER superset
######################################################################
FROM lean AS ci
COPY --chown=superset:superset --chmod=755 ./docker/*.sh /app/docker/
CMD ["/app/docker/docker-ci.sh"]
CMD ["/app/docker/entrypoints/docker-ci.sh"]

View File

@@ -87,9 +87,6 @@ format: py-format js-format
py-format: pre-commit
pre-commit run black --all-files
py-lint: pre-commit
pylint -j 0 superset
js-format:
cd superset-frontend; npm run prettier

View File

@@ -28,7 +28,9 @@ assists people when migrating to a new version.
- [29798](https://github.com/apache/superset/pull/29798) Since 3.1.0, the intial schedule for an alert or report was mistakenly offset by the specified timezone's relation to UTC. The initial schedule should now begin at the correct time.
- [30021](https://github.com/apache/superset/pull/30021) The `dev` layer in our Dockerfile no long includes firefox binaries, only Chromium to reduce bloat/docker-build-time.
- [30099](https://github.com/apache/superset/pull/30099) Translations are no longer included in the default docker image builds. If your environment requires translations, you'll want to set the docker build arg `BUILD_TRANSACTION=true`.
- [31262](https://github.com/apache/superset/pull/31262) NOTE: deprecated `pylint` in favor of `ruff` as our only python linter. Only affect development workflows positively (not the release itself). It should cover most important rules, be much faster, but some things linting rules that were enforced before may not be enforce in the exact same way as before.
- [31173](https://github.com/apache/superset/pull/31173) Modified `fetch_csrf_token` to align with HTTP standards, particularly regarding how cookies are handled. If you encounter any issues related to CSRF functionality, please report them as a new issue and reference this PR for context.
- [31385](https://github.com/apache/superset/pull/31385) Significant docker refactor, reducing access levels for the `superset` user, streamlining layer building, ...
### Potential Downtime

View File

@@ -17,6 +17,7 @@
COMPOSE_PROJECT_NAME=superset
DEV_MODE=true
# database configurations (do not modify)
DATABASE_DB=superset

View File

@@ -18,6 +18,12 @@
set -eo pipefail
# Make python interactive
if [ "$DEV_MODE" == "true" ]; then
echo "[DEV_MODE detected] Setting the superset package to be in editable mode"
echo "RUN: uv pip install -e ."
uv pip install -e .
fi
REQUIREMENTS_LOCAL="/app/docker/requirements-local.txt"
# If Cypress run overwrite the password for admin and export env variables
if [ "$CYPRESS_CONFIG" == "true" ]; then
@@ -29,10 +35,8 @@ fi
# Make sure we have dev requirements installed
#
if [ -f "${REQUIREMENTS_LOCAL}" ]; then
echo "Installing local overrides at ${REQUIREMENTS_LOCAL}"
pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
else
echo "Skipping local overrides"
echo "Installing python packages specified at ${REQUIREMENTS_LOCAL}"
uv pip install --no-cache-dir -r "${REQUIREMENTS_LOCAL}"
fi
case "${1}" in

View File

@@ -30,15 +30,9 @@ fi
echo_step() {
cat <<EOF
######################################################################
Init Step ${1}/${STEP_CNT} [${2}] -- ${3}
Docker Init Step ${1}/${STEP_CNT} [${2}] -- ${3}
######################################################################
EOF
}
ADMIN_PASSWORD="${ADMIN_PASSWORD:-admin}"
@@ -52,7 +46,6 @@ fi
# Initialize the database
echo_step "1" "Starting" "Applying DB migrations"
superset db upgrade
echo_step "1" "Complete" "Applying DB migrations"
# Create an admin user
echo_step "2" "Starting" "Setting up admin user ( admin / $ADMIN_PASSWORD )"
@@ -62,11 +55,9 @@ superset fab create-admin \
--lastname Admin \
--email admin@superset.com \
--password "$ADMIN_PASSWORD"
echo_step "2" "Complete" "Setting up admin user"
# Create default roles and permissions
echo_step "3" "Starting" "Setting up roles and perms"
superset init
echo_step "3" "Complete" "Setting up roles and perms"
if [ "$SUPERSET_LOAD_EXAMPLES" = "yes" ]; then
# Load some data to play with
@@ -78,5 +69,4 @@ if [ "$SUPERSET_LOAD_EXAMPLES" = "yes" ]; then
else
superset load_examples --force
fi
echo_step "4" "Complete" "Loading examples"
fi

View File

@@ -47,10 +47,10 @@ fi
# Choose whether to use pip cache
if $USE_CACHE; then
echo "Using pip cache..."
uv pip install --system "${ARGS[@]}"
uv pip install "${ARGS[@]}"
else
echo "Disabling pip cache..."
uv pip install --system --no-cache-dir "${ARGS[@]}"
uv pip install --no-cache-dir "${ARGS[@]}"
fi
# Remove build-essential if it was installed

View File

@@ -103,6 +103,7 @@ WEBDRIVER_BASEURL = "http://superset:8088/" # When using docker compose baseurl
# The base URL for the email report hyperlinks.
WEBDRIVER_BASEURL_USER_FRIENDLY = WEBDRIVER_BASEURL
SQLLAB_CTAS_NO_LIMIT = True
LOG_LEVEL = logging.INFO
#
# Optionally import superset_config_docker.py (which will have been included on

View File

@@ -478,37 +478,7 @@ A series of checks will now run when you make a git commit.
## Linting
### Python
We use [Pylint](https://pylint.org/) for linting which can be invoked via:
```bash
pylint
```
In terms of best practices please avoid blanket disabling of Pylint messages globally (via `.pylintrc`) or top-level within the file header, albeit there being a few exceptions. Disabling should occur inline as it prevents masking issues and provides context as to why said message is disabled.
Additionally, the Python code is auto-formatted using [Black](https://github.com/python/black) which
is configured as a pre-commit hook. There are also numerous [editor integrations](https://black.readthedocs.io/en/stable/integrations/editors.html)
### TypeScript
```bash
cd superset-frontend
npm ci
# run eslint checks
npm run eslint -- .
# run tsc (typescript) checks
npm run type
```
If using the eslint extension with vscode, put the following in your workspace `settings.json` file:
```json
"eslint.workingDirectories": [
"superset-frontend"
]
```
See [how tos](/docs/contributing/howtos#linting)
## GitHub Actions and `act`

View File

@@ -571,13 +571,9 @@ pybabel compile -d superset/translations
### Python
We use [Pylint](https://pylint.org/) and [ruff](https://github.com/astral-sh/ruff)
for linting which can be invoked via:
We use [ruff](https://github.com/astral-sh/ruff) for linting which can be invoked via:
```
# Run pylint
pylint superset/
# auto-reformat using ruff
ruff format
@@ -588,11 +584,8 @@ ruff check
ruff check --fix
```
In terms of best practices please avoid blanket disabling of Pylint messages globally
(via `.pylintrc`) or top-level within the file header, albeit there being a few exceptions.
Disabling should occur inline as it prevents masking issues and provides context as to why
said message is disabled.
Ruff configuration is located in our
(pyproject.toml)[https://github.com/apache/superset/blob/master/pyproject.toml] file
All this is configured to run in pre-commit hooks, which we encourage you to setup
with `pre-commit install`

View File

@@ -9,6 +9,7 @@ sidebar_position: 2
| CVE-2024-53947 | Improper SQL authorisation, parse for specific postgres functions | < 4.1.0 |
| CVE-2024-53948 | Error verbosity exposes metadata in analytics databases | < 4.1.0 |
| CVE-2024-53949 | Lower privilege users are able to create Role when FAB_ADD_SECURITY_API is enabled | < 4.1.0 |
| CVE-2024-55633 | SQLLab Improper readonly query validation allows unauthorized write access | < 4.1.0 |
#### Version 4.0.2

File diff suppressed because it is too large Load Diff

View File

@@ -70,7 +70,11 @@ dependencies = [
"nh3>=0.2.11, <0.3",
"numpy==1.23.5",
"packaging",
"pandas[excel,performance]>=2.0.3, <2.1",
# --------------------------
# pandas and related (wanting pandas[performance] without numba as it's 100+MB and not needed)
"pandas[excel]>=2.0.3, <2.1",
"bottleneck",
# --------------------------
"parsedatetime",
"paramiko>=3.4.0",
"pgsanity",
@@ -193,7 +197,6 @@ development = [
"psutil",
"pyfakefs",
"pyinstrument>=4.0.2,<5",
"pylint",
"pytest<8.0.0", # hairy issue with pytest >=8 where current_app proxies are not set in time
"pytest-cov",
"pytest-mock",
@@ -286,11 +289,25 @@ select = [
"E4",
"E7",
"E9",
"F",
"PT009",
"TRY201",
# TODO add these rules in follow up PR
# "B",
# "C",
# "E",
# "F",
#"F",
# "I",
# "N",
# "PT",
# "Q",
# "S",
# "T",
#"W",
]
ignore = [
"S101",
]
ignore = []
extend-select = ["I"]

View File

@@ -35,7 +35,7 @@ billiard==4.2.1
blinker==1.9.0
# via flask
bottleneck==1.4.2
# via pandas
# via apache-superset
brotli==1.1.0
# via flask-compress
cachelib==0.9.0
@@ -194,8 +194,6 @@ korean-lunar-calendar==0.3.1
# via holidays
limits==3.13.0
# via flask-limiter
llvmlite==0.43.0
# via numba
mako==1.3.6
# via
# alembic
@@ -224,17 +222,12 @@ msgspec==0.18.6
# via flask-session
nh3==0.2.19
# via apache-superset
numba==0.60.0
# via pandas
numexpr==2.10.2
# via
# -r requirements/base.in
# pandas
# via -r requirements/base.in
numpy==1.23.5
# via
# apache-superset
# bottleneck
# numba
# numexpr
# pandas
# pyarrow
@@ -254,7 +247,7 @@ packaging==24.2
# marshmallow
# marshmallow-sqlalchemy
# shillelagh
pandas[excel,performance]==2.0.3
pandas[excel]==2.0.3
# via apache-superset
paramiko==3.5.0
# via

View File

@@ -8,10 +8,8 @@
-r base.txt
-e file:.
# via
# -r requirements/base.in
# -r /Users/max/code/superset/requirements/base.in
# -r requirements/development.in
astroid==3.1.0
# via pylint
build==1.2.1
# via pip-tools
cfgv==3.4.0
@@ -26,8 +24,6 @@ cycler==0.12.1
# via matplotlib
db-dtypes==1.3.1
# via pandas-gbq
dill==0.3.9
# via pylint
distlib==0.3.8
# via virtualenv
docker==7.0.0
@@ -85,8 +81,6 @@ identify==2.5.36
# via pre-commit
iniconfig==2.0.0
# via pytest
isort==5.12.0
# via pylint
jsonschema-spec==0.1.6
# via openapi-spec-validator
kiwisolver==1.4.7
@@ -95,8 +89,6 @@ lazy-object-proxy==1.10.0
# via openapi-spec-validator
matplotlib==3.9.0
# via prophet
mccabe==0.7.0
# via pylint
mysqlclient==2.2.6
# via apache-superset
nodeenv==1.8.0
@@ -158,8 +150,6 @@ pyhive[presto]==0.7.0
# via apache-superset
pyinstrument==4.4.0
# via apache-superset
pylint==3.1.0
# via apache-superset
pyproject-hooks==1.2.0
# via
# build
@@ -192,10 +182,7 @@ tomli==2.1.0
# build
# coverage
# pip-tools
# pylint
# pytest
tomlkit==0.13.2
# via pylint
toposort==1.10
# via pip-compile-multi
tqdm==4.67.1

View File

@@ -0,0 +1 @@
babel

View File

@@ -0,0 +1,9 @@
# SHA1:cad160f3d4cd7c33896f42a479eeaa1b5bedc5fb
#
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile-multi
#
babel==2.16.0
# via -r requirements/translations.in

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
"plugins/*",
"src/setup/*"
],
"version": "0.21.0",
"version": "0.20.4",
"ignoreChanges": [
"**/*.md",
"**/*.spec.tsx?",
@@ -23,4 +23,4 @@
}
},
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
}

View File

@@ -54497,7 +54497,7 @@
},
"packages/generator-superset": {
"name": "@superset-ui/generator-superset",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"chalk": "^5.3.0",
@@ -56085,7 +56085,7 @@
},
"packages/superset-ui-chart-controls": {
"name": "@superset-ui/chart-controls",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@react-icons/all-files": "^4.1.0",
@@ -56114,7 +56114,7 @@
},
"packages/superset-ui-core": {
"name": "@superset-ui/core",
"version": "0.21.0",
"version": "0.20.4",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.25.6",
@@ -56575,7 +56575,7 @@
},
"packages/superset-ui-demo": {
"name": "@superset-ui/demo",
"version": "0.21.0",
"version": "0.20.0",
"license": "Apache-2.0",
"dependencies": {
"@data-ui/event-flow": "^0.0.84",
@@ -57467,12 +57467,12 @@
},
"packages/superset-ui-switchboard": {
"name": "@superset-ui/switchboard",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0"
},
"plugins/legacy-plugin-chart-calendar": {
"name": "@superset-ui/legacy-plugin-chart-calendar",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3-array": "^2.0.3",
@@ -57496,7 +57496,7 @@
},
"plugins/legacy-plugin-chart-chord": {
"name": "@superset-ui/legacy-plugin-chart-chord",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57510,7 +57510,7 @@
},
"plugins/legacy-plugin-chart-country-map": {
"name": "@superset-ui/legacy-plugin-chart-country-map",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57532,7 +57532,7 @@
},
"plugins/legacy-plugin-chart-event-flow": {
"name": "@superset-ui/legacy-plugin-chart-event-flow",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@data-ui/event-flow": "^0.0.84",
@@ -57546,7 +57546,7 @@
},
"plugins/legacy-plugin-chart-heatmap": {
"name": "@superset-ui/legacy-plugin-chart-heatmap",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57563,7 +57563,7 @@
},
"plugins/legacy-plugin-chart-histogram": {
"name": "@superset-ui/legacy-plugin-chart-histogram",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@data-ui/histogram": "^0.0.84",
@@ -57609,7 +57609,7 @@
},
"plugins/legacy-plugin-chart-horizon": {
"name": "@superset-ui/legacy-plugin-chart-horizon",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3-array": "^2.0.3",
@@ -57668,7 +57668,7 @@
},
"plugins/legacy-plugin-chart-map-box": {
"name": "@superset-ui/legacy-plugin-chart-map-box",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@math.gl/web-mercator": "^4.1.0",
@@ -57707,7 +57707,7 @@
},
"plugins/legacy-plugin-chart-paired-t-test": {
"name": "@superset-ui/legacy-plugin-chart-paired-t-test",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"distributions": "^2.2.0",
@@ -57722,7 +57722,7 @@
},
"plugins/legacy-plugin-chart-parallel-coordinates": {
"name": "@superset-ui/legacy-plugin-chart-parallel-coordinates",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57736,7 +57736,7 @@
},
"plugins/legacy-plugin-chart-partition": {
"name": "@superset-ui/legacy-plugin-chart-partition",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57754,7 +57754,7 @@
},
"plugins/legacy-plugin-chart-rose": {
"name": "@superset-ui/legacy-plugin-chart-rose",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57770,7 +57770,7 @@
},
"plugins/legacy-plugin-chart-sankey": {
"name": "@superset-ui/legacy-plugin-chart-sankey",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57785,7 +57785,7 @@
},
"plugins/legacy-plugin-chart-sankey-loop": {
"name": "@superset-ui/legacy-plugin-chart-sankey-loop",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3-sankey-diagram": "^0.7.3",
@@ -57800,7 +57800,7 @@
},
"plugins/legacy-plugin-chart-world-map": {
"name": "@superset-ui/legacy-plugin-chart-world-map",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3": "^3.5.17",
@@ -57824,7 +57824,7 @@
},
"plugins/legacy-preset-chart-deckgl": {
"name": "@superset-ui/legacy-preset-chart-deckgl",
"version": "0.21.0",
"version": "0.20.4",
"license": "Apache-2.0",
"dependencies": {
"@deck.gl/aggregation-layers": "^9.0.37",
@@ -57964,7 +57964,7 @@
},
"plugins/legacy-preset-chart-nvd3": {
"name": "@superset-ui/legacy-preset-chart-nvd3",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@data-ui/xy-chart": "^0.0.84",
@@ -57992,7 +57992,7 @@
},
"plugins/plugin-chart-echarts": {
"name": "@superset-ui/plugin-chart-echarts",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"d3-array": "^1.2.0",
@@ -58009,7 +58009,7 @@
},
"plugins/plugin-chart-handlebars": {
"name": "@superset-ui/plugin-chart-handlebars",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"handlebars": "^4.7.8",
@@ -58054,7 +58054,7 @@
},
"plugins/plugin-chart-pivot-table": {
"name": "@superset-ui/plugin-chart-pivot-table",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"devDependencies": {
"@babel/types": "^7.25.6",
@@ -58087,7 +58087,7 @@
},
"plugins/plugin-chart-table": {
"name": "@superset-ui/plugin-chart-table",
"version": "0.21.0",
"version": "0.20.3",
"license": "Apache-2.0",
"dependencies": {
"@react-icons/all-files": "^4.1.0",
@@ -58140,7 +58140,7 @@
},
"plugins/plugin-chart-word-cloud": {
"name": "@superset-ui/plugin-chart-word-cloud",
"version": "0.21.0",
"version": "0.20.4",
"license": "Apache-2.0",
"dependencies": {
"@types/d3-scale": "^4.0.8",

View File

@@ -1,22 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **dependencies:** stopping (and preventing) full lodash library import... now using only method level imports. ([#26710](https://github.com/apache/superset/issues/26710)) ([1d4b8b6](https://github.com/apache/superset/commit/1d4b8b69896776cf8831b8202e69424e14067011))
- **frontend/generator:** fix failed Viz plugin build due to missing JSDOM config and dep ([#30069](https://github.com/apache/superset/issues/30069)) ([68c9a81](https://github.com/apache/superset/commit/68c9a8177c553c4bd0831ddd7ca244b05d6f9111))
- **generator:** add lockfile and fix styling issues ([#18073](https://github.com/apache/superset/issues/18073)) ([5bfe2d4](https://github.com/apache/superset/commit/5bfe2d47b0d46d6f561fdae6e803d6929ffe840b))
- **generator:** more cleanup to plugin framework ([#18027](https://github.com/apache/superset/issues/18027)) ([8dea7f5](https://github.com/apache/superset/commit/8dea7f500bea194f55c15c9f1511a35b2c328cd6))
- **plugin-generator:** Addresses linter errors in newly generated Superset plugin ([#23513](https://github.com/apache/superset/issues/23513)) ([de42c11](https://github.com/apache/superset/commit/de42c11f99355e5fba2c2162ff180ee273801766))
### Features
- **build:** uplift Lerna + replace insecure shortid with nanoid + uplift Yeoman-related packages + ESM-ize generator-superset ([#29419](https://github.com/apache/superset/issues/29419)) ([c30ca53](https://github.com/apache/superset/commit/c30ca534a38f624bfc87fcfa1c1161b542115822))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/generator-superset",
"version": "0.21.0",
"version": "0.20.3",
"description": "Scaffolder for Superset",
"keywords": [
"yeoman",

View File

@@ -1,142 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- Adaptive formatting spelling ([#19359](https://github.com/apache/superset/issues/19359)) ([dc769a9](https://github.com/apache/superset/commit/dc769a9a34e9b6417447ee490ecd203ace0941d9))
- Address regression in main_dttm_col for non-dnd ([#20712](https://github.com/apache/superset/issues/20712)) ([a6abcd9](https://github.com/apache/superset/commit/a6abcd9ea8fac4a477b824adb367b4b5206a5d27))
- Allows X-Axis Sort By for custom SQL ([#30393](https://github.com/apache/superset/issues/30393)) ([abf2943](https://github.com/apache/superset/commit/abf2943e4d8910f486f738ada22cbd5da1f7487d))
- Alpha should not be able to edit datasets that they don't own ([#19854](https://github.com/apache/superset/issues/19854)) ([8b15b68](https://github.com/apache/superset/commit/8b15b68979bf033979fe7014ef2730095ae85120))
- annotation broken ([#20651](https://github.com/apache/superset/issues/20651)) ([7f918a4](https://github.com/apache/superset/commit/7f918a4ec0e162be13bf3fc0e2f15aaaa5450cec))
- BigQuery cannot accept Time Grain ([#21489](https://github.com/apache/superset/issues/21489)) ([33509ab](https://github.com/apache/superset/commit/33509ab7da384144d42d67dd8c6233b1be9c9fa0))
- Cannot re-order metrics by drag and drop ([#19876](https://github.com/apache/superset/issues/19876)) ([e4fca89](https://github.com/apache/superset/commit/e4fca89217fc52a31053470f1b4c91a56ed3f4e9))
- Chart crashing if timeseries_limit_metric is an empty array ([#23480](https://github.com/apache/superset/issues/23480)) ([4530542](https://github.com/apache/superset/commit/4530542ac4d36adc3379564e16ea655ce4bf17e5))
- **chart-controls:** Error if x_axis_sort and timeseries_limit_metric are included in main metrics ([#23365](https://github.com/apache/superset/issues/23365)) ([63513a5](https://github.com/apache/superset/commit/63513a5873460ee508c71b504d5e1cfb5f42bbb8))
- **chart:** Set max row limit + removed the option to use an empty row limit value ([#26151](https://github.com/apache/superset/issues/26151)) ([863f8bb](https://github.com/apache/superset/commit/863f8bbbcdd078814973d444368c12e06ad0c0c0))
- **Charts:** Set max row limit + removed the option to use an empty row limit value ([#25579](https://github.com/apache/superset/issues/25579)) ([f556ef5](https://github.com/apache/superset/commit/f556ef53f3177746ec2526b4b963da4ef00c2d58))
- column/metric type icons look too small ([#24740](https://github.com/apache/superset/issues/24740)) ([341b8d4](https://github.com/apache/superset/commit/341b8d41c5ba15c3617a61a92779b670c4ece43d))
- Contribution percentages for ECharts plugins ([#28368](https://github.com/apache/superset/issues/28368)) ([55f3b46](https://github.com/apache/superset/commit/55f3b46f4105e5bbdd0b025a4b61bc843d8e5b9e))
- custom SQL in the XAxis ([#21847](https://github.com/apache/superset/issues/21847)) ([0a4ecca](https://github.com/apache/superset/commit/0a4ecca9f259e2ee9cff27a879f2a889f876c7d7))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- drop the first level of MultiIndex ([#19716](https://github.com/apache/superset/issues/19716)) ([9425dd2](https://github.com/apache/superset/commit/9425dd2cac42f1a92f621848c469cadcc483e757))
- **explore comma:** make that the comma can be added by removing it from token separators… ([#18926](https://github.com/apache/superset/issues/18926)) ([e7355b9](https://github.com/apache/superset/commit/e7355b9610d1371d1d3fca51c17d1999ca3ecef3))
- **explore:** Adhoc columns don't display correctly ([#20802](https://github.com/apache/superset/issues/20802)) ([af1bddf](https://github.com/apache/superset/commit/af1bddffad930efc0583b638716980db6747bfbc))
- **explore:** allow free-form d3 format on custom column formatting ([#27023](https://github.com/apache/superset/issues/27023)) ([fd06ff3](https://github.com/apache/superset/commit/fd06ff3745b0ce96ef2506e18b6d5f27d3eee045))
- **explore:** Change copy of cross filters checkbox ([#19646](https://github.com/apache/superset/issues/19646)) ([4a5dddf](https://github.com/apache/superset/commit/4a5dddf52d8191b002fa11add6baaee26bc3b1a7))
- **explore:** clean data when hidding control ([#19039](https://github.com/apache/superset/issues/19039)) ([0e29871](https://github.com/apache/superset/commit/0e29871493171b6a70f974d26f41b6797e5b5d5c))
- **explore:** column data type tooltip format ([#30588](https://github.com/apache/superset/issues/30588)) ([73768f6](https://github.com/apache/superset/commit/73768f63134aacda43cba01ea55e6b2347b78733))
- **explore:** don't discard controls on deprecated ([#30447](https://github.com/apache/superset/issues/30447)) ([b627011](https://github.com/apache/superset/commit/b6270114630e7b3da6c1c11e0cd140397227789d))
- **explore:** Fix generic X-axis time grain disappearing ([#21484](https://github.com/apache/superset/issues/21484)) ([324e997](https://github.com/apache/superset/commit/324e9979fa968b07d0be2628cac9119c492dc9b6))
- **explore:** hide advanced analytics for non temporal xaxis ([#28312](https://github.com/apache/superset/issues/28312)) ([07cd1d8](https://github.com/apache/superset/commit/07cd1d89d0c57b2987e1d9aeb23c2aad518a3dc2))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- **explore:** support saving undefined time grain ([#22565](https://github.com/apache/superset/issues/22565)) ([a7a4561](https://github.com/apache/superset/commit/a7a4561550e06bad11ef6d5a50af1ae1af173790))
- **explore:** temporal column mixin ([#28241](https://github.com/apache/superset/issues/28241)) ([743c0bd](https://github.com/apache/superset/commit/743c0bde7edbda11c8f9755b061e45766aa3d401))
- **Filters:** Apply native & cross filters on common columns ([#30438](https://github.com/apache/superset/issues/30438)) ([3629483](https://github.com/apache/superset/commit/362948324c7718e74c0a9655332249c0e1328703))
- **generic-x-axis:** skip initial time filter for legacy charts ([#23506](https://github.com/apache/superset/issues/23506)) ([8db5cb1](https://github.com/apache/superset/commit/8db5cb18c01ee8c9ee1fb3dc60c3af32682c47f7))
- hide time_grain when x_axis value is undefined ([#21464](https://github.com/apache/superset/issues/21464)) ([ae6d2cf](https://github.com/apache/superset/commit/ae6d2cf18dbf0fec78e577b0cad1881940796b50))
- **legacy-charts:** Show Time Grain control for legacy charts ([#26705](https://github.com/apache/superset/issues/26705)) ([3ed70d8](https://github.com/apache/superset/commit/3ed70d8f53c229682027df3efa7815ca12bd1328))
- local warning in the frontend development ([#17727](https://github.com/apache/superset/issues/17727)) ([142b5bc](https://github.com/apache/superset/commit/142b5bc506c81847e503e76e498c06e8321dffb1))
- Metric is truncated in tooltip ([#24555](https://github.com/apache/superset/issues/24555)) ([5bdb774](https://github.com/apache/superset/commit/5bdb7745040e826dc36c6742f05952d69530ee0d))
- number format should editable when AA in time comparison ([#19351](https://github.com/apache/superset/issues/19351)) ([e15573d](https://github.com/apache/superset/commit/e15573d4453f8432e2da1db86f2e9417666fb8b5))
- Pivot Table Conditional Formatting Doesn't Show All Options ([#19071](https://github.com/apache/superset/issues/19071)) ([0e0bece](https://github.com/apache/superset/commit/0e0beceac173f765d8f9a0887732029b78603f6d))
- **plugin-chart-echarts:** [feature-parity] apply button of annotation layer doesn't work as expected ([#19761](https://github.com/apache/superset/issues/19761)) ([9f02ff6](https://github.com/apache/superset/commit/9f02ff656d63e537c06822657dcfc2ff46f70e67))
- **plugin-chart-echarts:** Apply temporary filters to Query B in explore ([#18998](https://github.com/apache/superset/issues/18998)) ([9f834e8](https://github.com/apache/superset/commit/9f834e8317dca7c71470c89e2c86bb35ca7ca39f))
- **plugin-chart-echarts:** boxplot throw error in the dashboard ([#21661](https://github.com/apache/superset/issues/21661)) ([61bd696](https://github.com/apache/superset/commit/61bd6962265d879e168f208854fc17b145b9e04d))
- **plugin-chart-echarts:** fix forecasts on verbose metrics ([#18252](https://github.com/apache/superset/issues/18252)) ([2929bb1](https://github.com/apache/superset/commit/2929bb1680d29e5fd1d3b351e3e2f86971a60b44))
- **plugin-chart-echarts:** reorder totals and support multimetric sort ([#23675](https://github.com/apache/superset/issues/23675)) ([cbbcc8d](https://github.com/apache/superset/commit/cbbcc8d2e136f949778cda56affb981c2db05880))
- **plugin-chart-echarts:** support adhoc x-axis ([#20055](https://github.com/apache/superset/issues/20055)) ([b53daa9](https://github.com/apache/superset/commit/b53daa91ecf0e82fe219b498e907d0c3f3ca9ccb))
- **plugin-chart-echarts:** support forced categorical x-axis ([#26404](https://github.com/apache/superset/issues/26404)) ([219c4a1](https://github.com/apache/superset/commit/219c4a14b359b77dbfcda74e66b7d06c3792b861))
- **plugin-chart-pivot-table:** color weight of Conditional formatting metrics not work ([#20396](https://github.com/apache/superset/issues/20396)) ([1665403](https://github.com/apache/superset/commit/16654034849505109b638fd2a784dfb377238a0e))
- resample method shouldn't be freeform ([#21135](https://github.com/apache/superset/issues/21135)) ([fea68ef](https://github.com/apache/superset/commit/fea68ef23cd19853f6ceee42802ac3b4b1b05da0))
- Respecting max/min opacities, and adding tests. ([#20555](https://github.com/apache/superset/issues/20555)) ([ac8e502](https://github.com/apache/superset/commit/ac8e502228d1b247c1b56ee692c2cefade1bf1a9))
- Revert "fix(Charts): Set max row limit + removed the option to use an empty row limit value" ([#25753](https://github.com/apache/superset/issues/25753)) ([e2fe967](https://github.com/apache/superset/commit/e2fe96778887d203a852cf09def151ff024cfaf7))
- revert [#21356](https://github.com/apache/superset/issues/21356)(able to sort bar on the bar chart V2) ([#21481](https://github.com/apache/superset/issues/21481)) ([1c0bff3](https://github.com/apache/superset/commit/1c0bff3dfb3649d219abe6a13d9018ded14f334f))
- Revert shared controls typing change. ([#22014](https://github.com/apache/superset/issues/22014)) ([4cbd70d](https://github.com/apache/superset/commit/4cbd70db34b140a026ef1a86a8ef0ba3355a350e))
- Reverts [#20749](https://github.com/apache/superset/issues/20749) and [#20645](https://github.com/apache/superset/issues/20645) ([#20796](https://github.com/apache/superset/issues/20796)) ([3311128](https://github.com/apache/superset/commit/3311128c5e6c5de2ea5d6a2dfeb01ea3179e9af8))
- Row limit hardcoded ([#26807](https://github.com/apache/superset/issues/26807)) ([5e633d2](https://github.com/apache/superset/commit/5e633d2bb0909f1cb4904c07e29a2c683f02131c))
- save columns reference from sqllab save datasets flow ([#24248](https://github.com/apache/superset/issues/24248)) ([93e1db4](https://github.com/apache/superset/commit/93e1db4bd9d045b8a9b345733a60139cb213ab86))
- **select:** make to consider the case sensitive in case of d3 format selector ([#19159](https://github.com/apache/superset/issues/19159)) ([d099f5e](https://github.com/apache/superset/commit/d099f5ed4ad6f5b553c7e3eedbc34cf5ad55eae7))
- **select:** select component sort functionality on certain options ([#17638](https://github.com/apache/superset/issues/17638)) ([f476ba2](https://github.com/apache/superset/commit/f476ba23a279cb87a94ad3075e035cad0ae264b6))
- should be able to remove selection from X-AXIS control ([#21371](https://github.com/apache/superset/issues/21371)) ([eb4ba5b](https://github.com/apache/superset/commit/eb4ba5b08975df2124057c25d3732ef68a0e880a))
- superset-ui/core codes coverage ([#20324](https://github.com/apache/superset/issues/20324)) ([d04357c](https://github.com/apache/superset/commit/d04357c47bec7bac49c602f3d2166375892200ad))
- Table time comparison breaking after form data update ([#29525](https://github.com/apache/superset/issues/29525)) ([3d06651](https://github.com/apache/superset/commit/3d0665183cac3d60b492c680774c197ea64d25e7))
- time grain can't be removed in explore ([#21644](https://github.com/apache/superset/issues/21644)) ([4c17f0e](https://github.com/apache/superset/commit/4c17f0e71e05caa55410edb2317e084c52a25440))
- Time shifts calculation for ECharts plugins ([#28432](https://github.com/apache/superset/issues/28432)) ([821c7d7](https://github.com/apache/superset/commit/821c7d7f2c430c4a4294883a66128ba98fd949c5))
- **time_comparison:** Allow deleting dates when using custom shift ([#30848](https://github.com/apache/superset/issues/30848)) ([8c7a3bf](https://github.com/apache/superset/commit/8c7a3bf85a2b535e03030ad0d195f65a25a75843))
- X Axis should be called Y Axis when using the Bar Chart V2 on Horizontal mode ([#20659](https://github.com/apache/superset/issues/20659)) ([c29261b](https://github.com/apache/superset/commit/c29261b63dee723f108b3404e29a498ecf8421f8))
- x axis title disappears when editing bar chart ([#30821](https://github.com/apache/superset/issues/30821)) ([97dde8c](https://github.com/apache/superset/commit/97dde8c4855641de38f01218d0a4bb5460e3f1b2))
### Features
- add Advanced Analytics into mixed time series chart ([#19851](https://github.com/apache/superset/issues/19851)) ([f5e9f0e](https://github.com/apache/superset/commit/f5e9f0eb3b2045a9d441f59cb3a6109892e6aea9))
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- add renameOperator ([#19776](https://github.com/apache/superset/issues/19776)) ([3c28cd4](https://github.com/apache/superset/commit/3c28cd4625fdeeaeeac3ed730907af1fb86bc86e))
- adding truncate metric control on timeseries charts ([#20373](https://github.com/apache/superset/issues/20373)) ([7c252d7](https://github.com/apache/superset/commit/7c252d75240559d0bba9be3be8419b65b86967df))
- adding XAxis to BigNumberTrend ([#21577](https://github.com/apache/superset/issues/21577)) ([f4646f8](https://github.com/apache/superset/commit/f4646f8edba396dba24e6ff4fbc054d073d77fd7))
- Adds Histogram chart migration logic ([#28780](https://github.com/apache/superset/issues/28780)) ([df0b1cb](https://github.com/apache/superset/commit/df0b1cb8ed6720f77793036d7fb68548670b3bec))
- Adds the ECharts Heatmap chart ([#25353](https://github.com/apache/superset/issues/25353)) ([546d48a](https://github.com/apache/superset/commit/546d48adbb84b1354d6a3d4ae88dbeba0ad14d44))
- Adds the ECharts Histogram chart ([#28652](https://github.com/apache/superset/issues/28652)) ([896fe85](https://github.com/apache/superset/commit/896fe854dc3865214325cfceea94824ff41a1b6c))
- **advanced analysis:** support MultiIndex column in post processing stage ([#19116](https://github.com/apache/superset/issues/19116)) ([375c03e](https://github.com/apache/superset/commit/375c03e08407570bcf417acf5f3d25b28843329c))
- **advanced analytics:** support groupby in resample ([#18045](https://github.com/apache/superset/issues/18045)) ([0c7f728](https://github.com/apache/superset/commit/0c7f7288d8cded5dc73d49d1e0be397e748d4f10))
- apply Time Grain to X-Axis column ([#21163](https://github.com/apache/superset/issues/21163)) ([ce3d38d](https://github.com/apache/superset/commit/ce3d38d2e72a56014fa96ee3d4afe066277cc5be))
- Axis sort in the Bar Chart V2 ([#21993](https://github.com/apache/superset/issues/21993)) ([22fab5e](https://github.com/apache/superset/commit/22fab5e58ce574e962518067d982e3036449e580))
- **chart-controls:** Show detailed data type tooltip when hovering type icon ([#23970](https://github.com/apache/superset/issues/23970)) ([4497601](https://github.com/apache/superset/commit/4497601ebccae71f0164840221852a00288d82ec))
- conditional coloring for big number chart ([#23064](https://github.com/apache/superset/issues/23064)) ([61d8a0b](https://github.com/apache/superset/commit/61d8a0bd1206ffc96ea2f9284e4c238241fcca79))
- custom d3 number locale ([#20075](https://github.com/apache/superset/issues/20075)) ([a170ae4](https://github.com/apache/superset/commit/a170ae4368298207b5a5c9a698889c865fd73421))
- derived metrics use different line style ([#20242](https://github.com/apache/superset/issues/20242)) ([7faf874](https://github.com/apache/superset/commit/7faf874c1b9613258606fb10f5800a185c30c81e))
- drop missing columns control ([#20586](https://github.com/apache/superset/issues/20586)) ([309327d](https://github.com/apache/superset/commit/309327dcbdec954283ef6cd03fccf264a830e4a5))
- explicit distribute columns on BoxPlot and apply time grain ([#21593](https://github.com/apache/superset/issues/21593)) ([93f08e7](https://github.com/apache/superset/commit/93f08e778bfd48be150749f22d0b184467da73ac))
- **explore:** Add time shift color control to ECharts ([#29897](https://github.com/apache/superset/issues/29897)) ([c5594f2](https://github.com/apache/superset/commit/c5594f29792c7f83fde9320097b8a0e6323417e5))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- **explore:** Dataset panel option tooltips ([#19259](https://github.com/apache/superset/issues/19259)) ([45c28c8](https://github.com/apache/superset/commit/45c28c8046c56d4ebe1dfaf0235783fe864ae75f))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- **explore:** Implement metrics and columns popovers empty states ([#18681](https://github.com/apache/superset/issues/18681)) ([c1205b5](https://github.com/apache/superset/commit/c1205b5279e891af8c3276ee2dd7343623e8cbb3))
- **explore:** improve UI in the control panel ([#19748](https://github.com/apache/superset/issues/19748)) ([e3a54aa](https://github.com/apache/superset/commit/e3a54aa3c15bdd0c970aa73f898288a408205c97))
- **explore:** SQL popover in datasource panel ([#19308](https://github.com/apache/superset/issues/19308)) ([60dcd65](https://github.com/apache/superset/commit/60dcd651f44b7e1aa1b030e0cd5c64334a346e60))
- **explore:** UI changes in dataset panel on Explore page ([#19394](https://github.com/apache/superset/issues/19394)) ([a076ae6](https://github.com/apache/superset/commit/a076ae6d9913a62d353d1cc2d4ed09e27ce9f6e2))
- **explore:** UX changes in fast viz switcher ([#20848](https://github.com/apache/superset/issues/20848)) ([5c2c2e8](https://github.com/apache/superset/commit/5c2c2e804064ba674ae18abe5aec495454b7ff21))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- **formatting:** Add memory units adaptive formatter to format bytes ([#30559](https://github.com/apache/superset/issues/30559)) ([0e9c0f6](https://github.com/apache/superset/commit/0e9c0f621ac9ddbcf889045f3d4772b1ee213e8d))
- generate consistent QueryObject whether GenericAxis is enabled or disabled ([#21519](https://github.com/apache/superset/issues/21519)) ([4d12e37](https://github.com/apache/superset/commit/4d12e3709eb7ab1cc4f687c15ed54a4738266482))
- **generic-x-axis:** add x sorting on series limit metric ([#23274](https://github.com/apache/superset/issues/23274)) ([1b139d0](https://github.com/apache/superset/commit/1b139d074852e13c113a408a920991b2abc98387))
- Implement currencies formatter for saved metrics ([#24517](https://github.com/apache/superset/issues/24517)) ([83ff4cd](https://github.com/apache/superset/commit/83ff4cd86a4931fc8eda83aeb3d8d3c92d773202))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **legacy-preset-chart-deckgl:** Add ,.1f and ,.2f value formats to deckgl charts ([#18945](https://github.com/apache/superset/issues/18945)) ([c56dc8e](https://github.com/apache/superset/commit/c56dc8eace6a71b45240d1bb6768d75661052a2e))
- linear imputation in Resample ([#19393](https://github.com/apache/superset/issues/19393)) ([a39dd44](https://github.com/apache/superset/commit/a39dd4493e8b40cc142451bc71e4d1d4f2705d3f))
- Make time shifted series colors match the original series ([#24048](https://github.com/apache/superset/issues/24048)) ([df4d16a](https://github.com/apache/superset/commit/df4d16a7eec3ba06bf1d5e9f016cb0d86b9693e5))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- **number-format:** Add duration formatter with colon notation ([#30593](https://github.com/apache/superset/issues/30593)) ([3d443e0](https://github.com/apache/superset/commit/3d443e01269a3ec2bc44aa0cc6ab20be98809f87))
- **plugin-chart-echarts:** [feature-parity] support extra control for the area chart V2 ([#16493](https://github.com/apache/superset/issues/16493)) ([eab0009](https://github.com/apache/superset/commit/eab0009101a295acf4d8d31df8a57f8fe0deb517))
- **plugin-chart-echarts:** able to sort bar on the bar chart V2 ([#21356](https://github.com/apache/superset/issues/21356)) ([59437ea](https://github.com/apache/superset/commit/59437ea6e7ec02267c6e03e174be39a6cae48893))
- **plugin-chart-echarts:** add support for generic axis to mixed chart ([#20097](https://github.com/apache/superset/issues/20097)) ([d5c5e58](https://github.com/apache/superset/commit/d5c5e58583771a35d8870ce3694b2a3f1b688159))
- **plugin-chart-echarts:** add x-axis sort to multi series ([#23644](https://github.com/apache/superset/issues/23644)) ([f49702f](https://github.com/apache/superset/commit/f49702feffb3b08476c22916e185c0ce2c64e7f1))
- **plugin-chart-echarts:** support horizontal bar chart ([#19918](https://github.com/apache/superset/issues/19918)) ([9854d2d](https://github.com/apache/superset/commit/9854d2d0e8f849366b264353819c6fdf4b0d804d))
- **plugin-chart-echarts:** support non-timeseries x-axis ([#17917](https://github.com/apache/superset/issues/17917)) ([e9651ea](https://github.com/apache/superset/commit/e9651ea52fdc0edb574bfb9dc1b22c225bcc068f)), closes [#18021](https://github.com/apache/superset/issues/18021) [#18039](https://github.com/apache/superset/issues/18039) [#17569](https://github.com/apache/superset/issues/17569) [#18037](https://github.com/apache/superset/issues/18037)
- **plugins:** Tooltips on BigNumber with Time Comparison chart ([#27092](https://github.com/apache/superset/issues/27092)) ([13f1642](https://github.com/apache/superset/commit/13f1642c73920792c3c5671ec295cc859aa0856f))
- **select:** keep options order when in single mode ([#19085](https://github.com/apache/superset/issues/19085)) ([ae13d83](https://github.com/apache/superset/commit/ae13d8313b5687374f5b24e02bccdcc717ba19eb))
- smart tooltip in datasourcepanel ([#18080](https://github.com/apache/superset/issues/18080)) ([aa21a96](https://github.com/apache/superset/commit/aa21a963a6137a1d29ad422c6d7bf79839bc7078))
- **standardized form data:** keep all columns and metrics ([#20377](https://github.com/apache/superset/issues/20377)) ([bbbe102](https://github.com/apache/superset/commit/bbbe102887a524b1ee0ffd4ada8481078dbe5496))
- standardized form_data ([#20010](https://github.com/apache/superset/issues/20010)) ([dd4b581](https://github.com/apache/superset/commit/dd4b581fb55d920fc3b709fc044cea5339802ee2))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- support mulitple temporal filters in AdhocFilter and move the Time Section away ([#21767](https://github.com/apache/superset/issues/21767)) ([a9b229d](https://github.com/apache/superset/commit/a9b229dd1dd9cb9dc8166b1392179fcccb4da138))
- support multiple time columns with time grain in Pivot Table v2 ([#21537](https://github.com/apache/superset/issues/21537)) ([e671d80](https://github.com/apache/superset/commit/e671d8020982111e117e7415dee41672cc32d780))
- **table:** Table with Time Comparison ([#28057](https://github.com/apache/superset/issues/28057)) ([7ddea62](https://github.com/apache/superset/commit/7ddea62331617dad1b8ade1abe7dd8c11a1ba20d))
- **time_comparison:** Support all date formats when computing custom and inherit offsets ([#30002](https://github.com/apache/superset/issues/30002)) ([bc6d2db](https://github.com/apache/superset/commit/bc6d2dba373e59a498d942909ab6631e5c8521e9))
- truncate long values in table viz, a per-column setting ([#19383](https://github.com/apache/superset/issues/19383)) ([7e504ff](https://github.com/apache/superset/commit/7e504ff680698106cf9008b4c2814b01fcac90bb))
- update time comparison choices (again) ([#17968](https://github.com/apache/superset/issues/17968)) ([05d9cde](https://github.com/apache/superset/commit/05d9cde203b99f8c63106446f0be58668cc9f0c9))
- update time comparison choices (again) ([#22458](https://github.com/apache/superset/issues/22458)) ([9e81c3a](https://github.com/apache/superset/commit/9e81c3a1192a18226d505178d16e1e395917a719))
- **world-map:** support color by metric or country column ([#19881](https://github.com/apache/superset/issues/19881)) ([766f737](https://github.com/apache/superset/commit/766f737728c273d39a35dfa281e874a0efeabec3))
### Performance Improvements
- Lazy load React Ace ([#29796](https://github.com/apache/superset/issues/29796)) ([d143b24](https://github.com/apache/superset/commit/d143b24232a9542a012283ec79726b7a407d6033))
- **plugin-chart-table:** Add memoization to avoid rerenders ([#19976](https://github.com/apache/superset/issues/19976)) ([0f68dee](https://github.com/apache/superset/commit/0f68deedf105300c8bd2536bd205d128799c0381))
- Remove antd-with-locales import ([#29788](https://github.com/apache/superset/issues/29788)) ([f1136b5](https://github.com/apache/superset/commit/f1136b57dd6b4cbcb7628dcbf6b1ac46e2a8301b))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/chart-controls",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset UI control-utils",
"keywords": [
"superset"

View File

@@ -1,195 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- [sc-54864] Adds safety check to provide near term fix to save query ([#21034](https://github.com/apache/superset/issues/21034)) ([ab6ec89](https://github.com/apache/superset/commit/ab6ec89f680dbf022a39ed568c6fcdce0439b2dd))
- annotation broken ([#20651](https://github.com/apache/superset/issues/20651)) ([7f918a4](https://github.com/apache/superset/commit/7f918a4ec0e162be13bf3fc0e2f15aaaa5450cec))
- **annotation:** Address regression from [#24694](https://github.com/apache/superset/issues/24694) ([#24874](https://github.com/apache/superset/issues/24874)) ([f05638b](https://github.com/apache/superset/commit/f05638ba845596faef088efa3ee98686d26dad26))
- avoid while cycle in computeMaxFontSize for big Number run forever when css rule applied ([#20173](https://github.com/apache/superset/issues/20173)) ([365acee](https://github.com/apache/superset/commit/365acee663f7942ba7d8dfd0e4cf72c4cecb7a2d))
- BIGINT rendering regression in chartAction ([#21937](https://github.com/apache/superset/issues/21937)) ([4002406](https://github.com/apache/superset/commit/40024064ae35e596215a79d98ed8d0b4a90847f2))
- chart empty state & result panel when multiple queries are executed display incorrectly ([#20816](https://github.com/apache/superset/issues/20816)) ([279ab95](https://github.com/apache/superset/commit/279ab954b1977f7729442733a31c67715476a620))
- **charts:** big-number display broken in echarts ([#24492](https://github.com/apache/superset/issues/24492)) ([3f17945](https://github.com/apache/superset/commit/3f179457457bc2a21a824895aa1cd99b586d9ea0))
- **chart:** Set max row limit + removed the option to use an empty row limit value ([#26151](https://github.com/apache/superset/issues/26151)) ([863f8bb](https://github.com/apache/superset/commit/863f8bbbcdd078814973d444368c12e06ad0c0c0))
- **charts:** Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series ([#21015](https://github.com/apache/superset/issues/21015)) ([bdcc0a9](https://github.com/apache/superset/commit/bdcc0a9bcfff476bcd43edc84f08423d8f415d50))
- **Charts:** Set max row limit + removed the option to use an empty row limit value ([#25579](https://github.com/apache/superset/issues/25579)) ([f556ef5](https://github.com/apache/superset/commit/f556ef53f3177746ec2526b4b963da4ef00c2d58))
- **charts:** Time grain is None when dataset uses Jinja ([#25842](https://github.com/apache/superset/issues/25842)) ([7536dd1](https://github.com/apache/superset/commit/7536dd12cdd58a1bca7d72952a2b74641f16c959))
- clean up chart metadata config ([#19143](https://github.com/apache/superset/issues/19143)) ([3d66912](https://github.com/apache/superset/commit/3d66912d89851f03c38803b29128a45d66b34cb6))
- **codecov:** improve core code coverage ([#20274](https://github.com/apache/superset/issues/20274)) ([5425504](https://github.com/apache/superset/commit/54255042310b9810c09fee25d475a4a1bc8f75de))
- color collision in dashboard with tabs ([#24670](https://github.com/apache/superset/issues/24670)) ([0328dd2](https://github.com/apache/superset/commit/0328dd270467e71260bfa85078beb7b38a87877b))
- core coverage and add a coverage step in workflow ([#20784](https://github.com/apache/superset/issues/20784)) ([9c7bcfc](https://github.com/apache/superset/commit/9c7bcfceadb1101899d6c09330aa8e79330d656f))
- custom SQL in the XAxis ([#21847](https://github.com/apache/superset/issues/21847)) ([0a4ecca](https://github.com/apache/superset/commit/0a4ecca9f259e2ee9cff27a879f2a889f876c7d7))
- **dashboard:** Add correct icon, label and badge to horizontal native filters dropdown button ([#22211](https://github.com/apache/superset/issues/22211)) ([435926b](https://github.com/apache/superset/commit/435926b89e08395f3017a32ea00f3de252fd4fb7))
- **dashboard:** Add remark plugin on markdown ([#23502](https://github.com/apache/superset/issues/23502)) ([439d687](https://github.com/apache/superset/commit/439d687e1f88cad8326c41a3f1dd67a1f5a9ee69))
- **dashboard:** Allow selecting text in cells in Table and PivotTable without triggering cross filters ([#23283](https://github.com/apache/superset/issues/23283)) ([d16512b](https://github.com/apache/superset/commit/d16512b7758e36a1263fc63bd7d9d1f93060dc93))
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **dashboard:** deepmerge htmlSchemaOverrides ([#23329](https://github.com/apache/superset/issues/23329)) ([3919ca6](https://github.com/apache/superset/commit/3919ca60608e1c2d3cfef99d5a8d9d2aef227843))
- **dashboard:** Fix FilterWithDataMask typing and add null check ([#22260](https://github.com/apache/superset/issues/22260)) ([a642d12](https://github.com/apache/superset/commit/a642d126f8019d8f96cc206abfeda7ddc19eda7f))
- **dashboard:** Prevent XSS attack vector ([#21822](https://github.com/apache/superset/issues/21822)) ([ec20c01](https://github.com/apache/superset/commit/ec20c0104e6913cd9b2ab8bacae22eb25ae4cce1))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **Dashboard:** Sync/Async Dashboard Screenshot Generation and Default Cache ([#30755](https://github.com/apache/superset/issues/30755)) ([3e29777](https://github.com/apache/superset/commit/3e297775265eff51ac700826282e3924fe57ea84))
- **dependencies:** stopping (and preventing) full lodash library import... now using only method level imports. ([#26710](https://github.com/apache/superset/issues/26710)) ([1d4b8b6](https://github.com/apache/superset/commit/1d4b8b69896776cf8831b8202e69424e14067011))
- **Dev-Server:** Edit ChartPropsConfig reexport to be a type object ([#28225](https://github.com/apache/superset/issues/28225)) ([2e5f3ed](https://github.com/apache/superset/commit/2e5f3ed85149951200645e00e79a543de9bec02f))
- Drill to detail on values with comma ([#21151](https://github.com/apache/superset/issues/21151)) ([0bf4e56](https://github.com/apache/superset/commit/0bf4e56dc3e129d2b9239f055212249ba95521e4))
- drilling on the categorical xaxis on the stacked barchart v2 ([#21844](https://github.com/apache/superset/issues/21844)) ([f41d0b0](https://github.com/apache/superset/commit/f41d0b0cbf47042bf510dc2b0b24b68e3fa11d37))
- drop the first level of MultiIndex ([#19716](https://github.com/apache/superset/issues/19716)) ([9425dd2](https://github.com/apache/superset/commit/9425dd2cac42f1a92f621848c469cadcc483e757))
- **embedded:** CSV download for chart ([#20261](https://github.com/apache/superset/issues/20261)) ([ab9f72f](https://github.com/apache/superset/commit/ab9f72f1a1359a59e64afd9e820d5823fd53b77b))
- **embedded:** Ensure guest token is passed to log endpoint ([#20647](https://github.com/apache/superset/issues/20647)) ([dfab521](https://github.com/apache/superset/commit/dfab521f50593b97fc778475498920552cad15dc))
- **embedded:** third party cookies ([#20019](https://github.com/apache/superset/issues/20019)) ([3e36d4a](https://github.com/apache/superset/commit/3e36d4a0a1d9e1a1d2d009b6b8db1042d3d37d8b))
- **explore:** Adhoc columns don't display correctly ([#20802](https://github.com/apache/superset/issues/20802)) ([af1bddf](https://github.com/apache/superset/commit/af1bddffad930efc0583b638716980db6747bfbc))
- **explore:** don't discard controls on deprecated ([#30447](https://github.com/apache/superset/issues/30447)) ([b627011](https://github.com/apache/superset/commit/b6270114630e7b3da6c1c11e0cd140397227789d))
- **explore:** Filters with custom SQL disappearing ([#21114](https://github.com/apache/superset/issues/21114)) ([55304b0](https://github.com/apache/superset/commit/55304b02cd599827359cd13e3fe6ccb8581e0fd2))
- **Explore:** Pivot table V2 sort by failure with D&D enabled ([#18835](https://github.com/apache/superset/issues/18835)) ([eafe0cf](https://github.com/apache/superset/commit/eafe0cfc6f040670a9b35ebcd27f5c83eabe068e))
- **Filters:** Apply native & cross filters on common columns ([#30438](https://github.com/apache/superset/issues/30438)) ([3629483](https://github.com/apache/superset/commit/362948324c7718e74c0a9655332249c0e1328703))
- Fix console errors about feature flags when running tests ([#21275](https://github.com/apache/superset/issues/21275)) ([742dbdd](https://github.com/apache/superset/commit/742dbdd0a5c0f0f75d56101b3551077ec06cd53f))
- **frontend:** allow "constructor" property in response data ([#25407](https://github.com/apache/superset/issues/25407)) ([a1983e4](https://github.com/apache/superset/commit/a1983e468ba1a1b0fdbef9d8d5206e61be0b7141))
- invalid float number format by json-bigint ([#21968](https://github.com/apache/superset/issues/21968)) ([3bb9187](https://github.com/apache/superset/commit/3bb91877974650ab3fa82539a30dc0e2a7045dd7))
- invalid float number format by json-bigint ([#21996](https://github.com/apache/superset/issues/21996)) ([3a02339](https://github.com/apache/superset/commit/3a023392e6bfec9660449b7b739530574d2a8238))
- local warning in the frontend development ([#17727](https://github.com/apache/superset/issues/17727)) ([142b5bc](https://github.com/apache/superset/commit/142b5bc506c81847e503e76e498c06e8321dffb1))
- **native filters:** rendering performance improvement by reduce overrendering ([#25901](https://github.com/apache/superset/issues/25901)) ([e1d73d5](https://github.com/apache/superset/commit/e1d73d5420867b0310d4c2608686d5ccca94920f))
- **nativeFilters:** Speed up native filters by removing unnecessary rerenders ([#25282](https://github.com/apache/superset/issues/25282)) ([a0eeb4d](https://github.com/apache/superset/commit/a0eeb4d767df9f573d80b520cf8afe42013616bb))
- **nav:** infinite redirect and upload dataset nav permissions ([#19708](https://github.com/apache/superset/issues/19708)) ([32a9265](https://github.com/apache/superset/commit/32a9265cc0cb850910e55b6f49a73169fc7ed377))
- Only redirect to relative paths when authentication expires ([#18714](https://github.com/apache/superset/issues/18714)) ([8027f5f](https://github.com/apache/superset/commit/8027f5f0a63425c280121d671ae843e4c420793b))
- **plugin-chart-echarts:** support forced categorical x-axis ([#26404](https://github.com/apache/superset/issues/26404)) ([219c4a1](https://github.com/apache/superset/commit/219c4a14b359b77dbfcda74e66b7d06c3792b861))
- **plugin-chart-echarts:** undefined bounds for bubble chart ([#26243](https://github.com/apache/superset/issues/26243)) ([5df544b](https://github.com/apache/superset/commit/5df544b6fb079e98d4ab6839cfbdf7f08358a950))
- **plugin-chart-table:** Include time control ([#23533](https://github.com/apache/superset/issues/23533)) ([13ffb4b](https://github.com/apache/superset/commit/13ffb4b7c203cfa8ebec602fc7c25103eebc019f))
- **plugin:** Period Over Period KPI Plugin Feature flag value ([#26985](https://github.com/apache/superset/issues/26985)) ([db79c37](https://github.com/apache/superset/commit/db79c37707ea08166fc7b664823ff51f439ce1e6))
- process color scheme configs correctly ([#17786](https://github.com/apache/superset/issues/17786)) ([de3d397](https://github.com/apache/superset/commit/de3d3973a249ab56b294d3f5d770a79fe8970abd))
- **Query:** Parse html string error responses to avoid displaying raw HTML as error message ([#29321](https://github.com/apache/superset/issues/29321)) ([de6a518](https://github.com/apache/superset/commit/de6a518161b283e8df7e2b450e5dada6e37efe7b))
- Redirect on 401 ([#17597](https://github.com/apache/superset/issues/17597)) ([46cdc77](https://github.com/apache/superset/commit/46cdc77ae64d0cc55a54719c748391b92a475a33))
- Redirect to full url on 401 ([#19357](https://github.com/apache/superset/issues/19357)) ([b8e5954](https://github.com/apache/superset/commit/b8e595413fa02b5f00c7b91df6283701a5f1b972))
- repeated color in the same chart ([#23762](https://github.com/apache/superset/issues/23762)) ([66594ad](https://github.com/apache/superset/commit/66594ad64739f096d2dca93591ed2d5a4754d562))
- Revert "fix(Charts): Set max row limit + removed the option to use an empty row limit value" ([#25753](https://github.com/apache/superset/issues/25753)) ([e2fe967](https://github.com/apache/superset/commit/e2fe96778887d203a852cf09def151ff024cfaf7))
- Revert enabling CSP ([#24476](https://github.com/apache/superset/issues/24476)) ([fb08e0e](https://github.com/apache/superset/commit/fb08e0ecfc81cba37e26620a7b6d88fbd5658cb8))
- row limits & row count labels are confusing ([#27700](https://github.com/apache/superset/issues/27700)) ([12fe292](https://github.com/apache/superset/commit/12fe2929a4a4b5627d9cff701a1e73644e78ac47))
- save columns reference from sqllab save datasets flow ([#24248](https://github.com/apache/superset/issues/24248)) ([93e1db4](https://github.com/apache/superset/commit/93e1db4bd9d045b8a9b345733a60139cb213ab86))
- save dataset and repopulate state ([#20965](https://github.com/apache/superset/issues/20965)) ([463406f](https://github.com/apache/superset/commit/463406ff095375613bf0270343a4af53142c84d6))
- smarter date formatter ([#25404](https://github.com/apache/superset/issues/25404)) ([f0080f9](https://github.com/apache/superset/commit/f0080f9c559c407c5d06e03db27f2cc40fb227e2))
- **SQL Lab:** hang when result set size is too big ([#30522](https://github.com/apache/superset/issues/30522)) ([6ede327](https://github.com/apache/superset/commit/6ede3271ff3e4c82a53a08e0dd18b35e01c4fa4d))
- **sqllab:** invalid sanitization on comparison symbol ([#25903](https://github.com/apache/superset/issues/25903)) ([581d3c7](https://github.com/apache/superset/commit/581d3c710867120f85ddfc097713e5f2880722c1))
- **sqllab:** normalize changedOn timestamp ([#24513](https://github.com/apache/superset/issues/24513)) ([036294a](https://github.com/apache/superset/commit/036294a1910ad777307ce7c252625b0fefdfa4d8))
- SSH Tunnel configuration settings ([#27186](https://github.com/apache/superset/issues/27186)) ([89e89de](https://github.com/apache/superset/commit/89e89de341c555a1fdbe9d3f5bccada58eb08059))
- superset-ui/core code coverage ([#20676](https://github.com/apache/superset/issues/20676)) ([8d4994a](https://github.com/apache/superset/commit/8d4994a89900c2cf636444e4febad61ce3b69d68))
- superset-ui/core codes coverage ([#20324](https://github.com/apache/superset/issues/20324)) ([d04357c](https://github.com/apache/superset/commit/d04357c47bec7bac49c602f3d2166375892200ad))
- support custom links in markdown ([#26211](https://github.com/apache/superset/issues/26211)) ([d2adc85](https://github.com/apache/superset/commit/d2adc858cbdf1242d96cf7cc0363e39afba88990))
- suppress translation warning in jest ([#20404](https://github.com/apache/superset/issues/20404)) ([9fad26f](https://github.com/apache/superset/commit/9fad26fa1919fceda4abdfce0b973d536b42b6af))
- Table sorting reset ([#23318](https://github.com/apache/superset/issues/23318)) ([da3791a](https://github.com/apache/superset/commit/da3791ad3daa209631a588394600d1a8b635e814))
- Time Column on Generic X-axis ([#23021](https://github.com/apache/superset/issues/23021)) ([464ddee](https://github.com/apache/superset/commit/464ddee4b4164460193027645d87cb25e7b2320e))
- Timeseries Y-axis format with contribution mode ([#27106](https://github.com/apache/superset/issues/27106)) ([af577d6](https://github.com/apache/superset/commit/af577d64b17a9730e28e9021376318326fe31437))
- Total calculation in stacked Timeseries charts ([#24477](https://github.com/apache/superset/issues/24477)) ([c5b4ecd](https://github.com/apache/superset/commit/c5b4ecdca519ab4309a47bfc8feb4a1665c6ce96))
- **trino:** normalize non-iso timestamps ([#23339](https://github.com/apache/superset/issues/23339)) ([a591130](https://github.com/apache/superset/commit/a591130e0bd3c817af9ad937f63f1af1fce90740))
- type of AnnotationLayer ([#21878](https://github.com/apache/superset/issues/21878)) ([f4a4ab4](https://github.com/apache/superset/commit/f4a4ab41e05be90b31ab2f9d2a0f23110bd5df21))
- typescript errors in 4.0 ([#27402](https://github.com/apache/superset/issues/27402)) ([ce0b70c](https://github.com/apache/superset/commit/ce0b70cc8685aa4d83c0c4ad0fb8f03fb7e28ede))
- Typing of labelMap ([#21181](https://github.com/apache/superset/issues/21181)) ([1143e17](https://github.com/apache/superset/commit/1143e17742d1fa4c4cbae2c86e4998f4cc7e9f88))
- typo on doc string ([#19346](https://github.com/apache/superset/issues/19346)) ([2af2d00](https://github.com/apache/superset/commit/2af2d00e852032e1d4eaaa50fd7e8d5415a1db16))
- Use default custom time range time without timezone ([#29669](https://github.com/apache/superset/issues/29669)) ([cd713a2](https://github.com/apache/superset/commit/cd713a239e8f8d0e990dda900632972586af8d00))
- useTruncation infinite loop, reenable dashboard cross links on ChartList ([#27701](https://github.com/apache/superset/issues/27701)) ([ae0f2ce](https://github.com/apache/superset/commit/ae0f2ce3c11aaeef9d8f3ee17ab68d4a4219ae81))
### Features
- a simple LRUCache in frontend ([#20842](https://github.com/apache/superset/issues/20842)) ([55a89df](https://github.com/apache/superset/commit/55a89dfac93f9855dbf1beb2ee0c0f21da54095b))
- add 'dashboard.nav.right' extension to registry ([#20835](https://github.com/apache/superset/issues/20835)) ([226712d](https://github.com/apache/superset/commit/226712d831a80cc44213c5ce8ed921518ea0397c))
- Add 3 new extension points for inserting custom icons ([#22027](https://github.com/apache/superset/issues/22027)) ([c870fbe](https://github.com/apache/superset/commit/c870fbe9e290e9305e6019bb4e9932bbd736b6dc))
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- Add deck.gl Heatmap Visualization ([#23551](https://github.com/apache/superset/issues/23551)) ([fc8c537](https://github.com/apache/superset/commit/fc8c537118ce6c7b3a4624f88a31e2e7fb287327))
- add extension point for workspace home page ([#21033](https://github.com/apache/superset/issues/21033)) ([83dd851](https://github.com/apache/superset/commit/83dd85166f917a5cff8c94d2b4d2c298182494b9))
- add extension point to the right side of the menu bar ([#20514](https://github.com/apache/superset/issues/20514)) ([f2af81b](https://github.com/apache/superset/commit/f2af81b1c74a56e6854039cfe5f32e9b035ce262))
- add extension point to the top of welcome page ([#20575](https://github.com/apache/superset/issues/20575)) ([2389871](https://github.com/apache/superset/commit/2389871556cde32c61bc694f09b4e7dbc5432af5))
- add new SQLLAB_FORCE_RUN_ASYNC feature flag ([#29231](https://github.com/apache/superset/issues/29231)) ([5e060ce](https://github.com/apache/superset/commit/5e060cef7c0ec197a44b92490eb11c5a39282c92))
- add renameOperator ([#19776](https://github.com/apache/superset/issues/19776)) ([3c28cd4](https://github.com/apache/superset/commit/3c28cd4625fdeeaeeac3ed730907af1fb86bc86e))
- add slackv2 notification ([#29264](https://github.com/apache/superset/issues/29264)) ([6dbfe2a](https://github.com/apache/superset/commit/6dbfe2aab9488d5b35a16b45f873c814d97768f5))
- add support for comments in adhoc clauses ([#19248](https://github.com/apache/superset/issues/19248)) ([f341025](https://github.com/apache/superset/commit/f341025d80aacf7345e7c20f8463231b9197ea58))
- add support to NOT LIKE operator ([#29384](https://github.com/apache/superset/issues/29384)) ([9724c99](https://github.com/apache/superset/commit/9724c993419952fbcbeb8cd19e51a723fc663b04))
- Adds drill to detail context menu for ECharts visualizations ([#20891](https://github.com/apache/superset/issues/20891)) ([3df8335](https://github.com/apache/superset/commit/3df8335f8792c85d7e2f7fefa5dd60fb2c0befaf))
- Adds support to multiple dependencies to the native filters ([#18793](https://github.com/apache/superset/issues/18793)) ([06e1e42](https://github.com/apache/superset/commit/06e1e4285ea52d27f9b7b7dfea59f9652ee0dcfe))
- Adds the CROSS_REFERENCE feature flag ([#21708](https://github.com/apache/superset/issues/21708)) ([1cbf066](https://github.com/apache/superset/commit/1cbf0664152cef5d47720e1acffb955c328e291e))
- Adds the ECharts Heatmap chart ([#25353](https://github.com/apache/superset/issues/25353)) ([546d48a](https://github.com/apache/superset/commit/546d48adbb84b1354d6a3d4ae88dbeba0ad14d44))
- Adds the ECharts Histogram chart ([#28652](https://github.com/apache/superset/issues/28652)) ([896fe85](https://github.com/apache/superset/commit/896fe854dc3865214325cfceea94824ff41a1b6c))
- Adds the HORIZONTAL_FILTER_BAR feature flag ([#21935](https://github.com/apache/superset/issues/21935)) ([779d9f7](https://github.com/apache/superset/commit/779d9f75336ce38ab346e27dcb6a77e5a68cf823))
- **advanced analysis:** support MultiIndex column in post processing stage ([#19116](https://github.com/apache/superset/issues/19116)) ([375c03e](https://github.com/apache/superset/commit/375c03e08407570bcf417acf5f3d25b28843329c))
- **advanced analytics:** support groupby in resample ([#18045](https://github.com/apache/superset/issues/18045)) ([0c7f728](https://github.com/apache/superset/commit/0c7f7288d8cded5dc73d49d1e0be397e748d4f10))
- **alert report tabs:** adding feature flag ([#27773](https://github.com/apache/superset/issues/27773)) ([aef325a](https://github.com/apache/superset/commit/aef325a41687804b3e9ee6731e99821062604c43))
- apply Time Grain to X-Axis column ([#21163](https://github.com/apache/superset/issues/21163)) ([ce3d38d](https://github.com/apache/superset/commit/ce3d38d2e72a56014fa96ee3d4afe066277cc5be))
- Axis sort in the Bar Chart V2 ([#21993](https://github.com/apache/superset/issues/21993)) ([22fab5e](https://github.com/apache/superset/commit/22fab5e58ce574e962518067d982e3036449e580))
- **build:** uplift `Jest` to v29 ([#29118](https://github.com/apache/superset/issues/29118)) ([dffad48](https://github.com/apache/superset/commit/dffad4850404abed68700cc18d9124abe7594aa4))
- **business-types:** initial implementation of SIP-78 ([#18794](https://github.com/apache/superset/issues/18794)) ([ddc01ea](https://github.com/apache/superset/commit/ddc01ea7813ef7c02cfc2aee7cbf554a45628f25))
- **chart:** add feature flag that displays the data pane closes by default ([#21649](https://github.com/apache/superset/issues/21649)) ([ebd7536](https://github.com/apache/superset/commit/ebd75366c0c7acd6d4619996c4f209b51af518e2))
- **color:** color consistency enhancements ([#21507](https://github.com/apache/superset/issues/21507)) ([7a7181a](https://github.com/apache/superset/commit/7a7181a2449598b09298f3a113849caeb3309186))
- **color:** support analogous colors to prevent color conflict ([#19325](https://github.com/apache/superset/issues/19325)) ([90c9dae](https://github.com/apache/superset/commit/90c9daea08cd59ba7261c13e1ce4e80a72f84b48))
- Convert ENABLE_BROAD_ACTIVITY_ACCESS and MENU_HIDE_USER_INFO into feature flags ([#24345](https://github.com/apache/superset/issues/24345)) ([a7f7f66](https://github.com/apache/superset/commit/a7f7f6645dd374bee4358544c87e5c3120dcdb73))
- custom d3 number locale ([#20075](https://github.com/apache/superset/issues/20075)) ([a170ae4](https://github.com/apache/superset/commit/a170ae4368298207b5a5c9a698889c865fd73421))
- **dashboard:** Add cross filter from context menu ([#23141](https://github.com/apache/superset/issues/23141)) ([ee1952e](https://github.com/apache/superset/commit/ee1952e488f2cd0913fe6f35ffe551d18ee3d143))
- **dashboard:** Add Drill to Detail modal w/ chart menu + right-click support ([#20728](https://github.com/apache/superset/issues/20728)) ([52648ec](https://github.com/apache/superset/commit/52648ecd7f6158473ec198e1ade9a5a69008b752))
- **dashboard:** confirm overwrite to prevent unintended changes ([#21819](https://github.com/apache/superset/issues/21819)) ([ef6b9a9](https://github.com/apache/superset/commit/ef6b9a97d594f748ab710e27281d41ee5250d33a))
- **dashboard:** make color indices referable ([#23657](https://github.com/apache/superset/issues/23657)) ([c8fa44e](https://github.com/apache/superset/commit/c8fa44e9e904160de705cd643d1df092815348b1))
- **dashboard:** menu improvements, fallback support for Drill to Detail ([#21351](https://github.com/apache/superset/issues/21351)) ([76e57ec](https://github.com/apache/superset/commit/76e57ec651bbfaf4f76031eeeca66f6a1fa81bc2))
- **dashboard:** Transition to Explore with React Router ([#20606](https://github.com/apache/superset/issues/20606)) ([de4f7db](https://github.com/apache/superset/commit/de4f7db57ec33c497be9c880fde534a1f026241f))
- database extension registry ([#23174](https://github.com/apache/superset/issues/23174)) ([6b54591](https://github.com/apache/superset/commit/6b5459121f9542c9f0976aec1ebdfe7b1a078472))
- **deckgl-map:** use an arbitraty Mabpox style URL ([#26027](https://github.com/apache/superset/issues/26027)) ([#26031](https://github.com/apache/superset/issues/26031)) ([af58784](https://github.com/apache/superset/commit/af587840403d83a7da7fb0f57bc10ad2335d4eeb))
- Drill by open in Explore ([#23575](https://github.com/apache/superset/issues/23575)) ([117360c](https://github.com/apache/superset/commit/117360cd57bdbf9fd60fc479c6fe64dc077dbfee))
- Dynamic dashboard component ([#17208](https://github.com/apache/superset/issues/17208)) ([bcad1ac](https://github.com/apache/superset/commit/bcad1acec27823756dc403f6e982f5e59ec6d6cf))
- embedded dashboard core ([#17530](https://github.com/apache/superset/issues/17530)) ([4ad5ad0](https://github.com/apache/superset/commit/4ad5ad045a9adb506d14b2c02fdbefc564d25bdb)), closes [#17175](https://github.com/apache/superset/issues/17175) [#17450](https://github.com/apache/superset/issues/17450) [#17517](https://github.com/apache/superset/issues/17517) [#17529](https://github.com/apache/superset/issues/17529) [#17757](https://github.com/apache/superset/issues/17757) [#17836](https://github.com/apache/superset/issues/17836)
- explicit distribute columns on BoxPlot and apply time grain ([#21593](https://github.com/apache/superset/issues/21593)) ([93f08e7](https://github.com/apache/superset/commit/93f08e778bfd48be150749f22d0b184467da73ac))
- **explore:** add config for default time filter ([#21879](https://github.com/apache/superset/issues/21879)) ([9a063ab](https://github.com/apache/superset/commit/9a063abb3b28e32b1107950942571d564bb283f8))
- **explore:** Color scheme groups, new color schemes ([#27995](https://github.com/apache/superset/issues/27995)) ([bbfe5c0](https://github.com/apache/superset/commit/bbfe5c0ae88df8556b3390b06ce9e400cabdc943))
- **explore:** Don't discard controls with custom sql when changing datasource ([#20934](https://github.com/apache/superset/issues/20934)) ([cddc361](https://github.com/apache/superset/commit/cddc361adc483ed605857a2eb39c5efffa089076))
- **explore:** export csv data pivoted for Pivot Table [ID-9] ([#17512](https://github.com/apache/superset/issues/17512)) ([07e8837](https://github.com/apache/superset/commit/07e8837093b79b08e18224dd6765a2fc15a0e770))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- **explore:** Implement chart empty states ([#18678](https://github.com/apache/superset/issues/18678)) ([167e18e](https://github.com/apache/superset/commit/167e18e806799dede3aa56da98be11f4751f0272))
- extension hook for DB delete ([#24191](https://github.com/apache/superset/issues/24191)) ([9df8d8d](https://github.com/apache/superset/commit/9df8d8dda538095ba3b30d1f82aa81acf17e1c95))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- **formatting:** Add memory units adaptive formatter to format bytes ([#30559](https://github.com/apache/superset/issues/30559)) ([0e9c0f6](https://github.com/apache/superset/commit/0e9c0f621ac9ddbcf889045f3d4772b1ee213e8d))
- Frontend tagging ([#20876](https://github.com/apache/superset/issues/20876)) ([a40c12d](https://github.com/apache/superset/commit/a40c12d63e04811f3a710a862298bfa68dfde3d8))
- generate consistent QueryObject whether GenericAxis is enabled or disabled ([#21519](https://github.com/apache/superset/issues/21519)) ([4d12e37](https://github.com/apache/superset/commit/4d12e3709eb7ab1cc4f687c15ed54a4738266482))
- Implement context menu for drill by ([#23454](https://github.com/apache/superset/issues/23454)) ([9fbfd1c](https://github.com/apache/superset/commit/9fbfd1c1d883f983ef96b8812297721e2a1a9695))
- Implement currencies formatter for saved metrics ([#24517](https://github.com/apache/superset/issues/24517)) ([83ff4cd](https://github.com/apache/superset/commit/83ff4cd86a4931fc8eda83aeb3d8d3c92d773202))
- Implement support for currencies in more charts ([#24594](https://github.com/apache/superset/issues/24594)) ([d74d7ec](https://github.com/apache/superset/commit/d74d7eca23a3c94bc48af082c115d34c103e815d))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- Improves SafeMarkdown HTML sanitization ([#21895](https://github.com/apache/superset/issues/21895)) ([7d1df3b](https://github.com/apache/superset/commit/7d1df3b78d5d7147dd9d627317e3f9f10d279ae0))
- Improves the Drill By feature ([#29242](https://github.com/apache/superset/issues/29242)) ([08e44c0](https://github.com/apache/superset/commit/08e44c085014ca258fe0c22886067dc716a910c6))
- Improves the Waterfall chart ([#25557](https://github.com/apache/superset/issues/25557)) ([d619078](https://github.com/apache/superset/commit/d619078d25dde63c55e9afd87e98f05d4fb82b86))
- make data tables support html ([#24368](https://github.com/apache/superset/issues/24368)) ([d2b0b8e](https://github.com/apache/superset/commit/d2b0b8eac52ad8b68639c6581a1ed174a593f564))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- **native-filters:** Adjust filter components for horizontal mode ([#22273](https://github.com/apache/superset/issues/22273)) ([eb6045a](https://github.com/apache/superset/commit/eb6045adfa77e06c8aaf3de217719ca59d4328e1))
- Pass dashboard context to explore through local storage ([#20743](https://github.com/apache/superset/issues/20743)) ([0945d4a](https://github.com/apache/superset/commit/0945d4a2f46667aebb9b93d0d7685215627ad237))
- Period over Period Big Number comparison chart ([#26908](https://github.com/apache/superset/issues/26908)) ([a09e555](https://github.com/apache/superset/commit/a09e5557bc8b40e46495b9473959327118dfaacf))
- **plugin-chart-echarts:** support non-timeseries x-axis ([#17917](https://github.com/apache/superset/issues/17917)) ([e9651ea](https://github.com/apache/superset/commit/e9651ea52fdc0edb574bfb9dc1b22c225bcc068f)), closes [#18021](https://github.com/apache/superset/issues/18021) [#18039](https://github.com/apache/superset/issues/18039) [#17569](https://github.com/apache/superset/issues/17569) [#18037](https://github.com/apache/superset/issues/18037)
- Programmatically open "more filters" dropdown in Horizontal Filter Bar ([#22276](https://github.com/apache/superset/issues/22276)) ([df91664](https://github.com/apache/superset/commit/df91664217b5369d1f742ce03596a366e18cd4b9))
- Reuse Dashboard redux data in Explore ([#20668](https://github.com/apache/superset/issues/20668)) ([ff5b4bc](https://github.com/apache/superset/commit/ff5b4bc0e47f057e0660d453a9e53f939613356b))
- root context provider extension point ([#22188](https://github.com/apache/superset/issues/22188)) ([aa97ba4](https://github.com/apache/superset/commit/aa97ba4509431a82922f2fa6930928093c876d6f))
- **select:** keep options order when in single mode ([#19085](https://github.com/apache/superset/issues/19085)) ([ae13d83](https://github.com/apache/superset/commit/ae13d8313b5687374f5b24e02bccdcc717ba19eb))
- **SIP-95:** catalogs in SQL Lab and datasets ([#28376](https://github.com/apache/superset/issues/28376)) ([ce668d4](https://github.com/apache/superset/commit/ce668d46cc5d429a249fdd9e091650457da20361))
- **sqllab:** ResultTable extension ([#25423](https://github.com/apache/superset/issues/25423)) ([deef3b0](https://github.com/apache/superset/commit/deef3b04ebed1178259af5909779392cfa0cd630))
- **sqllab:** SQLEditor Extension ([#24205](https://github.com/apache/superset/issues/24205)) ([1d9a761](https://github.com/apache/superset/commit/1d9a761de5410fa1bd208bca4c78614779cf3064))
- **ssh_tunnel:** SQLAlchemy Form UI ([#22513](https://github.com/apache/superset/issues/22513)) ([5399365](https://github.com/apache/superset/commit/539936522fbbda46ebb39b65ed298f6e251a548f))
- **ssh_tunnel:** SSH Tunnel Switch extension ([#22967](https://github.com/apache/superset/issues/22967)) ([cf395ac](https://github.com/apache/superset/commit/cf395ac2d8e04782cffc93e8a0a0b28678c407fe))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- **superset-ui-core:** add feature flag for the analogous colors ([#19987](https://github.com/apache/superset/issues/19987)) ([80b5578](https://github.com/apache/superset/commit/80b55786809310e28566d745308b167f0e74b144))
- SupersetClient config to override 401 behavior ([#19144](https://github.com/apache/superset/issues/19144)) ([96a123f](https://github.com/apache/superset/commit/96a123f553f80ae7454daaf139b33e1397d9e3f7))
- Support further drill by in the modal ([#23615](https://github.com/apache/superset/issues/23615)) ([587e775](https://github.com/apache/superset/commit/587e7759b1b674440ac0aa705ebae6599564875f))
- support mulitple temporal filters in AdhocFilter and move the Time Section away ([#21767](https://github.com/apache/superset/issues/21767)) ([a9b229d](https://github.com/apache/superset/commit/a9b229dd1dd9cb9dc8166b1392179fcccb4da138))
- **table:** Table with Time Comparison ([#28057](https://github.com/apache/superset/issues/28057)) ([7ddea62](https://github.com/apache/superset/commit/7ddea62331617dad1b8ade1abe7dd8c11a1ba20d))
- **time_comparison:** Support all date formats when computing custom and inherit offsets ([#30002](https://github.com/apache/superset/issues/30002)) ([bc6d2db](https://github.com/apache/superset/commit/bc6d2dba373e59a498d942909ab6631e5c8521e9))
- UI override registry ([#19671](https://github.com/apache/superset/issues/19671)) ([4927685](https://github.com/apache/superset/commit/4927685c3059c0207713bceeea7c60f1f3b75ec3))
- Utility function to render chart tooltips ([#27950](https://github.com/apache/superset/issues/27950)) ([b549977](https://github.com/apache/superset/commit/b549977f0538d6939dce756c7615052e5f2e6c93))
- Visualize SqlLab.Query model data in Explore 📈 ([#20281](https://github.com/apache/superset/issues/20281)) ([e5e8867](https://github.com/apache/superset/commit/e5e886739460c011a885a13b873665410045a19c))
- **viz-gallery:** add 'feature' tag and fuzzy search weighting ([#18662](https://github.com/apache/superset/issues/18662)) ([7524e1e](https://github.com/apache/superset/commit/7524e1e3c86f3de2b3b0343c3ec5efc0b345937a))
### Performance Improvements
- **dashboard:** Virtualization POC ([#21438](https://github.com/apache/superset/issues/21438)) ([406e44b](https://github.com/apache/superset/commit/406e44bba11f6b233c3b07d29efd158b8cfc9615))
- Lazy load rehype-raw and react-markdown ([#29855](https://github.com/apache/superset/issues/29855)) ([5b5f448](https://github.com/apache/superset/commit/5b5f448af04afedec1387c2f04c658dfced6d95a))
- **plugin-chart-table:** Add memoization to avoid rerenders ([#19976](https://github.com/apache/superset/issues/19976)) ([0f68dee](https://github.com/apache/superset/commit/0f68deedf105300c8bd2536bd205d128799c0381))
- Remove antd-with-locales import ([#29788](https://github.com/apache/superset/issues/29788)) ([f1136b5](https://github.com/apache/superset/commit/f1136b57dd6b4cbcb7628dcbf6b1ac46e2a8301b))
### Reverts
- Revert "feat: Reuse Dashboard redux data in Explore (#20668)" (#20689) ([5317462](https://github.com/apache/superset/commit/5317462b49d050d93d91eee5e97ec56e15f9f298)), closes [#20668](https://github.com/apache/superset/issues/20668) [#20689](https://github.com/apache/superset/issues/20689)
## [0.20.4](https://github.com/apache/superset/compare/v0.20.3...v0.20.4) (2024-12-10)
**Note:** Version bump only for package @superset-ui/core

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/core",
"version": "0.21.0",
"version": "0.20.4",
"description": "Superset UI core",
"keywords": [
"superset"

View File

@@ -1,33 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **ci:** fix failed `docker-build` CI job ([#28442](https://github.com/apache/superset/issues/28442)) ([4f51f05](https://github.com/apache/superset/commit/4f51f051334e5285495a53074c54aae0fea77156))
- **plugin-chart-echarts:** invalid total label location for negative values in stacked bar chart ([#21032](https://github.com/apache/superset/issues/21032)) ([a8ba544](https://github.com/apache/superset/commit/a8ba544e609ad3af449239c1fb956bb18c7066c4))
- **plugin-chart-echarts:** missing value format in mixed timeseries ([#21044](https://github.com/apache/superset/issues/21044)) ([2d1ba46](https://github.com/apache/superset/commit/2d1ba468441b113c574d6fcc5984e8e09ddbc1c6))
- **plugin-chart-pivot-table:** Invalid Formats Date Fields ([#20909](https://github.com/apache/superset/issues/20909)) ([3f124d9](https://github.com/apache/superset/commit/3f124d9d67f194746da0a49ee2456a0530ec73f9))
- **storybook:** fix broken Storybook stories during development ([#29587](https://github.com/apache/superset/issues/29587)) ([462cda4](https://github.com/apache/superset/commit/462cda400baa00b3bcc4a7f8aded362ca55e18a5))
### Features
- add drag and drop column rearrangement for table viz ([#19381](https://github.com/apache/superset/issues/19381)) ([7e9b85f](https://github.com/apache/superset/commit/7e9b85f76ca8cae38c38e11f857634216b1cd71c))
- add Nightingale chart support for echarts pie chart ([#28597](https://github.com/apache/superset/issues/28597)) ([f9d2451](https://github.com/apache/superset/commit/f9d2451b23e0f5b0316a61889a8d964704e888dc))
- Adds the ECharts Bubble chart ([#22107](https://github.com/apache/superset/issues/22107)) ([c81c60c](https://github.com/apache/superset/commit/c81c60c91fbcb09dd63c05f050e18ee09ceebfd6))
- Adds the ECharts Sunburst chart ([#22833](https://github.com/apache/superset/issues/22833)) ([30abefb](https://github.com/apache/superset/commit/30abefb519978e2760a492de51dc0d19803edf3a))
- **build:** uplift Storybook to v8 ([#29408](https://github.com/apache/superset/issues/29408)) ([3bf8989](https://github.com/apache/superset/commit/3bf89893dc17a8dea94a40a6d590625d215e8dab))
- Migrates Dual Line Chart to Mixed Chart ([#23910](https://github.com/apache/superset/issues/23910)) ([f5148ef](https://github.com/apache/superset/commit/f5148ef728ce649697c10fb7aa65982d7dd05638))
- Migrates Pivot Table v1 to v2 ([#23712](https://github.com/apache/superset/issues/23712)) ([522eb97](https://github.com/apache/superset/commit/522eb97b65dcaceb82f7f1b7de8545997a415253))
- Migrates TreeMap chart ([#23741](https://github.com/apache/superset/issues/23741)) ([af24092](https://github.com/apache/superset/commit/af24092440f23f807554dcc63e3e45c3c73273bf))
- **plugin-chart-echarts:** Echarts Waterfall ([#17906](https://github.com/apache/superset/issues/17906)) ([17792a5](https://github.com/apache/superset/commit/17792a507c7245c9e09c6eb98a774f2ef4ec8568))
- Removes the preset-chart-xy plugin ([#23943](https://github.com/apache/superset/issues/23943)) ([e922f09](https://github.com/apache/superset/commit/e922f0993d31732f048eb4d638c67cd7fc18bdfa))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- **timeseries-chart:** add percentage threshold input control ([#17758](https://github.com/apache/superset/issues/17758)) ([6bd4dd2](https://github.com/apache/superset/commit/6bd4dd257a6089a093bae3f251cf9f0976d353e6))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/demo",
"version": "0.21.0",
"version": "0.20.0",
"private": true,
"description": "Storybook for Superset UI ✨",
"keywords": [

View File

@@ -1,16 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Features
- **embedded-dashboard:** Share Switchboard State for Sending Events from Plugins ([#21319](https://github.com/apache/superset/issues/21319)) ([20b9dc8](https://github.com/apache/superset/commit/20b9dc84449969706efb94210bc11b2e43cc9a0f))
- Introduce a library for embedded iframe <-> host communication ([#18652](https://github.com/apache/superset/issues/18652)) ([225015f](https://github.com/apache/superset/commit/225015fd5a94c1a92cc9b110e3e3db5cd532d47b))
- make ephemeral env use supersetbot + deprecate build_docker.py ([#30870](https://github.com/apache/superset/issues/30870)) ([e0deb70](https://github.com/apache/superset/commit/e0deb704f945361110ae14aeba0c9a02a2ff8630))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/switchboard",
"version": "0.21.0",
"version": "0.20.3",
"description": "Switchboard is a library to make it easier to communicate across browser windows using the MessageChannel API",
"sideEffects": false,
"main": "lib/index.js",

View File

@@ -1,21 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery ([#22523](https://github.com/apache/superset/issues/22523)) ([839ec7c](https://github.com/apache/superset/commit/839ec7ceacc66c65928fd0ddead2b014db3d5563))
- Calendar Heatmap day offset ([#24989](https://github.com/apache/superset/issues/24989)) ([025e4d4](https://github.com/apache/superset/commit/025e4d4772e778097da7b9e1675782b73eaa887c))
- **legacy-plugin-chart-calendar:** fix timestamp timezone in Calendar ([#17664](https://github.com/apache/superset/issues/17664)) ([e660ea2](https://github.com/apache/superset/commit/e660ea25331b092ecb5976254abfc45a413f07d5))
- Native time range filter in legacy charts ([#23865](https://github.com/apache/superset/issues/23865)) ([78833bc](https://github.com/apache/superset/commit/78833bcc3068968ac62959dd541afd00c7e11c24))
### Features
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-calendar",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Calendar Heatmap",
"keywords": [
"superset"

View File

@@ -1,22 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **plugins:** display correct tooltip (fixes [#3342](https://github.com/apache/superset/issues/3342)) ([#30023](https://github.com/apache/superset/issues/30023)) ([c428108](https://github.com/apache/superset/commit/c428108713b3e9185978a7b3cb2a12a5ec6bc99d))
### Features
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-chord",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Chord Diagram",
"sideEffects": [
"*.css"

View File

@@ -1,46 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- Add mexico back to country map ([#18219](https://github.com/apache/superset/issues/18219)) ([7f3453f](https://github.com/apache/superset/commit/7f3453f3ea4d5185c3a5f2c1d8738f474817600f))
- adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery ([#22523](https://github.com/apache/superset/issues/22523)) ([839ec7c](https://github.com/apache/superset/commit/839ec7ceacc66c65928fd0ddead2b014db3d5563))
- Correct Ukraine map ([#19528](https://github.com/apache/superset/issues/19528)) ([cccec9a](https://github.com/apache/superset/commit/cccec9a6ab8eadea2ecaac6ee2094c8eb7d6b1f4))
- **country-map:** Rename incorrect Vietnam province name for Country Map ([#30608](https://github.com/apache/superset/issues/30608)) ([a74ef41](https://github.com/apache/superset/commit/a74ef412fbaa26a268b31a488da9bfb7b44ac6e0))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- Department names fixed for CountryMap of France ([#23988](https://github.com/apache/superset/issues/23988)) ([a9c4472](https://github.com/apache/superset/commit/a9c4472d25f6c77bbd89c0c56802fd9c9335610c))
- **Indian Map Changes:** fixed-Indian-map-border ([#24927](https://github.com/apache/superset/issues/24927)) ([0d0a81c](https://github.com/apache/superset/commit/0d0a81c0d2a3efcfa92c7a1ac441760d5a4bc8ff))
- **maps:** adds Crimea back to Ukraine 🇺🇦 ([#28226](https://github.com/apache/superset/issues/28226)) ([1e47e65](https://github.com/apache/superset/commit/1e47e65ac504ce58c58377378b333bdccbe1919c))
- **maps:** france_regions.geojson generated with the notebook, from natural earth data ([#27014](https://github.com/apache/superset/issues/27014)) ([42b7bd5](https://github.com/apache/superset/commit/42b7bd5c03146bd2ee5564c8f61058505c88169c))
- **maps:** Load indian map borders correctly (Restores [#24927](https://github.com/apache/superset/issues/24927) fixes) ([#29170](https://github.com/apache/superset/issues/29170)) ([8699571](https://github.com/apache/superset/commit/8699571654965a7975a44e6ddf8e7a9c9e69bacc))
- **maps:** Move Overseas department and regions closer to France mainland ([#26995](https://github.com/apache/superset/issues/26995)) ([2602527](https://github.com/apache/superset/commit/26025274a1ad7d3cb5842377a490555f984be695))
- **plugin/country/map:** rectify naming for some Vietnamese provinces ([#29444](https://github.com/apache/superset/issues/29444)) ([92680b3](https://github.com/apache/superset/commit/92680b3fe477bbe3175210243d660a1054e7e853))
### Features
- Add Czech Republic country map. ([#28035](https://github.com/apache/superset/issues/28035)) ([63afa24](https://github.com/apache/superset/commit/63afa24c115ef29d623d2acf4f3ec6786466e33c))
- add France's regions to country map visualization ([#25676](https://github.com/apache/superset/issues/25676)) ([ee23690](https://github.com/apache/superset/commit/ee2369019694c55111bf4030e808cf6fd1fbf315))
- Add Turkey's regions to country map visualization ([#27455](https://github.com/apache/superset/issues/27455)) ([6b529a4](https://github.com/apache/superset/commit/6b529a4b68f26ec0f38926d78057473de3ed2648))
- Add Türkiye Map to Country Map ([#20801](https://github.com/apache/superset/issues/20801)) ([4ffa3c2](https://github.com/apache/superset/commit/4ffa3c22d17b189a384f43a0e352b137900b10bc))
- Added latin america countries to country map ([#21352](https://github.com/apache/superset/issues/21352)) ([f83af88](https://github.com/apache/superset/commit/f83af88fc7922774b4c1a7792f0602edcb80763d))
- **chart:** add Mexico to country map viz ([#18007](https://github.com/apache/superset/issues/18007)) ([f451081](https://github.com/apache/superset/commit/f45108116673d5810c238bb911058dc8ed05b75a))
- **chart:** Added SriLanka country map ([#23338](https://github.com/apache/superset/issues/23338)) ([a5c31b2](https://github.com/apache/superset/commit/a5c31b2426e21fc99afed5bde4151456144496af))
- **chart:** Added Central Asia countries to countries map ([#24870](https://github.com/apache/superset/issues/24870)) ([031e660](https://github.com/apache/superset/commit/031e6605068e45ae6e64a03f090831b7f227bf0b))
- **chart:** Added Latvia to countries map ([#22220](https://github.com/apache/superset/issues/22220)) ([9578a44](https://github.com/apache/superset/commit/9578a443ef713f01f4cc9cd3a8616b819a7a7a65))
- **chart:** Added Papua New Guinea to countries map ([#22589](https://github.com/apache/superset/issues/22589)) ([b352947](https://github.com/apache/superset/commit/b3529479ab39fcc273189bf4db4a0f1fd8b1cc0c))
- **country map:** Adding Hungary (and other touchups) ([#29627](https://github.com/apache/superset/issues/29627)) ([72caec1](https://github.com/apache/superset/commit/72caec10fe7fe192bdd37e5435f3eef6b41ef0b5))
- **country-map:** added new countries in country-chart-map ([#18081](https://github.com/apache/superset/issues/18081)) ([0cec0c9](https://github.com/apache/superset/commit/0cec0c9a68c9489c54bea8d10ea7b28c1729e2dc))
- **country-map:** Adds Philippines regional map and updates/cleans existing Philippines provincial map ([#27933](https://github.com/apache/superset/issues/27933)) ([ce1d18e](https://github.com/apache/superset/commit/ce1d18e5341b37769e2f73ec0e37c9c5782c5855))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **maps:** Add Italy regions code to the map generator notebook ([#27542](https://github.com/apache/superset/issues/27542)) ([86aa8bd](https://github.com/apache/superset/commit/86aa8bde8bcbf2461aede3025f8e2f15d8763546))
- **maps:** Adding ALL the countries to the Country Map plugin! 🌎 ([#28265](https://github.com/apache/superset/issues/28265)) ([cafc1a2](https://github.com/apache/superset/commit/cafc1a2c13eef303480beb8c68ec02b79dea31a9))
- **maps:** Consolidating all country maps (and TS) into the Jupyter notebook workflow. ([#26300](https://github.com/apache/superset/issues/26300)) ([73d118c](https://github.com/apache/superset/commit/73d118c0e2e967621a878ad73578d9d580f88678))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-country-map",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Country Map",
"main": "lib/index.js",
"module": "esm/index.js",

View File

@@ -1,18 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **generic-chart-axes:** set x-axis if unset and ff is enabled ([#20107](https://github.com/apache/superset/issues/20107)) ([0b3d3dd](https://github.com/apache/superset/commit/0b3d3dd4caa7f4c31c1ba7229966a40ba0469e85))
### Features
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-event-flow",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Event Flow",
"sideEffects": [
"*.css"

View File

@@ -1,34 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **chart & heatmap:** make to fix that y label is rendering out of bounds ([#20011](https://github.com/apache/superset/issues/20011)) ([56e9695](https://github.com/apache/superset/commit/56e96950c17ec65ef18cedfb2ed6591796a96cfc))
- Date column in Heatmap is displayed as unix timestamp ([#25009](https://github.com/apache/superset/issues/25009)) ([35eb66a](https://github.com/apache/superset/commit/35eb66a322f7938f840778633a4aea11c7f24dce))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- Heatmap numeric sorting ([#27360](https://github.com/apache/superset/issues/27360)) ([fe2f5a7](https://github.com/apache/superset/commit/fe2f5a7be9fb6218aa72ab9173481fd21fa40b20))
- **heatmap:** add detail descriptions for heatmap 'normalize across' ([#20566](https://github.com/apache/superset/issues/20566)) ([d925b0c](https://github.com/apache/superset/commit/d925b0c8835fb1773b80298a3de1bdc368c88850))
- **legacy-plugin-chart-heatmap:** fix adhoc column tooltip ([#23507](https://github.com/apache/superset/issues/23507)) ([0cebe8b](https://github.com/apache/superset/commit/0cebe8bf18204d17f311345744e67c4bf5961083))
- **select:** select component sort functionality on certain options ([#17638](https://github.com/apache/superset/issues/17638)) ([f476ba2](https://github.com/apache/superset/commit/f476ba23a279cb87a94ad3075e035cad0ae264b6))
- Timeseries Y-axis format with contribution mode ([#27106](https://github.com/apache/superset/issues/27106)) ([af577d6](https://github.com/apache/superset/commit/af577d64b17a9730e28e9021376318326fe31437))
- Tooltips don't disappear on the Heatmap chart ([#24959](https://github.com/apache/superset/issues/24959)) ([9703490](https://github.com/apache/superset/commit/97034901291420af844257fc76ac107d4a891f18))
### Features
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- Adds the ECharts Heatmap chart ([#25353](https://github.com/apache/superset/issues/25353)) ([546d48a](https://github.com/apache/superset/commit/546d48adbb84b1354d6a3d4ae88dbeba0ad14d44))
- **chart & legend:** make to enable show legend by default ([#19927](https://github.com/apache/superset/issues/19927)) ([7b3d0f0](https://github.com/apache/superset/commit/7b3d0f040b050905f7d0901d0227f1cd6b761b56))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- Implement support for currencies in more charts ([#24594](https://github.com/apache/superset/issues/24594)) ([d74d7ec](https://github.com/apache/superset/commit/d74d7eca23a3c94bc48af082c115d34c103e815d))
### Reverts
- Revert "chore(deps): bump d3-svg-legend in /superset-frontend (#19846)" (#19972) ([f144de4](https://github.com/apache/superset/commit/f144de4ee2bf213bb7e17f903bd3975d504c4136)), closes [#19846](https://github.com/apache/superset/issues/19846) [#19972](https://github.com/apache/superset/issues/19972)
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-heatmap",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Heatmap",
"keywords": [
"superset"

View File

@@ -1,25 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- **histogram:** display correct percentile value instead of formula ([#18084](https://github.com/apache/superset/issues/18084)) ([28e729b](https://github.com/apache/superset/commit/28e729b835d8195f3610f7131504441803e43406))
- Revert shared controls typing change. ([#22014](https://github.com/apache/superset/issues/22014)) ([4cbd70d](https://github.com/apache/superset/commit/4cbd70db34b140a026ef1a86a8ef0ba3355a350e))
### Features
- Adds the ECharts Histogram chart ([#28652](https://github.com/apache/superset/issues/28652)) ([896fe85](https://github.com/apache/superset/commit/896fe854dc3865214325cfceea94824ff41a1b6c))
- **chart & legend:** make to enable show legend by default ([#19927](https://github.com/apache/superset/issues/19927)) ([7b3d0f0](https://github.com/apache/superset/commit/7b3d0f040b050905f7d0901d0227f1cd6b761b56))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-histogram",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Histogram",
"sideEffects": [
"*.css"

View File

@@ -1,15 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
- Horizon Chart are not working any more ([#30563](https://github.com/apache/superset/issues/30563)) ([7b47e43](https://github.com/apache/superset/commit/7b47e43fd098d336b5e383d4656477bad0b45430))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-horizon",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Horizon",
"keywords": [
"superset"

View File

@@ -1,20 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **deckgl:** deckgl unable to load map ([#17851](https://github.com/apache/superset/issues/17851)) ([52f5dcb](https://github.com/apache/superset/commit/52f5dcb58eec7b188f4387b8781dcda4252a5680))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
### Features
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- **deckgl-map:** use an arbitraty Mabpox style URL ([#26027](https://github.com/apache/superset/issues/26027)) ([#26031](https://github.com/apache/superset/issues/26031)) ([af58784](https://github.com/apache/superset/commit/af587840403d83a7da7fb0f57bc10ad2335d4eeb))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-map-box",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - MapBox",
"keywords": [
"superset"

View File

@@ -1,14 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-paired-t-test",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Paired T Test",
"keywords": [
"superset"

View File

@@ -1,19 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
- warning of nth-child ([#23638](https://github.com/apache/superset/issues/23638)) ([16cc089](https://github.com/apache/superset/commit/16cc089b198dcdebc2422845aa08d18233c6b3a4))
### Features
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-parallel-coordinates",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Parallel Coordinates",
"sideEffects": [
"*.css"

View File

@@ -1,24 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
### Features
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- **explore:** improve UI in the control panel ([#19748](https://github.com/apache/superset/issues/19748)) ([e3a54aa](https://github.com/apache/superset/commit/e3a54aa3c15bdd0c970aa73f898288a408205c97))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- update time comparison choices (again) ([#17968](https://github.com/apache/superset/issues/17968)) ([05d9cde](https://github.com/apache/superset/commit/05d9cde203b99f8c63106446f0be58668cc9f0c9))
- update time comparison choices (again) ([#22458](https://github.com/apache/superset/issues/22458)) ([9e81c3a](https://github.com/apache/superset/commit/9e81c3a1192a18226d505178d16e1e395917a719))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-partition",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Partition",
"keywords": [
"superset"

View File

@@ -1,24 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
### Features
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- **explore:** improve UI in the control panel ([#19748](https://github.com/apache/superset/issues/19748)) ([e3a54aa](https://github.com/apache/superset/commit/e3a54aa3c15bdd0c970aa73f898288a408205c97))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- update time comparison choices (again) ([#17968](https://github.com/apache/superset/issues/17968)) ([05d9cde](https://github.com/apache/superset/commit/05d9cde203b99f8c63106446f0be58668cc9f0c9))
- update time comparison choices (again) ([#22458](https://github.com/apache/superset/issues/22458)) ([9e81c3a](https://github.com/apache/superset/commit/9e81c3a1192a18226d505178d16e1e395917a719))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-rose",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Nightingale Rose Diagram",
"keywords": [
"superset"

View File

@@ -1,18 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
### Features
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Features

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-sankey-loop",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Sankey Diagram with Loops",
"keywords": [
"superset"

View File

@@ -1,21 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
### Features
- Adds the ECharts Sankey chart ([#29329](https://github.com/apache/superset/issues/29329)) ([c83d5b8](https://github.com/apache/superset/commit/c83d5b88e159413d09fb346a95201255b1b5e196))
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-sankey",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - Sankey Diagram",
"sideEffects": [
"*.css"

View File

@@ -1,35 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- Right click on country map with code filter ([#22081](https://github.com/apache/superset/issues/22081)) ([824dc71](https://github.com/apache/superset/commit/824dc7188b953270ca754f96ca615e96c61dbea4))
- Right-click on misconfigured World Map ([#21697](https://github.com/apache/superset/issues/21697)) ([770f68f](https://github.com/apache/superset/commit/770f68f5b187b573f50f53a80d9cfffb24f0c583))
- World Map right-click value ([#21209](https://github.com/apache/superset/issues/21209)) ([d41f44f](https://github.com/apache/superset/commit/d41f44fcdf387072bc5d7700a5e8871c6594baef))
- **world-map:** remove categorical color option ([#19781](https://github.com/apache/superset/issues/19781)) ([5e468f7](https://github.com/apache/superset/commit/5e468f7a4cccc496ccafa52f9aba5b7688145fe4))
### Features
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- Adds drill to detail context menu to Pivot Table ([#21198](https://github.com/apache/superset/issues/21198)) ([859b6d2](https://github.com/apache/superset/commit/859b6d2d20a58f2079c43bb66645fd3b604e077e))
- Adds drill to detail context menu to World Map ([#21150](https://github.com/apache/superset/issues/21150)) ([4ca4a5c](https://github.com/apache/superset/commit/4ca4a5c7cb185ac7d318ef5349fbb23cd7ce1fd1))
- Adds the Featured Charts dashboard ([#28789](https://github.com/apache/superset/issues/28789)) ([95706d9](https://github.com/apache/superset/commit/95706d9be2b5414ed496ad762ba1996041429e01))
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- **dashboard:** Add cross filter from context menu ([#23141](https://github.com/apache/superset/issues/23141)) ([ee1952e](https://github.com/apache/superset/commit/ee1952e488f2cd0913fe6f35ffe551d18ee3d143))
- **dashboard:** menu improvements, fallback support for Drill to Detail ([#21351](https://github.com/apache/superset/issues/21351)) ([76e57ec](https://github.com/apache/superset/commit/76e57ec651bbfaf4f76031eeeca66f6a1fa81bc2))
- Enable cross fitlers in WorldMap and Graph charts ([#22886](https://github.com/apache/superset/issues/22886)) ([871cab8](https://github.com/apache/superset/commit/871cab8cbe20971efd9b81f647ed537ad4fbe12b))
- **explore:** Denormalize form data in echarts, world map and nvd3 bar and line charts ([#20313](https://github.com/apache/superset/issues/20313)) ([354a899](https://github.com/apache/superset/commit/354a89950c4d001da3e107f60788cea873bd6bf6))
- Implement context menu for drill by ([#23454](https://github.com/apache/superset/issues/23454)) ([9fbfd1c](https://github.com/apache/superset/commit/9fbfd1c1d883f983ef96b8812297721e2a1a9695))
- Implement support for currencies in more charts ([#24594](https://github.com/apache/superset/issues/24594)) ([d74d7ec](https://github.com/apache/superset/commit/d74d7eca23a3c94bc48af082c115d34c103e815d))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
- **world-map:** support color by metric or country column ([#19881](https://github.com/apache/superset/issues/19881)) ([766f737](https://github.com/apache/superset/commit/766f737728c273d39a35dfa281e874a0efeabec3))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-plugin-chart-world-map",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - World Map",
"sideEffects": [
"*.css"

View File

@@ -1,40 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- deck.gl Geojson path not visible ([#24428](https://github.com/apache/superset/issues/24428)) ([6bb930e](https://github.com/apache/superset/commit/6bb930ef4ed26ea381e7f8e889851aa7867ba0eb))
- deck.gl GeoJsonLayer Autozoom & fill/stroke options ([#19778](https://github.com/apache/superset/issues/19778)) ([d65b77e](https://github.com/apache/superset/commit/d65b77ec7dac4c2368fcaa1fe6e98db102966198))
- **deck.gl Multiple Layer Chart:** Add Contour and Heatmap Layer as options ([#25923](https://github.com/apache/superset/issues/25923)) ([64ba579](https://github.com/apache/superset/commit/64ba5797df92d0f8067ccd2b30ba6ff58e0bd791))
- deck.gl Scatterplot min/max radius ([#24363](https://github.com/apache/superset/issues/24363)) ([c728cdf](https://github.com/apache/superset/commit/c728cdf501ec292beb14a0982265052bf2274bec))
- **deck.gl:** multiple layers map size is shrunk ([#18939](https://github.com/apache/superset/issues/18939)) ([2cb3635](https://github.com/apache/superset/commit/2cb3635256ee8e91f0bac2f3091684673c04ff2b))
- **deck.gl:** update view state on property changes ([#17720](https://github.com/apache/superset/issues/17720)) ([#17826](https://github.com/apache/superset/issues/17826)) ([97d918b](https://github.com/apache/superset/commit/97d918b6927f572dca3b33c61b89c8b3ebdc4376))
- DeckGL legend layout ([#30140](https://github.com/apache/superset/issues/30140)) ([af066a4](https://github.com/apache/superset/commit/af066a46306f2f476aa2944b14df3de1faf1e96d))
- **deckgl:** deckgl unable to load map ([#17851](https://github.com/apache/superset/issues/17851)) ([52f5dcb](https://github.com/apache/superset/commit/52f5dcb58eec7b188f4387b8781dcda4252a5680))
- **explore:** Fix chart standalone URL for report/thumbnail generation ([#20673](https://github.com/apache/superset/issues/20673)) ([84d4302](https://github.com/apache/superset/commit/84d4302628d18aa19c13cc5322e68abbc690ea4d))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- weight tooltip issue ([#19397](https://github.com/apache/superset/issues/19397)) ([f6d550b](https://github.com/apache/superset/commit/f6d550b7fc3643350483850064e65dbd3d026dc4))
### Features
- Add Deck.gl Contour Layer ([#24154](https://github.com/apache/superset/issues/24154)) ([512fb9a](https://github.com/apache/superset/commit/512fb9a0bdd428b94b0c121158b8b15b7631e0fb))
- Add deck.gl Heatmap Visualization ([#23551](https://github.com/apache/superset/issues/23551)) ([fc8c537](https://github.com/apache/superset/commit/fc8c537118ce6c7b3a4624f88a31e2e7fb287327))
- Add line width unit control in deckgl Polygon and Path ([#24755](https://github.com/apache/superset/issues/24755)) ([d26ea98](https://github.com/apache/superset/commit/d26ea980acc7d2a20757efc360d810afe83d5c65))
- apply standardized form data to deckgl ([#20579](https://github.com/apache/superset/issues/20579)) ([290b89c](https://github.com/apache/superset/commit/290b89c7b4ae702c55f611bfac9cedb245ea8bd8))
- **deck.gl:** add color range for deck.gl 3D ([#19520](https://github.com/apache/superset/issues/19520)) ([c0a00fd](https://github.com/apache/superset/commit/c0a00fd302ec66fbe0ca766cf73978c99ba00d82))
- **deckgl-map:** use an arbitraty Mabpox style URL ([#26027](https://github.com/apache/superset/issues/26027)) ([#26031](https://github.com/apache/superset/issues/26031)) ([af58784](https://github.com/apache/superset/commit/af587840403d83a7da7fb0f57bc10ad2335d4eeb))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **legacy-preset-chart-deckgl:** Add ,.1f and ,.2f value formats to deckgl charts ([#18945](https://github.com/apache/superset/issues/18945)) ([c56dc8e](https://github.com/apache/superset/commit/c56dc8eace6a71b45240d1bb6768d75661052a2e))
- make data tables support html ([#24368](https://github.com/apache/superset/issues/24368)) ([d2b0b8e](https://github.com/apache/superset/commit/d2b0b8eac52ad8b68639c6581a1ed174a593f564))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
## [0.20.4](https://github.com/apache/superset/compare/v0.20.3...v0.20.4) (2024-12-10)
**Note:** Version bump only for package @superset-ui/legacy-preset-chart-deckgl

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-preset-chart-deckgl",
"version": "0.21.0",
"version": "0.20.4",
"description": "Superset Legacy Chart - deck.gl",
"keywords": [
"superset"

View File

@@ -1,46 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- adding missing examples for bubble chart, bullet chart, calendar heatmap chart and country map chart in the gallery ([#22523](https://github.com/apache/superset/issues/22523)) ([839ec7c](https://github.com/apache/superset/commit/839ec7ceacc66c65928fd0ddead2b014db3d5563))
- Adds the Deprecated label to Time-series Percent Change chart ([#30148](https://github.com/apache/superset/issues/30148)) ([5e42d7a](https://github.com/apache/superset/commit/5e42d7aed0d11c7aac91ab19088d2632e49da614))
- **area chart legacy:** tool tip shows actual value rather than y axi… ([#23469](https://github.com/apache/superset/issues/23469)) ([db9ca20](https://github.com/apache/superset/commit/db9ca20737fecda8eee342b34d62d3b700ef3687))
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- **explore:** Fix chart standalone URL for report/thumbnail generation ([#20673](https://github.com/apache/superset/issues/20673)) ([84d4302](https://github.com/apache/superset/commit/84d4302628d18aa19c13cc5322e68abbc690ea4d))
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- **legacy-chart:** corrupted raw chart data ([#24850](https://github.com/apache/superset/issues/24850)) ([1c5971d](https://github.com/apache/superset/commit/1c5971d3afb70a338444c41943ff90c3a9c03ec3))
- Rename legacy line and area charts ([#28113](https://github.com/apache/superset/issues/28113)) ([b4c4ab7](https://github.com/apache/superset/commit/b4c4ab7790cbeb8d65ec7c1084482c21932e755b))
- Reset sorting bar issue in Barchart ([#19371](https://github.com/apache/superset/issues/19371)) ([94e06c2](https://github.com/apache/superset/commit/94e06c2b6a1f782133bb9ef85a1d46ce7eacf9ba))
- **storybook:** fix broken Storybook stories during development ([#29587](https://github.com/apache/superset/issues/29587)) ([462cda4](https://github.com/apache/superset/commit/462cda400baa00b3bcc4a7f8aded362ca55e18a5))
- Tooltip of area chart shows undefined total ([#24916](https://github.com/apache/superset/issues/24916)) ([ec9e9a4](https://github.com/apache/superset/commit/ec9e9a46f2f092ce56d3ed5a8a9a3ea0214db88a))
- warning of nth-child ([#23638](https://github.com/apache/superset/issues/23638)) ([16cc089](https://github.com/apache/superset/commit/16cc089b198dcdebc2422845aa08d18233c6b3a4))
- Zero values on Dual Line axis bounds ([#23649](https://github.com/apache/superset/issues/23649)) ([d66e6e6](https://github.com/apache/superset/commit/d66e6e6d400db0fee35d73cd43e610cd1c491f4b))
### Features
- Adds the ECharts Bubble chart ([#22107](https://github.com/apache/superset/issues/22107)) ([c81c60c](https://github.com/apache/superset/commit/c81c60c91fbcb09dd63c05f050e18ee09ceebfd6))
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- **chart & legend:** make to enable show legend by default ([#19927](https://github.com/apache/superset/issues/19927)) ([7b3d0f0](https://github.com/apache/superset/commit/7b3d0f040b050905f7d0901d0227f1cd6b761b56))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- **explore:** Denormalize form data in echarts, world map and nvd3 bar and line charts ([#20313](https://github.com/apache/superset/issues/20313)) ([354a899](https://github.com/apache/superset/commit/354a89950c4d001da3e107f60788cea873bd6bf6))
- **explore:** improve UI in the control panel ([#19748](https://github.com/apache/superset/issues/19748)) ([e3a54aa](https://github.com/apache/superset/commit/e3a54aa3c15bdd0c970aa73f898288a408205c97))
- **explore:** standardized controls for time pivot chart ([#21321](https://github.com/apache/superset/issues/21321)) ([79525df](https://github.com/apache/superset/commit/79525dfaf29b810af668e3b6c5a56cd866370d92))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **legacy-preset-chart-nvd3:** add richtooltip in nvd3 bar chart ([#17615](https://github.com/apache/superset/issues/17615)) ([72f3215](https://github.com/apache/superset/commit/72f3215ffc74ead33dba57196aeaf4e1db63fd6c))
- Migrates Dual Line Chart to Mixed Chart ([#23910](https://github.com/apache/superset/issues/23910)) ([f5148ef](https://github.com/apache/superset/commit/f5148ef728ce649697c10fb7aa65982d7dd05638))
- Removes the Multiple Line Charts ([#23933](https://github.com/apache/superset/issues/23933)) ([6ce8592](https://github.com/apache/superset/commit/6ce85921fc103ba0e93b437d473003e6f1b4a42b))
- update time comparison choices (again) ([#17968](https://github.com/apache/superset/issues/17968)) ([05d9cde](https://github.com/apache/superset/commit/05d9cde203b99f8c63106446f0be58668cc9f0c9))
- update time comparison choices (again) ([#22458](https://github.com/apache/superset/issues/22458)) ([9e81c3a](https://github.com/apache/superset/commit/9e81c3a1192a18226d505178d16e1e395917a719))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/legacy-preset-chart-nvd3",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Legacy Chart - NVD3",
"sideEffects": [
"*.css"

View File

@@ -1,214 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- adjust timeseries grid right offset to match the rest ([#20933](https://github.com/apache/superset/issues/20933)) ([fe581a3](https://github.com/apache/superset/commit/fe581a36404ec1cfe689995b61a43164cb1988df))
- Allow comma in Number Format ([#21817](https://github.com/apache/superset/issues/21817)) ([383dc29](https://github.com/apache/superset/commit/383dc29ad1fb921ee618ed80b847316d77247886))
- Allow only dttm columns in comparison filter in Period over Period chart ([#27209](https://github.com/apache/superset/issues/27209)) ([a4c771e](https://github.com/apache/superset/commit/a4c771e013957e95d80d252dcdedad7046348964))
- annotation broken ([#20651](https://github.com/apache/superset/issues/20651)) ([7f918a4](https://github.com/apache/superset/commit/7f918a4ec0e162be13bf3fc0e2f15aaaa5450cec))
- **annotation:** Address regression from [#24694](https://github.com/apache/superset/issues/24694) ([#24874](https://github.com/apache/superset/issues/24874)) ([f05638b](https://github.com/apache/superset/commit/f05638ba845596faef088efa3ee98686d26dad26))
- annotations on horizontal bar chart ([#31308](https://github.com/apache/superset/issues/31308)) ([2816a70](https://github.com/apache/superset/commit/2816a70af3ae0675110c8738246e97ce99c6f9be))
- Bar charts horizontal margin adjustment error ([#26817](https://github.com/apache/superset/issues/26817)) ([84c48d1](https://github.com/apache/superset/commit/84c48d11d8b3bef244823643804f5fd3d6e3ca86))
- **bar-chart-v2:** remove marker from bar chart V2 ([#20409](https://github.com/apache/superset/issues/20409)) ([b32288f](https://github.com/apache/superset/commit/b32288fddfc077d941452245a4e8002335746ba4))
- **bar-chart:** change legend padding for horizontal orientation ([#27883](https://github.com/apache/superset/issues/27883)) ([cfa0556](https://github.com/apache/superset/commit/cfa0556df7a6d82257deff7753b82628229c6e8c))
- big number with trendline can't calculate cumsum ([#19542](https://github.com/apache/superset/issues/19542)) ([2daa071](https://github.com/apache/superset/commit/2daa07163326b8555488dab523c5479cf92821cf))
- **big number:** time grain control is useless in BigNumber Viz ([#21372](https://github.com/apache/superset/issues/21372)) ([b80f659](https://github.com/apache/superset/commit/b80f6591018858b709194687fe7ea3d244131761))
- **big_number:** white-space: nowrap to prevent wrapping ([#27096](https://github.com/apache/superset/issues/27096)) ([4796484](https://github.com/apache/superset/commit/4796484190010275c037595c79b01d281d09ff60))
- **big-number-chart:** number format is not applying to percentage number of the time comparison ([#27502](https://github.com/apache/superset/issues/27502)) ([d2c9001](https://github.com/apache/superset/commit/d2c90013fcff8b8ff965f2c4420f458ab3ccda10))
- **big-number:** big number gets cut off on a Dashboard ([#20488](https://github.com/apache/superset/issues/20488)) ([24a53c3](https://github.com/apache/superset/commit/24a53c38c68108c47af9f7685542fcb8378915bf))
- **big-number:** Big Number with Trendline Chart is not working if Time Grain is set to Month ([#19043](https://github.com/apache/superset/issues/19043)) ([c32eaf4](https://github.com/apache/superset/commit/c32eaf47e50f5fc0cb7630cbf38819cd03b5294b))
- categorical x-axis can't apply the label of column ([#21869](https://github.com/apache/superset/issues/21869)) ([9aa804e](https://github.com/apache/superset/commit/9aa804e070d9361df5e7dcde326ef16a769ac322))
- **chart & gallery:** make to add mixed time-series into recommended charts ([#20064](https://github.com/apache/superset/issues/20064)) ([f43dbc0](https://github.com/apache/superset/commit/f43dbc0dfdbd9ee21267229b566dfab8f59cd0db))
- chart empty state & result panel when multiple queries are executed display incorrectly ([#20816](https://github.com/apache/superset/issues/20816)) ([279ab95](https://github.com/apache/superset/commit/279ab954b1977f7729442733a31c67715476a620))
- **chart:** apply number format in Box Plot tooltip only where necessary ([#27142](https://github.com/apache/superset/issues/27142)) ([a729f04](https://github.com/apache/superset/commit/a729f04695be75b5302781fbcebff6ef61a95c7e))
- **charts:** big-number display broken in echarts ([#24492](https://github.com/apache/superset/issues/24492)) ([3f17945](https://github.com/apache/superset/commit/3f179457457bc2a21a824895aa1cd99b586d9ea0))
- **charts:** Hide Values greater than Max Y Axis Bound on Mixed Time Series with Bar series ([#21015](https://github.com/apache/superset/issues/21015)) ([bdcc0a9](https://github.com/apache/superset/commit/bdcc0a9bcfff476bcd43edc84f08423d8f415d50))
- **charts:** Time grain is None when dataset uses Jinja ([#25842](https://github.com/apache/superset/issues/25842)) ([7536dd1](https://github.com/apache/superset/commit/7536dd12cdd58a1bca7d72952a2b74641f16c959))
- **chart:** Time Series set showMaxLabel as null for time xAxis ([#20627](https://github.com/apache/superset/issues/20627)) ([9362e27](https://github.com/apache/superset/commit/9362e27ce2ace1803a975ab289fe2024fd195367))
- CI errors as the result of removing React imports ([#29089](https://github.com/apache/superset/issues/29089)) ([a9cebe8](https://github.com/apache/superset/commit/a9cebe81ea8cd1ae56df05d5807baa8f05398cc5))
- Context menu crashing when there is no dimension in Echarts Series charts ([#23797](https://github.com/apache/superset/issues/23797)) ([d4c0ae3](https://github.com/apache/superset/commit/d4c0ae34f4e23d1172d2ae3335f73873b0b37c1e))
- contribution operator meets nan value ([#18782](https://github.com/apache/superset/issues/18782)) ([987740a](https://github.com/apache/superset/commit/987740aa8dfff4bf771b587a40f1e12811453660))
- Contribution percentages for ECharts plugins ([#28368](https://github.com/apache/superset/issues/28368)) ([55f3b46](https://github.com/apache/superset/commit/55f3b46f4105e5bbdd0b025a4b61bc843d8e5b9e))
- custom SQL in the XAxis ([#21847](https://github.com/apache/superset/issues/21847)) ([0a4ecca](https://github.com/apache/superset/commit/0a4ecca9f259e2ee9cff27a879f2a889f876c7d7))
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **dashboard:** Cross filters with time shifted series ([#23347](https://github.com/apache/superset/issues/23347)) ([78ee60e](https://github.com/apache/superset/commit/78ee60e22788395d5b1989e0cd92136725dd5cf0))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- Data zoom with horizontal orientation ([#27291](https://github.com/apache/superset/issues/27291)) ([7854b62](https://github.com/apache/superset/commit/7854b622a34c9a9674e2c916acb8acbc63714fb8))
- **dependencies:** stopping (and preventing) full lodash library import... now using only method level imports. ([#26710](https://github.com/apache/superset/issues/26710)) ([1d4b8b6](https://github.com/apache/superset/commit/1d4b8b69896776cf8831b8202e69424e14067011))
- Disable cross filtering on charts with no dimensions ([#30176](https://github.com/apache/superset/issues/30176)) ([3aafd29](https://github.com/apache/superset/commit/3aafd29768245bfcef79e973570e74894d48ec3b))
- Don't apply number formatting to the label in Treemap ([#25249](https://github.com/apache/superset/issues/25249)) ([894f250](https://github.com/apache/superset/commit/894f250229455427a0317f3a2f6aa801a6c26748))
- Drill to detail blocked by tooltip ([#22082](https://github.com/apache/superset/issues/22082)) ([3bc0865](https://github.com/apache/superset/commit/3bc0865d9071cdf32d268ee8fee4c4ad93680429))
- Drill to detail on values with comma ([#21151](https://github.com/apache/superset/issues/21151)) ([0bf4e56](https://github.com/apache/superset/commit/0bf4e56dc3e129d2b9239f055212249ba95521e4))
- drilling on the categorical xaxis on the mixed chart ([#21845](https://github.com/apache/superset/issues/21845)) ([f381154](https://github.com/apache/superset/commit/f38115489b09cb22bb77427bf73462784650cbaa))
- drilling on the categorical xaxis on the stacked barchart v2 ([#21844](https://github.com/apache/superset/issues/21844)) ([f41d0b0](https://github.com/apache/superset/commit/f41d0b0cbf47042bf510dc2b0b24b68e3fa11d37))
- duplicate `truncateXAxis` option in `BarChart` ([#29916](https://github.com/apache/superset/issues/29916)) ([e886cc4](https://github.com/apache/superset/commit/e886cc40fe30e97da545482fe48e63c1d15e7c4e))
- **ECharts:** Revert ECharts version bump ([#30388](https://github.com/apache/superset/issues/30388)) ([046c096](https://github.com/apache/superset/commit/046c096d86b0051eea00862f3d0291c457187ef6))
- Ensure metrics is an array in Mixed Chart ([#24643](https://github.com/apache/superset/issues/24643)) ([fe2c14f](https://github.com/apache/superset/commit/fe2c14ff3acad11bf0f6a7b6544dfc52a6612152))
- **Explore:** Force different color for same metrics in Mixed Time-Series ([#18603](https://github.com/apache/superset/issues/18603)) ([f565230](https://github.com/apache/superset/commit/f565230d8d8342f7a51b263d2a0865122c8f756e))
- **explore:** make SORT-Descending visible if Sort-by has value ([#17726](https://github.com/apache/superset/issues/17726)) ([d5768ab](https://github.com/apache/superset/commit/d5768ab649a70fd4f541ad4982498f622160b220))
- **explore:** Missing markarea component broke annotations in echarts ([#30348](https://github.com/apache/superset/issues/30348)) ([038ef32](https://github.com/apache/superset/commit/038ef3245412881ca6df91998c79074a33447080))
- **explore:** Pie chart label formatting when series is temporal ([#18216](https://github.com/apache/superset/issues/18216)) ([37430d4](https://github.com/apache/superset/commit/37430d404436b3d3833bfd9cbae602718c26c4a8))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- **explore:** Time column label not formatted when GENERIC_X_AXES enabled ([#21294](https://github.com/apache/superset/issues/21294)) ([c3a00d4](https://github.com/apache/superset/commit/c3a00d43d055224d4a31ea9315934a59b556eea7))
- **explore:** Time comparison in Mixed Chart in GENERIC_CHART_AXES not working ([#22945](https://github.com/apache/superset/issues/22945)) ([ed7b353](https://github.com/apache/superset/commit/ed7b3533bcc119b2240a613ebc56ace33f1e1002))
- filters panel broken due to tabs scroll ([#30180](https://github.com/apache/superset/issues/30180)) ([be0a0ce](https://github.com/apache/superset/commit/be0a0ced251a3b168b17a230759c5138603800a7))
- First item hovered on stacked bar ([#30628](https://github.com/apache/superset/issues/30628)) ([c8edd1f](https://github.com/apache/superset/commit/c8edd1fb2565e255b00d79769873fad213fb7a05))
- **Gauge echart:** displaying column label ([#23396](https://github.com/apache/superset/issues/23396)) ([b613167](https://github.com/apache/superset/commit/b613167636aae82170b24f697d79fcd70ef1ac56))
- **generic-axes:** apply contribution before flatten ([#20077](https://github.com/apache/superset/issues/20077)) ([d5802f7](https://github.com/apache/superset/commit/d5802f78964a5027184ff9e7f6b78c14b04fd988))
- **generic-chart-axes:** set x-axis if unset and ff is enabled ([#20107](https://github.com/apache/superset/issues/20107)) ([0b3d3dd](https://github.com/apache/superset/commit/0b3d3dd4caa7f4c31c1ba7229966a40ba0469e85))
- Graph chart colors ([#30851](https://github.com/apache/superset/issues/30851)) ([0e165c1](https://github.com/apache/superset/commit/0e165c1a21a90098adfea8efa5006e4feb2adf11))
- Histogram chart not able to use decimal datatype column ([#30416](https://github.com/apache/superset/issues/30416)) ([4834390](https://github.com/apache/superset/commit/4834390e6aae9647ffdef72aa9164a59c16df135))
- **histogram:** axis margin padding consistent with other graphs ([#31335](https://github.com/apache/superset/issues/31335)) ([73d21a8](https://github.com/apache/superset/commit/73d21a87ae11ecf36619e2f3adb42549fef6df75))
- Includes 90° x-axis label rotation ([#26207](https://github.com/apache/superset/issues/26207)) ([39c6488](https://github.com/apache/superset/commit/39c6488463ab81417223a2e1b171c769b86306cf))
- Incorrect hovered items in tooltips ([#30405](https://github.com/apache/superset/issues/30405)) ([36f7a3f](https://github.com/apache/superset/commit/36f7a3f524cd22ba6522031fa0a10b5039d81b4f))
- **line-chart:** Formula Annotations on Line Charts are broken ([#20687](https://github.com/apache/superset/issues/20687)) ([acdb271](https://github.com/apache/superset/commit/acdb271422b937314d7175ac85eeeac5ead3bc16))
- lost renameOperator in mixed timeseries chart ([#19802](https://github.com/apache/superset/issues/19802)) ([108a2a4](https://github.com/apache/superset/commit/108a2a4eafc3150f7b7c33ed734e843a5d5c9f62))
- Migration for single metric in Big Number with Time Comparison ([#27351](https://github.com/apache/superset/issues/27351)) ([ad6327d](https://github.com/apache/superset/commit/ad6327db95ba8628e9890e2b2813ae088178d9c1))
- missing shared color in mixed timeseries ([#27403](https://github.com/apache/superset/issues/27403)) ([9ced255](https://github.com/apache/superset/commit/9ced2552dbeeaf60217b385d4c40cbaf4372c787))
- **Mixed Timeseries Chart:** Custom Metric Label ([#17649](https://github.com/apache/superset/issues/17649)) ([89d0d38](https://github.com/apache/superset/commit/89d0d38ed0eb211d44de8067bd091392a0f84f85))
- **mixed-timeseries-plugin:** Second query stacks stacked on top of first query series ([#29119](https://github.com/apache/superset/issues/29119)) ([68fd189](https://github.com/apache/superset/commit/68fd1895865a7c7fefe368db05f6fb22c8f1c048))
- New tooltip inappropriately combines series on mixed chart ([#30137](https://github.com/apache/superset/issues/30137)) ([9cb9e5b](https://github.com/apache/superset/commit/9cb9e5beee0ffda72fec7cffaf5930f3ca2b40ff))
- Null values on Treemap right-click ([#21722](https://github.com/apache/superset/issues/21722)) ([0ff1e49](https://github.com/apache/superset/commit/0ff1e49e3c720ed229f6a08daaa70bf14a053dca))
- pie chart orientation description error ([#21514](https://github.com/apache/superset/issues/21514)) ([c66205f](https://github.com/apache/superset/commit/c66205feac118a444e30cd6b6cb48d2c2e3d6411))
- Pivot Table Conditional Formatting Doesn't Show All Options ([#19071](https://github.com/apache/superset/issues/19071)) ([0e0bece](https://github.com/apache/superset/commit/0e0beceac173f765d8f9a0887732029b78603f6d))
- **plugin-chart-echarts:** [feature parity] annotation line chart color not working ([#19758](https://github.com/apache/superset/issues/19758)) ([1156297](https://github.com/apache/superset/commit/11562971fb95a601d11b2902f1704b72409f302d))
- **plugin-chart-echarts:** [feature-parity] apply button of annotation layer doesn't work as expected ([#19761](https://github.com/apache/superset/issues/19761)) ([9f02ff6](https://github.com/apache/superset/commit/9f02ff656d63e537c06822657dcfc2ff46f70e67))
- **plugin-chart-echarts:** bar chart overflow ([#20805](https://github.com/apache/superset/issues/20805)) ([9bf7ed5](https://github.com/apache/superset/commit/9bf7ed58cdc1d5523d0cb661f8fdbf7df9b10fe7))
- **plugin-chart-echarts:** boxplot throw error in the dashboard ([#21661](https://github.com/apache/superset/issues/21661)) ([61bd696](https://github.com/apache/superset/commit/61bd6962265d879e168f208854fc17b145b9e04d))
- **plugin-chart-echarts:** calculate Gauge Chart intervals correctly when min value is set ([#27285](https://github.com/apache/superset/issues/27285)) ([d65f64d](https://github.com/apache/superset/commit/d65f64d1ceacb69226fa1907343405b5571bc6a8))
- **plugin-chart-echarts:** fix customize margin ([#18958](https://github.com/apache/superset/issues/18958)) ([c4e3c45](https://github.com/apache/superset/commit/c4e3c45b3c24034205a1ceeb5387d63dc666a7fe))
- **plugin-chart-echarts:** fix forecasts on verbose metrics ([#18252](https://github.com/apache/superset/issues/18252)) ([2929bb1](https://github.com/apache/superset/commit/2929bb1680d29e5fd1d3b351e3e2f86971a60b44))
- **plugin-chart-echarts:** force min y-tick for log axis with zero ([#24186](https://github.com/apache/superset/issues/24186)) ([bc0079f](https://github.com/apache/superset/commit/bc0079f2fb4d09b6c3b711ef950fcb6a907c7e96))
- **plugin-chart-echarts:** gauge chart enhancements and fixes ([#21007](https://github.com/apache/superset/issues/21007)) ([b303d1e](https://github.com/apache/superset/commit/b303d1e156185d134927246004a4804931cd6bca))
- **plugin-chart-echarts:** invalid total label location for negative values in stacked bar chart ([#21032](https://github.com/apache/superset/issues/21032)) ([a8ba544](https://github.com/apache/superset/commit/a8ba544e609ad3af449239c1fb956bb18c7066c4))
- **plugin-chart-echarts:** layout broken when resizing ([#20783](https://github.com/apache/superset/issues/20783)) ([d90b973](https://github.com/apache/superset/commit/d90b97323584dbd1602cccaa0aea6ac25f466038))
- **plugin-chart-echarts:** make to allow the custome of x & y axis title margin i… ([#18947](https://github.com/apache/superset/issues/18947)) ([c79ee56](https://github.com/apache/superset/commit/c79ee568849761d9c5793ce88f5b7aba8d9e7ac9))
- **plugin-chart-echarts:** missing value format in mixed timeseries ([#21044](https://github.com/apache/superset/issues/21044)) ([2d1ba46](https://github.com/apache/superset/commit/2d1ba468441b113c574d6fcc5984e8e09ddbc1c6))
- **plugin-chart-echarts:** normalize temporal string groupbys ([#24134](https://github.com/apache/superset/issues/24134)) ([f817c10](https://github.com/apache/superset/commit/f817c10422a74edb49858150ea5dae48499d5ef7))
- **plugin-chart-echarts:** render horizontal categories from top ([#23273](https://github.com/apache/superset/issues/23273)) ([71a9d0d](https://github.com/apache/superset/commit/71a9d0d403e122a0c8115f829883151fdcd1d4f1))
- **plugin-chart-echarts:** reorder totals and support multimetric sort ([#23675](https://github.com/apache/superset/issues/23675)) ([cbbcc8d](https://github.com/apache/superset/commit/cbbcc8d2e136f949778cda56affb981c2db05880))
- **plugin-chart-echarts:** show zero value in tooltip ([#21296](https://github.com/apache/superset/issues/21296)) ([1aeb8fd](https://github.com/apache/superset/commit/1aeb8fd6b78d5b53501d277f54b46a02f7067163))
- **plugin-chart-echarts:** sort tooltip correctly ([#30819](https://github.com/apache/superset/issues/30819)) ([b02d18a](https://github.com/apache/superset/commit/b02d18a39e3ffb7cee2a6abd97a44393e33dc129))
- **plugin-chart-echarts:** support adhoc x-axis ([#20055](https://github.com/apache/superset/issues/20055)) ([b53daa9](https://github.com/apache/superset/commit/b53daa91ecf0e82fe219b498e907d0c3f3ca9ccb))
- **plugin-chart-echarts:** support forced categorical x-axis ([#26404](https://github.com/apache/superset/issues/26404)) ([219c4a1](https://github.com/apache/superset/commit/219c4a14b359b77dbfcda74e66b7d06c3792b861))
- **plugin-chart-echarts:** support numerical x-axis ([#26087](https://github.com/apache/superset/issues/26087)) ([aad67e4](https://github.com/apache/superset/commit/aad67e43dbabadad9a5e4accb29ecefb39315f6e))
- **plugin-chart-echarts:** support truncated numeric x-axis ([#26215](https://github.com/apache/superset/issues/26215)) ([07e5fe8](https://github.com/apache/superset/commit/07e5fe8a66fcce6baf1974de9ff3aaab4ad30884))
- **plugin-chart-echarts:** tooltip of big number truncated at then bottom ([#20029](https://github.com/apache/superset/issues/20029)) ([35e6e27](https://github.com/apache/superset/commit/35e6e2709c9dec3d9c08280489f42b5b6a8e632e))
- **plugin-chart-echarts:** tooltip overflow bug ([#22218](https://github.com/apache/superset/issues/22218)) ([2e650ea](https://github.com/apache/superset/commit/2e650eaebebc1197549636174f4c3945c55d4d5e))
- **plugin-chart-echarts:** undefined bounds for bubble chart ([#26243](https://github.com/apache/superset/issues/26243)) ([5df544b](https://github.com/apache/superset/commit/5df544b6fb079e98d4ab6839cfbdf7f08358a950))
- **plugin-chart-echarts:** use scale for truncating x-axis ([#26269](https://github.com/apache/superset/issues/26269)) ([67468c4](https://github.com/apache/superset/commit/67468c46c0c8c8a03833dd64eb84284890b7091c))
- **plugin-chart-echarts:** use verbose x-axis name when defined ([#18217](https://github.com/apache/superset/issues/18217)) ([cec4677](https://github.com/apache/superset/commit/cec467797187324269971d870520b360c56419f3))
- **plugin-chart-echarts:** xAxis scale is not correct when setting quarter time grain ([#19686](https://github.com/apache/superset/issues/19686)) ([059cb4e](https://github.com/apache/superset/commit/059cb4ec25855b844a9c35be9b6c462595e90a5c))
- **plugin-chart-period-over-period-kpi:** Blank chart when switching from BigNumberTotal ([#27203](https://github.com/apache/superset/issues/27203)) ([5403797](https://github.com/apache/superset/commit/54037972f2f56ec86a613e6684e8bbe20cafcf50))
- **plugin/echarts:** correct enum values for LABEL_POSITION map ([#30509](https://github.com/apache/superset/issues/30509)) ([989744a](https://github.com/apache/superset/commit/989744aba298751ba716e57825c77f7f0697e017))
- **plugins:** Big Number with Time Comparison ([#29520](https://github.com/apache/superset/issues/29520)) ([b481bc9](https://github.com/apache/superset/commit/b481bc95b5d49226f1a483bb330a260f9f60c39b))
- **plugins:** Fix dashboard filter for Table and Big Number with Time Comparison ([#29517](https://github.com/apache/superset/issues/29517)) ([9052f9f](https://github.com/apache/superset/commit/9052f9fbb4a17c8dc1e951a8d1b13bf92b29c8a8))
- **radar-chart:** metric options not available & add `min` option ([#30349](https://github.com/apache/superset/issues/30349)) ([b2fd560](https://github.com/apache/superset/commit/b2fd56094f9b06077274e981629432e7e9448025))
- removing problematic "formattable" tag ([#24207](https://github.com/apache/superset/issues/24207)) ([cc68d62](https://github.com/apache/superset/commit/cc68d626bce46d1dcb8e8ee97f19919774c1ab86))
- Revert "fix(chart): Time Series set showMaxLabel as null for time xAxis ([#20627](https://github.com/apache/superset/issues/20627)) ([#24995](https://github.com/apache/superset/issues/24995)) ([2b63577](https://github.com/apache/superset/commit/2b63577046887f982a8b3a56b335f0c11288f829))
- revert [#21356](https://github.com/apache/superset/issues/21356)(able to sort bar on the bar chart V2) ([#21481](https://github.com/apache/superset/issues/21481)) ([1c0bff3](https://github.com/apache/superset/commit/1c0bff3dfb3649d219abe6a13d9018ded14f334f))
- **revert 27883:** Excess padding in horizontal Bar charts ([#29345](https://github.com/apache/superset/issues/29345)) ([708afb7](https://github.com/apache/superset/commit/708afb71462fa616209bbff9b23000880158810e))
- Small tweaks for Line and Area chart migrations (ECharts) ([#28334](https://github.com/apache/superset/issues/28334)) ([b4ab36a](https://github.com/apache/superset/commit/b4ab36a6a54d68ba0ac1356d8caaee5d1ed0e91f))
- Stacked charts with numerical columns ([#26264](https://github.com/apache/superset/issues/26264)) ([429e2a3](https://github.com/apache/superset/commit/429e2a33c3ac5a4b035e0cb113bc6e1e63a39e4c))
- Time shifts calculation for ECharts plugins ([#28432](https://github.com/apache/superset/issues/28432)) ([821c7d7](https://github.com/apache/superset/commit/821c7d7f2c430c4a4294883a66128ba98fd949c5))
- Time-series Line Chart Display unnecessary total ([#31181](https://github.com/apache/superset/issues/31181)) ([dbcb473](https://github.com/apache/superset/commit/dbcb473040b7e8ef1d41a81ba594387b66c04ebe))
- Timeseries Y-axis format with contribution mode ([#27106](https://github.com/apache/superset/issues/27106)) ([af577d6](https://github.com/apache/superset/commit/af577d64b17a9730e28e9021376318326fe31437))
- Tooltip no longer highlights hovered data series ([#24756](https://github.com/apache/superset/issues/24756)) ([ac19f58](https://github.com/apache/superset/commit/ac19f58cf6998cfd269d5a45de3b8544afd5f47c))
- Total calculation in stacked Timeseries charts ([#24477](https://github.com/apache/superset/issues/24477)) ([c5b4ecd](https://github.com/apache/superset/commit/c5b4ecdca519ab4309a47bfc8feb4a1665c6ce96))
- **treemap-v2:** color scheme not work when there is only one dimension ([#20671](https://github.com/apache/superset/issues/20671)) ([bd6037e](https://github.com/apache/superset/commit/bd6037ef50a579c9e9e3a133482670f6acb5fe5f))
- Typing of labelMap ([#21181](https://github.com/apache/superset/issues/21181)) ([1143e17](https://github.com/apache/superset/commit/1143e17742d1fa4c4cbae2c86e4998f4cc7e9f88))
- x axis title disappears when editing bar chart ([#30821](https://github.com/apache/superset/issues/30821)) ([97dde8c](https://github.com/apache/superset/commit/97dde8c4855641de38f01218d0a4bb5460e3f1b2))
### Features
- add Advanced Analytics into mixed time series chart ([#19851](https://github.com/apache/superset/issues/19851)) ([f5e9f0e](https://github.com/apache/superset/commit/f5e9f0eb3b2045a9d441f59cb3a6109892e6aea9))
- Add Bubble chart migration logic ([#26033](https://github.com/apache/superset/issues/26033)) ([68e5e1a](https://github.com/apache/superset/commit/68e5e1afea0f2c898a641988f509427cce5484df))
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- add Nightingale chart support for echarts pie chart ([#28597](https://github.com/apache/superset/issues/28597)) ([f9d2451](https://github.com/apache/superset/commit/f9d2451b23e0f5b0316a61889a8d964704e888dc))
- add renameOperator ([#19776](https://github.com/apache/superset/issues/19776)) ([3c28cd4](https://github.com/apache/superset/commit/3c28cd4625fdeeaeeac3ed730907af1fb86bc86e))
- Add ValuePercent option to LABEL TYPE for Pie and Funnel charts ([#26407](https://github.com/apache/superset/issues/26407)) ([3a7d76c](https://github.com/apache/superset/commit/3a7d76cece4408c8e80862ab9db3a38eaaafdc8c))
- adding truncate metric control on timeseries charts ([#20373](https://github.com/apache/superset/issues/20373)) ([7c252d7](https://github.com/apache/superset/commit/7c252d75240559d0bba9be3be8419b65b86967df))
- adding XAxis to BigNumberTrend ([#21577](https://github.com/apache/superset/issues/21577)) ([f4646f8](https://github.com/apache/superset/commit/f4646f8edba396dba24e6ff4fbc054d073d77fd7))
- Adds a control to set the Secondary Y-axis bounds in Mixed charts ([#23917](https://github.com/apache/superset/issues/23917)) ([b4371f6](https://github.com/apache/superset/commit/b4371f68b77a98231619d0288578b49d57b21053))
- Adds drill to detail context menu for ECharts visualizations ([#20891](https://github.com/apache/superset/issues/20891)) ([3df8335](https://github.com/apache/superset/commit/3df8335f8792c85d7e2f7fefa5dd60fb2c0befaf))
- Adds drill to detail context menu to Pivot Table ([#21198](https://github.com/apache/superset/issues/21198)) ([859b6d2](https://github.com/apache/superset/commit/859b6d2d20a58f2079c43bb66645fd3b604e077e))
- Adds Histogram chart migration logic ([#28780](https://github.com/apache/superset/issues/28780)) ([df0b1cb](https://github.com/apache/superset/commit/df0b1cb8ed6720f77793036d7fb68548670b3bec))
- Adds legacy time support for Waterfall chart ([#26136](https://github.com/apache/superset/issues/26136)) ([f405ba0](https://github.com/apache/superset/commit/f405ba033e04e2694f869738163d33e1d3991297))
- Adds Sunburst chart migration logic ([#25343](https://github.com/apache/superset/issues/25343)) ([0c083bd](https://github.com/apache/superset/commit/0c083bdc1af4e6a3e17155246a3134cb5cb5887d))
- Adds the ECharts Bubble chart ([#22107](https://github.com/apache/superset/issues/22107)) ([c81c60c](https://github.com/apache/superset/commit/c81c60c91fbcb09dd63c05f050e18ee09ceebfd6))
- Adds the ECharts Heatmap chart ([#25353](https://github.com/apache/superset/issues/25353)) ([546d48a](https://github.com/apache/superset/commit/546d48adbb84b1354d6a3d4ae88dbeba0ad14d44))
- Adds the ECharts Histogram chart ([#28652](https://github.com/apache/superset/issues/28652)) ([896fe85](https://github.com/apache/superset/commit/896fe854dc3865214325cfceea94824ff41a1b6c))
- Adds the ECharts Sankey chart ([#29329](https://github.com/apache/superset/issues/29329)) ([c83d5b8](https://github.com/apache/superset/commit/c83d5b88e159413d09fb346a95201255b1b5e196))
- Adds the ECharts Sunburst chart ([#22833](https://github.com/apache/superset/issues/22833)) ([30abefb](https://github.com/apache/superset/commit/30abefb519978e2760a492de51dc0d19803edf3a))
- Adds the Featured Charts dashboard ([#28789](https://github.com/apache/superset/issues/28789)) ([95706d9](https://github.com/apache/superset/commit/95706d9be2b5414ed496ad762ba1996041429e01))
- **advanced analysis:** support MultiIndex column in post processing stage ([#19116](https://github.com/apache/superset/issues/19116)) ([375c03e](https://github.com/apache/superset/commit/375c03e08407570bcf417acf5f3d25b28843329c))
- apply Time Grain to X-Axis column ([#21163](https://github.com/apache/superset/issues/21163)) ([ce3d38d](https://github.com/apache/superset/commit/ce3d38d2e72a56014fa96ee3d4afe066277cc5be))
- Axis sort in the Bar Chart V2 ([#21993](https://github.com/apache/superset/issues/21993)) ([22fab5e](https://github.com/apache/superset/commit/22fab5e58ce574e962518067d982e3036449e580))
- **bar_chart:** Stacked Bar chart with Time comparison in separated stacks ([#27589](https://github.com/apache/superset/issues/27589)) ([8a715cc](https://github.com/apache/superset/commit/8a715cc1b5fd687acda48443f18c93358e4a92e0))
- **chart & legend:** make to enable show legend by default ([#19927](https://github.com/apache/superset/issues/19927)) ([7b3d0f0](https://github.com/apache/superset/commit/7b3d0f040b050905f7d0901d0227f1cd6b761b56))
- conditional coloring for big number chart ([#23064](https://github.com/apache/superset/issues/23064)) ([61d8a0b](https://github.com/apache/superset/commit/61d8a0bd1206ffc96ea2f9284e4c238241fcca79))
- **dashboard:** Add cross filter from context menu ([#23141](https://github.com/apache/superset/issues/23141)) ([ee1952e](https://github.com/apache/superset/commit/ee1952e488f2cd0913fe6f35ffe551d18ee3d143))
- **dashboard:** menu improvements, fallback support for Drill to Detail ([#21351](https://github.com/apache/superset/issues/21351)) ([76e57ec](https://github.com/apache/superset/commit/76e57ec651bbfaf4f76031eeeca66f6a1fa81bc2))
- Data Zoom scrolls using the mouse (mark II) ([#28629](https://github.com/apache/superset/issues/28629)) ([ac53f7f](https://github.com/apache/superset/commit/ac53f7fea9d820fbc651be7d8e31d054d09f0787))
- derived metrics use different line style ([#20242](https://github.com/apache/superset/issues/20242)) ([7faf874](https://github.com/apache/superset/commit/7faf874c1b9613258606fb10f5800a185c30c81e))
- **echarts-funnel:** Implement % calculation type ([#26290](https://github.com/apache/superset/issues/26290)) ([5400d30](https://github.com/apache/superset/commit/5400d30b201d5ba987dfda8ade1a157580d9cc7c))
- **echarts-pie:** add string template support for labels ([#28774](https://github.com/apache/superset/issues/28774)) ([a067ffb](https://github.com/apache/superset/commit/a067ffb92d7f3d80bbcf8213d15a8c269c5f263b))
- **echarts:** Add x axis sort by to all series charts ([#23450](https://github.com/apache/superset/issues/23450)) ([8ecf0b1](https://github.com/apache/superset/commit/8ecf0b1c2009c86e56ba7930842f985c5f7f984a))
- **echarts:** Implement stream graph for Echarts Timeseries ([#23410](https://github.com/apache/superset/issues/23410)) ([b0d83e8](https://github.com/apache/superset/commit/b0d83e8c5086014492f1d11ca19c7c6871b102c7))
- Enable cross fitlers in WorldMap and Graph charts ([#22886](https://github.com/apache/superset/issues/22886)) ([871cab8](https://github.com/apache/superset/commit/871cab8cbe20971efd9b81f647ed537ad4fbe12b))
- Enables ECharts legend selector ([#23590](https://github.com/apache/superset/issues/23590)) ([30f210b](https://github.com/apache/superset/commit/30f210b84242051fe2f3d812ad8f5a10a0bed1b5))
- explicit distribute columns on BoxPlot and apply time grain ([#21593](https://github.com/apache/superset/issues/21593)) ([93f08e7](https://github.com/apache/superset/commit/93f08e778bfd48be150749f22d0b184467da73ac))
- **explore:** Add time shift color control to ECharts ([#29897](https://github.com/apache/superset/issues/29897)) ([c5594f2](https://github.com/apache/superset/commit/c5594f29792c7f83fde9320097b8a0e6323417e5))
- **explore:** Denormalize form data in echarts, world map and nvd3 bar and line charts ([#20313](https://github.com/apache/superset/issues/20313)) ([354a899](https://github.com/apache/superset/commit/354a89950c4d001da3e107f60788cea873bd6bf6))
- **explore:** improve UI in the control panel ([#19748](https://github.com/apache/superset/issues/19748)) ([e3a54aa](https://github.com/apache/superset/commit/e3a54aa3c15bdd0c970aa73f898288a408205c97))
- format timestamps in drill by breadcrumbs ([#23698](https://github.com/apache/superset/issues/23698)) ([0bf8907](https://github.com/apache/superset/commit/0bf8907f2f6d7a17a1e3efa1c03a5af06daa8190))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- Funnel/tooltip-customization ([#25666](https://github.com/apache/superset/issues/25666)) ([dfff3c1](https://github.com/apache/superset/commit/dfff3c1cbaccc416315aa09efd9b32430f473ef0))
- generate consistent QueryObject whether GenericAxis is enabled or disabled ([#21519](https://github.com/apache/superset/issues/21519)) ([4d12e37](https://github.com/apache/superset/commit/4d12e3709eb7ab1cc4f687c15ed54a4738266482))
- **generic-x-axis:** add x sorting on series limit metric ([#23274](https://github.com/apache/superset/issues/23274)) ([1b139d0](https://github.com/apache/superset/commit/1b139d074852e13c113a408a920991b2abc98387))
- Implement context menu for drill by ([#23454](https://github.com/apache/superset/issues/23454)) ([9fbfd1c](https://github.com/apache/superset/commit/9fbfd1c1d883f983ef96b8812297721e2a1a9695))
- Implement currencies formatter for saved metrics ([#24517](https://github.com/apache/superset/issues/24517)) ([83ff4cd](https://github.com/apache/superset/commit/83ff4cd86a4931fc8eda83aeb3d8d3c92d773202))
- Implement support for currencies in more charts ([#24594](https://github.com/apache/superset/issues/24594)) ([d74d7ec](https://github.com/apache/superset/commit/d74d7eca23a3c94bc48af082c115d34c103e815d))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- Improves the Waterfall chart ([#25557](https://github.com/apache/superset/issues/25557)) ([d619078](https://github.com/apache/superset/commit/d619078d25dde63c55e9afd87e98f05d4fb82b86))
- Make time shifted series colors match the original series ([#24048](https://github.com/apache/superset/issues/24048)) ([df4d16a](https://github.com/apache/superset/commit/df4d16a7eec3ba06bf1d5e9f016cb0d86b9693e5))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- **plugin-chart-echarts:** [feature-parity] support extra control for the area chart V2 ([#16493](https://github.com/apache/superset/issues/16493)) ([eab0009](https://github.com/apache/superset/commit/eab0009101a295acf4d8d31df8a57f8fe0deb517))
- **plugin-chart-echarts:** able to sort bar on the bar chart V2 ([#21356](https://github.com/apache/superset/issues/21356)) ([59437ea](https://github.com/apache/superset/commit/59437ea6e7ec02267c6e03e174be39a6cae48893))
- **plugin-chart-echarts:** add aggregate total for the Pie/Donuct chart ([#19622](https://github.com/apache/superset/issues/19622)) ([a6bf041](https://github.com/apache/superset/commit/a6bf041eddcde0247461f35c806414df00ef105e))
- **plugin-chart-echarts:** add series sorting ([#23392](https://github.com/apache/superset/issues/23392)) ([0c454c6](https://github.com/apache/superset/commit/0c454c64426376d7fb209a8b16d15c580be811f4))
- **plugin-chart-echarts:** add support for generic axis to mixed chart ([#20097](https://github.com/apache/superset/issues/20097)) ([d5c5e58](https://github.com/apache/superset/commit/d5c5e58583771a35d8870ce3694b2a3f1b688159))
- **plugin-chart-echarts:** add x-axis sort to multi series ([#23644](https://github.com/apache/superset/issues/23644)) ([f49702f](https://github.com/apache/superset/commit/f49702feffb3b08476c22916e185c0ce2c64e7f1))
- **plugin-chart-echarts:** Echarts Waterfall ([#17906](https://github.com/apache/superset/issues/17906)) ([17792a5](https://github.com/apache/superset/commit/17792a507c7245c9e09c6eb98a774f2ef4ec8568))
- **plugin-chart-echarts:** support horizontal bar chart ([#19918](https://github.com/apache/superset/issues/19918)) ([9854d2d](https://github.com/apache/superset/commit/9854d2d0e8f849366b264353819c6fdf4b0d804d))
- **plugin-chart-echarts:** support non-timeseries x-axis ([#17917](https://github.com/apache/superset/issues/17917)) ([e9651ea](https://github.com/apache/superset/commit/e9651ea52fdc0edb574bfb9dc1b22c225bcc068f)), closes [#18021](https://github.com/apache/superset/issues/18021) [#18039](https://github.com/apache/superset/issues/18039) [#17569](https://github.com/apache/superset/issues/17569) [#18037](https://github.com/apache/superset/issues/18037)
- **plugin-chart-echarts:** Support stacking negative and positive values ([#20408](https://github.com/apache/superset/issues/20408)) ([c959d92](https://github.com/apache/superset/commit/c959d92dd17499e3fb7a0f4f02f3781516f3d3e6))
- **plugin-chart-echarts:** supports sunburst chart v2 [WIP] ([#21625](https://github.com/apache/superset/issues/21625)) ([b53941f](https://github.com/apache/superset/commit/b53941fb3eef7ab3936a0a3f16e22c921d946f53))
- **plugins:** add color options for big number with time comparison ([#27524](https://github.com/apache/superset/issues/27524)) ([ae29427](https://github.com/apache/superset/commit/ae294274c7da58826a309ab06356d097e98fbe0a))
- Responsive UI for Big Number with Time Comparison ([#27375](https://github.com/apache/superset/issues/27375)) ([5de2530](https://github.com/apache/superset/commit/5de2530e3cdc5799d08cfbad5871d24762a47ce4))
- setting limit value when Pie chart switches ([#20392](https://github.com/apache/superset/issues/20392)) ([0a50a9b](https://github.com/apache/superset/commit/0a50a9b3804837ea7130f91bfcfcca57ab50129f))
- **standardized form data:** keep all columns and metrics ([#20377](https://github.com/apache/superset/issues/20377)) ([bbbe102](https://github.com/apache/superset/commit/bbbe102887a524b1ee0ffd4ada8481078dbe5496))
- standardized form_data ([#20010](https://github.com/apache/superset/issues/20010)) ([dd4b581](https://github.com/apache/superset/commit/dd4b581fb55d920fc3b709fc044cea5339802ee2))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- **table:** Table with Time Comparison ([#28057](https://github.com/apache/superset/issues/28057)) ([7ddea62](https://github.com/apache/superset/commit/7ddea62331617dad1b8ade1abe7dd8c11a1ba20d))
- **time_comparison:** Support all date formats when computing custom and inherit offsets ([#30002](https://github.com/apache/superset/issues/30002)) ([bc6d2db](https://github.com/apache/superset/commit/bc6d2dba373e59a498d942909ab6631e5c8521e9))
- **timeseries-chart:** add percentage threshold input control ([#17758](https://github.com/apache/superset/issues/17758)) ([6bd4dd2](https://github.com/apache/superset/commit/6bd4dd257a6089a093bae3f251cf9f0976d353e6))
- Utility function to render chart tooltips ([#27950](https://github.com/apache/superset/issues/27950)) ([b549977](https://github.com/apache/superset/commit/b549977f0538d6939dce756c7615052e5f2e6c93))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
### Performance Improvements
- Implement Echarts treeshaking ([#29874](https://github.com/apache/superset/issues/29874)) ([c220245](https://github.com/apache/superset/commit/c2202454147936d1770137eaac334719b8e746e2))
### Reverts
- Revert "feat(plugin-chart-echarts): Support stacking negative and positive values (#20408)" (#20571) ([f5f8dde](https://github.com/apache/superset/commit/f5f8ddec3e5c947896521003295e1acd93851674)), closes [#20408](https://github.com/apache/superset/issues/20408) [#20571](https://github.com/apache/superset/issues/20571)
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/plugin-chart-echarts",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Chart - Echarts",
"keywords": [
"superset"

View File

@@ -1,31 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- Allow empty CSS in Handlebars ([#22422](https://github.com/apache/superset/issues/22422)) ([bb318cb](https://github.com/apache/superset/commit/bb318cb137acd27009ddbe63ba4f8e0c37b754ca))
- explore warnings cleanup ([#20864](https://github.com/apache/superset/issues/20864)) ([5d107b8](https://github.com/apache/superset/commit/5d107b86abd1712571861e92f922ace57fb622ba))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- Force configuration for SafeMarkdown component in Handlebars ([#22417](https://github.com/apache/superset/issues/22417)) ([ebaa949](https://github.com/apache/superset/commit/ebaa94974b2fca41d21f1c0972c288e086525687))
- **plugin-chart-handlebars:** fix overflow, debounce and control reset ([#19879](https://github.com/apache/superset/issues/19879)) ([d5ea537](https://github.com/apache/superset/commit/d5ea537b0eb3e102677d63811b99cf2c4b31a3ab))
- **plugin-chart-handlebars:** Fix TypeError when using handlebars columns raw mode ([#23801](https://github.com/apache/superset/issues/23801)) ([422e21e](https://github.com/apache/superset/commit/422e21eb16bfbadc02b15d751b0357c729b55da2))
- **plugin-chart-handlebars:** order by control not work ([#21005](https://github.com/apache/superset/issues/21005)) ([e70699f](https://github.com/apache/superset/commit/e70699fb433849e07af81ea1812f20aa271d028e))
### Features
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- Adds plugin-chart-handlebars ([#17903](https://github.com/apache/superset/issues/17903)) ([e632b82](https://github.com/apache/superset/commit/e632b82395bd379e2c4d42cb581972e6fe690a50))
- **explore:** Apply denormalization to tier 2 charts form data ([#20524](https://github.com/apache/superset/issues/20524)) ([e12ee59](https://github.com/apache/superset/commit/e12ee59b13822241dca8d8015f1222c477edd4f3))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- **handlebars plugin:** adding handlebars helpers for common math operations ([#20648](https://github.com/apache/superset/issues/20648)) ([9856d88](https://github.com/apache/superset/commit/9856d88c03c78a97f6037077e0d0e1e2bac491fe))
- **Handlebars:** formatNumber and group helpers ([#31261](https://github.com/apache/superset/issues/31261)) ([77f3764](https://github.com/apache/superset/commit/77f3764fea7ca0fdd95285794758a6ada4d4a608))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- support mulitple temporal filters in AdhocFilter and move the Time Section away ([#21767](https://github.com/apache/superset/issues/21767)) ([a9b229d](https://github.com/apache/superset/commit/a9b229dd1dd9cb9dc8166b1392179fcccb4da138))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/plugin-chart-handlebars",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Chart - Write a handlebars template to render the data",
"sideEffects": false,
"main": "lib/index.js",

View File

@@ -1,50 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- Adds time grain to Pivot Table v2 ([#22170](https://github.com/apache/superset/issues/22170)) ([9a2cb43](https://github.com/apache/superset/commit/9a2cb431ce9b82d656838d70c088bc00f3e4bd5e))
- **capitalization:** Capitalizing the 'metric' label in Pivot Tables ([#24265](https://github.com/apache/superset/issues/24265)) ([46c2479](https://github.com/apache/superset/commit/46c2479db2507d5117264b33a5266526e7a3b829))
- **charts:** Time grain is None when dataset uses Jinja ([#25842](https://github.com/apache/superset/issues/25842)) ([7536dd1](https://github.com/apache/superset/commit/7536dd12cdd58a1bca7d72952a2b74641f16c959))
- **conditional formatting:** controls looses on save ([#23137](https://github.com/apache/superset/issues/23137)) ([ce3ba67](https://github.com/apache/superset/commit/ce3ba67cf63e90059d94e2aa956982ad4ea44d1e))
- Dashboard time grain in Pivot Table ([#24665](https://github.com/apache/superset/issues/24665)) ([6e59f11](https://github.com/apache/superset/commit/6e59f11f4ce76305c1b0adee883f3b958199805b))
- **dashboard:** Allow selecting text in cells in Table and PivotTable without triggering cross filters ([#23283](https://github.com/apache/superset/issues/23283)) ([d16512b](https://github.com/apache/superset/commit/d16512b7758e36a1263fc63bd7d9d1f93060dc93))
- **dashboard:** fix Pivot Table V2 dragPreview in the dashboard ([#21539](https://github.com/apache/superset/issues/21539)) ([ab53d77](https://github.com/apache/superset/commit/ab53d77abacaf03e67c5a922c1e9dbd9a62fedbf))
- **explore:** Update tooltip copy for rendering html in tables and pivot tables ([#30682](https://github.com/apache/superset/issues/30682)) ([3ec3f0a](https://github.com/apache/superset/commit/3ec3f0a610807a6da4421fd5c0fb815bf3d023f3))
- Further drill by in Pivot Table ([#23692](https://github.com/apache/superset/issues/23692)) ([da5f715](https://github.com/apache/superset/commit/da5f7155c63c2a9f7b42a31130fa24e9698b1191))
- Pivot Table Conditional Formatting Doesn't Show All Options ([#19071](https://github.com/apache/superset/issues/19071)) ([0e0bece](https://github.com/apache/superset/commit/0e0beceac173f765d8f9a0887732029b78603f6d))
- **Pivot Table v2:** resolved full width issue ([#23393](https://github.com/apache/superset/issues/23393)) ([832e8fb](https://github.com/apache/superset/commit/832e8fb0ac7599e87135d002b361475403d2791a))
- pivot v2 charts created before `GENERIC_CHART_AXES` is enabled ([#23731](https://github.com/apache/superset/issues/23731)) ([314987f](https://github.com/apache/superset/commit/314987f32dee789d7aa6af14943727af979ee30b))
- **pivot-table-v2:** Added forgotten translation pivot table v2 ([#22840](https://github.com/apache/superset/issues/22840)) ([60fe581](https://github.com/apache/superset/commit/60fe58196a6e8dd1ea7a2e6aaf8401d0a718bc41))
- **PivotTable:** Pass string only to safeHtmlSpan ([#29895](https://github.com/apache/superset/issues/29895)) ([fb6efb9](https://github.com/apache/superset/commit/fb6efb9e9a049ecd7985a50a902810484b0fc37a))
- **plugin-chart-pivot-table:** Invalid Formats Date Fields ([#20909](https://github.com/apache/superset/issues/20909)) ([3f124d9](https://github.com/apache/superset/commit/3f124d9d67f194746da0a49ee2456a0530ec73f9))
- string aggregation is incorrect in PivotTableV2 ([#19102](https://github.com/apache/superset/issues/19102)) ([22b7496](https://github.com/apache/superset/commit/22b7496d2ea444ca619aa21f9e820bb610cc5648))
### Features
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- Adds drill to detail context menu to Pivot Table ([#21198](https://github.com/apache/superset/issues/21198)) ([859b6d2](https://github.com/apache/superset/commit/859b6d2d20a58f2079c43bb66645fd3b604e077e))
- Adds drill to detail context menu to Table ([#21168](https://github.com/apache/superset/issues/21168)) ([68fa4d2](https://github.com/apache/superset/commit/68fa4d2665cc0742b2194533271ce562a3ebbf14))
- Adds options to show subtotals in Pivot Table ([#24960](https://github.com/apache/superset/issues/24960)) ([be11556](https://github.com/apache/superset/commit/be1155679963a90c7a0d699a2ebdceade40fb5a9))
- Adds the Featured Charts dashboard ([#28789](https://github.com/apache/superset/issues/28789)) ([95706d9](https://github.com/apache/superset/commit/95706d9be2b5414ed496ad762ba1996041429e01))
- Axis sort in the Bar Chart V2 ([#21993](https://github.com/apache/superset/issues/21993)) ([22fab5e](https://github.com/apache/superset/commit/22fab5e58ce574e962518067d982e3036449e580))
- **dashboard:** Add cross filter from context menu ([#23141](https://github.com/apache/superset/issues/23141)) ([ee1952e](https://github.com/apache/superset/commit/ee1952e488f2cd0913fe6f35ffe551d18ee3d143))
- **dashboard:** menu improvements, fallback support for Drill to Detail ([#21351](https://github.com/apache/superset/issues/21351)) ([76e57ec](https://github.com/apache/superset/commit/76e57ec651bbfaf4f76031eeeca66f6a1fa81bc2))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- get html (links/styling/img/...) to work in pivot table ([#29724](https://github.com/apache/superset/issues/29724)) ([c582941](https://github.com/apache/superset/commit/c5829419e32f3c99c202c4f47c4e1f5882ebdbc1))
- Implement context menu for drill by ([#23454](https://github.com/apache/superset/issues/23454)) ([9fbfd1c](https://github.com/apache/superset/commit/9fbfd1c1d883f983ef96b8812297721e2a1a9695))
- Implement currencies formatter for saved metrics ([#24517](https://github.com/apache/superset/issues/24517)) ([83ff4cd](https://github.com/apache/superset/commit/83ff4cd86a4931fc8eda83aeb3d8d3c92d773202))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- **plugin-chart-pivot-table:** support series limit ([#17803](https://github.com/apache/superset/issues/17803)) ([2c3f39f](https://github.com/apache/superset/commit/2c3f39f3f2a4369bf03403c452d124c24c521e7d))
- standardized form_data ([#20010](https://github.com/apache/superset/issues/20010)) ([dd4b581](https://github.com/apache/superset/commit/dd4b581fb55d920fc3b709fc044cea5339802ee2))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- support multiple time columns with time grain in Pivot Table v2 ([#21537](https://github.com/apache/superset/issues/21537)) ([e671d80](https://github.com/apache/superset/commit/e671d8020982111e117e7415dee41672cc32d780))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/plugin-chart-pivot-table",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Chart - Pivot Table",
"sideEffects": false,
"main": "lib/index.js",

View File

@@ -51,6 +51,7 @@ const Styles = styled.div<PivotTableStylesProps>`
width: ${
typeof width === 'string' ? parseInt(width, 10) : width - margin * 2
}px;
white-space: nowrap;
`}
`;

View File

@@ -1,86 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **accessibility:** Enable tabbing on sort header of table chart ([#26326](https://github.com/apache/superset/issues/26326)) ([b6d433d](https://github.com/apache/superset/commit/b6d433de32cad21c0866ee98fd5ae85b4459c23b))
- **chart & table:** make to allow highlight in case of numeric column ([#19938](https://github.com/apache/superset/issues/19938)) ([902ac05](https://github.com/apache/superset/commit/902ac053722ada89f817156a0af38ec03f27376c))
- **chart & table:** make to prevent dates from wrapping ([#20384](https://github.com/apache/superset/issues/20384)) ([1ae9353](https://github.com/apache/superset/commit/1ae935379fa8f1f5043205f218d7c1af93fae053))
- **chart table in dashboard:** improve screen reading of table ([#26453](https://github.com/apache/superset/issues/26453)) ([71a950f](https://github.com/apache/superset/commit/71a950fc803898393fbe1c0b370aaca438eeb38b))
- **chart-table:** Scrollbar causing header + footer overflow ([#21064](https://github.com/apache/superset/issues/21064)) ([2679ee2](https://github.com/apache/superset/commit/2679ee2e46edf53ab07c19e1186ce2877e159303))
- **conditional formatting:** controls looses on save ([#23137](https://github.com/apache/superset/issues/23137)) ([ce3ba67](https://github.com/apache/superset/commit/ce3ba67cf63e90059d94e2aa956982ad4ea44d1e))
- Currency formatting in Table raw mode ([#25248](https://github.com/apache/superset/issues/25248)) ([ea21e80](https://github.com/apache/superset/commit/ea21e800a799e7da0817f67cdae893be701569f5))
- Dashboard time grain in Table ([#24746](https://github.com/apache/superset/issues/24746)) ([317aa98](https://github.com/apache/superset/commit/317aa989c233160fcf4fe9ce3e5c1953634c5524))
- **Dashboard:** Add aria-label to filters and search forms ([#27968](https://github.com/apache/superset/issues/27968)) ([4202fba](https://github.com/apache/superset/commit/4202fba0f1da1d4f785c479c5972ee4dc4846e3d))
- **dashboard:** Allow selecting text in cells in Table and PivotTable without triggering cross filters ([#23283](https://github.com/apache/superset/issues/23283)) ([d16512b](https://github.com/apache/superset/commit/d16512b7758e36a1263fc63bd7d9d1f93060dc93))
- Dates alignment in Table viz ([#19668](https://github.com/apache/superset/issues/19668)) ([ed1309e](https://github.com/apache/superset/commit/ed1309e6bd9e8c0365794cf12bf4a272e540bbbd))
- Drill to detail formatted val on TableChart ([#21719](https://github.com/apache/superset/issues/21719)) ([eb2a134](https://github.com/apache/superset/commit/eb2a1345a87dae968d1357279e6056a76988bd01))
- explore warnings cleanup ([#20864](https://github.com/apache/superset/issues/20864)) ([5d107b8](https://github.com/apache/superset/commit/5d107b86abd1712571861e92f922ace57fb622ba))
- **explore:** Prevent shared controls from checking feature flags outside React render ([#21315](https://github.com/apache/superset/issues/21315)) ([2285ebe](https://github.com/apache/superset/commit/2285ebe72ec4edded6d195052740b7f9f13d1f1b))
- **explore:** Update tooltip copy for rendering html in tables and pivot tables ([#30682](https://github.com/apache/superset/issues/30682)) ([3ec3f0a](https://github.com/apache/superset/commit/3ec3f0a610807a6da4421fd5c0fb815bf3d023f3))
- issue with sorting by multiple columns in a table ([#19920](https://github.com/apache/superset/issues/19920)) ([a45d011](https://github.com/apache/superset/commit/a45d011e74be7a52fee9b0e580187dd6f25509db))
- null dates in table chart ([#17974](https://github.com/apache/superset/issues/17974)) ([1e544ce](https://github.com/apache/superset/commit/1e544ce5316fad4b2c65127426c8aaffaf71fad3))
- Pivot Table Conditional Formatting Doesn't Show All Options ([#19071](https://github.com/apache/superset/issues/19071)) ([0e0bece](https://github.com/apache/superset/commit/0e0beceac173f765d8f9a0887732029b78603f6d))
- **plugin-chart-table): Revert "fix(chart table in dashboard:** improve screen reading of table ([#26453](https://github.com/apache/superset/issues/26453))" ([#26963](https://github.com/apache/superset/issues/26963)) ([e4eae9a](https://github.com/apache/superset/commit/e4eae9a70c3f5b7c3fae984a017e72e912fbad93))
- **plugin-chart-table:** Include time control ([#23533](https://github.com/apache/superset/issues/23533)) ([13ffb4b](https://github.com/apache/superset/commit/13ffb4b7c203cfa8ebec602fc7c25103eebc019f))
- **plugin-chart-table:** Invalid d3Formatter on String column ([#23515](https://github.com/apache/superset/issues/23515)) ([5d910aa](https://github.com/apache/superset/commit/5d910aa2e248edcee055f715def9b02bc2c1d62b))
- **plugin-chart-table:** Prevent misalignment of totals and headers when scrollbar is visible ([#26964](https://github.com/apache/superset/issues/26964)) ([e6d2fb6](https://github.com/apache/superset/commit/e6d2fb6fdfa4d741de16b322bdc4bd01fb559413))
- **plugin-chart-table:** Resetting controls when switching query mode ([#19792](https://github.com/apache/superset/issues/19792)) ([fcc8080](https://github.com/apache/superset/commit/fcc8080ff3b99e2f5f5cdbd48335d7ab83aba16a))
- **plugin-chart-table:** sort alphanumeric columns case insensitive ([#17765](https://github.com/apache/superset/issues/17765)) ([82b47ca](https://github.com/apache/superset/commit/82b47cacba9653c7837c361be65e10520e9068b3))
- **plugins:** Fix dashboard filter for Table and Big Number with Time Comparison ([#29517](https://github.com/apache/superset/issues/29517)) ([9052f9f](https://github.com/apache/superset/commit/9052f9fbb4a17c8dc1e951a8d1b13bf92b29c8a8))
- **plugins:** missing currency on small number format in table chart ([#27041](https://github.com/apache/superset/issues/27041)) ([6f40299](https://github.com/apache/superset/commit/6f402991e54ae6ab0c6c98613d7e831c7f847f54))
- Position of arrows in Table chart ([#18739](https://github.com/apache/superset/issues/18739)) ([a9a8929](https://github.com/apache/superset/commit/a9a892945e6058c92c6e4f63255d799790a9bfa8))
- removing problematic "formattable" tag ([#24207](https://github.com/apache/superset/issues/24207)) ([cc68d62](https://github.com/apache/superset/commit/cc68d626bce46d1dcb8e8ee97f19919774c1ab86))
- row limits & row count labels are confusing ([#27700](https://github.com/apache/superset/issues/27700)) ([12fe292](https://github.com/apache/superset/commit/12fe2929a4a4b5627d9cff701a1e73644e78ac47))
- **select:** select component sort functionality on certain options ([#17638](https://github.com/apache/superset/issues/17638)) ([f476ba2](https://github.com/apache/superset/commit/f476ba23a279cb87a94ad3075e035cad0ae264b6))
- Show Totals error with sort and group by together ([#19072](https://github.com/apache/superset/issues/19072)) ([bc6aad0](https://github.com/apache/superset/commit/bc6aad0a88bbbbfd6c592f8813d1b72471788897))
- Table Autosizing Has Unnecessary Scroll Bars ([#19628](https://github.com/apache/superset/issues/19628)) ([9554135](https://github.com/apache/superset/commit/955413539b3edd892efd6bc069240efb5f5a29ac))
- **table chart:** Show Cell Bars correctly [#25625](https://github.com/apache/superset/issues/25625) ([#25707](https://github.com/apache/superset/issues/25707)) ([916f7bc](https://github.com/apache/superset/commit/916f7bcbbae6786bc6320f31b8e5af49ad119ac9))
- Table sorting reset ([#23318](https://github.com/apache/superset/issues/23318)) ([da3791a](https://github.com/apache/superset/commit/da3791ad3daa209631a588394600d1a8b635e814))
- table viz sort icon bottom aligned ([#20447](https://github.com/apache/superset/issues/20447)) ([93774d1](https://github.com/apache/superset/commit/93774d1860fd40dfee1f18e2787d9d0b79b551e2))
- **table-chart:** don't color empty cells in table chart with color formatters ([#21501](https://github.com/apache/superset/issues/21501)) ([60bab42](https://github.com/apache/superset/commit/60bab4269f1a0ebd42c85aab1ecd8c34ae1b9448))
- **table:** condition formatting can't formate 0 values ([#24008](https://github.com/apache/superset/issues/24008)) ([0d5be8e](https://github.com/apache/superset/commit/0d5be8e3f6c0b1ca62bf52fe933bc516d2f509e0))
- **table:** Double percenting ad-hoc percentage metrics ([#25857](https://github.com/apache/superset/issues/25857)) ([784a478](https://github.com/apache/superset/commit/784a478268fd89e6e58077e99bb2010987d6b07c))
- **table:** percentage metric should use verbose map ([#24158](https://github.com/apache/superset/issues/24158)) ([febc07a](https://github.com/apache/superset/commit/febc07aec361d80056195c001d26084e3a0b9363))
- **table:** Use extras in queries ([#30335](https://github.com/apache/superset/issues/30335)) ([6c2bd2a](https://github.com/apache/superset/commit/6c2bd2a9689e1d96cb73c0145dd39d7297e6d230))
- **trino:** normalize non-iso timestamps ([#23339](https://github.com/apache/superset/issues/23339)) ([a591130](https://github.com/apache/superset/commit/a591130e0bd3c817af9ad937f63f1af1fce90740))
### Features
- Add currencies controls in control panels ([#24718](https://github.com/apache/superset/issues/24718)) ([f7e76d0](https://github.com/apache/superset/commit/f7e76d02b7cbe4940946673590bb979984ace9f5))
- add drag and drop column rearrangement for table viz ([#19381](https://github.com/apache/superset/issues/19381)) ([7e9b85f](https://github.com/apache/superset/commit/7e9b85f76ca8cae38c38e11f857634216b1cd71c))
- add option to disable rendering of html in sql lab and table chart ([#27969](https://github.com/apache/superset/issues/27969)) ([4f363e1](https://github.com/apache/superset/commit/4f363e11801572e7737b9c475bba58bd0a5dbca8))
- Adds drill to detail context menu to Table ([#21168](https://github.com/apache/superset/issues/21168)) ([68fa4d2](https://github.com/apache/superset/commit/68fa4d2665cc0742b2194533271ce562a3ebbf14))
- Adds the Featured Charts dashboard ([#28789](https://github.com/apache/superset/issues/28789)) ([95706d9](https://github.com/apache/superset/commit/95706d9be2b5414ed496ad762ba1996041429e01))
- Axis sort in the Bar Chart V2 ([#21993](https://github.com/apache/superset/issues/21993)) ([22fab5e](https://github.com/apache/superset/commit/22fab5e58ce574e962518067d982e3036449e580))
- **dashboard:** Add cross filter from context menu ([#23141](https://github.com/apache/superset/issues/23141)) ([ee1952e](https://github.com/apache/superset/commit/ee1952e488f2cd0913fe6f35ffe551d18ee3d143))
- **dashboard:** menu improvements, fallback support for Drill to Detail ([#21351](https://github.com/apache/superset/issues/21351)) ([76e57ec](https://github.com/apache/superset/commit/76e57ec651bbfaf4f76031eeeca66f6a1fa81bc2))
- **explore:** Frontend implementation of dataset creation from infobox ([#19855](https://github.com/apache/superset/issues/19855)) ([ba0c37d](https://github.com/apache/superset/commit/ba0c37d3df85b1af39404af1d578daeb0ff2d278))
- **explorer:** Add configs and formatting to discrete comparison columns ([#29553](https://github.com/apache/superset/issues/29553)) ([dac69e2](https://github.com/apache/superset/commit/dac69e20922ac06b21267502fc9cf18b61de15cc))
- **formatters:** Add custom d3-time-format locale ([#24263](https://github.com/apache/superset/issues/24263)) ([024cfd8](https://github.com/apache/superset/commit/024cfd86e408ec5f7ddf49a9e90908e2fb2e6b70))
- Implement context menu for drill by ([#23454](https://github.com/apache/superset/issues/23454)) ([9fbfd1c](https://github.com/apache/superset/commit/9fbfd1c1d883f983ef96b8812297721e2a1a9695))
- Implement currencies formatter for saved metrics ([#24517](https://github.com/apache/superset/issues/24517)) ([83ff4cd](https://github.com/apache/superset/commit/83ff4cd86a4931fc8eda83aeb3d8d3c92d773202))
- make data tables support html ([#24368](https://github.com/apache/superset/issues/24368)) ([d2b0b8e](https://github.com/apache/superset/commit/d2b0b8eac52ad8b68639c6581a1ed174a593f564))
- Making bar graphs in Table viz from fixed-size divs instead of calculated gradients ([#21482](https://github.com/apache/superset/issues/21482)) ([135909f](https://github.com/apache/superset/commit/135909f814e989c2314ddbb5da90e5364cd36d17))
- Move cross filters to Dashboard ([#22785](https://github.com/apache/superset/issues/22785)) ([9ed2326](https://github.com/apache/superset/commit/9ed2326a20329d41abc8e0995b0ba6110379088f))
- **select:** keep options order when in single mode ([#19085](https://github.com/apache/superset/issues/19085)) ([ae13d83](https://github.com/apache/superset/commit/ae13d8313b5687374f5b24e02bccdcc717ba19eb))
- standardized form_data ([#20010](https://github.com/apache/superset/issues/20010)) ([dd4b581](https://github.com/apache/superset/commit/dd4b581fb55d920fc3b709fc044cea5339802ee2))
- **storybook:** Co-habitating/Upgrading Storybooks to v7 (dependency madness ensues) ([#26907](https://github.com/apache/superset/issues/26907)) ([753ef69](https://github.com/apache/superset/commit/753ef695294ce26238b68ff41ba0a9af6aea74de))
- support multiple columns with time grain in Table Chart ([#21547](https://github.com/apache/superset/issues/21547)) ([d67b046](https://github.com/apache/superset/commit/d67b04683c5e671a8e0278994fb36b23978c1ff4))
- **table:** Table with Time Comparison ([#28057](https://github.com/apache/superset/issues/28057)) ([7ddea62](https://github.com/apache/superset/commit/7ddea62331617dad1b8ade1abe7dd8c11a1ba20d))
- **time_comparison:** Support all date formats when computing custom and inherit offsets ([#30002](https://github.com/apache/superset/issues/30002)) ([bc6d2db](https://github.com/apache/superset/commit/bc6d2dba373e59a498d942909ab6631e5c8521e9))
- truncate long values in table viz, a per-column setting ([#19383](https://github.com/apache/superset/issues/19383)) ([7e504ff](https://github.com/apache/superset/commit/7e504ff680698106cf9008b4c2814b01fcac90bb))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
### Performance Improvements
- **plugin-chart-table:** Add memoization to avoid rerenders ([#19976](https://github.com/apache/superset/issues/19976)) ([0f68dee](https://github.com/apache/superset/commit/0f68deedf105300c8bd2536bd205d128799c0381))
- Remove antd-with-locales import ([#29788](https://github.com/apache/superset/issues/29788)) ([f1136b5](https://github.com/apache/superset/commit/f1136b57dd6b4cbcb7628dcbf6b1ac46e2a8301b))
# [0.20.0](https://github.com/apache/superset/compare/v2021.41.0...v0.20.0) (2024-09-09)
### Bug Fixes

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/plugin-chart-table",
"version": "0.21.0",
"version": "0.20.3",
"description": "Superset Chart - Table",
"keywords": [
"superset"

View File

@@ -1,27 +1,27 @@
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [0.21.0](https://github.com/apache/superset/compare/v2021.41.0...v0.21.0) (2024-12-10)
### Bug Fixes
- **Dashboard:** Color inconsistency on refreshes and conflicts ([#27439](https://github.com/apache/superset/issues/27439)) ([313ee59](https://github.com/apache/superset/commit/313ee596f5435894f857d72be7269d5070c8c964))
- **Dashboard:** Retain colors when color scheme not set ([#30646](https://github.com/apache/superset/issues/30646)) ([90572be](https://github.com/apache/superset/commit/90572be95adf3f2a92e53d0af53027d1d0ad0530))
- fix word cloud randomness ([#19977](https://github.com/apache/superset/issues/19977)) ([2e31021](https://github.com/apache/superset/commit/2e31021ecd6cc390fbe29d2837c026c6ac43903b))
- **word cloud:** series label format fixed for custom sql queries ([#23517](https://github.com/apache/superset/issues/23517)) ([41ad944](https://github.com/apache/superset/commit/41ad9442c07690786b8b398b91f07df6235812e3))
### Features
- apply standardized form data to tier 2 charts ([#20530](https://github.com/apache/superset/issues/20530)) ([de524bc](https://github.com/apache/superset/commit/de524bc59f011fd361dcdb7d35c2cb51f7eba442))
- improve color consistency (save all labels) ([#19038](https://github.com/apache/superset/issues/19038)) ([dc57508](https://github.com/apache/superset/commit/dc575080d7e43d40b1734bb8f44fdc291cb95b11))
- **viz picker:** Remove some tags, refactor Recommended section ([#27708](https://github.com/apache/superset/issues/27708)) ([c314999](https://github.com/apache/superset/commit/c3149994ac0d4392e0462421b62cd0c034142082))
### Performance Improvements
- **word-cloud:** reduce render to improve performance ([#21504](https://github.com/apache/superset/issues/21504)) ([94a724e](https://github.com/apache/superset/commit/94a724e49bd8887d3c3bba1551f6f7415c64eb0a))
## [0.20.4](https://github.com/apache/superset/compare/v0.20.3...v0.20.4) (2024-12-10)
**Note:** Version bump only for package @superset-ui/plugin-chart-word-cloud

View File

@@ -1,6 +1,6 @@
{
"name": "@superset-ui/plugin-chart-word-cloud",
"version": "0.21.0",
"version": "0.20.4",
"description": "Superset Chart Plugin - Word Cloud",
"sideEffects": [
"*.css"

View File

@@ -421,9 +421,7 @@ export function postStopQuery(query) {
})
.then(() => dispatch(stopQuery(query)))
.then(() => dispatch(addSuccessToast(t('Query was stopped.'))))
.catch(() =>
dispatch(addDangerToast(t('Failed at stopping query. %s', query.id))),
);
.catch(() => dispatch(addDangerToast(t('Failed to stop query.'))));
};
}

View File

@@ -16,11 +16,10 @@
* specific language governing permissions and limitations
* under the License.
*/
import { useMemo } from 'react';
import { useMemo, ReactNode } from 'react';
import moment from 'moment';
import Card from 'src/components/Card';
import ProgressBar from 'src/components/ProgressBar';
import Label from 'src/components/Label';
import { t, useTheme, QueryResponse } from '@superset-ui/core';
import { useDispatch, useSelector } from 'react-redux';
@@ -35,6 +34,7 @@ import TableView from 'src/components/TableView';
import Button from 'src/components/Button';
import { fDuration } from 'src/utils/dates';
import Icons from 'src/components/Icons';
import Label from 'src/components/Label';
import { Tooltip } from 'src/components/Tooltip';
import { SqlLabRootState } from 'src/SqlLab/types';
import ModalTrigger from 'src/components/ModalTrigger';
@@ -44,11 +44,16 @@ import HighlightedSql from '../HighlightedSql';
import { StaticPosition, verticalAlign, StyledTooltip } from './styles';
interface QueryTableQuery
extends Omit<QueryResponse, 'state' | 'sql' | 'progress' | 'results'> {
extends Omit<
QueryResponse,
'state' | 'sql' | 'progress' | 'results' | 'duration' | 'started'
> {
state?: Record<string, any>;
sql?: Record<string, any>;
progress?: Record<string, any>;
results?: Record<string, any>;
duration?: ReactNode;
started?: ReactNode;
}
interface QueryTableProps {
@@ -125,55 +130,95 @@ const QueryTable = ({
const statusAttributes = {
success: {
config: {
icon: <Icons.Check iconColor={theme.colors.success.base} />,
icon: (
<Icons.CheckOutlined
iconColor={theme.colors.success.base}
iconSize="m"
/>
),
// icon: <Icons.Edit iconSize="xl" />,
label: t('Success'),
},
},
failed: {
config: {
icon: <Icons.XSmall iconColor={theme.colors.error.base} />,
icon: (
<Icons.CloseOutlined
iconColor={theme.colors.error.base}
iconSize="m"
/>
),
label: t('Failed'),
},
},
stopped: {
config: {
icon: <Icons.XSmall iconColor={theme.colors.error.base} />,
icon: (
<Icons.CloseOutlined
iconColor={theme.colors.error.base}
iconSize="m"
/>
),
label: t('Failed'),
},
},
running: {
config: {
icon: <Icons.Running iconColor={theme.colors.primary.base} />,
icon: (
<Icons.LoadingOutlined
iconColor={theme.colors.primary.base}
iconSize="m"
/>
),
label: t('Running'),
},
},
fetching: {
config: {
icon: <Icons.Queued iconColor={theme.colors.primary.base} />,
icon: (
<Icons.LoadingOutlined
iconColor={theme.colors.primary.base}
iconSize="m"
/>
),
label: t('Fetching'),
},
},
timed_out: {
config: {
icon: <Icons.Offline iconColor={theme.colors.grayscale.light1} />,
icon: (
<Icons.Clock iconColor={theme.colors.error.base} iconSize="m" />
),
label: t('Offline'),
},
},
scheduled: {
config: {
icon: <Icons.Queued iconColor={theme.colors.grayscale.base} />,
icon: (
<Icons.LoadingOutlined
iconColor={theme.colors.warning.base}
iconSize="m"
/>
),
label: t('Scheduled'),
},
},
pending: {
config: {
icon: <Icons.Queued iconColor={theme.colors.grayscale.base} />,
icon: (
<Icons.LoadingOutlined
iconColor={theme.colors.warning.base}
iconSize="m"
/>
),
label: t('Scheduled'),
},
},
error: {
config: {
icon: <Icons.Error iconColor={theme.colors.error.base} />,
icon: (
<Icons.Error iconColor={theme.colors.error.base} iconSize="m" />
),
label: t('Unknown Status'),
},
},
@@ -187,16 +232,10 @@ const QueryTable = ({
const status = statusAttributes[state] || statusAttributes.error;
if (q.endDttm) {
q.duration = fDuration(q.startDttm, q.endDttm);
q.duration = (
<Label monospace>{fDuration(q.startDttm, q.endDttm)}</Label>
);
}
const time = moment(q.startDttm).format().split('T');
q.time = (
<div>
<span>
{time[0]} <br /> {time[1]}
</span>
</div>
);
q.user = (
<Button
buttonSize="small"
@@ -215,7 +254,9 @@ const QueryTable = ({
{q.db}
</Button>
);
q.started = moment(q.startDttm).format('L HH:mm:ss');
q.started = (
<Label monospace>{moment(q.startDttm).format('L HH:mm:ss')}</Label>
);
q.querylink = (
<Button
buttonSize="small"
@@ -241,9 +282,9 @@ const QueryTable = ({
<ModalTrigger
className="ResultsModal"
triggerNode={
<Label type="info" className="pointer">
<Button buttonSize="xsmall" buttonStyle="tertiary">
{t('View')}
</Label>
</Button>
}
modalTitle={t('Data preview')}
beforeOpen={() => openAsyncResults(query, displayLimit)}
@@ -275,9 +316,7 @@ const QueryTable = ({
<ProgressBar percent={parseInt(progress.toFixed(0), 10)} striped />
);
q.state = (
<Tooltip title={status.config.label} placement="bottom">
<span>{status.config.icon}</span>
</Tooltip>
<Tooltip title={status.config.label}>{status.config.icon}</Tooltip>
);
q.actions = (
<div>
@@ -287,6 +326,7 @@ const QueryTable = ({
'Overwrite text in the editor with a query on this table',
)}
placement="top"
className="pointer"
>
<Icons.Edit iconSize="xl" />
</StyledTooltip>
@@ -294,6 +334,7 @@ const QueryTable = ({
onClick={() => openQueryInNewTab(query)}
tooltip={t('Run query in a new tab')}
placement="top"
className="pointer"
>
<Icons.PlusCircleOutlined iconSize="xl" css={verticalAlign} />
</StyledTooltip>
@@ -301,6 +342,7 @@ const QueryTable = ({
<StyledTooltip
tooltip={t('Remove query from log')}
onClick={() => dispatch(removeQuery(query))}
className="pointer"
>
<Icons.Trash iconSize="xl" />
</StyledTooltip>

View File

@@ -44,10 +44,19 @@ const IconBlock = styled.div`
flex-direction: column;
align-items: center;
padding: ${({ theme }) => theme.gridUnit * 2}px;
span {
margin-top: ${({ theme }) =>
2 * theme.gridUnit}px; // Add spacing between icon and name
font-size: ${({ theme }) =>
theme.typography.sizes.m}; // Optional: adjust font size for elegance
color: ${({ theme }) =>
theme.colors.grayscale.base}; // Optional: subtle color for the name
}
`;
export const InteractiveIcons = ({
showNames,
showNames = true,
...rest
}: IconType & { showNames: boolean }) => (
<IconSet>
@@ -56,7 +65,7 @@ export const InteractiveIcons = ({
return (
<IconBlock key={k}>
<IconComponent {...rest} />
{showNames && k}
{showNames && <span>{k}</span>}
</IconBlock>
);
})}

View File

@@ -55,9 +55,13 @@ export const LabelGallery = () => (
);
export const InteractiveLabel = (args: any) => {
const { hasOnClick, label, ...rest } = args;
const { hasOnClick, label, monospace, ...rest } = args;
return (
<Label onClick={hasOnClick ? action('clicked') : undefined} {...rest}>
<Label
onClick={hasOnClick ? action('clicked') : undefined}
monospace={monospace}
{...rest}
>
{label}
</Label>
);
@@ -66,4 +70,5 @@ export const InteractiveLabel = (args: any) => {
InteractiveLabel.args = {
hasOnClick: true,
label: 'Example',
monospace: true,
};

View File

@@ -46,12 +46,20 @@ export interface LabelProps extends HTMLAttributes<HTMLSpanElement> {
style?: CSSProperties;
children?: ReactNode;
role?: string;
monospace?: boolean;
}
export default function Label(props: LabelProps) {
const theme = useTheme();
const { colors, transitionTiming } = theme;
const { type = 'default', onClick, children, ...rest } = props;
const {
type = 'default',
monospace = false,
style,
onClick,
children,
...rest
} = props;
const {
alert,
primary,
@@ -89,37 +97,41 @@ export default function Label(props: LabelProps) {
} else {
baseColor = primary;
}
backgroundColor = baseColor.base;
backgroundColorHover = onClick ? baseColor.dark1 : baseColor.base;
borderColor = onClick ? baseColor.dark1 : 'transparent';
borderColorHover = onClick ? baseColor.dark2 : 'transparent';
}
const css = {
transition: `background-color ${transitionTiming}s`,
whiteSpace: 'nowrap',
cursor: onClick ? 'pointer' : 'default',
overflow: 'hidden',
textOverflow: 'ellipsis',
backgroundColor,
borderColor,
borderRadius: 21,
padding: '0.35em 0.8em',
lineHeight: 1,
color,
maxWidth: '100%',
'&:hover': {
backgroundColor: backgroundColorHover,
borderColor: borderColorHover,
opacity: 1,
},
};
if (monospace) {
css['font-family'] = theme.typography.families.monospace;
}
return (
<Tag
onClick={onClick}
role={onClick ? 'button' : undefined}
style={style}
{...rest}
css={{
transition: `background-color ${transitionTiming}s`,
whiteSpace: 'nowrap',
cursor: onClick ? 'pointer' : 'default',
overflow: 'hidden',
textOverflow: 'ellipsis',
backgroundColor,
borderColor,
borderRadius: 21,
padding: '0.35em 0.8em',
lineHeight: 1,
color,
maxWidth: '100%',
'&:hover': {
backgroundColor: backgroundColorHover,
borderColor: borderColorHover,
opacity: 1,
},
}}
css={css}
>
{children}
</Tag>

View File

@@ -73,8 +73,9 @@ import {
isLabelsColorMapSynced,
getColorSchemeDomain,
getColorNamespace,
getLabelsColorMapEntries,
getFreshLabelsColorMapEntries,
getFreshSharedLabels,
getDynamicLabelsColors,
} from '../../utils/colorScheme';
export const SET_UNSAVED_CHANGES = 'SET_UNSAVED_CHANGES';
@@ -253,15 +254,18 @@ export function setDashboardSharedLabelsColorsSynced() {
return { type: SET_DASHBOARD_SHARED_LABELS_COLORS_SYNCED };
}
export const setDashboardMetadata = updatedMetadata => async dispatch => {
dispatch(
dashboardInfoChanged({
metadata: {
...updatedMetadata,
},
}),
);
};
export const setDashboardMetadata =
updatedMetadata => async (dispatch, getState) => {
const { dashboardInfo } = getState();
dispatch(
dashboardInfoChanged({
metadata: {
...(dashboardInfo?.metadata || {}),
...updatedMetadata,
},
}),
);
};
export function saveDashboardRequest(data, id, saveType) {
return (dispatch, getState) => {
@@ -320,7 +324,7 @@ export function saveDashboardRequest(data, id, saveType) {
expanded_slices: data.metadata?.expanded_slices || {},
label_colors: customLabelsColor,
shared_label_colors: getFreshSharedLabels(sharedLabelsColor),
map_label_colors: getLabelsColorMapEntries(customLabelsColor),
map_label_colors: getFreshLabelsColorMapEntries(customLabelsColor),
refresh_frequency: data.metadata?.refresh_frequency || 0,
timed_refresh_immune_slices:
data.metadata?.timed_refresh_immune_slices || [],
@@ -719,11 +723,18 @@ export function setDatasetsStatus(status) {
};
}
const storeDashboardMetadata = async (id, metadata) =>
const storeDashboardColorConfig = async (id, metadata) =>
SupersetClient.put({
endpoint: `/api/v1/dashboard/${id}`,
endpoint: `/api/v1/dashboard/${id}/colors?mark_updated=false`,
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ json_metadata: JSON.stringify(metadata) }),
body: JSON.stringify({
color_namespace: metadata.color_namespace,
color_scheme: metadata.color_scheme,
color_scheme_domain: metadata.color_scheme_domain || [],
shared_label_colors: metadata.shared_label_colors || [],
map_label_colors: metadata.map_label_colors || {},
label_colors: metadata.label_colors || {},
}),
});
/**
@@ -742,7 +753,7 @@ export const persistDashboardLabelsColor = () => async (dispatch, getState) => {
if (labelsColorMapMustSync || sharedLabelsColorsMustSync) {
dispatch(setDashboardLabelsColorMapSynced());
dispatch(setDashboardSharedLabelsColorsSynced());
storeDashboardMetadata(id, metadata);
storeDashboardColorConfig(id, metadata);
}
};
@@ -756,7 +767,6 @@ export const persistDashboardLabelsColor = () => async (dispatch, getState) => {
*/
export const applyDashboardLabelsColorOnLoad = metadata => async dispatch => {
try {
const updatedMetadata = { ...metadata };
const customLabelsColor = metadata.label_colors || {};
let hasChanged = false;
@@ -764,11 +774,14 @@ export const applyDashboardLabelsColorOnLoad = metadata => async dispatch => {
const sharedLabels = metadata.shared_label_colors || [];
if (!Array.isArray(sharedLabels) && Object.keys(sharedLabels).length > 0) {
hasChanged = true;
updatedMetadata.shared_label_colors = [];
dispatch(
setDashboardMetadata({
shared_label_colors: [],
}),
);
}
// backward compatibility of map_label_colors
const hasMapLabelColors =
Object.keys(metadata.map_label_colors || {}).length > 0;
const hasMapLabelColors = !!metadata.map_label_colors;
let updatedScheme = metadata.color_scheme;
const categoricalSchemes = getCategoricalSchemeRegistry();
@@ -780,11 +793,14 @@ export const applyDashboardLabelsColorOnLoad = metadata => async dispatch => {
const defaultScheme = categoricalSchemes.defaultKey;
const fallbackScheme = defaultScheme?.toString() || 'supersetColors';
hasChanged = true;
updatedScheme = fallbackScheme;
updatedMetadata.color_scheme = updatedScheme;
dispatch(setColorScheme(updatedScheme));
dispatch(
setDashboardMetadata({
color_scheme: updatedScheme,
}),
);
}
// the stored color domain registry and fresh might differ at this point
@@ -795,24 +811,28 @@ export const applyDashboardLabelsColorOnLoad = metadata => async dispatch => {
if (!isEqual(freshColorSchemeDomain, currentColorSchemeDomain)) {
hasChanged = true;
updatedMetadata.color_scheme_domain = freshColorSchemeDomain;
dispatch(
setDashboardMetadata({
color_scheme_domain: freshColorSchemeDomain,
}),
);
}
// if color scheme is invalid or map is missing, apply a fresh color map
// if valid, apply the stored map to keep consistency across refreshes
const shouldGoFresh = !hasMapLabelColors || hasInvalidColorScheme;
applyColors(updatedMetadata, shouldGoFresh);
applyColors(metadata, shouldGoFresh);
if (shouldGoFresh) {
// a fresh color map has been applied
// needs to be stored for consistency
hasChanged = true;
updatedMetadata.map_label_colors =
getLabelsColorMapEntries(customLabelsColor);
dispatch(
setDashboardMetadata({
map_label_colors: getFreshLabelsColorMapEntries(customLabelsColor),
}),
);
}
if (hasChanged) {
dispatch(setDashboardMetadata(updatedMetadata));
dispatch(setDashboardLabelsColorMapSync());
}
} catch (e) {
@@ -832,19 +852,28 @@ export const ensureSyncedLabelsColorMap = metadata => (dispatch, getState) => {
const {
dashboardState: { labelsColorMapMustSync },
} = getState();
const updatedMetadata = { ...metadata };
const customLabelsColor = metadata.label_colors || {};
const isMapSynced = isLabelsColorMapSynced(metadata);
const mustSync = !isMapSynced;
const fullLabelsColors = getDynamicLabelsColors(
metadata.map_label_colors || {},
customLabelsColor,
);
const freshColorMapEntries =
getFreshLabelsColorMapEntries(customLabelsColor);
const isMapSynced = isLabelsColorMapSynced(
fullLabelsColors,
freshColorMapEntries,
customLabelsColor,
);
if (mustSync) {
const freshestColorMapEntries =
getLabelsColorMapEntries(customLabelsColor);
updatedMetadata.map_label_colors = freshestColorMapEntries;
dispatch(setDashboardMetadata(updatedMetadata));
if (!isMapSynced) {
dispatch(
setDashboardMetadata({
map_label_colors: freshColorMapEntries,
}),
);
}
if (mustSync && !labelsColorMapMustSync) {
if (!isMapSynced && !labelsColorMapMustSync) {
// prepare to persist the just applied labels color map
dispatch(setDashboardLabelsColorMapSync());
}
@@ -867,7 +896,6 @@ export const ensureSyncedSharedLabelsColors =
const {
dashboardState: { sharedLabelsColorsMustSync },
} = getState();
const updatedMetadata = { ...metadata };
const sharedLabelsColors = enforceSharedLabelsColorsArray(
metadata.shared_label_colors,
);
@@ -875,15 +903,17 @@ export const ensureSyncedSharedLabelsColors =
forceFresh ? [] : sharedLabelsColors,
);
const isSharedLabelsColorsSynced = isEqual(
sharedLabelsColors,
freshLabelsColors,
sharedLabelsColors.sort(),
freshLabelsColors.sort(),
);
const mustSync = !isSharedLabelsColorsSynced;
if (mustSync) {
updatedMetadata.shared_label_colors = freshLabelsColors;
dispatch(setDashboardMetadata(updatedMetadata));
dispatch(
setDashboardMetadata({
shared_label_colors: freshLabelsColors,
}),
);
}
if (mustSync && !sharedLabelsColorsMustSync) {
@@ -901,77 +931,78 @@ export const ensureSyncedSharedLabelsColors =
* @param {*} renderedChartIds - the charts that have finished rendering
* @returns void
*/
export const updateDashboardLabelsColor =
renderedChartIds => (dispatch, getState) => {
try {
const {
dashboardInfo: { metadata },
charts,
} = getState();
const colorScheme = metadata.color_scheme;
const labelsColorMapInstance = getLabelsColorMap();
const fullLabelsColors = metadata.map_label_colors || {};
const sharedLabelsColors = enforceSharedLabelsColorsArray(
metadata.shared_label_colors,
);
const customLabelsColors = metadata.label_colors || {};
export const updateDashboardLabelsColor = renderedChartIds => (_, getState) => {
try {
const {
dashboardInfo: { metadata },
charts,
} = getState();
const colorScheme = metadata.color_scheme;
const labelsColorMapInstance = getLabelsColorMap();
const sharedLabelsColors = enforceSharedLabelsColorsArray(
metadata.shared_label_colors,
);
const customLabelsColors = metadata.label_colors || {};
const fullLabelsColors = getDynamicLabelsColors(
metadata.map_label_colors || {},
customLabelsColors,
);
// for dashboards with no color scheme, the charts should always use their individual schemes
// this logic looks for unique labels (not shared across multiple charts) of each rendered chart
// it applies a new color to those unique labels when the applied scheme is not up to date
// while leaving shared label colors and custom label colors intact for color consistency
const shouldReset = [];
if (renderedChartIds.length > 0) {
const sharedLabelsSet = new Set(sharedLabelsColors);
renderedChartIds.forEach(id => {
const chart = charts[id];
const formData = chart.form_data || chart.latestQueryFormData;
// ensure charts have their original color scheme always available
labelsColorMapInstance.setOwnColorScheme(
formData.slice_id,
formData.color_scheme,
);
// for dashboards with no color scheme, the charts should always use their individual schemes
// this logic looks for unique labels (not shared across multiple charts) of each rendered chart
// it applies a new color to those unique labels when the applied scheme is not up to date
// while leaving shared label colors and custom label colors intact for color consistency
const shouldReset = [];
if (renderedChartIds.length > 0) {
const sharedLabelsSet = new Set(sharedLabelsColors);
renderedChartIds.forEach(id => {
const chart = charts[id];
const formData = chart.form_data || chart.latestQueryFormData;
// ensure charts have their original color scheme always available
labelsColorMapInstance.setOwnColorScheme(
formData.slice_id,
formData.color_scheme,
);
// if dashboard has a scheme, charts should ignore individual schemes
// thus following logic is inapplicable if a dashboard color scheme exists
if (colorScheme) return;
// if dashboard has a scheme, charts should ignore individual schemes
// thus following logic is inapplicable if a dashboard color scheme exists
if (colorScheme) return;
const chartColorScheme = formData.color_scheme;
const currentChartConfig = labelsColorMapInstance.chartsLabelsMap.get(
formData.slice_id,
);
const currentChartLabels = currentChartConfig?.labels || [];
const uniqueChartLabels = currentChartLabels.filter(
l =>
!sharedLabelsSet.has(l) && !customLabelsColors.hasOwnProperty(l),
);
const chartColorScheme = formData.color_scheme;
const currentChartConfig = labelsColorMapInstance.chartsLabelsMap.get(
formData.slice_id,
);
const currentChartLabels = currentChartConfig?.labels || [];
const uniqueChartLabels = currentChartLabels.filter(
l => !sharedLabelsSet.has(l) && !customLabelsColors.hasOwnProperty(l),
);
// Map unique labels to colors
const uniqueChartLabelsColor = new Set(
uniqueChartLabels.map(l => fullLabelsColors[l]).filter(Boolean),
);
// Map unique labels to colors
const uniqueChartLabelsColor = new Set(
uniqueChartLabels.map(l => fullLabelsColors[l]).filter(Boolean),
);
const expectedColorsForChartScheme = new Set(
getColorSchemeDomain(chartColorScheme),
);
const expectedColorsForChartScheme = new Set(
getColorSchemeDomain(chartColorScheme),
);
// Check if any unique label color is not in the expected colors set
const shouldResetColors = [...uniqueChartLabelsColor].some(
color => !expectedColorsForChartScheme.has(color),
);
// Check if any unique label color is not in the expected colors set
const shouldResetColors = [...uniqueChartLabelsColor].some(
color => !expectedColorsForChartScheme.has(color),
);
// Only push uniqueChartLabels if they require resetting
if (shouldResetColors) shouldReset.push(...uniqueChartLabels);
});
}
// an existing map is available, use mrge option
// to only apply colors to newly found labels
const shouldGoFresh = shouldReset.length > 0 ? shouldReset : false;
const shouldMerge = !shouldGoFresh;
// re-apply the color map first to get fresh maps accordingly
applyColors(metadata, shouldGoFresh, shouldMerge);
} catch (e) {
console.error('Failed to update colors for new charts and labels:', e);
// Only push uniqueChartLabels if they require resetting
if (shouldResetColors) shouldReset.push(...uniqueChartLabels);
});
}
};
// an existing map is available, use mrge option
// to only apply colors to newly found labels
const shouldGoFresh = shouldReset.length > 0 ? shouldReset : false;
const shouldMerge = !shouldGoFresh;
// re-apply the color map first to get fresh maps accordingly
applyColors(metadata, shouldGoFresh, shouldMerge);
} catch (e) {
console.error('Failed to update colors for new charts and labels:', e);
}
};

View File

@@ -47,7 +47,7 @@ import { loadTags } from 'src/components/Tags/utils';
import {
applyColors,
getColorNamespace,
getLabelsColorMapEntries,
getFreshLabelsColorMapEntries,
} from 'src/utils/colorScheme';
import getOwnerName from 'src/utils/getOwnerName';
import Owner from 'src/types/Owner';
@@ -369,7 +369,7 @@ const PropertiesModal = ({
dispatch(
setDashboardMetadata({
...updatedDashboardMetadata,
map_label_colors: getLabelsColorMapEntries(customLabelColors),
map_label_colors: getFreshLabelsColorMapEntries(customLabelColors),
}),
);

View File

@@ -1,139 +0,0 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import { Component } from 'react';
import PropTypes from 'prop-types';
import { Select } from 'src/components';
import { styled, t } from '@superset-ui/core';
import { SQLEditor } from 'src/components/AsyncAceEditor';
import sqlKeywords from 'src/SqlLab/utils/sqlKeywords';
import { getColumnKeywords } from 'src/explore/controlUtils/getColumnKeywords';
import adhocMetricType from 'src/explore/components/controls/MetricControl/adhocMetricType';
import columnType from 'src/explore/components/controls/FilterControl/columnType';
import AdhocFilter from 'src/explore/components/controls/FilterControl/AdhocFilter';
import { Clauses, ExpressionTypes } from '../types';
const propTypes = {
adhocFilter: PropTypes.instanceOf(AdhocFilter).isRequired,
onChange: PropTypes.func.isRequired,
options: PropTypes.arrayOf(
PropTypes.oneOfType([
columnType,
PropTypes.shape({ saved_metric_name: PropTypes.string.isRequired }),
adhocMetricType,
]),
).isRequired,
height: PropTypes.number.isRequired,
};
const StyledSelect = styled(Select)`
${({ theme }) => `
width: ${theme.gridUnit * 30}px;
marginRight: ${theme.gridUnit}px;
`}
`;
export default class AdhocFilterEditPopoverSqlTabContent extends Component {
constructor(props) {
super(props);
this.onSqlExpressionChange = this.onSqlExpressionChange.bind(this);
this.onSqlExpressionClauseChange =
this.onSqlExpressionClauseChange.bind(this);
this.handleAceEditorRef = this.handleAceEditorRef.bind(this);
}
componentDidUpdate() {
if (this.aceEditorRef) {
this.aceEditorRef.editor.resize();
}
}
onSqlExpressionClauseChange(clause) {
this.props.onChange(
this.props.adhocFilter.duplicateWith({
clause,
expressionType: ExpressionTypes.Sql,
}),
);
}
onSqlExpressionChange(sqlExpression) {
this.props.onChange(
this.props.adhocFilter.duplicateWith({
sqlExpression,
expressionType: ExpressionTypes.Sql,
}),
);
}
handleAceEditorRef(ref) {
if (ref) {
this.aceEditorRef = ref;
}
}
render() {
const { adhocFilter, height, options } = this.props;
const keywords = sqlKeywords.concat(
getColumnKeywords(options.filter(option => option.column_name)),
);
const selectOptions = Object.values(Clauses).map(clause => ({
label: clause,
value: clause,
}));
return (
<span>
<div className="filter-edit-clause-section">
<div>
<StyledSelect
options={selectOptions}
ariaLabel={t('Select column')}
placeholder={t('choose WHERE or HAVING...')}
value={adhocFilter.clause}
onChange={this.onSqlExpressionClauseChange}
/>
</div>
<span className="filter-edit-clause-info">
<strong>WHERE</strong> {t('Filters by columns')}
<br />
<strong>HAVING</strong> {t('Filters by metrics')}
</span>
</div>
<div css={theme => ({ marginTop: theme.gridUnit * 4 })}>
<SQLEditor
ref={this.handleAceEditorRef}
keywords={keywords}
height={`${height - 130}px`}
onChange={this.onSqlExpressionChange}
width="100%"
showGutter={false}
value={adhocFilter.sqlExpression || adhocFilter.translateToSql()}
editorProps={{ $blockScrolling: true }}
enableLiveAutocompletion
className="filter-sql-editor"
wrapEnabled
/>
</div>
</span>
);
}
}
AdhocFilterEditPopoverSqlTabContent.propTypes = propTypes;

View File

@@ -0,0 +1,135 @@
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import { useEffect, useRef, useMemo } from 'react';
import { Select } from 'src/components';
import { styled, t, useTheme } from '@superset-ui/core';
import { SQLEditor } from 'src/components/AsyncAceEditor';
import sqlKeywords from 'src/SqlLab/utils/sqlKeywords';
import { getColumnKeywords } from 'src/explore/controlUtils/getColumnKeywords';
import AdhocFilter from 'src/explore/components/controls/FilterControl/AdhocFilter';
import { OptionSortType } from 'src/explore/types';
import { ColumnMeta } from '@superset-ui/chart-controls';
import { Clauses, ExpressionTypes } from '../types';
const StyledSelect = styled(Select)`
${({ theme }) => `
width: ${theme.gridUnit * 30}px;
marginRight: ${theme.gridUnit}px;
`}
`;
export default function AdhocFilterEditPopoverSqlTabContent({
adhocFilter,
onChange,
options,
height,
}: {
adhocFilter: AdhocFilter;
onChange: (filter: AdhocFilter) => void;
options: OptionSortType[];
height: number;
}) {
const aceEditorRef = useRef(null);
const theme = useTheme();
useEffect(() => {
// @ts-ignore
aceEditorRef?.current?.editor.resize();
}, [adhocFilter]);
const onSqlExpressionClauseChange = (clause: string) => {
onChange(
adhocFilter.duplicateWith({
clause,
expressionType: ExpressionTypes.Sql,
}),
);
};
const onSqlExpressionChange = (sqlExpression: string) => {
onChange(
adhocFilter.duplicateWith({
sqlExpression,
expressionType: ExpressionTypes.Sql,
}),
);
};
const keywords = useMemo(
() =>
sqlKeywords.concat(
getColumnKeywords(
options.filter(
(option): option is ColumnMeta =>
typeof option === 'object' &&
option !== null &&
'column_name' in option &&
typeof option.column_name === 'string' &&
'type' in option,
),
),
),
[sqlKeywords],
);
const selectOptions = useMemo(
() =>
Object.values(Clauses).map(clause => ({
label: clause,
value: clause,
})),
[Clauses],
);
return (
<span>
<div className="filter-edit-clause-section">
<div>
<StyledSelect
options={selectOptions}
ariaLabel={t('Select column')}
placeholder={t('choose WHERE or HAVING...')}
value={adhocFilter.clause}
onChange={onSqlExpressionClauseChange}
/>
</div>
<span className="filter-edit-clause-info">
<strong>WHERE</strong> {t('Filters by columns')}
<br />
<strong>HAVING</strong> {t('Filters by metrics')}
</span>
</div>
<div css={{ marginTop: theme.gridUnit * 4 }}>
<SQLEditor
ref={aceEditorRef}
keywords={keywords}
height={`${height - 130}px`}
onChange={onSqlExpressionChange}
width="100%"
showGutter={false}
value={adhocFilter.sqlExpression || adhocFilter.translateToSql()}
editorProps={{ $blockScrolling: true }}
enableLiveAutocompletion
className="filter-sql-editor"
wrapEnabled
/>
</div>
</span>
);
}

View File

@@ -23,6 +23,8 @@ import {
getCategoricalSchemeRegistry,
getLabelsColorMap,
} from '@superset-ui/core';
import { intersection, omit, pick } from 'lodash';
import { areObjectsEqual } from 'src/reduxUtils';
const EMPTY_ARRAY: string[] = [];
@@ -91,14 +93,13 @@ export const getSharedLabelsColorMapEntries = (
* @param customLabelsColor - the custom label colors in label_colors field
* @returns all color entries except custom label colors
*/
export const getLabelsColorMapEntries = (
export const getFreshLabelsColorMapEntries = (
customLabelsColor: Record<string, string> = {},
): Record<string, string> => {
const labelsColorMapInstance = getLabelsColorMap();
const allEntries = Object.fromEntries(labelsColorMapInstance.getColorMap());
// custom label colors are applied and stored separetely via label_colors
// removing all instances of custom label colors from the entries
Object.keys(customLabelsColor).forEach(label => {
delete allEntries[label];
});
@@ -106,6 +107,19 @@ export const getLabelsColorMapEntries = (
return allEntries;
};
/**
* Returns all dynamic labels and colors (excluding custom label colors).
*
* @param labelsColorMap - the labels color map
* @param customLabelsColor - the custom label colors in label_colors field
* @returns all color entries except custom label colors
*/
export const getDynamicLabelsColors = (
fullLabelsColors: Record<string, string>,
customLabelsColor: Record<string, string> = {},
): Record<string, string> =>
omit(fullLabelsColors, Object.keys(customLabelsColor));
export const getColorSchemeDomain = (colorScheme: string) =>
getCategoricalSchemeRegistry().get(colorScheme)?.colors || [];
@@ -116,20 +130,29 @@ export const getColorSchemeDomain = (colorScheme: string) =>
* @returns true if the labels color map is the same as fresh
*/
export const isLabelsColorMapSynced = (
metadata: Record<string, any>,
storedLabelsColors: Record<string, any>,
freshLabelsColors: Record<string, any>,
customLabelColors: Record<string, string>,
): boolean => {
const storedLabelsColorMap = metadata.map_label_colors || {};
const customLabelColors = metadata.label_colors || {};
const freshColorMap = getLabelsColorMap().getColorMap();
const fullFreshColorMap = {
...Object.fromEntries(freshColorMap),
...customLabelColors,
};
const freshLabelsCount = Object.keys(freshLabelsColors).length;
const isSynced = Object.entries(fullFreshColorMap).every(
([label, color]) =>
storedLabelsColorMap.hasOwnProperty(label) &&
storedLabelsColorMap[label] === color,
// still updating, pass
if (!freshLabelsCount) return true;
const commonKeys = intersection(
Object.keys(storedLabelsColors),
Object.keys(freshLabelsColors),
);
const comparableStoredLabelsColors = pick(storedLabelsColors, commonKeys);
const comparableFreshLabelsColors = pick(freshLabelsColors, commonKeys);
const isSynced = areObjectsEqual(
comparableStoredLabelsColors,
comparableFreshLabelsColors,
{
ignoreFields: Object.keys(customLabelColors),
},
);
return isSynced;
@@ -227,7 +250,7 @@ export const applyColors = (
if (fresh) {
// requires a new map all together
applicableColorMapEntries = {
...getLabelsColorMapEntries(customLabelsColor),
...getFreshLabelsColorMapEntries(customLabelsColor),
};
}
if (merge) {
@@ -235,7 +258,7 @@ export const applyColors = (
// without overriding existing ones
applicableColorMapEntries = {
...fullLabelsColor,
...getLabelsColorMapEntries(customLabelsColor),
...getFreshLabelsColorMapEntries(customLabelsColor),
};
}

View File

@@ -62,6 +62,10 @@ class DashboardNativeFiltersUpdateFailedError(UpdateFailedError):
message = _("Dashboard native filters could not be patched.")
class DashboardColorsConfigUpdateFailedError(UpdateFailedError):
message = _("Dashboard color configuration could not be updated.")
class DashboardDeleteFailedError(DeleteFailedError):
message = _("Dashboard could not be deleted.")

View File

@@ -22,9 +22,10 @@ from typing import Any, Optional
from flask_appbuilder.models.sqla import Model
from marshmallow import ValidationError
from superset import app, security_manager
from superset import app, db, security_manager
from superset.commands.base import BaseCommand, UpdateMixin
from superset.commands.dashboard.exceptions import (
DashboardColorsConfigUpdateFailedError,
DashboardForbiddenError,
DashboardInvalidError,
DashboardNativeFiltersUpdateFailedError,
@@ -202,3 +203,29 @@ class UpdateDashboardNativeFiltersCommand(UpdateDashboardCommand):
)
return configuration
class UpdateDashboardColorsConfigCommand(UpdateDashboardCommand):
def __init__(
self, model_id: int, data: dict[str, Any], mark_updated: bool = True
) -> None:
super().__init__(model_id, data)
self._mark_updated = mark_updated
@transaction(
on_error=partial(on_error, reraise=DashboardColorsConfigUpdateFailedError)
)
def run(self) -> Model:
super().validate()
assert self._model
original_changed_on = self._model.changed_on
DashboardDAO.update_colors_config(self._model, self._properties)
if not self._mark_updated:
db.session.commit() # pylint: disable=consider-using-transaction
# restore the original changed_on value
self._model.changed_on = original_changed_on
return self._model

View File

@@ -39,11 +39,11 @@ from superset.commands.database.ssh_tunnel.exceptions import (
SSHTunnelInvalidError,
)
from superset.commands.database.test_connection import TestConnectionDatabaseCommand
from superset.commands.database.utils import add_permissions
from superset.daos.database import DatabaseDAO
from superset.databases.ssh_tunnel.models import SSHTunnel
from superset.db_engine_specs.base import GenericDBException
from superset.exceptions import OAuth2RedirectError, SupersetErrorsException
from superset.extensions import event_logger, security_manager
from superset.extensions import event_logger
from superset.models.core import Database
from superset.utils.decorators import on_error, transaction
@@ -99,28 +99,7 @@ class CreateDatabaseCommand(BaseCommand):
).run()
# add catalog/schema permissions
if database.db_engine_spec.supports_catalog:
catalogs = database.get_all_catalog_names(
cache=False,
ssh_tunnel=ssh_tunnel,
)
for catalog in catalogs:
security_manager.add_permission_view_menu(
"catalog_access",
security_manager.get_catalog_perm(
database.database_name, catalog
),
)
else:
# add a dummy catalog for DBs that don't support them
catalogs = [None]
for catalog in catalogs:
try:
self.add_schema_permissions(database, catalog, ssh_tunnel)
except GenericDBException: # pylint: disable=broad-except
logger.warning("Error processing catalog '%s'", catalog)
continue
add_permissions(database, ssh_tunnel)
except (
SSHTunnelInvalidError,
SSHTunnelCreateFailedError,
@@ -148,26 +127,6 @@ class CreateDatabaseCommand(BaseCommand):
return database
def add_schema_permissions(
self,
database: Database,
catalog: str,
ssh_tunnel: Optional[SSHTunnel],
) -> None:
for schema in database.get_all_schema_names(
catalog=catalog,
cache=False,
ssh_tunnel=ssh_tunnel,
):
security_manager.add_permission_view_menu(
"schema_access",
security_manager.get_schema_perm(
database.database_name,
catalog,
schema,
),
)
def validate(self) -> None:
exceptions: list[ValidationError] = []
sqlalchemy_uri: Optional[str] = self._properties.get("sqlalchemy_uri")

View File

@@ -19,6 +19,7 @@ import logging
from typing import Any
from superset import app, db, security_manager
from superset.commands.database.utils import add_permissions
from superset.commands.exceptions import ImportFailedError
from superset.databases.ssh_tunnel.models import SSHTunnel
from superset.databases.utils import make_url_safe
@@ -86,40 +87,3 @@ def import_database(
logger.warning(ex.message)
return database
def add_permissions(database: Database, ssh_tunnel: SSHTunnel) -> None:
"""
Add DAR for catalogs and schemas.
"""
if database.db_engine_spec.supports_catalog:
catalogs = database.get_all_catalog_names(
cache=False,
ssh_tunnel=ssh_tunnel,
)
for catalog in catalogs:
security_manager.add_permission_view_menu(
"catalog_access",
security_manager.get_catalog_perm(
database.database_name,
catalog,
),
)
else:
catalogs = [None]
for catalog in catalogs:
for schema in database.get_all_schema_names(
catalog=catalog,
cache=False,
ssh_tunnel=ssh_tunnel,
):
security_manager.add_permission_view_menu(
"schema_access",
security_manager.get_schema_perm(
database.database_name,
catalog,
schema,
),
)

View File

@@ -0,0 +1,67 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from __future__ import annotations
import logging
from superset import security_manager
from superset.databases.ssh_tunnel.models import SSHTunnel
from superset.db_engine_specs.base import GenericDBException
from superset.models.core import Database
logger = logging.getLogger(__name__)
def add_permissions(database: Database, ssh_tunnel: SSHTunnel | None) -> None:
"""
Add DAR for catalogs and schemas.
"""
if database.db_engine_spec.supports_catalog:
catalogs = database.get_all_catalog_names(
cache=False,
ssh_tunnel=ssh_tunnel,
)
for catalog in catalogs:
security_manager.add_permission_view_menu(
"catalog_access",
security_manager.get_catalog_perm(
database.database_name,
catalog,
),
)
else:
catalogs = [None]
for catalog in catalogs:
try:
for schema in database.get_all_schema_names(
catalog=catalog,
cache=False,
ssh_tunnel=ssh_tunnel,
):
security_manager.add_permission_view_menu(
"schema_access",
security_manager.get_schema_perm(
database.database_name,
catalog,
schema,
),
)
except GenericDBException: # pylint: disable=broad-except
logger.warning("Error processing catalog '%s'", catalog)
continue

View File

@@ -206,7 +206,7 @@ def load_data(data_uri: str, dataset: SqlaTable, database: Database) -> None:
# reuse session when loading data if possible, to make import atomic
if database.sqlalchemy_uri == current_app.config.get("SQLALCHEMY_DATABASE_URI"):
logger.info("Loading data inside the import transaction")
logger.debug("Loading data inside the import transaction")
connection = db.session.connection()
df.to_sql(
dataset.table_name,
@@ -219,7 +219,7 @@ def load_data(data_uri: str, dataset: SqlaTable, database: Database) -> None:
method="multi",
)
else:
logger.warning("Loading data outside the import transaction")
logger.debug("Loading data outside the import transaction")
with database.get_sqla_engine(
catalog=dataset.catalog,
schema=dataset.schema,

View File

@@ -39,7 +39,6 @@ from importlib.resources import files
from typing import Any, Callable, Iterator, Literal, TYPE_CHECKING, TypedDict
import click
import pkg_resources
from celery.schedules import crontab
from flask import Blueprint
from flask_appbuilder.security.manager import AUTH_DB
@@ -86,7 +85,7 @@ EVENT_LOGGER = DBEventLogger()
SUPERSET_LOG_VIEW = True
BASE_DIR = pkg_resources.resource_filename("superset", "")
BASE_DIR = str(files("superset"))
if "SUPERSET_HOME" in os.environ:
DATA_DIR = os.environ["SUPERSET_HOME"]
else:

View File

@@ -174,6 +174,7 @@ MODEL_API_RW_METHOD_PERMISSION_MAP = {
"csv_metadata": "csv_upload",
"slack_channels": "write",
"put_filters": "write",
"put_colors": "write",
}
EXTRA_FORM_DATA_APPEND_KEYS = {

View File

@@ -391,6 +391,24 @@ class DashboardDAO(BaseDAO[Dashboard]):
return updated_configuration
@classmethod
def update_colors_config(
cls, dashboard: Dashboard, attributes: dict[str, Any]
) -> None:
metadata = json.loads(dashboard.json_metadata or "{}")
for key in [
"color_scheme_domain",
"color_scheme",
"shared_label_colors",
"map_label_colors",
"label_colors",
]:
if key in attributes:
metadata[key] = attributes[key]
dashboard.json_metadata = json.dumps(metadata)
@staticmethod
def add_favorite(dashboard: Dashboard) -> None:
ids = DashboardDAO.favorited_ids([dashboard])

Some files were not shown because too many files have changed in this diff Show More