Skip to content

Releases: OpenFn/core

More debugging info

29 Jan 11:02
Compare
Choose a tag to compare

Added core version to debugging info at the start of execution:

╭──────────────────────────────────────────────╮
│ ◲ ◱  @openfn/core#v1.3.11 (Node.js v12.19.1) │
│ ◳ ◰           ● @openfn/language-http#v3.1.0 │
╰──────────────────────────────────────────────╯

Safely stringify outputs

29 Jan 09:34
c4141ba
Compare
Choose a tag to compare

Here we're addressing a bug with circular references in returned JS objects, mostly from axios, which is now used extensively in language-common and language-http. The gist is that before, we tried to stringy the entire output of an execution when using -o some-output-file.json, but a circular reference would throw.

We've decided to use https://www.npmjs.com/package/fast-safe-stringify rather than https://www.npmjs.com/package/json-stringify-safe because of the benchmarks. It's got 5M weekly downloads, so we're happy with the community support/stability :-)

Expressions can be run programmatically

28 Jan 12:52
Compare
Choose a tag to compare
v1.3.9

bump version, change repo url

Read version from pacakge, falls back to path

21 Jun 14:19
Compare
Choose a tag to compare

Attempt to read the adaptor version from the adaptor's package.json (this will work on OpenFn.org and in most cases using the cli, if /path/to/some/language-package.Adaptor is used) but if it fails, print the path to the lp, as that provides the most accurate indication of what lp is being used.

Shorter debug message

19 Jun 22:31
Compare
Choose a tag to compare
v1.3.7

bump version

Print debug info before job execution

19 Jun 14:15
Compare
Choose a tag to compare

Logs now include Node version and langauge-package (with version directory, if applicable)
image

better error messages

16 Jun 14:48
Compare
Choose a tag to compare

Better human-readable errors when compilation fails because a named helper function is not available for a particular language package.

dropping node 6 support

16 Jun 13:57
Compare
Choose a tag to compare
v1.3.4

drop support for node6

Standard security enhancements w/ VM2

12 Jun 15:24
Compare
Choose a tag to compare

No fundamental changes.

Node 12, ES6 and beyond

28 May 16:23
Compare
Choose a tag to compare

We've introduced support for ES6 syntax, but by using "make" you can still build adaptors that run on older versions of Node.