Skip to content

Commit

Permalink
Release v0.13.0 (hyperledger-labs#415)
Browse files Browse the repository at this point in the history
* feat(wallet, channel): Change backend to map of backends
feat(Asset, Adjudicator): Add AssetID struct to identify assets with LedgerID and BackendID
feat(persistence, wire): Use map[int]Address to identify clients

Signed-off-by: Sophia Koehler <[email protected]>

* fix(multi): Add AssetIDKey struct to fix the map lookups for funders and adjudicators.
fix(randomizer): Lookup backend opts to correctly initialize address maps.
fix(test): Generalize tests to be used in other backends.

Signed-off-by: Sophia Koehler <[email protected]>

* fix(all): Use map[int]ID instead of id for each backend.

Signed-off-by: Sophia Koehler <[email protected]>

* fix(all): Add map of IDs

Signed-off-by: Sophia Koehler <[email protected]>

* fix(channel/backend): Revert change in verify.
fix(wallet/wallet, wallet/account): Revert changed definition.
feat(client): Add wallet map to client for each backend.

Signed-off-by: Sophia Koehler <[email protected]>

* fix(Adjudicator): Change to singular channel ID in events.

Signed-off-by: Sophia Koehler <[email protected]>

* fix(client/test): Generalize role test.

Signed-off-by: Sophia Koehler <[email protected]>

* feat(channel): Add backend field check.
feat(client/test, wire): Add backendID arguments.

Signed-off-by: Sophia Koehler <[email protected]>

* fix(subchannel_dispute): Generalize event watcher.

Signed-off-by: Sophia Koehler <[email protected]>

* feat: Asset Address function to handle encoding in backends.

Signed-off-by: Sophia Koehler <[email protected]>

* feat(apps/payment, backend/sim, channel/test, client/test, log, wallet, ): Specify backend for randomizers
feat(channel/multi): Change AssetID to interface
feat(channel/persistence, client/test): Generalize test for backends

Signed-off-by: Sophia Koehler <[email protected]>

* fix(asset.go, allocation.go): Adjust Address() to return byte[] instead of string.
fix(params.go): Change IDKey to encode map entries sorted by keys.
fix(backend.go): Use BackendID in argument to sign depending on backend.
fix(address.go): Sort Addresses by keys before adding them to Keys.

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Remove unnecessary logs

Signed-off-by: Sophia Koehler <[email protected]>

* fix: Remove repeated assetIDs in LedgerID array

Signed-off-by: Sophia Koehler <[email protected]>

* chore: update go.sum, gofmt some files

Signed-off-by: Sophia Koehler <[email protected]>

* fix(wallet/backend.go): Return just one error instead of concatenation of errors
chore(All): Run gofmt and sort imports

Signed-off-by: Sophia Koehler <[email protected]>

* fix(golangci.yml): Exclude generated file from linter
chore: Refactor for linter

Signed-off-by: Sophia Koehler <[email protected]>

* fix(ci): Use go1.18 for the any type in proto
fix(golangci): Fix structure

Signed-off-by: Sophia Koehler <[email protected]>

* fix(ci): Use glinter 1.45 which supports go1.18

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Add nolint flags for conversions

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): remove unnecessary flags

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Rename and add comments to exported functions

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Rename variables

Signed-off-by: Sophia Koehler <[email protected]>

* fix(params, address): Fix index allocation

Signed-off-by: Sophia Koehler <[email protected]>

* refactor(/apps/payment, /sim/wallet, /channel, /client, /wallet, /wire): Name test backend ID in tests
refactor(/multi, /client/test): Rename AssetID to MultiLedgerID

Signed-off-by: Sophia Koehler <[email protected]>

* refactor: Name TestBackendID, rename multiLedgerID to LedgerBackendID

Signed-off-by: Sophia Koehler <[email protected]>

* refactor: Fix comment on exported function

Signed-off-by: Sophia Koehler <[email protected]>

* chore(all): Update license dates

Signed-off-by: Sophia Koehler <[email protected]>

* chore(backendtest): Rename to fix import issues

Signed-off-by: Sophia Koehler <[email protected]>

* chore: Update license date
fix: revert increased timeouts

Signed-off-by: Sophia Koehler <[email protected]>

* chore(CHANGELOG): Added release description for 0.13.0

Signed-off-by: Sophia Koehler <[email protected]>

* feat: More detailed points and include remove-channelId-map PR

Signed-off-by: Sophia Koehler <[email protected]>

---------

Signed-off-by: Sophia Koehler <[email protected]>
  • Loading branch information
sophia1ch authored Feb 11, 2025
1 parent 7af28d5 commit eddc25b
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,38 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.0] Metis - 2025-01-19 [:boom:]
Support for multiple backends, allowing multiple address implementations per client. This enables the simultaneous use of several smaller backends, enhancing modularization.

## Added :boom:

* Backend field in Allocation [#410]

* Added interface restrictions to ensure cross-contract compatibility, including new functions and fields in interfaces such as Asset and Address [#410]

## Changed

* Updade action cache [#409]

* Update workflow go version to 1.18 [#410]

* Global Backend map in wire and wallet module [#410]

* Global Randomizer map in wallet and channel tests [#410]

* Participant map to allow multiple addresses per participant [#410] :boom:

* Code refactoring from channel ID map to singular channel ID [#413]

[#409]: https://github.com/hyperledger-labs/go-perun/pull/409
[#410]: https://github.com/hyperledger-labs/go-perun/pull/410
[#413]: https://github.com/hyperledger-labs/go-perun/pull/413

## Legend
- <span id="breaking">:boom:</span> This is a breaking change, e.g., it changes the external API.

[:boom:]: #breaking

## [0.12.0] Leda - 2024-11-19 [:boom:]
Flexibility in funding for payment channels and basic Layer-2 security.

Expand Down

0 comments on commit eddc25b

Please sign in to comment.