Release Notes
3.0.1
Changes to Bootstrap:
- adds
DELETE
file permission - changes
hostallowitem
tohostAllowItem
- changes
hostAllowItem.patternUri
tohostAllowItem.uriPattern
- changes OTEL metrics to be disabled
- adds
Changes to Workflows:
- adds
context.counter(name, increment)
to create/increment atomic counters - adds
context.setCounter(name, value)
to create/set atomic coutners - changes
context.files(id).list(path)
response to addmodified
andbytes
properties - adds
context.files(id).copy(srcPath, dstFileId, dstPath, mkdir, overwrite)
to copy a file - adds
context.move(id).copy(srcPath, dstFileId, dstPath, mkdir, overwrite)
to move a file - adds
context.queue().returnItem(item)
to return an item to the head of the queue - adds
context.queue().returnArray(array)
to return an array of items to the head of the queue - changes step trigger to allow multiple triggers
- adds
Changes to environment variables:
- changes
RESOURCE_DIR
to accept multiple directories separated by;
- changes
3.0.0
- Changes to Bootstrap:
- adds
allowExternalHostAccess
- (Blog)
- adds
allowFileAccess
- (Blog)
- (Another blog)
- adds
allowHttpServerAccess
- (Blog)
- (Another blog)
- depreciates
hosts
- migrate toallowExternalHostAccess
host
- addsid
property- (Blog)
hostallowitem
changes from an array to an object- (Blog)
- changes workflow to optional
- adds
persistenceRoot
property - changes Error Handling
enableLocalLogging
defaults totrue
- changes Output
enabled
defaults tofalse
- adds Output
persistenceRoot
- changes Output
metricOutput
to be optional - changes Output
errorHandling
to be optional
- adds
- Changes to Workflows:
- step
type
is no longer required - defaults toscripted
- adds step type
httpFile
- (Blog)
- adds step property
singleThreaded
- (Blog)
- adds step trigger
fileWatcher
- (Blog)
- adds step trigger
http
- (Blog)
- (Another blog)
- adds
getBody()
andsetBody(...)
to the Javascript context - adds
end()
to the Javascript context - adds
files(...)
to the Javascript context- (Blog)
- adds
queue()
to the Javascript context- (Blog)
- deprication removes docs for
script
andresource
onJavascriptProcessor
- migrate toprocessors
- adds
getBody()
andsetBody(...)
- step
- Changes to Tests:
- Java is no longer required - the test runner is an executable
- adds
concurrency
property to test runner config - adds
makeTheseCalls
property to test config
2.3.1
- Fixes bug where enabling OTEL prevented agent from starting
- Removes remote debugging port
- Fixes the effectively hard coded Opscotch Runtime Id (ori)
- Adds http timeout (
Step.httpTimeout
andBootstrap.remoteConfiguration
) setting - Fixes long standing bug with sending metrics from buffer after long connectivity drop
2.3.0
- Vulnerability patching
- Adds beta agent metrics
- Adds
bootstrap.enabled
to disable individual configurations - Metric and log sending is delayed until configurations is loaded
- Metric and log sending honors the
enabled : false
property - Step timers are delayed until the entire configuration is loaded (Step not found error)
- All timers (workflow and internal) are cleaned up when configurations reload (fixes potential thread starvation and memory leak)
- Agent is allowed to run unpackaged json configuration in dev mode for 1 minute - faster dev workflow
- Better exception handling when processing HTTP responses (fetching configurations, sending metrics and logs, and api calls) fails (Exception in Successful http handler error)
- Fixes bug where
data
properties are not rolled up intohttpStatusHandling
processors - Workflow reload now waits for currently executing workflow runs to end, uses new
bootstrap.reloadTimeout
property - Fixes missing diagnostic logs in prod mode.
- Many exception handling and logging improvements (including BS2, CP4, CR3, HP4, HW2, OHC1, OHC2, OMR1)
- Test harness works when offline
- Adds
secondsToWaitForCompletion
to test configuration for long running tests (defaults to 10) - Test harness renamed to
opscotch-testrunner-<version>
- Adds packager compare-workflow
2.2.0, 2.2.2
- Vulnerability patching
- Adds agent runtime instance id to metric metatdata
- Adds agent version to metric metatdata
- Adds beta version of opentelemetry of workflow runs
- Fixes a bug where HTTP DELETE is not supported
- Adds http status code to debug mode
- Prevents authentication http response bodies from appearing in logs
- Adds bootstrap
persistenceRoot
property - Fixes bug when IPv6 is unavailable
- Improved exception handling around configuration loading