Skip to content

Releases: Autodesk-Forge/aps-sdk-node

New major version with breaking changes

26 Jun 21:10

Choose a tag to compare

All API clients except AuthenticationClient can now be initialized in a consistent way. Their constructors accept the following 3 arguments:

  • auth config object including either client_id and client_secret properties (for two-legged authentication), or a single token property (with an existing two-legged or three-legged access token)
  • optional string with Forge API host (default: https://developer.api.autodesk.com)
  • optional string with Forge availability region (US or EMEA, default: US)

Moving to TypeScript

22 Jun 12:01

Choose a tag to compare

Since the library is now used not only by vanilla Node.js projects but also in TypeScript projects (e.g., https://github.com/petrbroz/vscode-forge-tools), the existing codebase has been ported to TypeScript.

In previous versions of this library, providing authentication data to Forge client classes was optional (the clients would pull the credentials from env. variables instead), but starting with version 2 the authentication data is required. This breaking change is introduced so that in future this library can be used in environments where process is not available, e.g., bundled for browsers.

Basic model derivative APIs

10 Oct 08:29

Choose a tag to compare

A couple of new model derivative APIs have been introduced.

First minor number bump

10 Oct 06:32

Choose a tag to compare

The available APIs are now a bit more stabilized. Most importantly, the AuthenticationClient#authenticate method now returns an object with access_token and expires_in fields instead of just the token string. This is so that the expires_in field can be sent to the client and used by the Forge Viewer.

Testing release

05 Oct 09:58

Choose a tag to compare