Skip to content

Commit 8b893b7

Browse files
committed
Release v2.0.0
1 parent 1fac91c commit 8b893b7

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11

2+
<a name"2.0.0"></a>
3+
## 2.0.0 (2017-07-23)
4+
5+
Releasing the rewrite as stable 2.0.0 including a few breaking changes because of renaming.
6+
7+
### BREAKING CHANGE
8+
9+
The github repository and released package is renamed from `drag-drop-polyfill` to `mobile-drag-drop`.
10+
11+
This changes how the package is installed and further how it is referenced.
12+
13+
BEFORE
14+
15+
`import {polyfill} from "drag-drop-polyfill/drag-drop-polyfill";`
16+
`import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/drag-drop-polyfill-scroll-behaviour";`
17+
18+
AFTER
19+
20+
`import {polyfill} from "mobile-drag-drop";`
21+
`import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/scroll-behaviour";`
22+
23+
24+
Also the css files got shorter names which do not repeat the package name in their filename.
25+
26+
BEFORE
27+
28+
`drag-drop-polyfill.css`
29+
`drag-drop-polyfill-icons.css`
30+
31+
AFTER
32+
33+
`default.css`
34+
`icons.css`
35+
236
<a name"2.0.0-rc.0"></a>
337
## 2.0.0-rc.0 (2017-06-26)
438

bower.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
{
2-
"name": "drag-drop-polyfill",
2+
"name": "mobile-drag-drop",
33
"description": "Polyfill for making HTML5 drag and drop possible in all browsers.",
4-
"version": "2.0.0-rc.0",
5-
"main": ["release/drag-drop-polyfill.js", "release/drag-drop-polyfill.css"],
4+
"version": "2.0.0",
5+
"main": [
6+
"release/index.js",
7+
"release/default.css"
8+
],
69
"ignore": [
710
"*",
811
"!release/**/*",

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "drag-drop-polyfill",
3-
"version": "2.0.0-rc.0",
2+
"name": "mobile-drag-drop",
3+
"version": "2.0.0",
44
"description": "Polyfill for making HTML5 drag and drop possible in all browsers.",
5-
"main": "drag-drop-polyfill.min.js",
6-
"types": "drag-drop-polyfill.d.ts",
5+
"main": "index.min.js",
6+
"types": "index.d.ts",
77
"homepage": "http://timruffles.github.io/ios-html5-drag-drop-shim/demo/",
88
"scripts": {
99
"start": "grunt",

0 commit comments

Comments
 (0)