Skip to content

Releases: eWert-Online/OSnap

v1.6.0

18 Sep 15:19
48f943a
Compare
Choose a tag to compare

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

23 Jan 09:33
Compare
Choose a tag to compare

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

21 Jan 17:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.5.2

v1.5.1

08 Jan 11:46
cff5155
Compare
Choose a tag to compare

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

03 Jan 12:12
Compare
Choose a tag to compare

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

25 Mar 11:34
Compare
Choose a tag to compare
v1.4.1 Pre-release
Pre-release

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

23 Mar 14:44
Compare
Choose a tag to compare
v1.4.0 Pre-release
Pre-release

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

15 Oct 08:07
Compare
Choose a tag to compare

Features:

  • Add ability to define tests and global config in .yaml format (#8)

WIP:

v1.2.0

20 Jul 10:45
Compare
Choose a tag to compare

Features:

  • Add a nightly build (installable with npm 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 a click or type 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 via osnap download-chromium)

  • Add -vv flag to output verbose logs for debugging

  • Add centos and ubuntu docker containers

  • Update chromium to revision 884014

v1.1.2

05 Jul 16:41
Compare
Choose a tag to compare

Features:

  • Docker: Publish a "latest" tag

Bugfixes:

  • Fix generation of diff image, if the base-image and new image had different heights
  • Docker: Always publish to the "next" tag