Releases: identity-com/sol-did
Releases · identity-com/sol-did
3.3.0
[3.3.0] - 2023-01-04
Added
- Allow to initialize
DidServicewith adid:string
Changed
- Updated
updateFromDocto expect a generalizedDidDocumentand not aDidSolDocument - Updated
anchor-langdependency to0.26.0 - Updated program Solana dependencies to latest version.
Deprecated
Removed
Fixed
Security
3.2.0
Added
- Implemented
::try_fromonDidAccountto easily support generative and non-generative integrations - Added generative method on
DidSolDataAccountclass for simple integration ofnullcase. - Added required
Cargo.tomlpackage data forsol-didpublication on crates.io.
Changed
- Removed
publicKey: string;fromEthSignerinterface. This makes it compatible with
class JsonRpcSigner extends Signerofethers. - Filter methods on
DidAccountverificationmethods are not public. DidSolErroris now public.- Fixed resolve error when setting verificationmethod flags
Deprecated
Removed
- Removed legacy codebase (did:sol v1) from repository.
- Removed duplicate code for DidAccount deserialization
3.1.4
[3.1.4] - 2022-10-20
Added
- Provided
pub fn eth_verify_messageas a public utility method to verify eth signed messages. - expose additional modules for integration (constants, legacy, utils)
- Updated spec link to
http://g.identity.com/sol-did - Added Martin Riedel as an author
Changed
- Updated
is_authorityandfind_authorityfunction signatures to not perform secp256k1 verification anymore.
Fixed
- replaced BN .toBuffer() usage that was not working properly in browser.
3.1.2
3.1.1
3.1.0
[3.1.0] - 2022-09-19
Added
- Restructured npm packages to be a single
yarnworkspace under sol-did DidSolServiceallows to chain multiple "general" operations- Expose
crate::integrations::is_authorityto check if a key is an authority on a DID.
Changed
- Breaking:
getDidAccount()now returns a clearer data model for a Verification Method and not the raw on-chain version - Breaking:
addVerificationMethodandsetVerificationMethodFlagsnow acceptflagsas an array ofBitwiseVerificationMethodFlag - Breaking: Updated
DidSolService.build()Builder interface signature. - Breaking:
addServiceoperation takes an additionalallowsOverwriteflag to allow an update of an existing service without removing it first. - Client operations with
authorityandpayerdefault tothis._wallet.publicKeyand notthis._didAuthority - Do not download the IDL from the network, but use the library IDL instead.
DidSolService.buildis notasyncanymore. Therefore it does not need to be awaited
Deprecated
Removed
build()on DidSolService instance. Use static version instead.
Fixed
getDidAccount()tolerates existing accounts with No data.
0.1.0 Initial Release
The initial mainnet release of the SOLID DID method, including Solana program, client library and uniresolver driver