Skip to content

Commit 0b76d13

Browse files
author
Serhii Pylypchuk
committed
[update] what's new and migration
1 parent a6424ff commit 0b76d13

File tree

2 files changed

+54
-10
lines changed

2 files changed

+54
-10
lines changed

docs/news/migration.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,37 @@ title: Migration to Newer Versions
44
description: You can learn about the Migration to Newer Versions in the documentation of the DHTMLX JavaScript Kanban library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Kanban.
55
---
66

7-
# Migration to newer versions
7+
# Migration to newer versions
8+
9+
## 1.0 -> 1.1
10+
11+
### Api
12+
13+
The [`columns`](../../api/config/js_kanban_columns_config) property was extended by the new parameters. Starting from v1.1, you can use the ***collapsed, limit*** and ***strictLimit*** configurations.
14+
15+
~~~jsx title="Before v1.1"
16+
const columns = [
17+
{
18+
label: "Backlog",
19+
id: "backlog"
20+
}, ...
21+
];
22+
~~~
23+
24+
~~~jsx {5-7,12} title="From v1.1"
25+
const columns = [
26+
{
27+
label: "Backlog",
28+
id: "backlog",
29+
collapsed: true,
30+
limit: 3,
31+
strictLimit: true
32+
}, ...
33+
];
34+
35+
new kanban.Kanban("#root", {
36+
columns,
37+
cards,
38+
// other parameters
39+
});
40+
~~~

docs/news/whats_new.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,42 @@ If you are updating Kanban from an older version, check [Migration to newer vers
1010

1111
## Version 1.1
1212

13-
Released on February ??, 2022
13+
Released on February **BIG SECRET**, 2022
1414

1515
### New functionality
1616

17-
- The ability to ...
18-
- The ability to ...
19-
- The ability to ...
17+
- The ability to *collapse/uncollapse* columns using an arrow on the left of the column label
18+
- The ability to *limit* the number of cards for the columns and swimlanes
19+
- The ability to *move* columns via the context menu (a 3 dots icon)
20+
- The ability to *move* rows via the context menu (a 3 dots icon)
21+
- The ability to *select multiple cards* of the same column using the familiar **Shift** + **click** combination
22+
- The ability to use [TypeScript definitions](../../guides/typescript_support) of Kanban
2023

2124
### New API
2225

23-
-
24-
-
26+
- New **events** for moving columns and cards:
27+
[`move-column`](../../api/events/js_kanban_movecolumn_event)
28+
and
29+
[`move-row`](../../api/events/js_kanban_moverow_event)
30+
- New **methods** for moving columns and rows:
31+
[`moveColumn()`](../../api/methods/js_kanban_movecolumn_method)
32+
and
33+
[`moveRow()`](../../api/methods/js_kanban_moverow_method)
2534

2635
### Updates
2736

28-
-
29-
-
37+
- The [`columns`](../../api/config/js_kanban_columns_config) property was updated and extended by the following parameters:
38+
- ***`collapsed`***
39+
- ***`limit`***
40+
- ***`strictLimit`***
3041

3142
## Version 1.0
3243

3344
Released on November 23, 2021
3445

3546
### Initial functionality
3647

37-
- Ability to work with **cards** in the following way:
48+
- The ability to work with **cards** in the following way:
3849
- add new cards
3950
- select cards (multiselection)
4051
- delete cards

0 commit comments

Comments
 (0)