superset/superset-frontend/temporary_superset_ui/superset-ui/CHANGELOG.md
2021-11-26 11:45:08 +08:00

27 KiB

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.