Skip to content

Commit

Permalink
Release v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Sanchez committed Mar 5, 2014
1 parent 6ca7ea7 commit 69c779f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
13 changes: 13 additions & 0 deletions History.md
@@ -1,3 +1,16 @@
1.3.0 / 2014-03-05
------------------

* Add Qty#format and accept custom formatters
* Allow to call Qty() without new to create Qty instances (Qty could be used
both as a constructor or as a factory)
* Qty#toString only supports to be passed output units as single parameters
Former parameters are now deprecated but still supported to not introduce
a breaking change
* Add mc as alternate definition for prefix "micro"
* Throw error with mmm as unit
* Add rounding optimization

1.2.0 / 2013-12-17
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -15,7 +15,7 @@ and within browsers.

### Browser

Download [latest release](https://raw.github.com/gentooboontoo/js-quantities/v1.2.0/src/quantities.js)
Download [latest release v1.3.0](https://raw.github.com/gentooboontoo/js-quantities/v1.3.0/src/quantities.js)
or install it with Bower:

bower install js-quantities
Expand Down
2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "js-quantities",
"version": "1.2.0",
"version": "1.3.0",
"description": "JavaScript library for quantity calculation and unit conversion",
"main": "./src/quantities.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"main": "./src/quantities.js",
"readmeFilename": "README.md",
"description": "JavaScript library for quantity calculation and unit conversion",
"version": "1.2.0",
"version": "1.3.0",
"homepage": "http://gentooboontoo.github.io/js-quantities/",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion prepare-release.sh
Expand Up @@ -14,4 +14,4 @@ LOG_ENTRY="${VERSION} / $(date +%Y-%m-%d)\n\
sed -i "1i $LOG_ENTRY" History.md
sed -i "s/\(\"version\"\):.*$/\1: \"${VERSION}\",/" package.json
sed -i "s/\(\"version\"\):.*$/\1: \"${VERSION}\",/" bower.json
sed -i "s/\(v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\)/v${VERSION}/" README.md
sed -i "s/\(v[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\)/v${VERSION}/g" README.md

0 comments on commit 69c779f

Please sign in to comment.