mirror of
https://github.com/apache/superset.git
synced 2024-09-20 04:29:47 -04:00
bd8b699a7d
* docs: update changelog * chore: update changelog script * docs: update changelog
299 lines
9.6 KiB
Markdown
299 lines
9.6 KiB
Markdown
# [0.11.0](https://github.com/apache-superset/superset-ui/compare/v0.10.10...v0.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](https://github.com/apache-superset/superset-ui/compare/v0.10.9...v0.10.10) (2019-04-02)
|
|
|
|
|
|
### ✨ Features
|
|
|
|
* add support for conditional get requests ([#119](https://github.com/apache-superset/superset-ui/issues/119)) ([2ca55ed](https://github.com/apache-superset/superset-ui/commit/2ca55ed))
|
|
|
|
|
|
## [0.10.9](https://github.com/apache-superset/superset-ui/compare/v0.10.8...v0.10.9) (2019-03-29)
|
|
|
|
|
|
### ✨ Features
|
|
|
|
* add labels to color scheme ([#125](https://github.com/apache-superset/superset-ui/issues/125)) ([98a14a2](https://github.com/apache-superset/superset-ui/commit/98a14a2))
|
|
|
|
|
|
## [0.10.8](https://github.com/apache-superset/superset-ui/compare/v0.10.7...v0.10.8) (2019-03-26)
|
|
|
|
|
|
### 🐞 Bug Fixes
|
|
|
|
* Fixed type definition for chart plugin ([#123](https://github.com/apache-superset/superset-ui/issues/123)) ([6230a3b](https://github.com/apache-superset/superset-ui/commit/6230a3b))
|
|
|
|
|
|
### ✨ Features
|
|
|
|
* getter function to return color mapping ([#124](https://github.com/apache-superset/superset-ui/issues/124)) ([46e78ad](https://github.com/apache-superset/superset-ui/commit/46e78ad))
|
|
|
|
|
|
## [0.10.7](https://github.com/apache-superset/superset-ui/compare/v0.10.6...v0.10.7) (2019-03-22)
|
|
|
|
### 🐞 Bug Fixes
|
|
|
|
* import types from package, not monorepo ([#122](https://github.com/apache-superset/superset-ui/pull/122))
|
|
|
|
## [0.10.6](https://github.com/apache-superset/superset-ui/compare/v0.10.5...v0.10.6) (2019-03-22)
|
|
|
|
### 🛠️ Internal
|
|
|
|
* remove faux `@superset-ui/core` TS declaration ([#121](https://github.com/apache-superset/superset-ui/pull/121))
|
|
|
|
## 0.10.5 (2019-03-21)
|
|
|
|
### ✨ Features
|
|
|
|
* 🎸 Improved QueryObject to handle more fields (#116) ([57a64b1](https://github.com/apache-superset/superset-ui/commit/57a64b1)), closes [#116](https://github.com/apache-superset/superset-ui/issues/116)
|
|
* Add `<ChartDataProvider />` (#120) ([ade9dbe](https://github.com/apache-superset/superset-ui/commit/ade9dbe)), closes [#120](https://github.com/apache-superset/superset-ui/issues/120)
|
|
|
|
### 📜 Documentation
|
|
* Add TS support + CORS demo (#118) ([34581f3](https://github.com/apache-superset/superset-ui/commit/34581f3)), closes [#118](https://github.com/apache-superset/superset-ui/issues/118)
|
|
|
|
|
|
## 0.10.4 (2019-03-11)
|
|
|
|
### ✨ Features
|
|
|
|
* add dimension type (#117) ([e4a22ade305fd6ea962648b86ff88431d77ea41e](https://github.com/apache-superset/superset-ui/commit/e4a22ade305fd6ea962648b86ff88431d77ea41e)), closes [#117](https://github.com/apache-superset/superset-ui/issues/117)
|
|
* re-export types from @superset-ui/dimension (#115) ([8c3f8b0f5f2edb558cb8e9f708a17d3d3b4b92aa](https://github.com/apache-superset/superset-ui/commit/8c3f8b0f5f2edb558cb8e9f708a17d3d3b4b92aa)), closes [#115](https://github.com/apache-superset/superset-ui/issues/115)
|
|
|
|
|
|
|
|
## v0.10.3 (2019-03-07)
|
|
|
|
### ✨ Features
|
|
|
|
* feat(superset-ui-dimension): add `mergeMargin()` function (#114) ([c5589384c12f5ff2480e3614cf44b33d85b1299e](https://github.com/apache-superset/superset-ui/commit/c5589384c12f5ff2480e3614cf44b33d85b1299e)), closes [#114](https://github.com/apache-superset/superset-ui/issues/114)
|
|
|
|
## v0.10.2
|
|
|
|
### ✨ Features
|
|
|
|
* feat(superset-ui-chart): add `.clone()` function to `ChartMetadata` (#112) ([1c1ef3b](https://github.com/apache-superset/superset-ui/commit/1c1ef3b)), closes [#112](https://github.com/apache-superset/superset-ui/issues/112)
|
|
* feat(superset-ui-connection): Allow `PUT` and `PATCH` in call API ([efcfd1a](https://github.com/apache-superset/superset-ui/commit/efcfd1a))
|
|
|
|
## v0.10.1
|
|
|
|
### 💔 BREAKING CHANGE
|
|
|
|
* `@superset-ui/core` becomes peer dependency
|
|
|
|
### 🛠️ Internal
|
|
|
|
* refactor: make `@superset-ui/core` peer dependency (#111) ([e9c7b91](https://github.com/apache-superset/superset-ui/commit/e9c7b91)), closes [#111](https://github.com/apache-superset/superset-ui/issues/111)
|
|
* chore: add `commitlint` and `commitizen` config ([cae32ce](https://github.com/apache-superset/superset-ui/commit/cae32ce))
|
|
* docs: update changelog ([4d70053](https://github.com/apache-superset/superset-ui/commit/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`.
|