Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Releases: Paperspace/paperspace-node

v0.1.9

20 Mar 18:15
Compare
Choose a tag to compare

Release Notes for v0.1.9

New Features

  • New jobs machineTypes method for discovering available job machine types

Fixes

  • Fix for paperspace cached api key overriding an explicit api key parameter in paperspace-node apps
  • Minor doc fixes

v0.1.8

02 Feb 21:31
Compare
Choose a tag to compare

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

09 Jan 07:52
Compare
Choose a tag to compare

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

23 Dec 16:11
Compare
Choose a tag to compare

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

v0.1.5

29 Nov 05:38
Compare
Choose a tag to compare

Release Notes for v0.15

New features

  • New method: machines update
  • machines show method now includes last 10 events for the machine

Fixes

  • Minor doc fixes

v0.1.4

15 Nov 02:26
Compare
Choose a tag to compare

Release Notes for v0.1.4

New features

  • New method: machines availability

Fixes

  • Minor doc fixes

v0.1.3

09 Aug 15:05
Compare
Choose a tag to compare

Release Notes for v0.1.3

New features

  • New method: machines utilization

Fixes

  • Minor doc fixes
  • List method exact date searches now work
  • List method null value searches now work

v0.1.2

15 Jul 19:01
@dte dte
Compare
Choose a tag to compare
add release notes for v0.1.2

v0.1.0

27 Jun 14:38
@dte dte
Compare
Choose a tag to compare
doc refresh