Skip to content

Latest commit

 

History

History
160 lines (109 loc) · 6.76 KB

CHANGELOG.md

File metadata and controls

160 lines (109 loc) · 6.76 KB

Resolution-swift CHANGELOG

6.1.0 - 2023-07-10

Add new addr override

6.0.0 - 2023-04-05

Remove default RPC urls, Allow initialized with UD partner key

5.2.2

  • Update uns-config.json and resolver-keys.json

5.2.1

  • Updated README with Infura key rate limit information about our key vs their own

5.2.0

  • Change default blockchain provider to Infura, from Alchemy

5.1.0

  • Deprecate allRecords method

5.0.0

  • Ability to resolve .zil domains from Polygon and Ethereum networks
  • Reverse resolution support via Resolution#reverse and Resolution#reverseTokenId methods
  • Change default blockchain provider from Infura to Alchemy

Breaking changes

  • ZNS support moved under UNS nameserice
  • Remove separate ZNS config

4.0.0

Breaking changes

  • ENS support has been removed.
    • Library configurations has been changed and all ens mentions have been removed.

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-in
  • Resolution#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? }

2.0.1

  • Fix Resolution#tokensOwnedBy issue with lowercased addresses.

2.0.0

Breaking changes

  • Resolution#isSupported is now making an async call. Method signature was changed.
  • Configurations class accepts uns configs instead of cns.
    • For example: let resolution = try Resolution(configs: Configurations(uns: NamingServiceConfig(...uns config)));

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)

1.0.0

0.3.7

0.3.6

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.

0.3.0

  • Customizing naming services
  • Version 0.3.0 introduced the Configurations struct that is used for configuring each connected naming service.
  • Library can offer three naming services at the moment:
  • cns resolves .crypto domains,
  • ens resolves .eth domains,
  • zns resolves .zil domains

By default, each of them is using the mainnet network via infura provider. Unstoppable domains are using the infura key with no restriction for CNS. Unstoppable domains recommends setting up your own provider for ENS, as we don't guarantee ENS Infura key availability. You can update each naming service separately

0.2.0

0.1.6

0.1.4

  • Batch Request for owners of domains

0.1.2

  • Ininial release