mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
4.6 KiB
4.6 KiB
@superset-ui : Change Log
v0.9.4
🐞 Bug fixes
- Make
id
an optional prop forSuperChart
.
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 toChartMetadata
. 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 registryW
is type of value returned fromloader
function when using.registerLoader(key, loader)
.W
can be eitherV
,Promise<V>
orV | Promise<V>
- Set
W=V
when does not support asynchronous loader. Making return type of.get()
becomeV
instead ofPromise<V>
- By default,
W
is set toV | 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
intosuperset-ui
- Add
reactify
function fromincubator-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
andcolor
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 ofCategoricalColorScale
be a function - Add
overwritePolicy
forRegistry
so developer can customize whether overwriting isALLOW
,WARN
orPROHIBIT
.
🐞 Bug fixes
- Transform input value before setting color.
🛠️ Internal
- Rewrite
@superset-ui/connection
in TypeScript
💔 BREAKING CHANGES
- Remove
categoricalColorScale.toFunction()
. NowcategoricalColorScale
itself is already a function. - The color scales no longer convert input to lowercase before finding color.
- Rename
ColorScheme
fieldname
toid
. - Change
Registry
constructor API to take object instead of single string name.
v0.6.0
✨ Features
- Add
@superset-ui/generator-superset
- Add
RegistryWithDefaultKey
andExtensibleFunction
to@superset-ui/core
💔 BREAKING CHANGES
getDefaultSchemeName()
andsetDefaultSchemeName()
are renamed togetDefaultKey()
andsetDefaultKey()
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
.