Skip to content

Commit

Permalink
Merge pull request #4275 from eclipse/4.2.1-release-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored Nov 12, 2022
2 parents 4d37a18 + c569f2e commit 214f49e
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 33 deletions.
17 changes: 2 additions & 15 deletions scripts/milestone-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,6 @@ if ! command -v xmllint &> /dev/null; then
exit 1;
fi

# check Java version
if ! mvn -v | grep -q "Java version: 1.8."; then
echo "";
echo "Java 1.8 expected but not detected";
read -rp "Continue (y/n)?" choice
case "${choice}" in
y|Y ) echo "";;
n|N ) exit;;
* ) echo "unknown response, exiting"; exit;;
esac
fi

# check that we are on main or develop
if ! git status --porcelain --branch | grep -q "## main...origin/main"; then
if ! git status --porcelain --branch | grep -q "## develop...origin/develop"; then
Expand Down Expand Up @@ -190,15 +178,14 @@ read -n 1 -srp "Press any key to continue (ctrl+c to cancel)"; printf "\n\n";

git checkout "${MVN_VERSION_RELEASE}"
mvn clean
mvn compile -P quick
mvn install -DskipTests -B
mvn package -Passembly -DskipTests -B
mvn package -Passembly -DskipTests

git checkout main
RELEASE_NOTES_BRANCH="${MVN_VERSION_RELEASE}-release-notes"
git checkout -b "${RELEASE_NOTES_BRANCH}"

tar -cvzf "site/static/javadoc/${MVN_VERSION_RELEASE}.tgz" -C target/site/apidocs .
cp -f "site/static/javadoc/${MVN_VERSION_RELEASE}.tgz" "site/static/javadoc/latest.tgz"
git add --all
git commit -s -a -m "javadocs for ${MVN_VERSION_RELEASE}"
git push --set-upstream origin "${RELEASE_NOTES_BRANCH}"
Expand Down
12 changes: 0 additions & 12 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,6 @@ if ! command -v xmllint &> /dev/null; then
exit 1;
fi

# check Java version
if ! mvn -v | grep -q "Java version: 1.8."; then
echo "";
echo "Java 1.8 expected but not detected";
read -rp "Continue (y/n)?" choice
case "${choice}" in
y|Y ) echo "";;
n|N ) exit;;
* ) echo "unknown response, exiting"; exit;;
esac
fi

# check that we are on main
if ! git status --porcelain --branch | grep -q "## main...origin/main"; then
echo""
Expand Down
12 changes: 6 additions & 6 deletions site/content/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ toc: true

You can either retrieve RDF4J via Apache Maven, or download the SDK or onejar directly.

## RDF4J 4.2.0 (latest)
## RDF4J 4.2.1 (latest)

RDF4J 4.2.0 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.2.0).
RDF4J 4.2.1 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.2.1).

- [RDF4J 4.2.0 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.2.0-sdk.zip)<br/>
- [RDF4J 4.2.1 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.2.1-sdk.zip)<br/>
Full Eclipse RDF4J SDK, containing all libraries, RDF4J Server, Workbench, and Console applications, and Javadoc API.

- [RDF4J 4.2.0 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.2.0-onejar.jar)<br/>
- [RDF4J 4.2.1 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.2.1-onejar.jar)<br/>
Single jar file for easy inclusion of the full RDF4J toolkit in your Java project.

- [RDF4J artifacts](https://search.maven.org/search?q=org.eclipse.rdf4j) on the [Maven Central Repository](http://search.maven.org/)
Expand All @@ -28,7 +28,7 @@ You can include RDF4J as a Maven dependency in your Java project by including th
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-bom</artifactId>
<version>4.2.0</version>
<version>4.2.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
14 changes: 14 additions & 0 deletions site/content/news/rdf4j-421.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "RDF4J 4.2.1 released"
date: 2022-11-08T15:52:11+0100
layout: "single"
categories: ["news"]
---
RDF4J 4.2.1 is now available. This is a patch release fixing 11 bugs, 3 of which are security fixes.

For more details, have a look at the [release notes](/release-notes/4.2.1).
<!--more-->
### Links

- [Download RDF4J](/download/)
- [release notes](/release-notes/4.2.1).
21 changes: 21 additions & 0 deletions site/content/release-notes/4.2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: "4.2.1"
toc: true
---
RDF4J 4.2.1 is a patch release that fixes 11 issues.

For a complete overview, see [all issues fixed in 4.2.1](https://github.com/eclipse/rdf4j/milestone/88?closed=1).


## Security

The following vulnerable dependencies have been upgraded:
- All dependencies related to Spring (upgraded to version 5.3.23)
- All dependencies related to Spring Boot (upgraded to version 2.7.5)
- All dependencies related to Fasterxml Jackson (upgraded to version 2.13.4)
- Apache Commons Text (upgraded to version 1.10.0)


## Acknowledgements

This release was made possible by contributions from Bart Hanssens, Håvard M. Ottestad, Denitsa Stoianova, Patrick Wyler, and Andreas Schwarte.
Binary file added site/static/javadoc/4.2.1.tgz
Binary file not shown.
Binary file modified site/static/javadoc/latest.tgz
Binary file not shown.

0 comments on commit 214f49e

Please sign in to comment.