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