You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+119-5Lines changed: 119 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,120 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
6
6
7
7
## [Unreleased]
8
8
9
+
## [24.0.0] - 2024-12-17
10
+
11
+
This is a major release, and it might be not compatible with your current usage of our library. Please read about the necessary changes in the section about how to migrate.
12
+
13
+
### Migration from v23 to v24
14
+
15
+
- upgrade Typescript to v5
16
+
- upgrade Node to at least v18, see **Changed** section for more info about it
17
+
- remove deprecated components, properties and imports from your project, if the info cannot be found here then it was already mentioned in **Deprecated** sections of the past changelogs
18
+
-`<GridColumn/>`
19
+
-`full`: was deprecated and now removed because it always uses full width if it is the only column and does not have any othe size config
20
+
-`<Notification/>`
21
+
-`fullWidth`: was deprecated and now removed, use `flexWidth` as replacement
22
+
-`iconName`: was deprecated and now removed, use `icon` property
23
+
-`<Table/>`
24
+
-`size`: use only "small", "medium" or "large" as value
25
+
-`<Tag/>`
26
+
-`emphasized`: was deprecated and now removed, use `minimal=false` plus `emphasis="stronger"` instead
27
+
-`IconSized` type: use `CarbonIconType`
28
+
-`TimeUnits` type: use `ElapsedDateTimeDisplayUnits`
29
+
-`MarkdownParserProps` interface: use `MarkdownProps`
30
+
-`elapsedTimeSegmented` function: use `elapsedDateTimeDisplayUtils.elapsedTimeSegmented`
31
+
-`simplifiedElapsedTime` function: use `elapsedDateTimeDisplayUtils.simplifiedElapsedTime`
32
+
33
+
### Added
34
+
35
+
-`<StringPreviewContentBlobToggler />`:
36
+
-`noTogglerContentSuffix`: Allows to add non-string elements at the end of the content if the full description is shown, i.e. no toggler is necessary. This allows to add non-string elements to both the full-view content and the pure string content.
37
+
-`<MultiSuggestField />`
38
+
- An optional custom search function property has been added, it defines how to filter elements.
39
+
- Added a prop `limitHeightOpened` to limit the height of the dropdown by automatically calculating the available height in vh.
40
+
-`<FlexibleLayoutContainer />` and `<FlexibleLayoutItem />`
41
+
- helper components to create flex layouts for positioning sub elements
42
+
- stop misusing `Toolbar*` components to do that (anti pattern)
43
+
-`<PropertyValueList />` and `<PropertyValuePair />`
44
+
-`singleColumn` property to display label and value below each other
45
+
-`<Label />`
46
+
-`emphasis` property to control visual appearance of the label text
47
+
- basic Storybook example for `<Application* />` components
48
+
-`<CodeEditor />`
49
+
-`setEditorView` option for compatibility to Codemirror v6
50
+
-`supportCodeFolding` optional property to fold code for the supported modes e.g: `xml`, `json`, etc.
51
+
-`shouldHighlightActiveLine` optional property to highlight active line where the cursor is currently in.
52
+
-`shouldHaveMinimalSetup` optional property that imports codemirror's base minimal configurations.
53
+
-`additionalExtensions` optional property for additional extensions to customize the editor further.
54
+
-`<Markdown />`
55
+
-`htmlContentBlockProps` can now be used to configure the wrapper around the Markdown content
56
+
-`$eccgui-selector-text-spot-highlight` SCSS config variable to specify selector that is used to create shortly highlighted spots
57
+
- it is highlighted when the selector is also active local anchor target or if it has the `.eccgui-typography--spothighlight` class attached to it
58
+
59
+
### Fixed
60
+
61
+
- toggling on/off the `<HandleTools/>` was corrected, they kept displayed after re-entering with the cursor
62
+
-`<Pagination/>`
63
+
- change text overflow for selectors to `clip` because Firefox rendered `ellipsis` a bit too early
64
+
-`<ApplicationContainer />`:
65
+
-`useDropzoneMonitor` helper hook process was improved so that less events are processed and the dropzone monitoring is more stable
66
+
67
+
### Changed
68
+
69
+
- GUI elements library needs node 18 or an higher version because dependencies were upgraded
70
+
- you may run into problems if you try it with Node v16 or v17, or Webpack v4, mainly because of a Node bugfix regarding the OpenSSL provider
71
+
- if you cannot upgrade your dependencies then you could workaround that by patching the `crypto` package or using Node with `--openssl-legacy-provider` option
72
+
- see https://github.com/webpack/webpack/issues/14532 and https://stackoverflow.com/questions/69692842/ for more info and possible solutions
73
+
- upgrade to `@carbon/react` package
74
+
- almost all Carbon related packages were replaced by using only `@carbon/react`
75
+
- some component interfaces partly lack documentation in our Storybook because their base interfaces from `@carbon/react` are currently not exported: `AccordionItemProps`, `ApplicationHeaderProps`, `ApplicationToolbarProps`, `ApplicationToolbarActionProps`, `ApplicationToolbarPanelProps`, `CarbonIconType`, `TableCellProps`, `TableExpandRowProps`, `TableProps`
76
+
- upgrade to Typescript v5
77
+
- your package should be compatible to Typescript 5 patterns
78
+
- upgrade to Storybook v8
79
+
- include a few patches for actions, see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#implicit-actions-can-not-be-used-during-rendering-for-example-in-the-play-function
80
+
- allow `next` and `legacy` as branch names
81
+
-`<CodeEditor />`
82
+
-`setInstance` interface changed to `setEditorView` for semantic compatibility to Codemirror v6
83
+
-`<BreadcrumbItem/>`
84
+
- link color and separation char were adjusted
85
+
-`<Markdown/>`
86
+
- align blocks for language specific code to default code blocks
87
+
- switch icons for `item-clone` and `item-copy` to Carbon's `<Replicate/>` and `<Copy/>`
88
+
- Remove duplicated icon names `artefact-customtask*` and only keep `artefact-task*` names.
89
+
-`<OverviewItemDepiction/>`
90
+
- improve examples in storybook
91
+
- improve display for images that are to large for the available space (fully show them)
92
+
-`<CodeAutocompleteField />`:
93
+
- Add parameter `reInitOnInitialValueChange`, to allow the field to re-initialize if the initial value changes.
94
+
95
+
### Deprecated
96
+
97
+
-`<Icon/>` and `<TestIcon/>`
98
+
-`description` and `iconTitle`: use `title` as replacement.
99
+
-`TableRowHeightSize` type: use `TableProps["size"]` directly
100
+
-`IRenderModifiers` interface: use `SuggestFieldItemRendererModifierProps`
101
+
-`IElementWidth` type: use `SuggestFieldItemRendererModifierProps["styleWidth"]`
102
+
-`MultiSelectSelectionProps` interface: use `MultiSuggestFieldSelectionProps`
103
+
-`MultiSelectProps` interface: use `MultiSuggestFieldProps`
104
+
-`nodeTypes` and `edgeTypes`
105
+
- will be removed without replacement, define it yourself or use `<ReactFlow/` with `configuration` option
106
+
-`AutoCompleteFieldProps` and `IAutoCompleteFieldProps` interfaces: use `SuggestFieldProps`
107
+
-`<CodeAutocompleteField/>`
108
+
-`AutoSuggestionProps`: use `CodeAutocompleteFieldProps` instead
109
+
- we renamed `ISuggestionBase`, `ISuggestionWithReplacementInfo`, `IReplacementResult`, `IPartialAutoCompleteResult`, `IValidationResult` to `CodeAutocompleteFieldSuggestionBase`, `CodeAutocompleteFieldSuggestionWithReplacementInfo`, `CodeAutocompleteFieldReplacementResult`, `CodeAutocompleteFieldPartialAutoCompleteResult`, `CodeAutocompleteFieldValidationResult`
110
+
- all legacy support components are going to be removed, you need to replace them by activily maintained components
111
+
-`<ButtonReplacement/>`: switch to `<Button />`
112
+
-`<AffirmativeButtonReplacement/>`: switch to `<Button affirmative />`
113
+
-`<DismissiveButtonReplacement/>`: switch to `<Button dismissive />`
114
+
-`<DisruptiveButtonReplacement/>`: switch to `<Button disruptive />`
115
+
-`<CheckboxReplacement/>`: switch to `<Checkbox />`
116
+
-`<RadioButtonReplacement/>`: switch to `<RadioButton />`
117
+
-`<TabsReplacement/>`: switch to `<Tabs />`
118
+
-`<TextFieldReplacement/>`: switch to `<TextField />`, `<TextArea />`, `<FieldItem />`
119
+
-`MultiSuggestField.ofType` method:
120
+
- instead of `MyMultiSuggest = MultiSuggestField.ofType<MyType>()` use directly `<MultiSuggestField<MyType> {...props} />`
121
+
-`MultiSuggestField.ofType` also returns the original BlueprintJS `MultiSelect` element, not our version!
122
+
9
123
## [23.8.0] - 2024-08-19
10
124
11
125
### Added
@@ -53,7 +167,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
53
167
- Element wraps the content that need to be displayed sticky.
54
168
-`utils`
55
169
-`getScrollParent`: method to find the scroll parent of an element
56
-
-`<AutoCompleteField />`
170
+
-`<SuggestField />`
57
171
- Support loading more results when scrolling to the end of the result list.
58
172
-`<TextArea />`
59
173
-`intent` property to set the state, formerly used `hasStatePrimary`, `hasStateSuccess`, `hasStateWarning` and `hasStateDanger` properties are now deprecated
@@ -188,7 +302,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
188
302
- `<ActivityControlWidget />`
189
303
- added extra line to show timer for execution period
190
304
- `<ExtendedCodeEditor />`
191
-
- replaces `<SingleLineCodeEditor />` to get used for the `<AutoSuggestion />` component
305
+
- replaces `<SingleLineCodeEditor />` to get used for the `<CodeAutocompleteField />` component
@@ -236,7 +350,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
236
350
- `loose`: can be set to `true` to prevent the box with border on the label component
237
351
- `<TableExpandHeader />`
238
352
- `toggleIcon`: optional icon that should be displayed instead of the default ones.
239
-
- `Utilities`
353
+
- `utils`
240
354
- `getGlobalVar` and `setGlobalVar`: can be used to manage global variables indepentently from component states. They are stored to the `window` object under a `eccgui` "namespace". Can be used for example to manage globally increased counters. Do not use them if you need to store user session properties or confidential data!
241
355
- canonical icons for `artefact-chatlog`, `entity-human`, `entity-robot` and `operation-magic`
242
356
@@ -366,7 +480,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
366
480
- `<WorkspaceHeader />`
367
481
- `IWorkspaceHeaderProps` interface is now deprecated, use `WorkspaceHeaderProps` instead
368
482
- `<NumericInput />`
369
-
- It will be remove because beside the special arrow buttons it does not add any special. Could be done also with `<TextField />` combined with correct `type`.
483
+
- It will be removed because beside the special arrow buttons it does not add any special. Could be done also with `<TextField />` combined with correct `type`.
370
484
- `<Highlighter />`
371
485
- `HighlighterFunctions` renamed to `highlighterUtils`
372
486
- `extractSearchWords` moved to `highlighterUtils.extractSearchWords`
@@ -381,7 +495,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
381
495
- `ReactFlow` extensions
382
496
- `NodeProps`: renamed to `NodeDefaultProps`
383
497
- `minimapNodeClassName`: moved to `miniMapUtils.nodeClassName`
384
-
- `minimapNodeColor`: moved to `miniMapUtils.nodeClassName`
498
+
- `minimapNodeColor`: moved to `miniMapUtils.nodeColor`
385
499
- `nodeUtils`: renamed to `nodeDefaultUtils`
386
500
- `IHandleProps`: renamed to `NodeContentHandleProps`
387
501
- `NodeDimensions`: use `NodeContentProps<any>['nodeDimensions']`
0 commit comments