Releases: unstoppabledomains/resolution-swift
Releases · unstoppabledomains/resolution-swift
v6.0.0
v5.0.0
5.0.0
Changes
- Ability to resolve
.zil
domains from Polygon and Ethereum networks - Reverse resolution support via
Resolution#reverse
andResolution#reverseTokenId
methods - Change default blockchain provider from Infura to Alchemy
Breaking changes
- ZNS support moved under UNS nameserice
- Remove separate ZNS config
v4.0.0
4.0.0
Breaking changes
- ENS support has been removed.
- Library configurations has been changed and all ens mentions have been removed.
v 3.0.0 - 🚨🚨🚨Layer 2 is live!
3.0.0
Breaking changes
- Library initialization has been changed.
- Uns configurations now require setup for ETH network for L1 and poligon network for L2
Resolution#getNetwork
has been removed. It is redundant since anyone who is using the library will have the configurations built-inResolution#batchOwners
has changed signature. It now returns a map [String: String?] of domain to owner addresses.Resolution#tokensOwnedBy
has been removed- ENS considered deprecated and will be removed in the future
New methods and features
- 🎉 🎉 🎉 Add Polygon Layer 2 support!
- Introducing
Resolution#allRecords
method. It resolves a domain and returns all records the domain has been configured on the chain as a map [String: String] record to value - Introducing
Resolution#locations
method which will help to determine domains location (blockhain, networkId) and useful metadata like owner, resolver, registry addresses, provider url if possible.
public struct Location: Equatable { var registryAddress: String? var resolverAddress: String? var networkId: String? var blockchain: String? var owner: String? var providerURL: String? }
v 2.0.1
v 2.0.0
2.0.0
Breaking changes
Resolution#isSupported
is now making an async call. Method signature was changed.Configurations
class acceptsuns
configs instead ofcns
.- For example:
let resolution = try Resolution(configs: Configurations(uns: NamingServiceConfig(...uns config)));
- For example:
New methods and features
- Support new TLD's ( .888, .nft, .coin, .blockchain, .wallet, .x, .bitcoin, .dao )
- Introduce Resolution#tokenURI - Retrieves the tokenURI from the registry smart contract
- Introduce Resolution#tokenURIMetadata - Retrieves the data from the endpoint provided by tokenURI from the registry smart contract.
- Introduce Resolution#unhash - Retrieves the domain name from token metadata that is provided by tokenURI from the registry smart contract
- Return
ENS
support - Allowed custom networks for each of the naming services. If custom network has been set, it is required to set the proxyReader contract address for UNS and registryAddress for ENS && ZNS (see
./Sources/UnstoppableDomainsResolution/Resources/UNS/uns-config.json
)
v 1.0.0
v 0.3.7
0.3.7
- Zns fix (#40) via @merenkoff
- Warning in project due to incorrect podspec #38 via @merenkoff
v 0.3.6
0.3.6
- Zilliqa testnet support. (#37) via @merenkoff
- UnregisteredDomain instead of UnspecifiedResolver (#36) via @JohnnyJumper
v 0.3.5
0.3.5
- Introduce DomainResolution#getMultiChainAddress general method to fetch a ticker address from specific chain
- Deprecate DomainResolution#getUsdt method in favor of DomainResolution#getMultiChainAddress
- General multichain support (#33) via @JohnnyJumper
- Auto network (#32) via @JohnnyJumper
- Move Base58 lib from dependencies to internal sources.