- 945437c: When installing adaptors, only install versions that have been released for 24hours
- 5981876: Security updates
- Updated dependencies [5981876]
- @openfn/logger@1.1.2
- 0ed97be: Improve error reporting to resolve the dreaded "fn is not a function" error that occurs when writing
console.log()at the top of job code
- dd88099: Fix an issue which could occur when sourcemaps cannot be found
- f2856c5: Fix an issue where ExecutionPlan.start is not used properly.
- 61d9418: Fix an issue where the runtime can crash when processing large dataclips because it needlessly destroys the empty stream
- b262d10: Support a start key on a workflow (different from a start option)
- 147a431: Tweak error messaging when state objects exceed size limit
-
f089f8d: Support special condition strings
never,always,on_job_successandon_job_fail.These used to be mapped from Lightning workflows by the Worker, but by supporting them in the runtime directly we get much better compatibility across platforms
-
064933d: Measure the size of state objects at the end of each step, and throw if they exceed a limit
In the Worker, this limit is set to 25% of the available runtime memory.
- a1bfdc1: Fix an issue where an error can be thrown while trying to source map errors
- Updated dependencies [c70369b]
- @openfn/logger@1.1.1
- Updated dependencies [2cc28a6]
- @openfn/logger@1.1.0
- fe06f44: Expose Buffer to runtime context. Quite safe in node 20+
- 3cd3cd5: Don't log edge condition code
- 84bebf4: Fix an issue where certain error messages are badly processed the runtime & worker. This resulted in cryptic errors like "src.js is not in the SourceMap".
- Update dependencies
- Updated dependencies
- @openfn/logger@1.0.6
- f04acef: Fix an issue reading package.json on autoinstalled adaptors
- 9d4ece3: Add support for global functions in execution plan
- Updated dependencies [0a176aa]
- @openfn/logger@1.0.5
- 2667710: Fix an issue where step completion time is logged with double units (ie,
2msms)
- beb4617: Ensure that AdaptorError details are safely serialised
- 70e3d7a: Fix error reporting when loading adaptors from the monorepo
- 4ddd4d6: Update errors to include a source-mapped position and more dignostic information
- aaa7e7b: General improvements to how errors are reported. Includes a stack trace, removal of irrelevant or redundant information, and cleaner formatting
- Updated dependencies [6e87156]
- @openfn/logger@1.0.4
-
Ensure support for node 18,20 and 22.
This update ensures compatibility with node 18 LTS, 20 LTS, and 22.12.
Most of the changes are in the build and test suites and have only minor impact on production code. No issues are anticipated as as result of this change.
Prior releases may fail on node version >=20.
Support for node 18 will be removed in late 2025.
-
8904af2: Fix an issue in the linker where imported modules may not be properly awaited
-
Updated dependencies
- @openfn/logger@1.0.3
- 1cbbba0: warn when an expression doesn't return state
- f6bd593: Move cleaning of state from expression to step, resulting in clearer logs.
- eeb660d: Fix an issue from previous patch where initial state.configuration could be lost at the start of a step
- 3463ff9: Support global credential object on a workflow
- c3df1e5: Partially update vulnerable versions of braces - live-server is a holdout as there is not a newer version available.
- Updated dependencies [c3df1e5]
- @openfn/logger@1.0.2
- 40fd45b: Allow the linker to directly import some whitelisted packages
- afcd041: Refactor of error objects for better serialization in worker and CLI
- e8fc192: autoinstall returns mapped specifiers to the caller
- e8fc192: Add support for @next and @latest tags
- Enable a step to have multiple inputs
- Don't default the run timeout
- cecdb60: Support an end step option
- Updated dependencies [2fde0ad]
- @openfn/logger@1.0.1
- 4f5f1dd: Support workflows with different versions of the same adaptor
-
86dd668: The 1.0 release of the runtime updates the signatures and language of the runtime to match Lightning. It also includes some housekeeping.
- Update main run() signature
- Remove strict mode options
- Integrate with lexicon
- Updated dependencies [649ca43]
- Updated dependencies [9f6c35d]
- Updated dependencies [86dd668]
- @openfn/logger@1.0.0
- Updated dependencies [649ca43]
- @openfn/logger@0.0.20
- 0f22694: Accept the linker's whitelist as strings
- ignore timeout if it has a value of 0 or false
- 6ca87a1: Remove deleteConfiguration option
- 56b6e44: Add statePropsToRemove option
- f228fd5: Add edge evaluation logging to runtime
- 02ab459: Warn if a non-leaf job does not return state
- Report on memory usage at the end of job
- 40ffc22: Allow globals to be passed into the execution environment
- 857c42b: Fix log output for job duration
- 7f352d2: Broadcast next steps with job-complete and error events
- 419f276: Clean state after error
- 0e66f5a: Rename JobError to JobError
- c448a23: Fix an issue where expression result state is not serialized before being broadcast, causing blowups
- a540888: Allow to crash on error Start fine-tuning error handling
- Removed log line
- Updated dependencies [ca701e8]
- @openfn/logger@0.0.19
- Add support to lazy load intial state and config
- d2360d4: Support a cacheKey to bust cached modules in long-running processes
- Add notify api
- 195f098: Trigger callbacks on job start, complete and init
- add deleteConfiguration option
- Fix intial state handling
- Updated dependencies [7e4529e]
- @openfn/logger@0.0.18
- 0ff4f98: Ensure data can be an array Fix an issue where string next links in a workflow could use the wrong prior state
- 81d83a9: better handling of non-Error errors
- Updated dependencies
- @openfn/logger@0.0.17
- 2a0aaa9: Bump semver
- Updated dependencies [2a0aaa9]
- @openfn/logger@0.0.16
- faf1852: Downgrade tsup
- Updated dependencies [faf1852]
- @openfn/logger@0.0.15
- 614c86b: Fixed an issue in error reporting
- 4c875b3: minor version bumps
- Updated dependencies [749afe8]
- Updated dependencies [4c875b3]
- @openfn/logger@0.0.14
- Workflow jobs take state, rather than data (eg job.data -> job.state) Fix falsy edges (next: { job2: false })
- 2024ce8: Ensure jobs only receive direct upstream state
- 8d5c405: Support strict mode
- 0c5ee29: Throw when a workflow is invalid
- 26024a7: Better error handling and reporting
- 8d5c405: Better state handling in workflows
- 79f6d7c: Log job start and end (with duration) Demote operation timings down to info and debug
- Updated dependencies [6f51ce2]
- @openfn/logger@0.0.13
- 91a3311: checked-in package-lock changes for language-common
- 1e6db3b: Ensure state returned from a job is serializable
- 320c468: Export type definitions
- c341ff0: Allow execution plans as input
- Updated dependencies [8dfc5bf]
- @openfn/logger@0.0.12
- 60f695f: better path resolution
- Updated dependencies [d67f45a]
- @openfn/logger@0.0.11
- Updated dependencies [38ad73e]
- @openfn/logger@0.0.10
- e43d3ba: serialize job errors
- Updated dependencies [e43d3ba]
- @openfn/logger@0.0.9
- 19e9f31: Improve logging in linker
- Fix imports for windows
- 986bf07: Allow modules to be imported from directories (lightning)
- 5c6fde4: Increase default timeout
- 47ac1a9: Add timeout
- 1695874: Fix module loading in node 19
- Updated dependencies [e95c133]
- @openfn/logger@0.0.8
- Updated dependencies
- @openfn/logger@0.0.7
- ba9bf80: Bug fixes
- Updated dependencies [2d07777]
- @openfn/logger@0.0.6
- ef9406b: Support auto-install of modules
- 73d8199: Fix default repo location typo
- Updated dependencies
- @openfn/logger@0.0.5
- 6d1d199: Support mutability in the runtime
- 28168a8: Updated build process
- Updated dependencies [28168a8]
- @openfn/logger@0.0.4
- 92e5427: bump everything, npm package.json issues
- Updated dependencies [92e5427]
- @openfn/logger@0.0.3
- fix broken package.json
- fix broken package.json
- f79bf9a: Added logger service to CLI, compiler and runtime
- Updated dependencies [f79bf9a]
- @openfn/logger@0.0.2
- 5623913: Allow execute() function to be overriden by adaptors and jobs
- 8148cd5: Updated builds
- b5ce654: Remove runtime dependency on @openfn/language-common
- 3f6dc98: Initial release of new runtime, compiler and cli