Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
insin committed Apr 3, 2015
1 parent a594773 commit a5b2cdd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
## master
## 2.0.0 / 2015-04-03

Added `mask.undo()` and `mask.redo()`

`setPattern()` now sets/resets the `selection`.

### Breaking changes

* `setPattern()` now takes an options Object for its second argument instead of
a String for the new value. `value` and `selection` options may be given.
* The given (or defaulted) `selection` object is now used as-is when setting
initial selection. It used to be set via `setSelection()`, which moved it to
the first editable index.
`setPattern()` now takes an options `Object` for its second argument instead of a
`String` for the new value. `value` and `selection` options may be given.

The given (or defaulted) `selection` object is now used as-is when setting
initial selection. It used to be set via `setSelection()`, which moved it to
the first editable index.

## 1.2.0 / 2015-03-26

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inputmask-core",
"version": "1.2.0",
"version": "2.0.0",
"description": "Standalone input mask implementation, independent of any GUI",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit a5b2cdd

Please sign in to comment.