Releases: alallier/reload
Releases · alallier/reload
2.0.1
2.0.0
Reload v2.0.0
Added
- Added object based parameters (Issue #77 / Orginally solved in PR #101 and Refactored in #104)
- Added port configuration (Issue #60 / Orginally solved in PR #68 and refactored in #104)
- Added timestamp to reload command line reloading (Issue #7 / PR #78)
- Added node 8 support (Issue #106 / PR #119)
- Added table of contents to README (Issue #103 / PR #105)
- Added return API to README (PR #121 )
Modified
- Abstracted reload call to an index.js file. Index file now calls
reload.js
source file. This is to abstract the reload command line calling with a third argument that is now private and not apart of the public API (PR #117) - Update dependencies to latest and add package-lock.json files (PR #109)
- Audited and refactored return API (Issue #120 / PR #121)
Removed
- Drop support for server and just use ports (Issue #102 / PR #104)
- Removed support of node 0.1 and 0.12 (Issue #73 / PR #86)
- Separate server and app initialization into two parts. (This was orignally fixed in PR #71 but was reversed in PR #104 when the decision to drop server was made.))
API Breaking Changes
This PR makes breaking changes to the reload API. Please reference the new API in the README. The only required argument to reload now is app
. This makes reload a lot easier to use. Reload takes a maximum of two arguments app
and an opts
(options) object with the following optional parameters, port
, route
, and verbose
. Two new options were added port
and route
. Reload runs on default port 9856
unless otherwise specified in the opts
object.
General Notes
- Reload will now throw an error if no arguments are specified or invalid arguments are detected (to the best of our knowledge).
- We will also still support reload calls with old parameters but leave a deprecated warning to update to the new parameters.