Skip to content

Commit

Permalink
Release candidate.
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Jul 5, 2024
1 parent 7267fb9 commit 15460de
Show file tree
Hide file tree
Showing 26 changed files with 716 additions and 76 deletions.
62 changes: 62 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,66 @@

Apache Commons RNG 1.6 RELEASE NOTES

The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.6

The Apache Commons RNG project provides pure-Java implementation of pseudo-random generators.

New features, updates and bug fixes (requires Java 8).

Apache Commons RNG 1.6 contains the following library modules:
commons-rng-client-api (requires Java 8)
commons-rng-core (requires Java 8)
commons-rng-simple (requires Java 8)
commons-rng-sampling (requires Java 8)
commons-rng-bom

The code in module 'commons-rng-core' should not be accessed
directly by applications; generators should be created using
the 'commons-rng-simple' module.

Additional code is provided in the following modules:
commons-rng-examples-quadrature (requires Java 8)
commons-rng-examples-jmh (requires Java 8)
commons-rng-examples-sampling (requires Java 8)
commons-rng-examples-stress (requires Java 8)
commons-rng-examples-jpms (requires Java 11)

It is however not part of the official API and no compatibility
should be expected in subsequent releases.

It must be noted that, due to the nature of random number generation, some unit tests
are bound to fail with some probability. The 'maven-surefire-plugin' is configured
to re-run tests that fail, and pass the build if they succeed within the allotted
number of reruns (the test will be marked as 'flaky' in the report).

The source output type (int/long) of a RNG must maintain behavioural compatibility
between releases; derived types may break behavioural compatibility. Any functional
changes will be recorded in the release notes.

Changes in this version include:

New features:
o RNG-186: Correct the module OSGi exports. Use of multiple modules is validated in an OSGi
integration test.
o RNG-184: New "ArraySampler" to support shuffling primitive and generic arrays with
sub-range support.


Changes:
o RNG-183: "InverseTransformParetoSampler": Modified to concentrate samples at the distribution
lower/upper bounds for extreme shape parameters. Eliminates generation of outlier
infinite samples and NaN samples under certain conditions. Changes sampling to use
the RNG nextLong() method in-place of nextDouble().


For complete information on Apache Commons RNG, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Commons RNG website:

https://commons.apache.org/proper/commons-rng/


=============================================================================

Apache Commons RNG 1.5 RELEASE NOTES

The Apache Commons RNG team is pleased to announce the release of Apache Commons RNG 1.5
Expand Down
4 changes: 2 additions & 2 deletions commons-rng-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-bom</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG (Bill of Materials)</name>
<packaging>pom</packaging>

Expand Down
2 changes: 1 addition & 1 deletion commons-rng-bom/src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-bom</artifactId>
<version>1.5</version>
<version>1.6</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions commons-rng-client-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-client-api</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG Client API</name>

<description>API for client code that uses random numbers generators.</description>
Expand Down
2 changes: 2 additions & 0 deletions commons-rng-client-api/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
<item name="Javadoc (1.6 release)"
href="https://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.6/index.html"/>
<item name="Javadoc (1.5 release)"
href="https://commons.apache.org/rng/commons-rng-client-api/javadocs/api-1.5/index.html"/>
<item name="Javadoc (1.4 release)"
Expand Down
6 changes: 3 additions & 3 deletions commons-rng-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-core</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG Core</name>

<description>Pure Java implementations of random numbers generator algorithms.
Expand Down Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<!-- For testing floating point precision -->
Expand Down
2 changes: 2 additions & 0 deletions commons-rng-core/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
<item name="Javadoc (1.6 release)"
href="https://commons.apache.org/rng/commons-rng-core/javadocs/api-1.6/index.html"/>
<item name="Javadoc (1.5 release)"
href="https://commons.apache.org/rng/commons-rng-core/javadocs/api-1.5/index.html"/>
<item name="Javadoc (1.4 release)"
Expand Down
10 changes: 5 additions & 5 deletions commons-rng-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-docs</artifactId>
Expand Down Expand Up @@ -61,22 +61,22 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-core</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-jmh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-jmh</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG JMH Benchmark</name>

<description>Code for running JMH benchmarks that assess the performance of the generators.
Expand Down
6 changes: 3 additions & 3 deletions commons-rng-examples/examples-jpms/jpms-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-jpms-app</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG JPMS Module Example (Application)</name>

<description>Testing JPMS. Code in this module is not part of the public API.</description>
Expand All @@ -39,7 +39,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms-lib</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-jpms/jpms-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples-jpms</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-jpms-lib</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG JPMS Module Example (Library)</name>

<description>Testing JPMS. Code in this module is not part of the public API.</description>
Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-jpms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-jpms</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<packaging>pom</packaging>
<name>Apache Commons RNG JPMS Integration Test</name>

Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-quadrature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-quadrature</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG Quadrature Example</name>

<description>Contains examples for computing numerical quadrature (integration).
Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-sampling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-sampling</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<!-- This name is used in the shaded jar to provide the application title for the version information. -->
<name>Apache Commons RNG Examples Sampling Utilities</name>

Expand Down
4 changes: 2 additions & 2 deletions commons-rng-examples/examples-stress/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples-stress</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<!-- This name is used in the shaded jar to provide the application title for the version information. -->
<name>Apache Commons RNG Examples Stress Utilities</name>

Expand Down
10 changes: 5 additions & 5 deletions commons-rng-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-examples</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<packaging>pom</packaging>
<name>Apache Commons RNG Examples</name>

Expand Down Expand Up @@ -60,17 +60,17 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
Expand Down
8 changes: 4 additions & 4 deletions commons-rng-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-integration</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG Integration Tests</name>
<packaging>jar</packaging>

Expand Down Expand Up @@ -65,14 +65,14 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-sampling</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions commons-rng-sampling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-parent</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</parent>

<artifactId>commons-rng-sampling</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<name>Apache Commons RNG Sampling</name>

<description>The Apache Commons RNG Sampling module provides samplers
Expand Down Expand Up @@ -59,13 +59,13 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-client-api</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-rng-simple</artifactId>
<version>1.6-SNAPSHOT</version>
<version>1.6</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 2 additions & 0 deletions commons-rng-sampling/src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
<item name="Overview" href="index.html"/>
<item name="Latest API docs (development)"
href="apidocs/index.html"/>
<item name="Javadoc (1.6 release)"
href="https://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.6/index.html"/>
<item name="Javadoc (1.5 release)"
href="https://commons.apache.org/rng/commons-rng-sampling/javadocs/api-1.5/index.html"/>
<item name="Javadoc (1.4 release)"
Expand Down
Loading

0 comments on commit 15460de

Please sign in to comment.