Skip to content

Commit

Permalink
Release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
reppners committed Jul 23, 2017
1 parent 1fac91c commit 8b893b7
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@

<a name"2.0.0"></a>
## 2.0.0 (2017-07-23)

Releasing the rewrite as stable 2.0.0 including a few breaking changes because of renaming.

### BREAKING CHANGE

The github repository and released package is renamed from `drag-drop-polyfill` to `mobile-drag-drop`.

This changes how the package is installed and further how it is referenced.

BEFORE

`import {polyfill} from "drag-drop-polyfill/drag-drop-polyfill";`
`import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/drag-drop-polyfill-scroll-behaviour";`

AFTER

`import {polyfill} from "mobile-drag-drop";`
`import {scrollBehaviourDragImageTranslateOverride} from "drag-drop-polyfill/scroll-behaviour";`


Also the css files got shorter names which do not repeat the package name in their filename.

BEFORE

`drag-drop-polyfill.css`
`drag-drop-polyfill-icons.css`

AFTER

`default.css`
`icons.css`

<a name"2.0.0-rc.0"></a>
## 2.0.0-rc.0 (2017-06-26)

Expand Down
9 changes: 6 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "drag-drop-polyfill",
"name": "mobile-drag-drop",
"description": "Polyfill for making HTML5 drag and drop possible in all browsers.",
"version": "2.0.0-rc.0",
"main": ["release/drag-drop-polyfill.js", "release/drag-drop-polyfill.css"],
"version": "2.0.0",
"main": [
"release/index.js",
"release/default.css"
],
"ignore": [
"*",
"!release/**/*",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "drag-drop-polyfill",
"version": "2.0.0-rc.0",
"name": "mobile-drag-drop",
"version": "2.0.0",
"description": "Polyfill for making HTML5 drag and drop possible in all browsers.",
"main": "drag-drop-polyfill.min.js",
"types": "drag-drop-polyfill.d.ts",
"main": "index.min.js",
"types": "index.d.ts",
"homepage": "http://timruffles.github.io/ios-html5-drag-drop-shim/demo/",
"scripts": {
"start": "grunt",
Expand Down

0 comments on commit 8b893b7

Please sign in to comment.