1.0.2 (2023-10-11)
1.0.1 (2022-10-31)
- fix: Missing braces in README Example (#286)
- fix: Typo in ssh transport error message (#287)
- test: Remove redundant ProgramCall test (#284)
- test: Constrain eslint rules
- test: Fix eslint errors issues in eslintrc
- test: Configure tests to use Mocha env in eslintrc
- test: Adjust AirBnB rules for Mocha tests
- test: Use eslint-plugin-mocha for tests
- test: Remove arrow functions from mocha functions (#283)
- ci: Add eslint action (#244)
- docs: Update setup transport interface links (#292)
- fix: Emit deprecation warning for iPgm.addReturn (#295)
- build(deps-dev): bump standard-version from 7.1.0 to 8.0.1 (#299)
- build(deps): bump lodash from 4.17.15 to 4.17.19 (#302)
- chore: Unmark as stale if issue has been updated (#311)
- fix: Make exempt labels plural for stale action (#312)
- test: Check the XMLSERVICE version for QSH support (#303)
- fix: Update standard-version to resolve CVE-2020-8116 (#310)
- refactor: Handle optional dependencies better (#306)
- test: Fix mocha/no-identical-title eslint issue (#296)
- test: Fix mocha/no-hooks-for-single-case eslint issue (#297)
- fix: eslint GH action failure (#336)
- docs: Add comma to separate password and url key
- build(deps): Update deps to the latest version (#347)
- docs: Add omit as valid value for io (#346)
- docs: Reference alternate XML parser (#345)
- build: readthedocs build error (#349)
- build(deps): Add fast-xml-parser (#351)
- build(deps): Upgrade ssh2 to latest version (#355)
- fix: Better optional deps handling (#353)
- ci: Add npm publish action (#358)
- docs: Update cosine example to pass by value (#359)
1.0.0 (2020-05-08)
- Remove iSql.connect() and iSql.setOptions()
- Remove iConn.setTimeout()
- Allow DS for service program return value (#217) (30e9f8a)
- Specify supported Node versions (#264) (63ec53c)
- use standard-version #85 (45f66a7)
-
Add missing '?' in xml prolog (bff8649)
-
data type issue in Toolkit.getSysStatus and Toolkit.getSysStatusExt (#190) (15397c2)
-
Define errno structure correctly (#192) (b1561f7), closes #191
-
Deprecated functional tests rest transport options (#255) (903dd3f)
-
Faulty error thrown by ProgramCall.addParam (#124) (75d081c)
-
Formatting errors in bug report template (24a9262)
-
iConn unit test failure (52f0330)
-
Move iConn compatibility code to iConn itself (#218) (73d798d)
-
Test hooks timeout when using rest transport (#253) (60fdd5b)
-
Use encodeURIComponent for URL params (2c98b22), closes #72 #71
-
Remove iConn.setTimeout() (c978c41)
-
Remove iSql.connect() and iSql.setOptions() (066e8ba)
1.0.0-alpha.1 (2019-07-10)
1.0.0-alpha.0 (2019-06-27)
-
Removed 'sync' logic from all the functions. Have all internal functions using ProgramCaller instead of xt.iPgm. Fixed eslint-disable sections, but there are a few that are still needed (bitwise operations) (#32) (7fdf0fd)
-
Remove setTimeout() method see issue (#32) We no longer support sync mode which had an option to set timeout (ee3d048)
-
Rework Connection.js see issues (#25) (#2) (4dcb183)
Allow Connection.js Constructor to accept a single object see #25 Allow Connection.run() function to return error as first param of callback see #2
-
Add ssh transport (5f1c803)
-
Add odbc transport (7956a15)
-
Patch SqlCall.js (aa9591c)
-
deps: update with ssh2 and missing depd dependency (45c1c57)
-
deps: Update odbc dependency (04bac84)
-
Rework idb and rest transports (#17) (6f2ddcd)
Update transports interface to accept config, xmlInput, done idb transport Use iPLUGR512k variant instead of iPLUG512k to iterate over a result set Ensure conn and stmt are always cleaned up properly - even during error states the stmt and conn objects are now cleaned - add function clean() to avoid duplication - this commit should help resolve issue #17 rest transport Validate required: database, username, password Enforce output buffer to be set to the max - before default was only set now output buffer is always set to the max Small fixes add mising semicolons, remove some comments, etc
-
Added unit and functional tests (163939c)
-
Fixed some issues found during unit testing (1f5421f)
-
Move existing unit/functional tests to deprecated folder (c7a875e)
-
Update unit/functional tests (c6c470d)
-
Added ToolkitFunctional.js (8aa1f56)
-
Rename unit/functional tests (b8733bc)
-
Bump default timeout for tests from 2s -> 3s (6ef2cb3)
-
Update configuration options in functional tests (4ba0b8f)
-
Add ssh to available transports also add verbose configuration (15ec42d)
-
Add config for DSN (8957bb4)
-
Rename command.js -> CommandCall.js (7c12d91)
-
Add CommandCall Class (8884e7a)
- class to maintain command types (sh, cl, qsh) see issue #24 - merge (sh, cl, qsh) code into toXml - add in some JSDoc annotations
-
Update Toolkit.js (36492d2)
Add in checks for when returnError is false in Toolkit.js. This is case occurs when a call from deprecated class goes through Toolkit.js. Instead of worrying about setting the flag on and off create a new Connection object when same config when returnError is false within the constructor. Then have proper checks for when to report the error.
-
Update Toolkit methods - Now all toolkit methods will have error first callbacks (a632dbf)
-
Move transports to lib/transports/ directory(8077fb7)
-
Moving ALL deprecated functions into Deprecated.js They import the new classes and use them. Can be easily removed later. Also removed CommandGenerator class and just have 3 const functions exported (d218b1d)
-
Linted the tests, and made them use assert (before they only failed if the last object tested were not successful, and tracked success with a variable). Renamed the sql class to SqlCall. General cleanup (a73d031)
-
Cut down and consolidated files. I think initial modularization was good, now building back up a little. icmd, iqsh, and ish are all mostly the same thing, and I made them live in the CommandGenerator class. Others, like iconn and isql, are definitely their own classes and rightly split off. I also put the deprecated classes into the file of the class that is replacing them to simplify the file structure. (#24) (5e7b983)
-
Creating 'Toolkit' class to hold all of the functions and stores the conn like the old classes. Keeping old classes but redirecting to toolkit and adding deprecation messages (todo) (f8fc468)
-
Consolidating 'classes' that serve no purpose into one file, now all functions that do the same type of work are together (69d2825)
-
Getting rid of __getClass in itoolkit.js and places where it was imported (f9812b7)
-
Add contribution guidelines (89be160)
-
Update Readme for v1.0.0 (f51438e)
-
Update and Add SSH doc (f7b8fd8)
-
Add doc for odbc transport (c0e80ff)
-
Update install docs for alpha version (8e81232)
-
Fix lingering files with CRLF line endings CRLF -> LF (b21636c)
-
Fix line endings CRLF -> LF (0541748)
-
Removing some eslint-disable comments now that ProgramCall fits with required naming convention (be5247c)
-
Lint xmlToJson function (17ef86f)
-
Linted the /lib directory using airbnb-base linting configuration (#21) (5388b55)