Skip to content

Releases: peeramid-labs/eds

v2.0.0

01 Oct 14:15
7087f8f
Compare
Choose a tag to compare

Major Changes

  • #9 6527e018db4e137cef1d5669e713fd9159cfd15b Thanks @peersky! - # Breaking changes

    Deprecated getMetadata in favor of contractURI

    contractURI is more widely used and we want to align with the standard.

    Merged VersionedDistributor into Distributor

    Now there is only a single IDistributor interface. Distribution creators still have two methods of adding distributions - either by specifying repository address, or by specifying a distribution hash id directly.

    The VersionedDistributor is now deprecated and will be removed in the next major version.

    Instantiation function will now automatically detect if the provided address is a repository or a distribution id and call the appropriate method.

    ERC7746 checks will now also automatically detect if the provided address is a repository or a distribution and will enforce version control accordingly.

    Instantiated event

    Now emits also a version indexed parameter, arshHash was removed, args are availible as not indexed object in data

    addDistribution for versioned repositories

    addDistribution now takes LibSemver.VersionRequirement as an argument, which is more convenient way to pack both version and requirement in a single argument.

    Repository now requires cURI

    The cURI is now required for all repositories. This is to ensure that all repositories are compliant with the standard contractURI method

    Reposotory get function

    Repostory get function now takes LibSemver.VersionRequirement as an argument, which is more convenient way to pack both version and requirement in a single argument.

    LibSemver.compare

    compare now takes LibSemver.VersionRequirement as an argument, which is more convenient way to pack both version and requirement in a single argument.

    LibSemver compare(version version) -> areEqual

    compare(Version memory _version1, Version memory _version2) now returns a boolean instead of an integer.

v1.0.1

29 Sep 10:09
b2bde8b
Compare
Choose a tag to compare

Patch Changes

v1.0.0

26 Sep 12:01
a89cf7c
Compare
Choose a tag to compare

Major Changes

Minor Changes

v0.2.1

10 Sep 20:56
88c3741
Compare
Choose a tag to compare

Patch Changes

v0.2.0

10 Sep 20:46
01c50b2
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.1.0

04 Sep 15:01
fe0a547
Compare
Choose a tag to compare

Minor Changes