Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump org.cicirello:rho-mu from 3.2.0 to 4.0.0 #405

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 15, 2024

Bumps org.cicirello:rho-mu from 3.2.0 to 4.0.0.

Release notes

Sourced from org.cicirello:rho-mu's releases.

rho-mu, v4.0.0

[4.0.0] - 2024-05-14

Added

  • IndexPair record class for use in methods generating pairs of random indexes.
  • IndexTriple record class for use in methods generating triples of random indexes.
  • Methods in the RandomIndexer and EnhancedRandomGenerator classes that utilize the new IndexPair and IndexTriple when generating combinations of distinct random integers, as an alternative to the existing methods that return arrays, including:
    • Versions of nextIntPair using the new IndexPair class
    • Versions of nextIntTriple using the new IndexTriple class
    • Versions of nextWindowedIntPair using the new IndexPair class
    • Versions of nextWindowedIntTriple using the new IndexTriple class
  • Methods in the RandomIndexer and EnhancedRandomGenerator classes for generating additional combinations of distinct integers (both array-based versions and versions using IndexPair and IndexTriple), including:
    • nextSortedIntPair: a variation of nextIntPair whose result is in sorted order.
    • nextSortedIntTriple: a variation of nextIntTriple whose result is in sorted order.
    • nextSortedWindowedIntPair: a variation of nextWindowedIntPair whose result is in sorted order.
    • nextSortedWindowedIntTriple: a variation of nextWindowedIntTriple whose result is in sorted order.
  • Methods in the EnhancedRandomGenerator class for generating streams of combinations of distinct integers as streams of IndexPair or IndexTriple objects, including streams of the following:
    • Streams of random pairs of distinct integers (method pairs)
    • Streams of random pairs of distinct sorted integers (method sortedPairs)
    • Streams of random pairs of distinct integers, separated by at most a specified window (method windowedPairs)
    • Streams of random pairs of distinct sorted integers, separated by at most a specified window (method sortedWindowedPairs)
    • Streams of random triples of distinct integers (method triples)
    • Streams of random triples of distinct sorted integers (method sortedTriples)
    • Streams of random triples of distinct integers, separated by at most a specified window (method windowedTriples)
    • Streams of random triples of distinct sorted integers, separated by at most a specified window (method sortedWindowedTriples)
  • Shuffler class, and shuffle methods in EnhancedRandomGenerator class, for efficiently randomizing the ordering of elements in arrays and Lists.

Changed (BREAKING)

  • Changed ZigguratGaussian to a package-access class (BREAKING CHANGE): Instead use corresponding methods of the RandomVariates class.

Changed (non-breaking)

  • Refactored and optimized RandomIndexer.nextIntTriple methods.
  • Refactored and optimized RandomIndexer.nextWindowedIntPair methods.
  • Refactored and optimized RandomIndexer.nextWindowedIntTriple methods.

Removed

  • Removed PolarGaussian (BREAKING): Instead use corresponding methods of the RandomVariates class.

Fixed

  • Fixed potential finalizer vulnerability in class JacobiDiagonalization, identified by SpotBugs.

Dependencies

  • Bump org.cicirello:core from 2.5.0 to 2.7.0.
  • Retired publishing of a jar-with-dependencies (BREAKING CHANGE only if you were using the jar-with-dependencies).
Changelog

Sourced from org.cicirello:rho-mu's changelog.

[4.0.0] - 2024-05-14

BREAKING CHANGES: See Removed and Changed sections for details.

Added

  • IndexPair record class for use in methods generating pairs of random indexes.
  • IndexTriple record class for use in methods generating triples of random indexes.
  • Methods in the RandomIndexer and EnhancedRandomGenerator classes that utilize the new IndexPair and IndexTriple when generating combinations of distinct random integers, as an alternative to the existing methods that return arrays, including:
    • Versions of nextIntPair using the new IndexPair class
    • Versions of nextIntTriple using the new IndexTriple class
    • Versions of nextWindowedIntPair using the new IndexPair class
    • Versions of nextWindowedIntTriple using the new IndexTriple class
  • Methods in the RandomIndexer and EnhancedRandomGenerator classes for generating additional combinations of distinct integers (both array-based versions and versions using IndexPair and IndexTriple), including:
    • nextSortedIntPair: a variation of nextIntPair whose result is in sorted order.
    • nextSortedIntTriple: a variation of nextIntTriple whose result is in sorted order.
    • nextSortedWindowedIntPair: a variation of nextWindowedIntPair whose result is in sorted order.
    • nextSortedWindowedIntTriple: a variation of nextWindowedIntTriple whose result is in sorted order.
  • Methods in the EnhancedRandomGenerator class for generating streams of combinations of distinct integers as streams of IndexPair or IndexTriple objects, including streams of the following:
    • Streams of random pairs of distinct integers (method pairs)
    • Streams of random pairs of distinct sorted integers (method sortedPairs)
    • Streams of random pairs of distinct integers, separated by at most a specified window (method windowedPairs)
    • Streams of random pairs of distinct sorted integers, separated by at most a specified window (method sortedWindowedPairs)
    • Streams of random triples of distinct integers (method triples)
    • Streams of random triples of distinct sorted integers (method sortedTriples)
    • Streams of random triples of distinct integers, separated by at most a specified window (method windowedTriples)
    • Streams of random triples of distinct sorted integers, separated by at most a specified window (method sortedWindowedTriples)
  • Shuffler class, and shuffle methods in EnhancedRandomGenerator class, for efficiently randomizing the ordering of elements in arrays and Lists.

Changed (BREAKING)

  • Changed ZigguratGaussian to a package-access class (BREAKING CHANGE): Instead use corresponding methods of the RandomVariates class.

Changed (non-breaking)

  • Refactored and optimized RandomIndexer.nextIntTriple methods.
  • Refactored and optimized RandomIndexer.nextWindowedIntPair methods.
  • Refactored and optimized RandomIndexer.nextWindowedIntTriple methods.

Removed

  • Removed PolarGaussian (BREAKING): Instead use corresponding methods of the RandomVariates class.

Fixed

  • Fixed potential finalizer vulnerability in class JacobiDiagonalization, identified by SpotBugs.

Dependencies

  • Bump org.cicirello:core from 2.5.0 to 2.7.0.
  • Retired publishing of a jar-with-dependencies (BREAKING CHANGE only if you were using the jar-with-dependencies).
Commits
  • c892ec2 Merge pull request #306 from cicirello/prep-release-4
  • 87516bb Update CHANGELOG.md
  • f738c92 Added random shuffling of arrays and Lists (#305)
  • a85e022 Merge pull request #301 from cicirello/sorted-windowed-int-pairs
  • 53c540b sorted windowed pairs
  • 9afcf11 Added generation of random pairs of distinct integers sorted with smaller fir...
  • 628b7aa Merge pull request #292 from cicirello/pairs-triples
  • e7bc021 Update CHANGELOG.md
  • a2eabb4 streams of sorted windowed triples
  • 0fc09b7 added streams of windowed triples
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [org.cicirello:rho-mu](https://github.com/cicirello/rho-mu) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/cicirello/rho-mu/releases)
- [Changelog](https://github.com/cicirello/rho-mu/blob/main/CHANGELOG.md)
- [Commits](cicirello/rho-mu@v3.2.0...v4.0.0)

---
updated-dependencies:
- dependency-name: org.cicirello:rho-mu
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 15, 2024
@cicirello cicirello merged commit 5b3b471 into master May 15, 2024
5 checks passed
@dependabot dependabot bot deleted the dependabot/maven/master/org.cicirello-rho-mu-4.0.0 branch May 15, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant