Skip to content

Releases: SAP-archive/node-rfc

v2.0.2

21 Jul 20:37
Compare
Choose a tag to compare

Changes

  • CMake 3.18
  • CXX standard 17
  • Fix #151 wrapString fatal error (core dumped)
  • Fix #158 Fatal error: Error getting v8 handle scop

v2.0.1

20 Jul 10:49
Compare
Choose a tag to compare

Changes

  • CMakeLists.txt: --force-local removed: pr #154

v2.0.0

20 Jul 08:33
Compare
Choose a tag to compare

Changes

  • Connection Pool ported to C++
  • Error handling improvements: rfmPath
  • New documentation content and format ported from reStructuredText to markdown
  • environment object
  • node 6 and 8 support expired
  • Connection attribute PartnerIPv6 added
  • SAP NWRFC SDK post-installation fix for macOS removed
  • Cmake version 3.17
  • N-API version 6
  • N-API version from package.json used in CMakeLists.txt, instead of separately (double) maintained one
  • tslint replaced by eslint

Breaking changes

  1. Managed clients' can't open and close own connections any more. Instead of open() and close(),
    managed clients use pool acquire() and release() methods. Delegation of these tasks to Pool,
    ensures the connection handle stability during the Client instance lifecycle (less or not at all RFC_INVALID_HANDLE errors)
    and more intuitive error messages, like RFM call() over closed connection instead of generic RFC_INVALID_HANDLE error.

  2. After critical errors, the client connection handle is set to NULL, consequently setting the alive property to false.
    The alive property now exposes the connection handle != NULL condition, thus always in sync. The automatic re-open should
    assign the new connection handle to client, setting the alive to true: see Closing connections.

  3. Client reopen() method removed

  4. Client ping() method result returned as a second callback parameter (callback pattern), error is the first

  5. Client getters:

    • status and runningRFCCalls removed
    • isAlive replaced with alive
    • _connectionHandle replaced with connectionHandle
    • version replaced with more generic environment object, exposing:
      • os platform name, architecture, release
      • node, napi, modules etc. versions (process.versions)
      • SAPNWRFC_HOME and RFC_INI environment variables
  6. The ongoing RFC call is not any more protected from connection close() by direct client.
    The direct clients should not call the close() method before the RFM call completed and
    invoke() or call() callback invoked.

  7. Error handling improvements:

    • All error objects have now a name property, defining the error type
    • Error location path (rfm/parameter/field) attached to error objects, property rfmPath

v1.2.0

18 Apr 10:32
Compare
Choose a tag to compare

Changes

  • Connection re-open after critical server errors
  • Error code string representation added to error object
  • Pool improvements

v1.1.0

14 Apr 06:51
Compare
Choose a tag to compare

Changes

  • Safeguarding from closing the connection while RFC calls still running
  • Number of running RFC calls exposed as client instance attribute
  • Client logging
  • Installation with NODE_ENV=production, fix #122
  • Warnings when compiling for Windows IA32 platform, fix #131
  • Ensure Bluebird Promises used instead of native Typescript, fix #134
  • Pool reopen() fixed, returning now the Client instance, just like Pool open(), fix #135
  • Pool max option removed, fix #136
  • Unit tests refactoring

v1.0.6

31 Mar 14:13
Compare
Choose a tag to compare

Changes

  • Connection Info update for PL6 e55783f #128
  • Concurrent locking fix for ConnectionInfo() c5a443b #128
  • Concurrent locking fix for invoke() and ping() 9cebb9a #128
  • Security audit fix by dependencies update; fixes #129
  • rstrip removed, always true
  • Throughput monitoring: number of calls, bytes sent/received, application/total time; SAP NWRFC SDK >= 7.53 required
  • UTCLONG ABAP datatype support; SAP NWRFC SDK >= 7.54 required

v1.0.5

09 Mar 11:33
Compare
Choose a tag to compare

Changes

  • Windows 32 bit build enabled in build script, fix #124
  • .vscode added to .gitignore
  • README
  • NVM dependency removed from Make script
  • Documentation, fix #120

v1.0.3

14 Nov 09:46
Compare
Choose a tag to compare

Changes

  • Windows build options and warnings clean-up
  • VERSION file removed

v1.0.2

11 Nov 15:00
Compare
Choose a tag to compare

Changes

  • Ping confirms the connection handle validity
  • Unit tests for ABAP errors
  • CI scripts: SAP NWRFC SDK version, NodeJS version manager
  • INT1 and INT2 overflow check
  • Input parameter array check added, fix #100
  • Connection options support in Connection Pool, fix #104

v1.0.1

09 Oct 08:44
Compare
Choose a tag to compare

Features

  • Min NodeJS version fixed in package.json, per NAPI version matrix
  • README: N-API badge added
  • ABAP decimal floating point data types added: RFCTYPE_DECF16 and RFCTYPE_DECF34