Skip to content

Releases: modelon-community/impact-client-js

v3.2.1

27 Sep 14:23
Compare
Choose a tag to compare

3.2.1 (2023-09-27)

Bug Fixes

  • declare impactApiKey optional in fromImpactApiKey (ef167fb)

v3.2.0

14 Sep 09:22
Compare
Choose a tag to compare

Features

This version introduces ways to get model executable information for simulations.

  • New method in Workspace
    • getModelExecutables()
  • New method in Case
    • getModelExecutable()
  • New class ModelExecutable
    • createExperimentDefinition()
    • getModelDescription()
    • getModelExecutableInfo()
  • New class ModelDescription
    • getDefaultExperiment()
    • getModelName()
    • getUnits()
    • getVariables()
  • New class DefaultExperiment
    • startTime
    • stepSize
    • stopTime
    • tolerance

Usage

See example in modelDescription.mjs.

v3.1.2

31 Aug 08:06
Compare
Choose a tag to compare

3.1.2 (2023-08-31)

Bug Fixes

v3.1.1

23 Aug 07:10
Compare
Choose a tag to compare

3.1.1 (2023-08-23)

Bug Fixes

  • do not expose internal API class (2d49fdf)

v3.1.0

15 Aug 08:57
Compare
Choose a tag to compare

3.1.0 (2023-08-15)

Features

  • add Range operator and multi-execution example (e2fa4da)

v3.0.0

11 Aug 12:05
Compare
Choose a tag to compare

Summary

impact-client-js 3.0.0 is a complete rewrite of the impact-client-js JavaScript client for interacting with Modelon Impact. There is no upgrade guide because the API has changed completely to start off on a clean slate.

Features

  • Typescript API including type definitions generated from the Modelon Impact REST API.
  • Node.js support.
  • Unit tests and integration tests.
  • Support for access via API-key usage from outside the Modelon Impact platform.
  • Example scripts, see /examples.
  • Fallback API to unlock the complete REST API and only use impact-client-js for authentication, via Client.get(), Client.post(), Client.put() and Client.delete().

Usage

To get started, see the installation and quick-start instructions in README.md.

v2.0.0-alpha.49

11 Aug 09:39
Compare
Choose a tag to compare
v2.0.0-alpha.49 Pre-release
Pre-release

2.0.0-alpha.49 (2023-08-11)

Build System

  • trigger a new major version for new API (6c21cc4)

BREAKING CHANGES

  • First release of new API implementation

v2.0.0-alpha.48

14 Jul 12:39
Compare
Choose a tag to compare
v2.0.0-alpha.48 Pre-release
Pre-release

2.0.0-alpha.48 (2023-07-14)

Bug Fixes

  • allow empty string jupyterHubUserPath (8c20bc5)

v2.0.0-alpha.47

13 Jul 13:57
Compare
Choose a tag to compare
v2.0.0-alpha.47 Pre-release
Pre-release

2.0.0-alpha.47 (2023-07-13)

Bug Fixes

  • expose CustomFunctionOptions type (ce456ea)

v2.0.0-alpha.46

13 Jul 13:33
Compare
Choose a tag to compare
v2.0.0-alpha.46 Pre-release
Pre-release

2.0.0-alpha.46 (2023-07-13)

Features

  • expose ExperimentDefinition.getCaseDefinitions (b6edc48)