Releases: elastic/synthetics
Releases · elastic/synthetics
v1.12.0
v1.11.1
v1.11.0
v1.10.0
v1.9.1
v1.9.0
v1.8.0
v1.7.2
v1.7.1
v1.7.0
1.7.0 (2024-01-31)
Features
- Added support for
.only
and.skip
in Journey and Step functions which would allow only the particular journey and step to run and get skipped when running them locally #880
journey.only('test journey', ({}) => {
step.skip('step 1', async () => {
console.log('step 1');
});
step.only('step 2', async () => {
console.log('step 2');
});
});
- Additional, there is a way to do soft assertion on the Step level by marking the step with
.soft
. Failure of soft step will not skip rest of the steps in the journey.
journey('test journey', ({}) => {
step.soft('step 1', async () => {
// errored step
expect('').toEqual('hello');
});
// step 2 will still run
step('step 2', async () => {
// errored step
expect('').toEqual('hello');
});
});
- Double monitor bundle size to 1500Kb when using
npx @elastic/synthetics push
command which is then used for bundling all project monitors, previously this was set to800Kb
#882 - Enable minification of whitespaces when bundling the project monitors. This provided huge savings compared to enabling other options and also simpler when reconstructing the source #886