Skip to content

NFS Client v1.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 12:52
· 1 commit to master since this release

Requires Java 17 or newer. Maven coordinates: io.github.denysobukh:nfs-client:1.2.0.

Logging migration: applications must use an SLF4J 2.0-compatible logging provider. SLF4J 1.7 bindings are ignored. See Logging.md.

  • Upgrade Shadow to 9.6.1 and CycloneDX to 3.6.1, replacing vulnerable build-time
    Jackson, Log4j, and Plexus Utils dependencies with patched versions.

  • Update Netty to 4.2.21.Final, Commons Lang to 3.22.0, Gradle to 9.9.3,
    Spotless to 8.12.0, the SpotBugs plugin to 6.5.15, Error Prone to 2.53.0,
    and JaCoCo to 0.8.16; refresh CI actions and Trivy.

  • Upgrade SLF4J API and the test/demo Simple provider to 2.0.20. Applications
    must use an SLF4J 2.0-compatible provider; SLF4J 1.7 bindings are ignored.
    The client still leaves backend selection and configuration to applications.

  • Check Gradle and GitHub Actions dependencies weekly with Dependabot.

  • Verify the updated client and logging provider on Java 17 and Java 21, the
    Java 25 build and static analysis, and all 12 Docker NFS demo operations.
    Combined line coverage is 83.99%, above the 80% minimum.

  • Fix EXCLUSIVE CREATE encoding to send the RFC 1813 fixed eight-byte verifier
    without a length prefix; reject verifiers of other lengths and keep retry
    verifiers stable.

  • Finish short WRITE operations before flushing and committing buffered output;
    reject zero-progress and invalid write counts instead of losing buffered data.

  • Add independent RFC 1813 and RFC 4506 wire fixtures and tests for all 21 NFSv3
    procedures, including request layouts, success/failure reply unions, optional
    attributes and handles, verifiers, stability modes, and XDR padding.

  • Add loopback TCP tests for bare and wrapped RPC calls, NFS errors, verifier
    changes, file metadata and permissions, directory pagination and filtering,
    streams, short reads/writes, and COMMIT ranges without an external NFS server.

  • Enforce at least 80% combined JaCoCo line coverage across the client and both
    tool modules in check, build, CI, and release builds, without production
    exclusions. Generate combined HTML/XML reports, publish coverage on GitHub
    Pages, and display a measured coverage badge.

  • Add Spotless with Google Java Format across all Java sources, including the
    tools, demo, and tests; check formatting in CI.

  • Add Error Prone during compilation and SpotBugs for every Java source set,
    including tests and the demo, with CI badges and downloadable analysis reports.
    Document narrowly scoped SpotBugs exclusions for intentional API/test patterns.

  • Fix RPC response completion races and pending-request cleanup; improve shared
    state visibility and synchronize input-stream operations.

  • Protect file handles, device-number arrays, CREATE verifiers, and payload-list
    ownership with defensive copies; compare root handles by content when deciding
    whether to remount after NFS3ERR_BADHANDLE.

  • Make RPC, NFS, and MOUNT exception status objects serializable while preserving
    canonical status identities; add serialization and request-isolation tests.

  • Improve resource cleanup in tests and tools, remove compiler/deprecation and
    Javadoc warnings, and clarify API documentation without changing the Java 17
    bytecode target.

  • Preserve the frozen compatibility interface as a .java.txt test resource so
    Java source tooling does not treat it as a duplicate production interface.

  • Document server-defined directory listing order, continuation-cookie semantics,
    and explicit client-side sorting.