Releases: Paperspace/paperspace-node
v0.1.9
v0.1.8
Release Notes for v0.1.8
New Features
- New paperspace login method for acquiring and caching api tokens from the command line
- New paperspace logout method
- Support for downloading job containers from private docker repositories on job create
- Support for downloading job workspace from private git repositories on job create
- Added paperspace --version option to check the version of the CLI tool
Fixes
- Minor doc fixes
v0.1.7
Release Notes for v0.1.7
New Features
- New states on returned machine objects: starting, stopping, restarting, serviceready, and upgrading
- Ability to wait on state serviceready when calling machines waitfor method
- New property on returned machine objects: updatesPending
- New releasePublicIp option on machines destroy method
Fixes
- Fix for jobs completing too quickly could cause jobs create output to hang
- Minor doc fixes
v0.1.6
Release Notes for v0.1.6
New Features
- Pre-built binaries are now available for Windows, Mac, and Linux. These binaries enable you to run the paperspace-node command line tool without having to install Nodejs or any additional node modules.
- New methods for early access to jobs. Please contact [email protected] for more information.
Breaking Changes
BREAKING CHANGE # 1 (for Nodejs apps which use the paperspace-node module):
In previous versions (up to 0.1.5) paperspace-node methods returned an HTTP response object on success, and application code neededto dereference through the HTTP response body object to get attributes of the returned object. For example, when getting the name of a machine you would have code like this:
paperspace.machines.show({ machineId: 'ps123abc' }, function callback(err, resp) {
if (err) return err;
console.log(resp.body.id);
});
The new convention is to return the 'body' object directly in the second callback parameter, e.g.:
paperspace.machines.show({ machineId: 'ps123abc' }, function callback(err, resp) {
if (err) return err;
console.log(resp.id);
});
This change simplifies code that works with the returned objects, and provides better encapsulation. The command line version of the api already followed this convention.
BREAKING CHANGE # 2 (if building the command line app or a custom Nodejs app using the source):
paperspace-node now requires Nodejs 8.9.3 or later. This Node version is specified in the package.json file in the root of the repository. This change is to support stand-alone binaries of the paperspace-node command line tool that don't require a separate installation of Node. Previously Node 4.2.3 or later was required, but that version of Node will soon no longer be maintained (after April 2018). You can read more about Node's support cycle here: Node Releases
Fixes
- Minor doc fixes