Skip to content

Commit

Permalink
chore(ver): v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
VovanR committed May 7, 2018
1 parent 5d41a61 commit b25e987
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,30 @@
<a name="1.0.0"></a>
# [1.0.0](https://github.com/VovanR/hour-to-day-or-night/compare/v0.1.1...v1.0.0) (2018-05-07)


### Bug Fixes

* **lib:** Do not convert 24 hours. Because after 23:59 goes 00:00 ([8ef107a](https://github.com/VovanR/hour-to-day-or-night/commit/8ef107a))


### build

* **nodejs:** Drop support for NodeJS v4 ([03cb46c](https://github.com/VovanR/hour-to-day-or-night/commit/03cb46c))


### Features

* **lib:** Allow argument type `number` only between 0 and 24 ([806312c](https://github.com/VovanR/hour-to-day-or-night/commit/806312c)), closes [#5](https://github.com/VovanR/hour-to-day-or-night/issues/5)


### BREAKING CHANGES

* **lib:** Throws `RangeError` if `hour` is 24. Because correct `24` is `0`
* **nodejs:** Drop support for NodeJS v4
* **lib:** Throw error with string or empty argument



<a name="0.1.1"></a>
## [0.1.1](https://github.com/VovanR/hour-to-day-or-night/compare/v0.1.0...v0.1.1) (2018-02-08)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "hour-to-day-or-night",
"version": "0.1.1",
"version": "1.0.0",
"description": "Convert hour to day or night: 8 → 'day'",
"license": "MIT",
"repository": "VovanR/hour-to-day-or-night",
Expand Down

0 comments on commit b25e987

Please sign in to comment.