From 7087f8f4ac98c4144e2380968bf9ea2a3fd89238 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:14:16 +0700 Subject: [PATCH] chore: new release (#10) Co-authored-by: github-actions[bot] --- .changeset/violet-suits-roll.md | 44 --------------------------------- CHANGELOG.md | 44 +++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 .changeset/violet-suits-roll.md diff --git a/.changeset/violet-suits-roll.md b/.changeset/violet-suits-roll.md deleted file mode 100644 index 36fe4da..0000000 --- a/.changeset/violet-suits-roll.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -"@peeramid-labs/eds": major ---- - -# 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. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f363db4..e695db4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # @peeramid-labs/eds +## 2.0.0 + +### Major Changes + +- [#9](https://github.com/peeramid-labs/eds/pull/9) [`6527e018db4e137cef1d5669e713fd9159cfd15b`](https://github.com/peeramid-labs/eds/commit/6527e018db4e137cef1d5669e713fd9159cfd15b) Thanks [@peersky](https://github.com/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. + ## 1.0.1 ### Patch Changes diff --git a/package.json b/package.json index b29e376..b8efa5c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@peeramid-labs/eds", - "version": "1.0.1", + "version": "2.0.0", "files": [ "abi", "deployments",