Node Rfc Versions Save

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js

v3.3.1

5 months ago

bug fixes

  • build error fix for cflinuxfs4, (#307), 228b11b
  • (addon) cancelClient() interface and unit tests fixed 5fbc121

new features

  • Cloud enablement preparation 9ccc30b, as described in ABAP RFC connectivity from BTP Node.JS buildpack and Kyma
  • RfcTableOfVariables and RfcTableOfStructures types added e8bb8cd
  • (server) bgRFC handlers server options and parameters validation 592d4ba
  • (server) bgRFC authorization handler error handling e848df1
  • (server) async server handlers 0b471bd
  • (server) logging 9d72919
  • (server) get function description() method added 9a8a303

build

  • node 16 support dropped, 8ef6af0
  • (deps-dev): bump @babel/traverse from 7.22.8 to 7.23.2 (#304), f9c1382
  • (cpp linter): clang-tidy linter configured, zero warnings f061f25

documentation

  • Shell scripts for sap nwrfc sdk paths fix on MacOS, used in SAP/PyRFC and SAP/node-rfc, replaced with single script in SAP/fundamental-tools repository: docker/sap_nwrfcsdk_utils
  • installation and troubleshooting documentation update d513c37
  • (reuse) copyright year update, code of conduct session added 7116efe 7991049
  • (addon): setLogFilePath() method documented 9f10094

v3.3.0

8 months ago

new features

what's changed

new contributors

v3.2.0

9 months ago

improvements

  • Client locking performance improvement

v3.1.0

10 months ago

new features

  • deno platform support

v3.0.0

10 months ago

breaking changes

  • Build toolchain change, for installation improvements

    • The build process is now based on node-gyp and prebuildify, instead of CMake and prebuild.
    • CMake installation is no longer required, Python is used instead
  • Installation improvements

    • Pre-built binaries for supported platforms are now bundled in node-rfc package and downloaded from npm, together with node-rfc, during npm install.
    • No internet connection to GitHub is anymore required, to fetch binaries from node-rfc GitHub release assets.
    • Despite a bit increased node-rfc package footprint, the installation performance is improved because only connection to NPM is needed and all files downloaded at once
  • Node.js supported engines: ^16 || ^18 || >= 20

  • MacOS min version set to 10.15

  • CXX standard set to 17

new features

  • Electron.js platform supported by pre-built binaries, included in node-rfc npm package

improvements

  • random-bytes module replaced with crypto
  • linter and c++ compiler warnings fixed

v2.7.1

1 year ago

new features

  • Darwin on ARM platform support, using SAP NW RFC SDK 7.50.11
  • New API methods
    • Language codes conversion, iso to sap and vice versa: addon.languageIsoToSap() and addon.languageSapToIso()
    • sapnwrfc.ini file reload: addon.reloadIniFile()

breaking changes

  • a134a0c refactor(addon): n-api version 8, node engine >= 14.17.0

documentation

  • 1e699a7 docs: connection parameters configuration, sapnwrfc.ini documentation

v2.7.0

1 year ago

bug-fixes

  • cf7e16c fix: the npm install node-rfc fails with npm > 8.13.2, fixes #261
  • 2c7529c build(cmakelists.txt): n-api version fixed in build script

breaking change

  • 8590d53 feat(package.json):nodejs 12 support dropped, n-api version 4 bumped to 5

docs

  • 5a03fef docs(readme): n-api matrix url fixed

v2.6.1

2 years ago

bug-fixes

  • e763961 production installation fix, #254

v2.6.0

2 years ago

sap nwrfc sdk

breaking changes

  • cancel() method removed at add-on level, remains at client and pool level

features

  • 3541f65 node 10 support dropped
  • 7fd70e1 explicit memory free by napi finalizers for sap raw data types, per pr #246 proposal
  • c28fcf9 support for building versions with suffix, like: 1.2.3-rc0, 1.2.3-alpha.1
  • 820efd6 refactor(client): connection cancel trace messages added
  • d06a44c refactor(client): default ts configuration for node
  • 33db628 Issue templates updated

bug-fixes

  • f4e18c9 error message typo fixed
  • 2f1777b cancel by c++ thread instead of nodejs thread, fix #234
  • 1060375 check for empty or invalid RFM parameter name, fix #242
  • 8894fde --tag-prefix removed from install script, fix #248
  • 3a42405 pr #244 merged, implementing partial typing of RfcConnectionParameters
  • 886aea9 Use any unarchiver available, not only tar, fix #227

documentation

  • fac9378 docs(readme): formatting fixed
  • 76fb95d docs(readme): supported platforms docu updated
  • 33259e0 docs(readme): stealth mode removed from MacOS prerequisites, direct client example added, fix #251

v2.5.1

2 years ago

bug-fixes

  • 10fb6ae missing dest connection parameter name added to connection parameters type