Releases: eWert-Online/OSnap
v1.6.1
What's Changed
- fix: fix segmentation fault thrown on images with different layout (#44)
- fix: do not generate diff image on retries
Full Changelog: v1.6.0...v1.6.1
v1.6.0
What's Changed
- fix: fix regression where the cleanup command did not find anything to cleanup (#42)
- feat: automatically download chromium if not present (#40)
- feat: add progress counter (#42)
- feat: automatically determine best fit for parallelism based on number of cores available (#42)
- feat: retry failed tests a configured amount of times (default: 1) (#43)
- docs: add documentation for using docker (#37)
Potentially Breaking:
- chore: update chromium to version 128 (#42)
Full Changelog: v1.5.3...v1.6.0
v1.5.3
What's Changed
- fix: layout diff for larger base images does not crash anymore by @eWert-Online
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
- chore: refactor code structure by @eWert-Online in #32
- chore: revive the diff image of layout changes by @eWert-Online in #34
Full Changelog: v1.5.1...v1.5.2
v1.5.1
What's Changed
- fix: allow relative path segments in test patterns by @eWert-Online in #30
- fix: allow global config files with a name other than "osnap.config.yaml" by @eWert-Online in #29
Full Changelog: v1.5.0...v1.5.1
v1.5.0
Features:
- Add cli option to override parallelism from config file.
You may now add -p VAL or --parallelism VAL to set a new parallelism for a specific test run. - Add functions, which can be used to define a set of actions once and use them in multiple test files. (#5)
- Add scroll action with which you can scroll either by a given amount of px or to a given selector.
- Add selectorAll to ignore regions, to ignore all elements found with this selector (not just the first one)
Bugfixes:
- Clear cookies before every test run
- Fix an issue with multiple ignore selectors sometimes causing a crash of OSnap
Other:
- Improve error messages
- Switch to libspng for io
- Switch to ml syntax
- Add support for ARM64 devices (Mac M1)
- Update chromium to revision 1056772 (108.0.5359.94)
Full Changelog: v1.3.0...v1.5.0
v1.4.1
Features:
- Add
selectorAll
to ignore regions, to ignore all elements found with this selector (not just the first one)
Bugfixes:
- Fix an issue with multiple ignore selectors sometimes causing a crash of OSnap
v1.4.0
Features:
-
Add cli option to override parallelism from config file.
You may now add-p VAL
or--parallelism VAL
to set a new parallelism for a specific test run. -
Add functions, which can be used to define a set of actions once and use them in multiple test files. (#5)
-
Add scroll action with which you can scroll either by a given amount of px or to a given selector.
Bugfixes:
- Clear cookies before every test run
Other:
-
Improve error messages
-
Add support for ARM64 devices (Mac M1)
-
Update chromium to revision 961656 (99.0.4844.74)
v1.3.0
Features:
- Add ability to define tests and global config in
.yaml
format (#8)
WIP:
- Add Documentation Website (https://ewert-online.github.io/OSnap/)
v1.2.0
Features:
-
Add a
nightly
build (installable withnpm i @space-labs/osnap@nightly
) which includes all commits on the main git branch.
This version is always the most up to date, but also the most unstable release. Use with care! -
Add size restrictions to actions and ignore regions.
You may now add an action or ignore region which only affects specific screen sizes. Additional infos can be found in the readme -
Format result time in hours, minutes and seconds instead of just seconds.
-
Wait for potential page load on
click
&type
actions.
If aclick
ortype
action results in a navigation of the page, OSnap will now automatically wait for the new page to be completely loaded, before proceeding with the next action.
Bugfixes:
-
Fix platform detection on windows for download-chromium
-
Fix parsing of config files on windows
-
Prevent the browser from resizing while taking the screenshot
Other:
-
Decrease size of npm package by ~30% (from 41.9 MB to 29.6 MB)
-
Move
download-chromium
command into the main binary (it can now be called viaosnap download-chromium
) -
Add
-vv
flag to output verbose logs for debugging -
Add centos and ubuntu docker containers
-
Update chromium to revision 884014