Skip to content

Commit b28a58f

Browse files
committed
v5
1 parent 862b821 commit b28a58f

24 files changed

+32
-24
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Join us on Slack: https://gridstackjs.troolee.com
4444
- [Migrating to v2](#migrating-to-v2)
4545
- [Migrating to v3](#migrating-to-v3)
4646
- [Migrating to v4](#migrating-to-v4)
47+
- [Migrating to v5](#migrating-to-v5)
4748
- [jQuery Application](#jquery-application)
4849
- [Changes](#changes)
4950
- [The Team](#the-team)
@@ -435,6 +436,13 @@ v4 is a complete re-write of the collision and drag in/out heuristics to fix som
435436
`locked()`, `maxWidth()`, `minWidth()`, `maxHeight()`, `minHeight()`, `move()`, `resize()`
436437
437438
439+
## Migrating to v5
440+
441+
make sure to read v4 migration first!
442+
443+
v5 does not have any breaking changes from v4, but a focus on nested grids in h5 mode:
444+
You can now drag in/out of parent into nested child, with new API parameters values. See the release notes.
445+
438446
# jQuery Application
439447
440448
We now have a native HTML5 drag'n'drop through the plugin system (default), but the jquery-ui version can be used instead. It will bundle `jquery` (3.5.1) + `jquery-ui` (1.12.1 minimal drag|drop|resize) + `jquery-ui-touch-punch` (1.0.8 for mobile support) in `gridstack-jq.js`.

doc/CHANGES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Change log
55
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
66
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
77

8-
- [4.4.1-dev (TBD)](#441-dev-tbd)
8+
- [5.0 (2022-01-10)](#50-2022-01-10)
99
- [4.4.1 (2021-12-24)](#441-2021-12-24)
1010
- [4.4.0 (2021-12-21)](#440-2021-12-21)
1111
- [4.3.1 (2021-10-18)](#431-2021-10-18)
@@ -66,7 +66,7 @@ Change log
6666

6767
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
6868

69-
## 4.4.1-dev (TBD)
69+
## 5.0 (2022-01-10)
7070
* add [#992](https://github.com/gridstack/gridstack.js/issues/992) support dragging into and out of nested grids from parents! Thank you [@arclogos132](https://github.com/arclogos132) for sponsoring it.
7171
* add [#1910](https://github.com/gridstack/gridstack.js/pull/1910) new `column:'auto'` option to size nested grids to their parent grid item column count, keeping items the same size inside and outside. Thank you [@arclogos132](https://github.com/arclogos132) for also sponsoring it.
7272
* fix [#1902](https://github.com/gridstack/gridstack.js/pull/1902) nested.html: dragging between sub-grids show items clipped

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gridstack",
3-
"version": "4.4.1-dev",
3+
"version": "5.0",
44
"description": "TypeScript/JS lib for dashboard layout and creation, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)",
55
"main": "./dist/gridstack.js",
66
"types": "./dist/gridstack.d.ts",

src/gridstack-dd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-dd.ts 4.4.1-dev
2+
* gridstack-dd.ts 5.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-ddi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-ddi.ts 4.4.1-dev
2+
* gridstack-ddi.ts 5.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-engine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-engine.ts 4.4.1-dev
2+
* gridstack-engine.ts 5.0
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-h5.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-h5.ts 4.4.1-dev - everything you need for a Grid that uses HTML5 native drag&drop
2+
* index-h5.ts 5.0 - everything you need for a Grid that uses HTML5 native drag&drop
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-jq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-jq.ts 4.4.1-dev - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature)
2+
* index-jq.ts 5.0 - everything you need for a Grid that uses Jquery-ui drag&drop (original, full feature)
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-poly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* gridstack-poly.ts 4.4.1-dev used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4)
2+
* gridstack-poly.ts 5.0 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4)
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

src/gridstack-static.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* index-static.ts 4.4.1-dev - much smaller, everything you need for a static Grid (non draggable, API driven)
2+
* index-static.ts 5.0 - much smaller, everything you need for a static Grid (non draggable, API driven)
33
* Copyright (c) 2021 Alain Dumesny - see GridStack root license
44
*/
55

0 commit comments

Comments
 (0)