Skip to content

Commit

Permalink
Release 4.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MediaMarco committed May 17, 2024
1 parent 913d4a6 commit 3ab63e8
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 35 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# JLineup Release History

## Release 4.12.1 - 2024-05-17
* Bugfix: Possible NullPointerException in Pixelmatch implementation
* Update: Selenium was updated to 4.21.0

## Release 4.12.0 - 2024-05-15
* Improvement: Set some more Chrome options to try to improve deterministic rendering
* Improvement: The max detected color difference is now printed in the report, additionally
Expand Down
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,6 @@
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/otto-de/jlineup?label=GitHub Release)](https://github.com/otto-de/jlineup/releases)
![](https://snyk-widget.herokuapp.com/badge/mvn/de.otto/jlineup-cli/badge.svg)

## News

**2024-05-07**: **JLineup 4.11.1** is here! This release contains an improved anti-alias detection ported from Pixelmatch.
It also fixes some bugs, updates dependencies and masks sensitive data in the log and report output.

**2024-04-10**: **JLineup 4.10.0** is out! This release contains dependency updates and the brand-new Lambda module. It
allows you to run the screenshot creation in a lambda function, and it can speed up the process significantly. We have this
running in an internal beta. Documentation will follow soon.

**2023-12-19**: Ho ho ho, **JLineup 4.9.2** is here! This should fix the flaky Chrome [issue](https://github.com/SeleniumHQ/selenium/issues/13091) with problems parsing a JSON response.

**2023-08-16**: **JLineup 4.9.0**, which fixes latest Chromedriver issues, requires **Java 17** or later due to dependency updates that have this requirement.

**2023-03-09**: **Chrome 111** requires a new parameter to fix the connection with the current Selenium version built
into JLineup. This was added in [JLineup 4.8.3](https://github.com/otto-de/jlineup/releases/tag/v4.8.3). Background
information may be found in this [thread](https://groups.google.com/g/chromedriver-users/c/xL5-13_qGaA/m/oTA9W3cQAgAJ).

**2023-02-14**: **Chrome 110** replaced the "old" `--headless` parameter, that was used by JLineup. If you face problems with CHROME_HEADLESS runs,
please update to [JLineup 4.8.3](https://github.com/otto-de/jlineup/releases/tag/v4.8.3), which uses the new `--headless=new` parameter.
Chrome headless mode's device size specifications now include the Browser controls and the window frame, except you switch to mobile emulation.

## About

JLineup is a tool which is useful for automated visual regression tests of web pages, especially in continuous delivery pipelines.
Expand Down Expand Up @@ -91,7 +70,7 @@ JLineup CLI comes as executable Java Archive. Java 17 or higher has to be availa

Open a terminal and download it like this:

wget https://repo1.maven.org/maven2/de/otto/jlineup-cli/4.12.0/jlineup-cli-4.12.0.jar -O jlineup.jar
wget https://repo1.maven.org/maven2/de/otto/jlineup-cli/4.12.1/jlineup-cli-4.12.1.jar -O jlineup.jar

Then type

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ plugins {
//\
///\
////\
def jlineup_version = "4.12.1-SNAPSHOT"
def jlineup_version = "4.12.1"
/////
////
///
Expand Down
8 changes: 4 additions & 4 deletions cli/graalvm/build-native-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ cd cli
`#--static` \
`#-H:+TraceSecurityServices` \
`#-H:+TraceClassInitialization` \
-jar build/libs/jlineup-cli-4.12.0-all.jar
-jar build/libs/jlineup-cli-4.12.1-all.jar

echo ""
echo "DONE BUILDING NATIVE IMAGE"
Expand All @@ -76,13 +76,13 @@ echo ""
echo "STARTING TEST RUN"
echo ""

mv jlineup-cli-4.12.0-all build/libs/jlineup-cli-4.12.0-all
mv jlineup-cli-4.12.1-all build/libs/jlineup-cli-4.12.1-all
rm ~/.m2/repository/webdriver -rf
./build/libs/jlineup-cli-4.12.0-all -Dwdm.architecture=X64 --config graalvm/lineup_chrome_headless.json --step before
./build/libs/jlineup-cli-4.12.1-all -Dwdm.architecture=X64 --config graalvm/lineup_chrome_headless.json --step before

set +e

./build/libs/jlineup-cli-4.12.0-all -Dwdm.architecture=X64 --config graalvm/lineup_chrome_headless.json --step after
./build/libs/jlineup-cli-4.12.1-all -Dwdm.architecture=X64 --config graalvm/lineup_chrome_headless.json --step after

set -e

Expand Down
10 changes: 5 additions & 5 deletions cli/graalvm/prepare-native-image-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ echo ""
echo "$JAVA_HOME"

cd cli
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-output-dir=graalvm -jar build/libs/jlineup-cli-4.12.0-all.jar --config graalvm/lineup_chrome_headless.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.0-all.jar --config graalvm/lineup_chrome_headless.json --step after || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.0-all.jar --config graalvm/lineup_firefox_headless.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.0-all.jar --config graalvm/lineup_chrome.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.0-all.jar --url www.otto.de --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-output-dir=graalvm -jar build/libs/jlineup-cli-4.12.1-all.jar --config graalvm/lineup_chrome_headless.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.1-all.jar --config graalvm/lineup_chrome_headless.json --step after || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.1-all.jar --config graalvm/lineup_firefox_headless.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.1-all.jar --config graalvm/lineup_chrome.json --step before || true
"${GRAAL_HOME}"/bin/java -agentlib:native-image-agent=config-merge-dir=graalvm -jar build/libs/jlineup-cli-4.12.1-all.jar --url www.otto.de --step before || true

#-J-Djava.security.properties=graalvm/java.security.overrides \
2 changes: 1 addition & 1 deletion docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ support. It may also work under MacOS or Windows, but we don't test this.
You can simply download the CLI version by getting the jlineup-cli.jar
from Maven Central in a terminal window:

`wget https://repo1.maven.org/maven2/de/otto/jlineup-cli/4.12.0/jlineup-cli-4.12.0.jar -O jlineup.jar`
`wget https://repo1.maven.org/maven2/de/otto/jlineup-cli/4.12.1/jlineup-cli-4.12.1.jar -O jlineup.jar`

Now you have a `jlineup.jar` in your current directory.

Expand Down
2 changes: 1 addition & 1 deletion docs/WEB.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface to take JLineup jobs. JLineup WEB requires at least Java 17.
You can simply download the web version by getting the jlineup-web.jar
from Maven Central in a terminal window:

`wget https://repo1.maven.org/maven2/de/otto/jlineup-web/4.12.0/jlineup-web-4.12.0.jar -O jlineup-web.jar`
`wget https://repo1.maven.org/maven2/de/otto/jlineup-web/4.12.1/jlineup-web-4.12.1.jar -O jlineup-web.jar`

Now you have a `jlineup-web.jar` in your current directory.

Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y wget \
&& apt-get install -yf chromium-browser firefox libjpeg-progs \
&& wget -U "jlineup-docker" -O jlineup-web.jar https://repo1.maven.org/maven2/de/otto/jlineup-web/4.12.0/jlineup-web-4.12.0.jar
&& wget -U "jlineup-docker" -O jlineup-web.jar https://repo1.maven.org/maven2/de/otto/jlineup-web/4.12.1/jlineup-web-4.12.1.jar
ADD docker/application.yml application.yml
RUN apt-get remove --auto-remove perl -yf && apt-get purge --auto-remove perl -yf
EXPOSE 8080
Expand Down

0 comments on commit 3ab63e8

Please sign in to comment.