UNPKG

15.1 kBMarkdownView Raw
1# Changelog
2
3All notable changes to [dmn-js](https://github.com/bpmn-io/dmn-js) are documented here. We use [semantic versioning](http://semver.org/) for releases.
4
5## Unreleased
6
7___Note:__ Yet to be released changes appear here._
8
9## 9.2.0
10
11* `FEAT`: close select (i.a. decision table hit policy select) whenever there is user interaction outside of it ([#546](https://github.com/bpmn-io/dmn-js/issues/546), [#559](https://github.com/bpmn-io/dmn-js/issues/559))
12* `FEAT`: center decision table resize column hitbox ([#554](https://github.com/bpmn-io/dmn-js/issues/554))
13* `FIX`: remove unnecessary click event cancel action ([#558](https://github.com/bpmn-io/dmn-js/pull/558))
14
15## 9.1.1
16
17* `FIX`: broken style ([`7ac2031e`](https://github.com/bpmn-io/dmn-js/commit/7ac2031ecda2fba4a2e08c79c871663057bec59b))
18
19## 9.1.0
20
21* `FEAT`: align colors with Camunda Modeler ([#542](https://github.com/bpmn-io/dmn-js/pull/542))
22* `FIX`: correct target indicator for drag and drop ([#557](https://github.com/bpmn-io/dmn-js/pull/557))
23* `FIX`: correct layout in decision tables ([`a66d4140`](https://github.com/bpmn-io/dmn-js/commit/a66d414062e11b73ff6369f680653217f05c6f53))
24* `FIX`: complete direct-editing after drill down ([#547](https://github.com/bpmn-io/dmn-js/issues/547))
25
26## 9.0.1
27
28* `FIX`: open input/output editing at correct position ([#545](https://github.com/bpmn-io/dmn-js/pull/545))
29
30## 9.0.0
31
32* `FEAT`: add decision table columns resizing ([#500](https://github.com/bpmn-io/dmn-js/issues/500))
33* `FEAT`: move drag'n'drop handle to top left of decision table head cells ([`518bfd5`](https://github.com/bpmn-io/dmn-js/commit/518bfd5d403c708d8539f90ccea5223da88d6fa2))
34* `FEAT`: move hit policy explanations to title prop ([`be21448`](https://github.com/bpmn-io/dmn-js/commit/be2144819ce3c70c0b638c123cd1be2c76fcb370))
35* `FEAT`: wrap decision rule cells content ([`844a505`](https://github.com/bpmn-io/dmn-js/commit/844a505bd8ca3c0853e12052d1172eb64ebce569))
36* `FEAT`: re-design decision table head ([`5734b49`](https://github.com/bpmn-io/dmn-js/commit/5734b4930dd6814800bf882a508f609633811315))
37* `FEAT`: re-design literal expression layout ([#515](https://github.com/bpmn-io/dmn-js/issues/515))
38* `FEAT`: pass actual event to blur and focus handlers for EditableComponent ([`93c1d92`](https://github.com/bpmn-io/dmn-js/commit/93c1d92f69b98579cf44dcf3d931cd76f64fe6c4))
39* `FEAT`: display FEEL as default expression language for inputs ([#527](https://github.com/bpmn-io/dmn-js/issues/527))
40* `FEAT`: center placeholder for empty input rules ([#533](https://github.com/bpmn-io/dmn-js/issues/533))
41* `FEAT`: set `.empty` class on EditableComponent ([`f52cb3e`](https://github.com/bpmn-io/dmn-js/commit/f52cb3e6aa71a70fad831121137d302267508b84))
42* `FIX`: correctly display decision table bottom borders ([#540](https://github.com/bpmn-io/dmn-js/issues/540))
43* `FIX`: correct title for add output button ([#532](https://github.com/bpmn-io/dmn-js/pull/532))
44* `FIX`: set correct active view when views change ([#528](https://github.com/bpmn-io/dmn-js/issues/528))
45* `CHORE`: bump to dmn-moddle@9.1.0
46* `CHORE`: bump to table-js@6.1.0
47
48### Breaking Changes
49
50* Dropped IE 11 support. Migrate to modern browsers or use 8.x series.
51* Literal expression and decision table viewers no longer allow to change decision ID. Use [dmn-js-properties-panel](https://github.com/bpmn-io/dmn-js-properties-panel) or other custom module to allow that.
52
53## 8.4.0-alpha.0
54
55* `FEAT`: rework input/output editing ([#501](https://github.com/bpmn-io/dmn-js/issues/501))
56* `FEAT`: allow to provide custom label component for List ([`f99bae4`](https://github.com/bpmn-io/dmn-js/commit/f99bae43faad675e02ac2a50370fdfb5e6c0caa8))
57* `FEAT`: rework decision table head ([#497](https://github.com/bpmn-io/dmn-js/issues/497), [#498](https://github.com/bpmn-io/dmn-js/issues/498), [#499](https://github.com/bpmn-io/dmn-js/issues/499))
58* `FEAT`: rework context menu for input/output columns ([#495](https://github.com/bpmn-io/dmn-js/issues/495))
59* `FIX`: fire `views.changed` only on actual change ([#388](https://github.com/bpmn-io/dmn-js/issues/388))
60
61## 8.3.1
62
63* `FIX`: allow to connect text annotations in both directions ([#519](https://github.com/bpmn-io/dmn-js/pull/519))
64* `FIX`: fix missing extension in camunda-bpmn-moddle import ([#517](https://github.com/bpmn-io/dmn-js/issues/517))
65* `CHORE`: remove redundant waypoints update ([#522](https://github.com/bpmn-io/dmn-js/pull/522))
66
67## 8.3.0
68
69* `FEAT(drd)`: change layout of information requirements ([#492](https://github.com/bpmn-io/dmn-js/pull/492))
70* `FEAT(drd)`: add auto-place feature ([#492](https://github.com/bpmn-io/dmn-js/pull/492))
71* `FEAT(drd)`: connect from new shape to source on append ([#492](https://github.com/bpmn-io/dmn-js/pull/492))
72* `CHORE(drd)`: bump to diagram-js@6.6.1
73
74## 8.2.0
75
76* `FEAT(drd)`: improve label editing ([#487](https://github.com/bpmn-io/dmn-js/pull/487))
77* `FEAT(decision-table)`: set FEEL as default expression language ([#491](https://github.com/bpmn-io/dmn-js/pull/491))
78
79## 8.1.0
80
81* `FEAT(decision-table)`: add new rule on bottom rule \<enter> ([#345](https://github.com/bpmn-io/dmn-js/issues/345))
82* `FEAT(drd)`: activate direct editing after text annotation create ([#185](https://github.com/bpmn-io/dmn-js/issues/185))
83* `FIX`: update association's refs on element id change([#397](https://github.com/bpmn-io/dmn-js/issues/397))
84
85## 8.0.2
86
87* `CHORE`: use `min-dash#find` as polyfill for `Array.prototype.find`
88
89## 8.0.1
90
91* `CHORE`: bump to `dmn-moddle@8.0.3`
92
93## 8.0.0
94
95* `FEAT`: migrate to DMN 1.3 ([#452](https://github.com/bpmn-io/dmn-js/pull/452))
96* `FEAT(drd)`: generate DMN standards compliant DI information
97* `FEAT(drd)`: make alignment and distribution utilities available as editor actions
98* `FIX(decision-table)`: correct placeholders shown in table footer
99* `FIX(decision-table)`: do not show misleading `-` placeholder for output cells
100* `FIX(drd)`: correctly handle source element ID change ([#467](https://github.com/bpmn-io/dmn-js/issues/467))
101* `CHORE`: bump to `dmn-moddle@8.0.0`
102
103### Breaking Changes
104
105* Dropped DMN 1.1 support. To keep opening DMN 1.1 diagrams those must be migrated to DMN 1.3 before passing them over to the toolkit. Cf. [release blog post](https://bpmn.io/blog/posts/2020-dmn-js-8-0-0.html), [DMN compatibility example](https://github.com/bpmn-io/dmn-js-examples/tree/master/dmn-compatibility).
106* Grapical information is now stored using standardized `DMNDI` and support for the DI vendor extension is removed.
107* DI waypoints of new `dmn:Association` elements no longer point to middle of source and target and have same
108 coordinates as connection waypoints.
109* Renamed `updateProperties` command in `dmn-js-drd` to `element.updateProperties` to align with other libraries
110
111## 7.5.0
112
113* `FEAT(decision-table)`: add new rule on bottom rule \<enter> ([#345](https://github.com/bpmn-io/dmn-js/issues/345))
114* `FEAT(drd)`: activate direct editing after text annotation create ([#185](https://github.com/bpmn-io/dmn-js/issues/185))
115* `FIX`: update association's refs on element id change([#397](https://github.com/bpmn-io/dmn-js/issues/397))
116
117## 7.4.4
118
119* `CHORE`: use `min-dash#find` as polyfill for `Array.prototype.find`
120
121## 7.4.3
122
123* `FIX(decision-table)`: correct placeholders shown in table footer
124
125## 7.4.2
126
127* `FIX(decision-table)`: do not show misleading `-` placeholder for output cells
128
129## 7.4.1
130
131* `FIX(drd)`: correctly handle source element ID change ([#467](https://github.com/bpmn-io/dmn-js/issues/467))
132
133## 7.4.0
134
135* `CHORE(drd)`: make alignment and distribution utilities available as editor actions
136
137## 8.0.0-alpha.0
138
139* `FEAT`: migrate to DMN 1.3 ([#452](https://github.com/bpmn-io/dmn-js/pull/452))
140* `FEAT(drd)`: bind current diagram to `dmn:Definitions#di`
141* `CHORE`: bump to `dmn-moddle@8.0.0`
142
143### Breaking Changes
144
145* Dropped DMN 1.1 support. Migration to DMN 1.3 necessary (c.f. [@bpmn-io/dmn-migrate](https://github.com/bpmn-io/dmn-migrate)).
146* `DrdFactory` uses `dmndi` namespace instead of `biodi`.
147* DI waypoints of new dmn:Association no longer point to middle of source and target and have same
148 coordinates as connection waypoints.
149
150## 7.3.0
151
152* `FEAT(drd)`: add grid snapping
153* `FEAT(drd)`: add element to element snapping
154* `FEAT(drd)`: add keyboard selection move
155* `FEAT(drd)`: add alignment and distribution utilities
156* `FEAT(decision-table)`: add i18n support ([#446](https://github.com/bpmn-io/dmn-js/pull/446))
157* `CHORE`: bump to `diagram-js@6.3.0`
158
159## 7.2.1
160
161* `FIX(drd)`: fix serialization of `biodi:Waypoint` elements ([#437](https://github.com/bpmn-io/dmn-js/pull/437))
162* `FIX(drd)`: allow connections to be moved with DMN elements ([#438](https://github.com/bpmn-io/dmn-js/pull/438))
163* `FIX(drd)`: do not move `biodi:Edge` elements to text annotation targets ([#436](https://github.com/bpmn-io/dmn-js/pull/436))
164* `FIX(drd)`: replace connection on reconnect ([#436](https://github.com/bpmn-io/dmn-js/pull/436))
165* `FIX(drd)`: correct append behavior ([#439](https://github.com/bpmn-io/dmn-js/pull/439))
166* `CHORE`: bump to `diagram-js@6.0.2`
167
168## 7.2.0
169
170* `FEAT(drd)`: inverse allow inverse connections
171* `FEAT(decision-table)`: only allow standardized hit policy values
172* `FEAT(decision-table)`: preserve aggregation when COLLECT is selected again
173* `FEAT(decision-table)`: allow aggreation to be cleared from dropdown ([#370](https://github.com/bpmn-io/dmn-js/issues/370), [#389](https://github.com/bpmn-io/dmn-js/issues/389))
174* `FEAT(decision-table)`: use JUEL as the default input expression language ([#405](https://github.com/bpmn-io/dmn-js/issues/405))
175* `FIX(drd)`: correct connection rules
176* `FIX(decision-table)`: correctly handle value erasing ([#826](https://github.com/camunda/camunda-modeler/issues/826))
177* `FIX(decision-table)`: correctly display simple mode edit control when cell selection changes ([#341](https://github.com/bpmn-io/dmn-js/issues/341))
178* `FIX(decision-table)`: do not close input on user selection ([#421](https://github.com/bpmn-io/dmn-js/issues/421))
179* `FIX(decision-table)`: do not navigate when clearing pre-defined hints ([#431](https://github.com/bpmn-io/dmn-js/issues/431))
180* `FIX(decision-table)`: prevent context menu jump in larger tables
181* `FIX(decision-table)`: do not close context on user selection
182* `CHORE`: bump to `diagram-js@6`
183* `CHORE`: bump to `table-js@6.0.3`
184
185## 7.1.0
186
187* `FEAT(decision-table)`: add background color to even table rows ([#404](https://github.com/bpmn-io/dmn-js/issues/404))
188
189## 7.0.1
190
191* `FIX(decision-table)`: fix empty table layout on Firefox ([#380](https://github.com/bpmn-io/dmn-js/issues/380))
192
193## 7.0.0
194
195* `FEAT(drd)`: add connection previews
196* `CHORE(project)`: upgrade to `babel@7`
197* `CHORE(project)`: bump to `diagram-js@4`
198
199## 6.3.3
200
201* `FEAT(drd)`: consistently layout connection on reconnect start and end ([#398](https://github.com/bpmn-io/dmn-js/pull/398))
202* `FIX(drd)`: prevent HTML injection in direct editing and search
203
204## 6.3.2
205
206* `FIX(project)`: fix npmignore
207
208## 6.3.1
209
210* `FIX(project)`: include core directory in npm packages
211
212## 6.3.0
213
214* `FEAT(decision-table)`: show input and output label first in editors ([#346](https://github.com/bpmn-io/dmn-js/issues/346))
215
216## 6.2.3
217
218* `CHORE`: correct `dmn-js-shared` repository meta-data
219
220## 6.2.2
221
222* `FIX`: properly destroy individual viewers on dmn-js destruction ([#392](https://github.com/bpmn-io/dmn-js/pull/392))
223
224## 6.2.1
225
226* `CHORE`: bump `tiny-svg` dependency to circumvent MS Edge bug
227* `CHORE`: bump `selection-ranges` dependency
228
229## 6.2.0
230
231* `CHORE`: emit `attach` and `detach` events
232
233## 6.1.0
234
235* `CHORE`: bump to `diagram-js@3`
236
237## 6.0.0
238
239* `FEAT`: add ability to move canvas and selected elements with keyboard arrows
240* `FEAT`: support `SHIFT` modifier to move elements / canvas with keyboard arrows at accelerated speed
241* `FEAT`: use `Ctrl/Cmd` modifier key to move the canvas via keyboard arrows
242* `CHORE`: bind DRD editor actions and keyboard shortcuts for explicitly added features only
243* `CHORE`: update to [`diagram-js@3.0.0`](https://github.com/bpmn-io/diagram-js/blob/master/CHANGELOG.md#300)
244
245### Breaking Changes
246
247* `EditorActions` / `Keyboard` do not pull in features implicitly anymore. If you roll your own DRD editor, include features you would like to ship with manually to provide the respective actions / keyboard bindings ([`a68c9b68`](https://github.com/bpmn-io/dmn-js/commit/a68c9b68d3633d224fb3bb9809e7ce01d801d6fb))
248
249## 5.2.0
250
251* `CHORE`: bump to `diagram-js@2.6.1`
252
253## 5.1.2
254
255* `FIX`: update ChangeSupport id binding on <element.updateId> ([#367](https://github.com/bpmn-io/dmn-js/issues/367))
256
257## 5.1.1
258
259* `FIX`: correct focus handling in IE11 ([#361](https://github.com/bpmn-io/dmn-js/issues/361))
260
261## 5.1.0
262
263* `FEAT`: emit `saveXML` life-cycle events
264
265## 5.0.0
266
267_Republished `v5.0.0-1` as stable version_.
268
269## 5.0.0-1
270
271* `FIX`: don't distribute test assets
272
273## 5.0.0-0
274
275* `FEAT`: transpile to ES5 + ES modules
276* `CHORE`: bump to `table-js@5`
277* `CHORE`: bump to `diagram-js@2`
278
279## 4.4.0
280
281* `FEAT(decision-table)`: expose `data-row-id` and `data-col-id` in Viewer ([#357](https://github.com/bpmn-io/dmn-js/issues/357))
282
283## 4.3.1
284
285* `CHORE`: bump inferno dependency to `inferno@5.0.5`
286
287## 4.3.0
288
289* `FEAT(drd)`: add ability to intercept drill-down via event listener ([#353](https://github.com/bpmn-io/dmn-js/issues/353))
290* `CHORE`: bump to `diagram-js@1.4.0`
291* `FIX(decision-table)`: correct context menu positioning in scrolling tables
292
293## 4.2.1
294
295* `FIX(decision-table)`: close input editor on `ENTER`
296
297## 4.2.0
298
299* `CHORE`: bump to `diagram-js@1.3.0`
300* `FIX(drd)`: label editing now correctly activates on element creation ([#339](https://github.com/bpmn-io/dmn-js/issues/339))
301* `FIX(decision-table)`: be able to edit inputs without text ([#347](https://github.com/bpmn-io/dmn-js/issues/347))
302
303## 4.1.0
304
305* `FEAT`: improve copy/paste interaction with native browser behavior
306* `FEAT`: improve selection with copy-paste
307* `FEAT`: add ability to navigate decision properties in decision table via keyboard
308* `FIX`: fix copy/paste not being possible in decision table cells and editors
309* `FIX`: escape element ids in CSS selectors
310
311## 4.0.0
312
313### Breaking Changes
314
315* `FIX`: deconflict styles by putting shared declarations into `dmn-js-shared.css`
316
317## 3.0.1
318
319#### dmn-js-decision-table
320
321* `FIX`: don't close editor on allowed value add
322
323## 3.0.0
324
325### Breaking Changes
326
327We've migrated all remaining parts of [dmn-js](https://github.com/bpmn-io/dmn-js) as well as it's foundations to ES modules:
328
329* `CHORE`: migrate `dmn-js-drd` to ES modules
330* `CHORE`: migrate to `diagram-js@1.0.0`
331* `CHORE`: migrate to `inferno@5.0.0`
332* `CHORE`: migrate to `table-js@5.0.0`
333
334### Other Improvements
335
336* `FEAT`: add keyboard controls to decision table input selects
337* `FEAT`: add generic keyboard controls to context-menu like components
338* `FEAT`: add ability to open decision table without input
339* `FEAT`: add ability to add input if there are no inputs
340* `CHORE`: improve size of pre-built bundles
341* `CHORE`: cleanup styles
342* `FIX`: improve css by converting HEX to RGBA values
343
344## ...
345
346Check `git log` for earlier history.