Skip to content

Latest commit

 

History

History
84 lines (50 loc) · 2.96 KB

changelog.md

File metadata and controls

84 lines (50 loc) · 2.96 KB

Changes

next

  • Cleanup store.logon - too complex and confusing.
  • Add support for auto refresh of token(if valid for that flow)
  • For cas output add a tableByName object to get to table output in a consistent manner for all cas actions that can return tables.

1.5.1

  • Upgraded axios to 0.19.0 for the denial-of-service fix

1.5.0

  • Fixed issues for reconnecting with a previously created CAS session. (see examples/casSessions.js for usage)
  • Pass 1 at cleaning up serverCalls/index.js
  • Added support for passing a previously created valid token to store.logon
   let payload = {
        authType : 'server',
        host     : 'your viya server',
        token    : 'your authorization token',
        tokenType: 'bearer'
    };
    await store.logon(payload);

1.1.0

  • Support passing pem for https calls as part of the configuration object to initStore. Make sure SAS_SSL_ENABLED is set to YES in the env file. (Tip: Use openssl x509 command to create pem from ssl certificate).
      let store = restaf.initStore({pem: 'your pem'});
  • Finished support for store.logoff(). Be aware that the store object is not useful after a logoff. If necessary recreate the store with another initStore call.

1.0.0

  • Moving restaf to version 1 - no point on postponing it.

0.16.3

  • recommit to remove security alert on lodash - CVE-2018-16487 More information

0.16.0

  • Added optional parameter object to initStore for setting global configuration information.

    1. casProxy: true| false ... default is false. if true the casProxy API is used to call cas actions. If false(default) {casservername}-http service is used. Use casProxy: true only when embedding Viya apps in Visual Analytics. In a single cas server scenario casservername is cas-shared-default

0.15.0

  • next latest

0.14.1

  • Remove extraneous console logs.

0.14.0

  • There seems to be an issue in using casProxy - duplicate headers are sent to the server and it is unhappy with it. This breaks all the apps. Going back to using cas-*-http until the issue is resolved.

0.10.0 , 0.11.0 and 0.12.0 and 0.13.0

  • Added a convenience method runAction to store.
     let r = store.runAction(session, payload);

This method will return error if the cas action returns non-zero statusCode or returns severity of 'Error'.

  • Added support for xsrf tokens used by SAS Viya - This is to allow restaf-based apps to run inside SASVisualAnalytics's web component. User need not take any action for this feature to work.

    1. switched back from cas--http to casProxy -- have not seen any negative impacts. Had to make the change since there is no obvious way to track csrf tokens for the cas--http service. Needs further investigation since I really would prefer to use that service.
  • Updated dependencies to latest. The big changes were Babel and Webpack.

0.9.0

  • Remove babel-polyfill as an entry point in webpack. Causing problems with serverless functions.