Skip to content

v5.0.0-rc

Compare
Choose a tag to compare
@YusukeShimizu YusukeShimizu released this 29 Apr 03:59
· 27 commits to master since this release
d99ec96

Major Updates

Protocol Version Upgrade

  • The protocol version has been upgraded to v5.
  • Important: As before, swaps are only supported between peers running the same protocol version. Make sure all peers upgrade to v5 to maintain compatibility.

Premium Feature

  • A Premium feature has been added to allow more flexible handling of fees and pricing structures for swaps (PR #264, #371).
  • Note: This feature is still in the testing phase and may be refined in future releases.

Other Fixes

  • Migrated Protocol Buffers to Buf

    • Replaced the traditional protoc workflow with Buf to unify and automate linting and formatting.
    • This provides consistent formatting and a more efficient workflow, though contributors need to learn the new toolchain.
  • Documented Minimum Version for elementsd

    • PR #345 clarifies the minimum required version of Elements when running a local Elements node.
    • Ensure your elementsd version meets or exceeds this requirement.
  • Dependency Updates

    • Multiple libraries, including LND (v0.18.0-beta.rc3), have been updated (PR #297).
    • nixpkgs and flake dependencies have also been refreshed to improve maintainability.
  • Fix for amount_msat Exceeding Cases

    • Addresses scenarios where swap amounts could inadvertently exceed set limits (PR #356).
  • Added acceptdiscountctIsEnabled Check

    • A new step checks for acceptdiscountctIsEnabled during setup, helping to avoid misconfiguration (PR #348).
  • Minor Improvements

    • Updates to triggers and devcontainer configurations (e.g., PR #357).
    • Cleanup of code comments and removal of unused files (e.g., PR #360) to enhance readability and stability.

Notes

  1. Active Swaps: As with previous releases, ensure you have no active swaps before upgrading.
  2. Upgrade Procedure: Refer to the Upgrade Guide for detailed instructions.
  3. LWK Beta Status: LWK support remains in beta; please report any issues or feedback to improve its reliability.

Release Status

Most PeerSwap features are stable; however, newly added components like LWK and the Premium feature remain in early or beta stages. Feedback is highly encouraged to further enhance upcoming releases.

What's Changed

New Contributors

Full Changelog: v4.0rc1...v5.0.0rc