Skip to content

Commit

Permalink
udate docs and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
narenranjit committed Mar 9, 2018
1 parent 336490b commit e14619e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<a name="2.5.0"></a>
#### Bug Fixes:
- `reuse-last-initialized` strategy used to select the last initialized run even if it was trashed; now it ignores trashed runs.

#### Improvements:
- `reuse-last-initialized`, `reuse-last-unsaved`, `reuse-across-sessions` only query for the last run, instead of querying for every run and picking the last one. Should have no practical impact, except it'll be faster if you have a lot of runs.

#### Features:
- For Vensim models you can now pass in `cinFiles` as an option while creating a run. e.g.

```
Expand Down
7 changes: 7 additions & 0 deletions src/managers/auth-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,13 @@ AuthManager.prototype = $.extend(AuthManager.prototype, {

/**
* Helper method to check if you're currently logged in
*
* **Example**
*
* var amILoggedIn = authMgr.isLoggedIn();
*
* **Parameters**
* @param {none} none
* @return {Boolean} true if you're logged in
*/
isLoggedIn: function () {
Expand Down
4 changes: 4 additions & 0 deletions src/service/run-api-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,10 @@ module.exports = function (config) {
/**
* Removes specified runid from memory
*
* **Example**
*
* rs.removeFromMemory('bb589677-d476-4971-a68e-0c58d191e450');
*
* See [details on run persistence](../../../run_persistence/#runs-in-memory)
* @param {String} [runID] id of run to remove
* @param {Object} [filters] (Optional) Object containing filters and operation modifiers. Use key `include` to list model variables that you want to include in the response. Other available fields include: `startrecord`, `endrecord`, `sort`, and `direction` (`asc` or `desc`).
Expand Down

0 comments on commit e14619e

Please sign in to comment.