Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hyperledger/fabric-chaincode-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.5.4
Choose a base ref
...
head repository: hyperledger/fabric-chaincode-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.5.5
Choose a head ref
  • 9 commits
  • 230 files changed
  • 1 contributor

Commits on Sep 23, 2024

  1. Update versions following v2.5.4 release

    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored and denyeart committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    bb8cd6b View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Run vulnerability scan on latest release version (#355)

    Previously the scan ran on the current state of the codebase. This fails
    to identify vulnerabilities in dependencies for the latest release
    version if those dependencies have already been updated in the
    development codebase. The gating factor for whether a new release is
    required should be whether the previous release contains
    vulnerabilities.
    
    This change runs the scheduled vulnerability scan on the latest release
    tag. It also adds vulnerability scanning to pull request builds. This is
    purely informational. A scan failure does not fail the pull request
    build.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored Oct 14, 2024
    Configuration menu
    Copy the full SHA
    33f3ba8 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Use Spotless for code formatting (#358)

    Spotless is widely used opinionated Java code formatter. It will also
    fix incorrect formatting using `./gradlew spotlessApply`, avoiding the
    need for contributors to manually correct any formatting violations
    flagged by Checkstyle. Formatting rules defined by Checkstyle that would
    otherwise cause conflicts with the formatting applied by Spotless are
    removed.
    
    This change also updates the Gradle version to 8.10.2.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    4895f92 View commit details
    Browse the repository at this point in the history
  2. Update microfab (#360)

    Update microfab used for integration tests from ibmcom/ibp-microfab to
    use ghcr.io/hyperledger-labs/microfab. This updates the Fabric runtime
    for v2.4 to v2.5.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    d5aa6c5 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Update maintainers (#356)

    - Retire inactive maintainers: Artem Barger, Matthew B White
    - Add active maintainer: Dave Enyeart
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    85188b7 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. Replace checkstyle with PMD

    Also update Java language version to 11, which has been the target
    runtime and documented as the required version since v2.1.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored and denyeart committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    4939a15 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Updates to test chaincode to exploit new microfab (#363)

    New microfab version provides an up-to-date Gradle version, which the
    test chaincode can be updated to exploit.
    
    This change also updates several dependencies to current versions.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored Nov 28, 2024
    Configuration menu
    Copy the full SHA
    0d50c5f View commit details
    Browse the repository at this point in the history
  2. Use Java 21 runtime

    Using Java 21 as the runtime allows chaincode developers to exploit
    newer Java features, and provides JVM performance improvements. Java 11
    is no longer supported by RedHat and public support from other vendors
    ends in 2027.
    
    This change removes a test for a security manager failure since the
    security manager is deprecated and its use is disallowed by Java 21.
    
    Chaincode must now use Gradle wrappers at version 8.5 or later, since
    that version of Gradle added support for execution using Java 21.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored and denyeart committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    cb29b36 View commit details
    Browse the repository at this point in the history
  3. Ensure tests wait for microfab to start

    Rather than fixed sleep after lauching microfab, watch the container
    logs until the "Microfab started" message appears.
    
    Signed-off-by: Mark S. Lewis <[email protected]>
    bestbeforetoday authored and denyeart committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    09839fc View commit details
    Browse the repository at this point in the history
Loading