Skip to content

Commit

Permalink
chore: new release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 1, 2024
1 parent 6527e01 commit 6ec46fa
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 45 deletions.
44 changes: 0 additions & 44 deletions .changeset/violet-suits-roll.md

This file was deleted.

44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@peeramid-labs/eds",
"version": "1.0.1",
"version": "2.0.0",
"files": [
"abi",
"deployments",
Expand Down

0 comments on commit 6ec46fa

Please sign in to comment.