Releases: onchain-id/solidity
Releases · onchain-id/solidity
2.2.2-beta2
Update version to 2.2.2-beta2
2.2.2-beta1
compiler version changed on interfaces from 0.8.17 to ^0.8.17 to allow compilation on other versions of solidity on projects that import the interfaces
2.2.1
[2.2.1]
Changed
- Replaced the storage slot used for ImplementationAuthority on the proxies, to avoid conflict with ERC-1822 on
block explorers. By using the same storage slot, the explorers were identifying this proxy as an ERC-1822, while
it's a different implementation here, the storage slot is not used to store the address of the implementation but
the address to ImplementationAuthority contract that references the implementation
2.2.0 - self-attested claims
Added
- Identities are now required to implement the standardized function
isClaimValid(IIdentity _identity, uint256 claimTopic, bytes calldata sig, bytes calldata data) external view returns (bool)
, used for self-attested claims (_identity
is the address of the Identity contract). - Implemented the
isClaimValid
function in the Identity contract. - IdFactory now implements the
implementationAuthority()
getter.
Full Changelog: 2.1.0...2.2.0
2.1.0
Added
- Implemented a new contract
Gateway
to interact with theIdFactory
. TheGateway
contract allows individual
accounts (being EOA or contracts) to deploy identities for their own address as a salt. To deploy using
a custom salt, a signature from an approved signer is required. - Implemented a new base contract
Verifier
to be extended by contract requiring identity verification based on claims
and trusted issuers.
2.1.0-beta3 - Verifier & Gateway
Added
- Implemented a new contract
Gateway
to interact with theIdFactory
. TheGateway
contract allows individual
accounts (being EOA or contracts) to deploy identities for their own address as a salt. To deploy using
a custom salt, a signature from an approved signer is required. - Implemented a new base contract
Verifier
to be extended by contract requiring identity verification based on claims
and trusted issuers.
2.1.0-beta2 - Verifier & Gateway
Added
- Implemented a new contract
Gateway
to interact with theIdFactory
. TheGateway
contract allows individual
accounts (being EOA or contracts) to deploy identities for their own address as a salt. To deploy using
a custom salt, a signature from an approved signer is required. - Implemented a new base contract
Verifier
to be extended by contract requiring identity verification based on claims
and trusted issuers.
2.1.0-beta1 - Verifier & Gateway
Added
- Implemented a new contract
Gateway
to interact with theIdFactory
. TheGateway
contract allows individual
accounts (being EOA or contracts) to deploy identities for their own address as a salt. To deploy using
a custom salt, a signature from an approved signer is required. - Implemented a new base contract
Verifier
to be extended by contract requiring identity verification based on claims
and trusted issuers.
2.0.1
[2.0.1]
Added
- added method createIdentityWithManagementKeys() that allows the factory to issue identities with multiple management keys.
- tests for the createIdentityWithManagementKeys() method
2.0.0
[2.0.0]
Version 2.0.0 Audited by Hacken, more details here
Breaking changes
Deprecation Notice
- ClaimIssuer
revokeClaim
is now deprecated, usage ofrevokeClaimBySignature(bytes signature)
is preferred.
Added
- Add typechain-types (targeting ethers v5).
- Add tests cases for
execute
andapprove
methods. - Add method
revokeClaimBySignature(bytes signature)
in ClaimIssuer, prefer using this method instead of the now
deprecatedrevokeClaim
method. - Add checks on ClaimIssuer to prevent revoking an already revoked claim.
- Added Factory for ONCHAINIDs
Updated
- Switch development tooling to hardhat.
- Implemented tests for hardhat (using fixture for faster testing time).
- Prevent calling
approve
method with a non-request execute nonce (added a require onexecutionNone
). - Update NatSpec of
execute
andapprove
methods.