Releases: identity-com/sol-did
Releases · identity-com/sol-did
3.3.0
[3.3.0] - 2023-01-04
Added
- Allow to initialize
DidService
with adid:
string
Changed
- Updated
updateFromDoc
to expect a generalizedDidDocument
and not aDidSolDocument
- Updated
anchor-lang
dependency to0.26.0
- Updated program Solana dependencies to latest version.
Deprecated
Removed
Fixed
Security
3.2.0
Added
- Implemented
::try_from
onDidAccount
to easily support generative and non-generative integrations - Added generative method on
DidSolDataAccount
class for simple integration ofnull
case. - Added required
Cargo.toml
package data forsol-did
publication on crates.io.
Changed
- Removed
publicKey: string;
fromEthSigner
interface. This makes it compatible with
class JsonRpcSigner extends Signer
ofethers
. - Filter methods on
DidAccount
verificationmethods are not public. DidSolError
is 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_message
as 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_authority
andfind_authority
function 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
yarn
workspace under sol-did DidSolService
allows to chain multiple "general" operations- Expose
crate::integrations::is_authority
to 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:
addVerificationMethod
andsetVerificationMethodFlags
now acceptflags
as an array ofBitwiseVerificationMethodFlag
- Breaking: Updated
DidSolService.build()
Builder interface signature. - Breaking:
addService
operation takes an additionalallowsOverwrite
flag to allow an update of an existing service without removing it first. - Client operations with
authority
andpayer
default tothis._wallet.publicKey
and notthis._didAuthority
- Do not download the IDL from the network, but use the library IDL instead.
DidSolService.build
is notasync
anymore. 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