Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Latest commit

 

History

History
1313 lines (650 loc) · 78.3 KB

CHANGELOG.md

File metadata and controls

1313 lines (650 loc) · 78.3 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.18.0 (2021-08-30)

Bug Fixes

  • Make the scrollbar appear inside the table (#1310) (1aad2d1)

Features

0.17.63 (2021-07-02)

Note: Version bump only for package @superset-ui/monorepo

0.17.62 (2021-07-02)

Note: Version bump only for package @superset-ui/monorepo

0.17.61 (2021-07-02)

Bug Fixes

  • legacy-preset-chart-big-number: example images got mixed up (#1196) (60215b5)
  • plugin-chart-echarts: enable animation to clear old nodes (#1200) (1ee7f4e)
  • plugin-chart-echarts: sanitize series from html tags (#1126) (fcd6fde)

0.13.26 (2020-06-03)

Features

  • demo: add helpers for resizable chart demo (#557) (af7421d)
  • query: add functions to wrap api calls with typings (#555) (9137580)
  • superset-ui-style: export ThemeProvider and useTheme (#553) (f6a8949)

0.13.25 (2020-05-30)

Features

  • chart: adjust chartclient to point to new endpoints (#551) (bbc42c2)
  • connection: allow developer to get supersetclient instance (#552) (c075070)

0.13.24 (2020-05-29)

Features

  • color: support better color interpolation for sequential schemes (#547) (f7d4648)
  • Word cloud typography update (#518) (873973b)

0.13.23 (2020-05-26)

Bug Fixes

0.13.22 (2020-05-26)

Features

  • time-format: improve support for formatting with granularity in mind (#509) (2d8afa8)

0.13.21 (2020-05-21)

Bug Fixes

  • legacy-plugin-chart-table: parse numeric pageLength (#522) (4831f7f)

Features

  • legacy-plugin-chart-event-flow: migrate package (#514) (3589e31)

0.13.20 (2020-05-21)

0.13.19 (2020-05-21)

Bug Fixes

  • missing bracket, little linty things (#517) (b8c91ba)

0.13.18 (2020-05-21)

Features

  • legacy-plugin-chart-parallel-coordinates: add control panels (#510) (b9bc48d)
  • legacy-preset-big-number: use emotion styling (#455) (46eb663)

0.13.17 (2020-05-20)

Features

0.13.16 (2020-05-19)

Features

  • legacy-plugin-chart-event-flow: control panel (#501) (34541df)
  • legacy-plugin-chart-force-directed: control panel (#502) (bf573a0)
  • legacy-plugin-chart-heatmap: control panel (#503) (0111fa7)
  • legacy-plugin-chart-histogram: control panel (#504) (e5106ee)
  • legacy-plugin-chart-horizon: control panel (#505) (e63b079)
  • legacy-plugin-chart-iframe: control panel (#506) (51d0894)
  • legacy-plugin-chart-map-box: control panel (#507) (9f79870)

0.13.15 (2020-05-18)

Bug Fixes

Features

  • query: remove redundant metric label truncation (#492) (5b42bc1)

0.13.14 (2020-05-14)

Features

  • time-format: add full-date to weekly time formatter (#486) (b2d0426)

0.13.13 (2020-05-13)

Bug Fixes

  • legacy-plugin-chart-nvd3: disable bad linting rule (#488) (9b6d611)

Features

  • generator-superset: add scaffolder for chart plugin (#456) (f339466)
  • legacy-plugin-chart-chord: control panel (#481) (d82d948)
  • plugin-chart-word-cloud: allow minimum size (#487) (356229b)

0.13.12 (2020-05-13)

Features

  • control-utils: add shared controls + dependencies, convert to typescript (#459) (befe0c7)
  • legacy-plugin-chart-markup: add controls to markup chart (#479) (7801121)

0.13.11 (2020-05-12)

Features

  • legacy-plugin-chart-nvd3: add control panels (#469) (ad267db)
  • legacy-plugin-chart-partition: add control panel (#470) (b569c34)
  • plugin-chart-boxplot: add control panel (#464) (1c8b257)
  • style: adding typographic variables to theme (#463) (f06cb4a)

0.13.10 (2020-05-08)

Features

  • plugin-chart-treemap: add control panel (#461) (8964341)
  • plugin-chart-world-map: add control panel (#462) (e914a2b)

0.13.9 (2020-05-08)

Bug Fixes

Features

  • control-utils: add infotooltipwithtrigger (#442) (488e945)
  • plugin-chart-word-cloud: add control panel (#454) (18375db)

0.13.8 (2020-05-07)

Bug Fixes

0.13.7 (2020-05-06)

Features

  • plugin-chart-sunburst: migrate control panel from incubator-superset (#443) (a8a9e9c)

0.13.6 (2020-05-06)

Bug Fixes

  • legacy-plugin-world-map: set useLegacyApi to true by default (#444) (3b9c478)

Features

0.13.5 (2020-04-30)

Bug Fixes

Features

  • superset-ui: include control utils in the umbrella package (#421) (c2e0bdd)

0.13.4 (2020-04-30)

Features

  • legacy-plugin-chart-big-number: add control panel config for the BigNumber charts (#419) (590c4f4)

0.13.3 (2020-04-30)

0.13.2 (2020-04-29)

Bug Fixes

0.13.1 (2020-04-29)

Bug Fixes

0.13.0 (2020-04-29)

Bug Fixes

  • superset-ui-style: export superset theme props (#391) (8ebe0d1)
  • superset-ui-query: add unit tests for #387 (#390) (7b5e5d2)
  • superset-ui-query: make all filter operators uppercase (#378) (1f9e493)

Features

  • control-utils: add packages control-utils (#417) (2f83074)
  • preset-chart-nvd3: migration from plugins repo (#399) (dbd84f2)

BREAKING CHANGES

  • plugin-word-cloud: change how wordcloud is exported (#418) (c5d3893)

Old behavior

exports default WordCloudChartPlugin from index.

import WordCloudChartPlugin from '@superset-ui/plugin-chart-word-cloud';

users need to deep import /esm/legacy to get the legacy version.

import LegacyWordCloudChartPlugin from '@superset-ui/plugin-chart-word-cloud/esm/legacy';

New behavior

exports both WordCloudChartPlugin and LegacyWordCloudChartPlugin from index.

import { WordCloudChartPlugin, LegacyWordCloudChartPlugin } from '@superset-ui/plugin-chart-word-cloud';
  • preset-chart-xy: migrate from plugins repo (#377) (fb5370e)

Signatures of the custom renderers for legend has changed.

0.12.23 (2020-04-22)

Bug Fixes

  • unset row_limit when it's not a number (#387) (98b6117)

0.12.22 (2020-04-21)

Features

0.12.21 (2020-04-18)

Features

  • legacy-plugin-chart-country-map: migrate and replace india map (#376) (21a35f3)
  • migrate chart plugins (#375) (7c8cbd8)

0.12.20 (2020-04-17)

Bug Fixes

  • compatible with window (#426) (f95e0df)
  • legacy-table: adjust sort icon position (#399) (6e26242)
  • legacy-table: avoid React DOM (#392) (a1a7896)
  • legacy-table: container height on tall headers (#398) (dece6b4)
  • legacy-table-chart: when data is empty (#397) (8829bdf)
  • add container css for interval type annotation (#372) (a2cd547)
  • add typings for @storybook/react (#203) (a357487)
  • apply margins in nvd3 (#283) (1239052)
  • both the CSS and className were expecting true/false strings (#286) (ceb3c60)
  • change world map color scheme (#215) (0c5b4c3)
  • disable lint error (#150) (c490a7d)
  • fixing tooltip for expanded area chart (#134) (7ca5e6c)
  • GH issue 8669 NVD3 tooltip overflow (#278) (e5a8dd1)
  • JS exception: Cannot read property "dispatch" of undefined (#287) (52ab79c)
  • Line not hidden after legend selection (#204) (ac814f9)
  • lint (4d30c83)
  • lint (3df2999)
  • Making viz components respect D3 Format from metric (#280) (d38dcb9)
  • minor wordcloud update (e269636)
  • nvd3 charts break on stateChange dispatch (#159) (525779d)
  • nvd3 tooltip bolding/non-linebreak on ONLY header row (#291) (e49f082)
  • only remove tooltips relating to a single vis (#167) (1a58394)
  • pass all props to transformProps in LineMulti chart (#247) (54aec5b)
  • remove redundant target from sankey tooltip (#193) (c4b6ed2)
  • Replace unsafe lifecycle methods (#285) (06051ef)
  • Sunburst chart respects and prefers Metric's D3 Format (#282) (ee4deb2)
  • adjusted upstream break change: adjusted upstream break change (bc198a6)
  • bump lunar version of datatable: bump lunar version of datatable (3bd5c4a)
  • datatable: adding the consideration of padding (#198) (8b1305f)
  • fix issues in superset: fix issues in superset (efb6ad9)
  • fix types: fix types (1163b50)
  • force to publish new version: force to publish new version (55c7510)
  • legacy-plugin-chart-horizon: horizon chart should scroll when overflowing (#180) (38506b9)
  • memorize filter in state: memorize filter in state (880d18c)
  • table: fix rendering boolean (#256) (faa11ac)
  • table: fix sorting, column width calculation, and text wrapping (#253) (12dd847)
  • table: fixed performance issue (#241) (c68f9d7)
  • table: TableVis dynamic height enabled (#229) (bd4efa3), closes #233
  • tablevis: Set proper width for each column (#189) (1a28e7f)
  • 🐛 broken unit test due to missing babel-polyfill (b6c62df)
  • bar label for many bars and long labels (#21) (97a35dd)
  • big number with trendline fix (#34) (912d076)
  • broken build due to file rename in vega-lite (#37) (8722dad)
  • broken build due to vega type (#96) (1bcaa7f)
  • convert scale config to data-ui's config correctly (#115) (8e8b724)
  • disable lazy import for line chart and box plot (#82) (a254f68)
  • dual line chart color consistency for secondary y axis (#18) (41701b9)
  • exception thrown for charts without a x-axis (#36) (3e45f2e)
  • fine tune time pivot chart tooltip (#33) (088c5bb)
  • gradient not working when y axis title has space (#98) (b0a342a)
  • gridlines (a788b48)
  • heatmap errors with null data (d773983)
  • ignore disabled series in stacked bar values (#116) (6d56d92)
  • invalid margin breaking chart (#102) (6aa8d00)
  • lazily create metadata (#74) (9b8c83b)
  • legend types (2309c44)
  • line chart tooltip should use full datetime format (#24) (dfb6599)
  • line chart tooltip when there is only one lien (#103) (c1ac4ab)
  • lint (3cb3b8e)
  • lint (#79) (67e30a6)
  • list css as side effects (#57) (b743960)
  • make pivot table handle null string (#23) (5746975)
  • move react to table peerdependency (#179) (92028c2)
  • move series in front of xy gridlines (#119) (32850ef)
  • preset-chart-xy: Pick LegendRenderer (#118) (d10eba0)
  • tablevis: update datatable change (9846de5)
  • line chart does not handle temporal field correctly (#68) (93e040f)
  • make line chart query operate in time series mode (#71) (b732022)
  • move padding (b5f00a5)
  • nvd3 line chart y axis bounds (#17) (d8655c7)
  • remove sticky tooltip when query returns no data in explore view (#42) (4e5b8d3)
  • rename file from js to ts (#75) (b9f5059)
  • resolve issues post 0.10.0 (bdd647a)
  • responsive y-axis on stacked charts (#141) (c85b149)
  • scale type category missing ordinal (9d0b2da)
  • show only necessary tick labels on log scale (#19) (f642031)
  • single y axis bounds (#148) (c58270b)
  • use correct number format (#47) (2ea399d)
  • word cloud import bug (#65) (eeb722e)
  • y axis bounds when input are nan (#22) (545fd81)
  • y-axis bounds for stacked viz types (#45) (eaa2425)
  • legacy-preset-chart-nvd3: redraw bar values after legend change (#7) (620ad2f)
  • legacy-preset-chart-nvd3: redraw markers after legend interaction (#6) (c5df555)
  • legacy-preset-chart-nvd3: stacked bar charts labels (#40) (744f7c8)
  • legacy-preset-chart-nvd3: tooltip's disappearance and stickiness (#1) (d1a2a59)

Features

  • migrate xy-chart to use encodable (#438) (500e0c2), closes #420 #421 #427 #430 #432 #433 #436
  • big-number: allow fallback to last available value and fix time range for trend lines (#403) (c839ee7)
  • big-number: format datetime according to granularity (#402) (b17a363)
  • 🎸 line chart makes first appearance (df727b6)
  • add box plot (#78) (5f21ffd)
  • add country map of bulgaria in superset-ui-legacy-plugin-chart-country-map (#2) (ba113c2)
  • add encodeable utilities for chart (#15) (3f68efb)
  • add india to country_map visualization (#182) (e16a967)
  • Add Iran to countries (#306) (5cb5c6d)
  • add Korea(South) to Country Maps (#230) (7ca4b8d)
  • add Liechtenstein to country map chart (#263) (fd1c7af)
  • add properties for font sizing (#10) (47b5eff)
  • add sankey chart with loops (#77) (246c336)
  • add scatter plot (#90) (1ffeb77)
  • add tooltip and layout components for charts (#13) (27227eb)
  • add typescript declaration for external packages (#12) (79ae24d)
  • adding Canada into the list of country map choices (#48) (9b91465)
  • customize no data message in nvd3 charts (#330) (4e60731)
  • simply the data processing logic (604fd44)
  • support no data within BigNumber viz (#327) (6cc5619)
  • added search bar: added search bar (f4afc22)
  • code refactoring: code refactoring (e46c829)
  • datatable: render html correctly (#199) (589024b)
  • legacy-plugin-chart-country-map: add Switzerland to country map chart (#260) (046c102)
  • plugin-chart-word-cloud: convert word cloud to use encodable (#258) (75141fe)
  • add basic functionality for icicle chart to display static data (#165) (50e9df5)
  • add getDomain to ChannelEncoder (2321aaf)
  • add types to published list (0624be5)
  • allow boolean as axis config (ab0cc0b)
  • allow legend overrides at multiple levels (#81) (034eda1)
  • allow overriding ChartLegend, its style and LegendGroup style (#112) (105cf0f)
  • bring lazy import back (#84) (d14e5ba)
  • bump data-ui/xy-chart version (2111e3a)
  • bump dependencies (814966f)
  • channels can take array of definitions (2a04891)
  • create reusable selector factory for Encoder (a0097fc)
  • file skeleton necessary for icicle chart visualization (#162) (83190f0)
  • implement labelFlush behavior for continuous axes (#117) (a747ea4)
  • improve line chart margin/axis and add buildquery (#66) (5887ade)
  • improve table performance (#246) (082ff23)
  • improve the tooltip for the time pivot chart (#30) (ff06cb5)
  • increment the version number (#44) (db64322)
  • integrate line chart with build query and update typings (#73) (9cbbe6e)
  • line chart with revised encodeable utilities (#26) (8380c93)
  • remove children from XYChartLayout parameter (3a889d2)
  • simplify Encoder creation (e858bcc)
  • support custom tooltip for scatterplot and box plot (8733c01)
  • support line strokeWidth (#105) (cbd7368)
  • support tooltip and legend overrides (#101) (c63edcd)
  • update dependencies to make plugins compatible with 0.11 (#38) (93379f4)
  • update line chart thumbnail and scale extraction (#61) (11ef47e)
  • update type for line chart series (#175) (826dad9)
  • upgrade @superset-ui to v0.12 (#183) (c0133f7)
  • legacy-preset-chart-nvd3: show negative values on bars (#8) (39cfe71)
  • remove unused package: remove corejs and other unused package (2cdf2f6)
  • tablevis: this pr is to add a new tablevis plguin to the system (66a9d26)
  • update data format returned from query api and add getGroupBys (#72) (084ea37)
  • update tooltip and use selector (#31) (1cf7a22)

Performance Improvements

0.12.19 (2020-04-17)

Bug Fixes

Features

  • legacy-plugin-chart-paired-t-test: migrate from another repo (7cd0363)
  • legacy-plugin-chart-parallel-coordinates: migrate from another repo (52e7119)
  • legacy-plugin-chart-partition: migrate from another repo (1ab9fea)
  • legacy-plugin-chart-pivot-table: migrate from another repo (d631b17)
  • style: add style to umbrella package (#366) (4ab96f3)
  • migrate heatmap, horizon, iframe and markup (#367) (152e457)

0.12.18 (2020-04-15)

Features

0.12.17 (2020-04-15)

Bug Fixes

0.12.16 (2020-04-15)

Features

  • style package for theming and styled components (#362) (316c913)

0.12.15 (2020-04-13)

Features

  • make CategoricalScale compatible with D3 ScaleOrdinal (#357) (b802974)
  • make time formatter handle number and fix formatters type warnings (#358) (aaf17ac)

0.12.14 (2020-04-13)

Features

  • add calendar package and storybook (#356) (daf47bd)
  • allow toggling of table viz's bar chart backgrounds (#352) (5d5ade9)

0.12.13 (2020-04-07)

Bug Fixes

  • legacy-plugin-chart-table: time column formating (#340) (6c7f710)
  • new line at end (e8d59e5)

Features

Reverts

  • Revert "build: try to merge superset-ui-plugins" (6be7b2f)
  • Revert "build: clean up tsbuild.info, too" (39d983a)

0.12.12 (2020-04-01)

Features

0.12.11 (2020-03-06)

Bug Fixes

  • small rendering for no results message (#309) (e7ff68c)

0.12.10 (2020-03-04)

Features

  • add more support for undefined format to number and time formatters (#308) (44ad062)

0.12.9 (2020-03-04)

Features

  • make formatTime and formatNumber handle undefined format (#307) (768cfd5)

0.12.8 (2020-03-04)

Features

0.12.7 (2019-11-20)

Bug Fixes

  • dimension: set 0 width/height in createHiddenSvgNode (#261) (7170f48)

0.12.6 (2019-11-20)

Bug Fixes

  • typing issues surfaced by typescript 3.7 (#260) (a72c3dd)

0.12.5 (2019-11-19)

Bug Fixes

Features

  • add @superset-ui/superset-ui package as one-stop install (#255) (f0899d8)

0.12.4 (2019-11-12)

Bug Fixes

Features

0.12.3 (2019-09-04)

Bug Fixes

  • fix React.Fragment complaining about width/height (#219) (3e8ca39)

Features

  • add functions for parsing scales (#207) (6f56ed9)
  • add Wrapper support and bounding box for dynamic width/height (#215) (c83ba1f)

0.12.2 (2019-08-26)

Bug Fixes

0.12.1 (2019-08-26)

Bug Fixes

Features

0.12.0 (2019-08-23)

Features

  • add control panel support to chart plugin (#203) (920d389)
  • add functions for parsing formatters from encoding (#205) (8906aa0)
  • Add types and type guards for encodable (#201) (6cff25f)

BREAKING CHANGES

  • chart: deprecate old SuperChart API that accepts chartProps (#202) (af877c6)

    • No longer accept chartProps as a single prop in <SuperChart>. Developers must specify each field in chartProps individually.
  • chart: split superset-ui/query from superset-ui/chart (#178) (630d3e5)

    • some api and types are removed from @superset-ui/chart and moved to /query
  • chart: remove and rename fields in ChartProps (#174) (b53b839)

0.11.15 (2019-08-06)

Features

  • optimize functions for getting text dimension (#199) (ad0fa42)

0.11.14 (2019-08-05)

Bug Fixes

Features

  • allow reactify callbacks to access props (#200) (9d6f5c0)
  • support locale in number and time format (#182) (e1f8773)

0.11.13 (2019-06-19)

Bug Fixes

0.11.12 (2019-06-18)

Features

  • store reference to container and update bindings (#180) (00e9a40)

0.11.11 (2019-06-18)

Features

  • add error boundary and responsiveness to SuperChart (#175) (c17b13d)

0.11.10 (2019-06-13)

Features

  • add parseLength function to @superset-ui/dimension (#171) (c0ef45f)
  • allow chart plugin to be unregistered (#168) (32f8dd3)

0.11.9 (2019-05-25)

Bug Fixes

  • remove padding in WithLegend (2f0a400)

0.11.8 (2019-05-23)

Features

  • update ChartFormData and QueryObject to support filters. (#164) (025d5bc)

0.11.7 (2019-05-17)

Features

0.11.6 (2019-05-16)

Bug Fixes

Features

0.11.12 (2019-06-18)

✨ Features

  • store reference to container and update bindings (#180) (00e9a40)

0.11.11 (2019-06-18)

✨ Features

  • add error boundary and responsiveness to SuperChart (#175) (c17b13d)

0.11.10 (2019-06-13)

✨ Features

  • add parseLength function to @superset-ui/dimension (#171) (c0ef45f)
  • allow chart plugin to be unregistered (#168) (32f8dd3)

0.11.9 (2019-05-25)

🐞 Bug Fixes

  • remove padding in WithLegend (2f0a400)

0.11.8 (2019-05-23)

✨ Features

  • update ChartFormData and QueryObject to support filters. (#164) (025d5bc)

0.11.7 (2019-05-17)

✨ Features

0.11.6 (2019-05-16)

🐞 Bug Fixes

✨ Features

0.11.5 (2019-04-27)

🐞 Bug Fixes

  • broken build due to failing unit tests (#141) (58d56d5)

✨ Features

0.11.4 (2019-04-26)

🐞 Bug Fixes

  • make translation module type check correctly (#140) (c05fe3a)

0.11.3 (2019-04-16)

🐞 Bug Fixes

0.11.2 (2019-04-08)

🐞 Bug Fixes

0.11.1 (2019-04-08)

✨ Features

  • callback hooks for Reactified components (#131) (7603520)

0.11.0 (2019-04-02)

💔 BREAKING CHANGE

  • Revert "Handle BigNumber conversions in JSON properly (without loss of precision) (#71)" (#126)

This reverts commit e3866129b2b3cbd6e099fe4ab66319c4fe6ae485. It should not cause critical issue or require additional migration from 0.10.x. However, since this is a change in the expected output, we bump the version to be safe.

0.10.10 (2019-04-02)

✨ Features

  • add support for conditional get requests (#119) (2ca55ed)

0.10.9 (2019-03-29)

✨ Features

0.10.8 (2019-03-26)

🐞 Bug Fixes

  • Fixed type definition for chart plugin (#123) (6230a3b)

✨ Features

  • getter function to return color mapping (#124) (46e78ad)

0.10.7 (2019-03-22)

🐞 Bug Fixes

  • import types from package, not monorepo (#122)

0.10.6 (2019-03-22)

🛠️ Internal

  • remove faux @superset-ui/core TS declaration (#121)

0.10.5 (2019-03-21)

✨ Features

  • 🎸 Improved QueryObject to handle more fields (#116) (57a64b1), closes #116
  • Add <ChartDataProvider /> (#120) (ade9dbe), closes #120

📜 Documentation

  • Add TS support + CORS demo (#118) (34581f3), closes #118

0.10.4 (2019-03-11)

✨ Features

v0.10.3 (2019-03-07)

✨ Features

v0.10.2

✨ Features

  • feat(superset-ui-chart): add .clone() function to ChartMetadata (#112) (1c1ef3b), closes #112
  • feat(superset-ui-connection): Allow PUT and PATCH in call API (efcfd1a)

v0.10.1

💔 BREAKING CHANGE

  • @superset-ui/core becomes peer dependency

🛠️ Internal

  • refactor: make @superset-ui/core peer dependency (#111) (e9c7b91), closes #111
  • chore: add commitlint and commitizen config (cae32ce)
  • docs: update changelog (4d70053)

v0.10.0

💔 BREAKING CHANGES

  • Rename FormData to ChartFormData to avoid naming collision with native JS (#100)
  • Rename constants in NumberFormats changing _CHANGE to _SIGNED.
  • Default number format is now SMART_NUMBER instead of D3 .3~s.

✨ Features

  • Add SMART_NUMBER formatter and make it default (#109)
  • Enable warnings when values are overwritten in registries (#107)

🛠️ Internal

  • Migrate plugin-chart-word-cloud to @superset-ui-plugins repo.

v0.9.6

🛠️ Internal

  • Update @superset-ui/chart dependency.

v0.9.5

🛠️ Internal

  • Remove unnecessary export types and remove warning when using esm output in target application.

v0.9.4

🐞 Bug fixes

  • Make id an optional prop for SuperChart.

v0.9.3

✨ Features

  • Add new package @superset-ui/dimension
  • Add new package @superset-ui/plugin-chart-word-cloud

🛠️ Internal

  • Minor update and additional unit tests for generator

v0.9.2

✨ Features

  • Add more subgenerators to create package and demo in superset-ui-legacy
  • Support put and delete HTTP methods in SupersetClient

v0.9.1

🐞 Bug fixes

  • Fix TypeScript declaration for package jed with @superset-ui/translation distribution.

v0.9.0

✨ Features

  • Add useLegacyApi field to ChartMetadata. This flag will help us determine whether to use the new /api/v1/query endpoint or the legacy one.
  • Add two generics to Registry<V, W>
    • V is type of value in the registry
    • W is type of value returned from loader function when using .registerLoader(key, loader).
    • W can be either V, Promise<V> or V | Promise<V>
    • Set W=V when does not support asynchronous loader. Making return type of .get() become V instead of Promise<V>
    • By default, W is set to V | Promise<V> to support both synchronous and asynchronous loaders.
  • Include and link TypeScript declaration for package jed with @superset-ui/translation distribution.

🛠️ Internal

  • Convert @superset-ui/number-format to TypeScript
  • Convert @superset-ui/time-format to TypeScript
  • Convert @superset-ui/translation to TypeScript

💔 BREAKING CHANGES

  • Make number formatter always returns string. This is different from previous behavior.
Value formatted value (before) formatted value (after)
null null 'null'
undefined undefined 'undefined'
NaN NaN 'NaN'
  • Make time formatter always returns string. This is different from previous behavior.
Value formatted value (before) formatted value (after)
null null 'null'
undefined undefined 'undefined'
NaN NaN 'NaN'

v0.8.0

✨ Features

  • Add SuperChart and convert to TypeScript
  • Allow metrics arrays in form data
  • Moved query module from incubator-superset into superset-ui
  • Add reactify function from incubator-superset

🐞 Bug fixes

  • Handle BigNumber conversions to/from JSON without loss of precision

🛠️ Internal

  • Use DefinitelyTyped's fetch-mock type def
  • Improved type def for json-bigint
  • Migrated @superset-ui/chart to TypeScript
  • Migrated @superset-ui/color to TypeScript
  • Migrated @superset-ui/core to TypeScript
  • Made connection and color packages peer dependencies

v0.7.2

✨ Features

  • Make @superset-ui/time-format and @superset-ui/number-format ignore leading and trailing spaces when looking for formatters.

v0.7.1

✨ Features

  • Add new APIs to @superset-ui/time-format
    • createD3TimeFormatter
    • createMultiFormatter
  • Add new APIs to @superset-ui/number-format
    • createD3NumberFormatter
    • createSiAtMostNDigitFormatter

v0.7.0

✨ Features

  • Add @superset-ui/time-format package
  • Add @superset-ui/number-format package
  • Use the recently added ExtensibleFunction to make an instance of CategoricalColorScale be a function
  • Add overwritePolicy for Registry so developer can customize whether overwriting is ALLOW, WARN or PROHIBIT.

🐞 Bug fixes

  • Transform input value before setting color.

🛠️ Internal

  • Rewrite @superset-ui/connection in TypeScript

💔 BREAKING CHANGES

  • Remove categoricalColorScale.toFunction(). Now categoricalColorScale itself is already a function.
  • The color scales no longer convert input to lowercase before finding color.
  • Rename ColorScheme field name to id.
  • Change Registry constructor API to take object instead of single string name.

v0.6.0

✨ Features

  • Add @superset-ui/generator-superset
  • Add RegistryWithDefaultKey and ExtensibleFunction to @superset-ui/core

💔 BREAKING CHANGES

  • getDefaultSchemeName() and setDefaultSchemeName() are renamed to getDefaultKey() and setDefaultKey()

v0.5.0

✨ Features

  • Add @superset-ui/chart

🐞 Bug fixes

  • Use simple js to create range

v0.4.0

✨ Features

  • Add @superset-ui/color for color management

v0.3.0

✨ Features

  • Add new @superset-ui/core with data structures and utilities.

💔 BREAKING CHANGES

  • Rename former @superset-ui/core to @superset-ui/connection.