Skip to content

Commit

Permalink
Set version to 2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Oct 6, 2022
1 parent a3a7d83 commit e7c91f4
Show file tree
Hide file tree
Showing 22 changed files with 65 additions and 53 deletions.
2 changes: 1 addition & 1 deletion junixsocket-codecoverage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-codecoverage</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-common</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-core</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-demo</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-dist</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-jetty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-jetty</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-mysql</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-native-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<!-- Update this manually after maven-release -->
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-native-common</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-native-cross/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<!-- Update this manually after maven-release -->
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-native-cross</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-native-custom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<!-- Update this manually after maven-release -->
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-native-custom</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-native</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-rmi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-rmi</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-selftest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-selftest</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-server</name>
Expand Down
2 changes: 1 addition & 1 deletion junixsocket-tipc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<name>junixsocket-tipc</name>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-parent</artifactId>
<version>2.5.2-SNAPSHOT</version>
<version>2.5.2</version>
<packaging>pom</packaging>
<parent>
<groupId>com.kohlschutter</groupId>
Expand Down
9 changes: 9 additions & 0 deletions src/site/markdown/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ Please tend to always use the latest version; the existing API should always be
When upgrading from versions older than 2.4.0, please note that junixsocket-core is now a POM-only
artifact (`<type>pom</type>`); see [Add junixsocket to your project](dependency.html) for details.

### _(2022-10-06)_ **junixsocket 2.5.2**

- Fix address handling in the Abstract Namespace
- Fix support for very large datagrams (> 1MB)
- Fix InetAddress-wrapping of long addresses
- Update Xcode support script, crossclang
- Bump postgresql version in demo code
- Fix dependency for custom architecture artifact

### _(2022-07-01)_ **junixsocket 2.5.1**

- Add support for IBM z/OS (experimental, binary not included)
Expand Down
11 changes: 7 additions & 4 deletions src/site/markdown/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@

## Versioning

junixsocket versions consist of three parts: major, minor and patch (for example, 2.5.1).
junixsocket versions consist of three parts: major, minor and patch (for example, 2.5.2).

"Minor version" updates (e.g., 2.4.0 -> 2.5.0) can still bring "major" new features but they
should be backwards compatible to releases of the same "major version" (e.g., 2.x).

`-SNAPSHOT` builds are not considered releases, but merely previews of a future release.

### junixsocket 2.5.1
### junixsocket 2.5.2

junixsocket 2.5.1 is fully compatible with Java 8 and newer (tested up to Java 19).
junixsocket 2.5.2 is fully compatible with Java 8 and newer (tested up to Java 19).

junixsocket has been tested to work with Oracle's Java 8 JDK, and OpenJDK for newer versions.

junxisoocket should also run with GraalVM, however native-image support still needs some work;
tracked in [issue 114](https://github.com/kohlschutter/junixsocket/issues/114).

## Supported Platforms

The minimum set of supported (out of the box) platforms and processor architectures currently is:
Expand Down Expand Up @@ -82,7 +85,7 @@ or [contact Christian Kohlschütter via email](mailto:christian@kohlschutter.com

A reliable way to ensure that junixsocket works in your environment is to run the "[selftest](selftest.html)".

java -jar junixsocket-selftest-2.5.1-jar-with-dependencies.jar
java -jar junixsocket-selftest-2.5.2-jar-with-dependencies.jar

The last line should say "Selftest PASSED", and you're good to go.

Expand Down
8 changes: 4 additions & 4 deletions src/site/markdown/customarch.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ for development and testing purposes:
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-native-custom</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<classifier>amd64-Linux-gpp-jni</classifier>
</dependency>

Expand All @@ -99,7 +99,7 @@ have your custom artifact, there's a chance it wouldn't even build on other peop
An alternative is to directly add the junixsocket-native-custom jar to the classpath whenever you
invoke the Java VM (e.g., your web server, etc.), for example:

java -cp junixsocket-native-custom-2.5.1-amd64-Linux-gpp-jni.jar:*(...)* *YourMainClass*
java -cp junixsocket-native-custom-2.5.2-amd64-Linux-gpp-jni.jar:*(...)* *YourMainClass*

## If that doesn't work...

Expand All @@ -109,15 +109,15 @@ the native library yourself.
Simply set the system property `org.newsclub.net.unix.library.override` to the absolute path of the native
library. For example:

java -Dorg.newsclub.net.unix.library.override=/path/to/junixsocket-native-2.5.1.so (...)
java -Dorg.newsclub.net.unix.library.override=/path/to/junixsocket-native-2.5.2.so (...)

If this override fails to load, an attempt is made to load the standard junixsocket library,
unless the system property `org.newsclub.net.unix.library.override.force` is set to `true`.

You can also specify the absolute path with the system property
`org.newsclub.net.unix.library.override.force`, which essentially combines these two declarations, i.e.

java -Dorg.newsclub.net.unix.library.override.force=/path/to/junixsocket-native-2.5.1.so (...)
java -Dorg.newsclub.net.unix.library.override.force=/path/to/junixsocket-native-2.5.2.so (...)

## If that doesn't work either...

Expand Down
42 changes: 21 additions & 21 deletions src/site/markdown/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ Add the following dependency to your Maven project
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-core</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
<type>pom</type>
</dependency>

> **NOTE:** In junixsocket versions older than 2.4.0, the `<type>pom</type>` declaration must be omitted.
> **IMPORTANT:** Make sure to include the `<type>pom</type>` line (this has changed in junixsocket 2.4.0).
[See here](customarch.html) how to add support for custom architectures that aren't supported out of the box.

Expand All @@ -25,62 +25,62 @@ If you're going to use AFUNIXSocketServer code, add the following dependency:
<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-server</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

If you're going to use RMI over Unix sockets, add the following dependency:

<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-rmi</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

If you're going to use the mySQL Connector for Unix sockets, add the following dependency:

<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-mysql</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

If you're going to use TIPC, add the following dependency:

<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-tipc</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

If you're going to use the Jetty connectors, add the following dependency:

<dependency>
<groupId>com.kohlschutter.junixsocket</groupId>
<artifactId>junixsocket-jetty</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

## Gradle

Minimum requirement:

compile 'com.kohlschutter.junixsocket:junixsocket-core:2.5.1'
compile 'com.kohlschutter.junixsocket:junixsocket-core:2.5.2'

For RMI support, add:

compile 'com.kohlschutter.junixsocket:junixsocket-rmi:2.5.1'
compile 'com.kohlschutter.junixsocket:junixsocket-rmi:2.5.2'

For MySQL support, add:

compile 'com.kohlschutter.junixsocket:junixsocket-mysql:2.5.1'
compile 'com.kohlschutter.junixsocket:junixsocket-mysql:2.5.2'

For TIPC support, add:

compile 'com.kohlschutter.junixsocket:junixsocket-tipc:2.5.1'
compile 'com.kohlschutter.junixsocket:junixsocket-tipc:2.5.2'

For Jetty support, add:

compile 'com.kohlschutter.junixsocket:junixsocket-jetty:2.5.1'
compile 'com.kohlschutter.junixsocket:junixsocket-jetty:2.5.2'

## jars only

Expand All @@ -101,12 +101,12 @@ databases such as PostgreSQL.

Make sure that the following jars are on your classpath:

* junixsocket-core-2.5.1.jar
* junixsocket-common-2.5.1.jar
* junixsocket-mysql-2.5.1.jar
* junixsocket-core-2.5.2.jar
* junixsocket-common-2.5.2.jar
* junixsocket-mysql-2.5.2.jar
* mysql-connector-java-8.0.14.jar (or newer; earlier versions should work, too)
* (typically, omit if you use the custom library below) junixsocket-native-common-2.5.1.jar
* (optionally, if you have a custom architecture) junixsocket-native-custom-2.5.1.jar
* (typically, omit if you use the custom library below) junixsocket-native-common-2.5.2.jar
* (optionally, if you have a custom architecture) junixsocket-native-custom-2.5.2.jar

Use the following connection properties (along with `user`, `password`, and other properties you may have).

Expand Down Expand Up @@ -134,11 +134,11 @@ to disable SSL with older versions of Connector/J.

Make sure that the following jars are on your classpath:

* junixsocket-core-2.5.1.jar
* junixsocket-common-2.5.1.jar
* junixsocket-core-2.5.2.jar
* junixsocket-common-2.5.2.jar
* postgresql-42.2.5.jar (or newer; earlier versions should work, too)
* (typically, omit if you use the custom library below) junixsocket-native-common-2.5.1.jar
* (optionally, if you have a custom architecture) junixsocket-native-custom-2.5.1.jar
* (typically, omit if you use the custom library below) junixsocket-native-common-2.5.2.jar
* (optionally, if you have a custom architecture) junixsocket-native-custom-2.5.2.jar


Use the following connection properties (along with `user`, `password`, and other properties you may have).
Expand Down
8 changes: 4 additions & 4 deletions src/site/markdown/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ install Java, Maven and junixsocket, and you should be good to go.
### Bump project version

cd junixsocket
mvn versions:set -DnewVersion=2.5.1
mvn versions:set -DnewVersion=2.5.2
# git add / commit here...

### Build native libraries on other supported, common platforms
Expand All @@ -85,8 +85,8 @@ The platform-dependent nar files should now be available in the local maven repo
Use the provided script to copy the corresponding nar to a project folder:

cd junixsocket
# replace 2.5.1 with the desired version number
junixsocket-native-prebuilt/bin/copy-nar-from-m2repo.sh 2.5.1
# replace 2.5.2 with the desired version number
junixsocket-native-prebuilt/bin/copy-nar-from-m2repo.sh 2.5.2

Now copy the nar files from the target machine to your development computer (from where you do the release).
By convention, copy the files to the same folder as on the target machine (*junixsocket/junixsocket-native-prebuilt/bin*)
Expand Down Expand Up @@ -176,7 +176,7 @@ NOTE: There can be quite a delay (30 minutes?) until the artifact is deployed in

2. Select the newly created tag (= search for the version).

3. Release title = "junixsocket" + version>, e.g., "junixsocket 2.5.1"
3. Release title = "junixsocket" + version>, e.g., "junixsocket 2.5.2"

4. Paste changelog contents to text field

Expand Down
Loading

0 comments on commit e7c91f4

Please sign in to comment.