Changelog
v1.0.0-beta.20
Published the 2023-05-31
Added
- Add
allowList
,mintedByWallet
, andmintedByWalletAbi
to Drop
Changed
- Require one input
integer
to set the quantity inmintAbi
of Drop - Rename Drop's
maxQuantityPerMint
tomaxQuantityPerWallet
v1.0.0-beta.18
Published the 2023-05-26
Added
- Add new fields to
Drop
:maxQuantityPerMint
,supply
,mintAbi
, andmintedAbi
- Add
createDropMinTransaction
mutation - Add resolver
minted
onDrop
to return the current number of minted token related to this drop
Removed
- Remove non nullability on
query.account
v1.0.0-beta.17
Published the 2023-05-17
Added
- Add field
status
toOffer
with filter and order by features - Add
salesAndAuctions
filter onassets
to allow faster filtering on sales and auctions - Add
deleteAccount
mutation. User can delete their own account - Add field
status
toAuction
with filter and order by features - Add field
protocol
toTrade
Changed
- Always return
Account
even if it doesn't exist in the backend
Deprecated
- Deprecate filter
isImported
onAccount
v1.0.0-beta.16
Published the 2023-05-04
Breaking Changes
- Mutation
createComment
now requireschainId
,collectionAddress
andtokenId
instead ofassetId
- Mutations
createLike
anddeleteLike
now requirechainId
,collectionAddress
andtokenId
instead ofassetId
- Query
like
now requirechainId
,collectionAddress
andtokenId
instead ofassetId
Added
- Add field
quantity
to typeAsset
with filter and order by functionalities - Add field
totalCurrencyDistinctCount
on typeOfferOpenSalesConnection
that returns number of unique currencies from this connection ignoring before/after/first/last/offset - Add field
collection.quantity
to return the total editions of all NFTs of a collection, with filter and sort functionalities - Add resolver
ownership(ownerAddress: String)
on typeAsset
to ease the fetch of a specific ownership - Add resolver
groupedByDate
on typesTradesConnection
,CollectionsConnection
,OffersConnection
,AssetsConnection
, andAccountsConnection
- Add field
totalAvailableQuantitySum
on typeOfferOpenSalesConnection
that returns the sum of all the offers' available quantity from from the connection ignoring before/after/first/last/offset - Add mutation
createCancelOfferTransaction
- Add fields
chainId
,collectionAddress
,tokenId
in many types, queries, and mutations:- Type
CreateAssetTransactionPayload
- Query
orderFees
- Mutation
refreshAsset
- Type
AssetWatch
- Type
Ownership
- Type
Offer
,OfferOpenBuy
,OfferOpenSale
and mutationcreateOffer
- Type
Comment
- Type
AssetHistory
- Query
ownership
- Type
Royalty
- Type
Auction
and mutationcreateAuction
- Mutations
watch
andunwatch
- Mutation
createTransferAssetTransaction
- Type
Like
- Type
Changed
- Changed value returned by
collection.supply
: it's now return the total number of NFTs of a collection. Also add filter and sort functionalities, and improve its performance by caching the values - Improve speed of fields
totalListed
andfloorPrice
on typeCollection
- Improve speed of order by
SALES_MIN_UNIT_PRICE_IN_REF
on queryassets
Deprecated
- Deprecate resolver
cancel
on typeOffer
in favor of new mutationcreateCancelOfferTransaction
- Deprecate
assetId
in favor ofchainId
,collectionAddress
,tokenId
in typeCreateAssetTransactionPayload
- Deprecate
assetId
in favor ofchainId
,collectionAddress
,tokenId
in queryorderFees
- Deprecate field
assetId
in mutationrefreshAsset
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeAssetWatch
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeOwnership
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeOffer
,OfferOpenBuy
,OfferOpenSale
and mutationcreateOffer
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeAssetTrait
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeComment
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeAssetHistory
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
in queryownership
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
on typeRoyalty
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
id
in queryasset
in favor ofchainId
,collectionAddress
,tokenId
- Deprecate field
id
in mutationdeleteAsset
in favor ofchainId
,collectionAddress
,tokenId
- Deprecate field
assetId
on typeAuction
and mutationcreateAuction
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
in mutationswatch
andunwatch
in favor ofchainId
,collectionAddress
andtokenId
- Deprecate field
assetId
in favor ofchainId
,collectionAddress
,tokenId
in mutationcreateTransferAssetTransaction
- Deprecate field
assetId
on typeLike
in favor ofchainId
,collectionAddress
andtokenId
Removed
- Remove mutation
registerLoginAccount
- Remove queries
currentAccount
,currentAccountAddress
andisAdmin
- Remove spaces at the beginning of lines in the authentication message
v1.0.0-beta.15
Published the 2023-04-03
Breaking Changes
- Removed
isFollowed
andisWatched
resolvers and filters from Account, Asset and Collection
Added
- New admin APIs:
- Add new
setRole
mutation only available to admins. This mutation let you change the role of any user and upgrade/downgrade them as admin. - Add a new query
admins
returning the list of all the current admin of the platform
- Add new
- Add autogenerated
slug
toAsset
to identify any asset with an url-friendly identifier. This identifier is composed of the asset's name and a few random characters.
Changed
- Type of
Ownership.quantity
changed fromUint256
toInt256
- Increase performance on resolvers on
Auction.winningOffer
,collection.numberOfOwners
,collection.totalListed
,collection.supply
, andasset.royalties
.
Fixed
- Fix results of filter
content: { match: XXX }
when the search contains multiple words, singular/plural and some other cases
v1.0.0-beta.14
Published the 2023-03-09
Breaking Changes
- Fix missing plural on connection between
Account
and itsfollowers
Added
- Add new filter
content: { match: XXX }
to Asset, Collection and Account and thecontentRank
associated and available for ordering (higher is better)
v1.0.0-beta.13
Published the 2023-03-01
Added
- Expose filter
isImported
onAccount
- Expose
CollectionTraitValue
andCollectionTrait
to access collection's trait much faster
Deprecated
- Deprecate
Collection.traits
Fixed
- Fix signature issue with Ledger by normalizing signature using
joinSignature
function from ethers.js
v1.0.0-beta.12
Published the 2023-02-28
Breaking Changes
- Require fields
chainId
,collectionAddress
andmetadata
and remove deprecated fields fromcreateLazyMintedAsset
andcreateLazyMintedAssetSignature
:standard
,name
,description
,animationUrl
,image
,traits
,unlockableContent
. Deprecated since v1.0.0-beta.8. - Remove deprecated mutation
createAsset
. Deprecated since v1.0.0-beta.8. - Remove deprecated
mint
resolvers. Deprecated since v1.0.0-beta.8.
Added
- Expose platform secrets in query
config
, require to be authenticated as an admin - Add APIs to manage webhooks and services, required to be authenticated as an admin
- Add
importCollection
anddeleteCollection
mutations, required to be authenticated as an admin - Add user's role in the jwt
- Add resolver
sync
on collection to expose info related to the synchronization of collection. Limited to admin.
Removed
- Remove envs
ERC721_ADDRESS
andERC1155_ADDRESS
Fixed
- Fix fetch of royalties by using the Rarible Royalties Registry instead of the Collection's smart contract
- Fix fetch of service's endpoint url in query
orderFees
v1.0.0-beta.11
Published the 2023-02-07
Breaking Changes
- Config and request's body of
WEBHOOK_CALCULATE_ORDER_FEES
changed. The request's body now directly contains the args instead of previously in payload- When connecting as a callback, the payload contained the
type
andpayload
- With service, the request contains directly the args
- Warning: All functions for
CALCULATE_ORDER_FEES
need to be updated to work properly
- When connecting as a callback, the payload contained the
Added
- Adds mutation
createOfferSignature
- Add
value
andprecision
fields in response oforderFees
query. Thevalue
is now aString
to allow bigger number - Add new query
rate
and exposerates
oncurrency
Changed
- Mutation
createOffer
now acceptsignature
,timestamp
, andsalt
to create an already signed offer - Update
getFees
mutation to accept additional optional parameters:currencyId
,quantity
, andunitPrice
orderFees
query now accepts optional `assetId- Use service table to query service and not webhook
Deprecated
- Deprecates mutation
publishOffer
and resolveroffer.eip712Data
in favour ofcreateOfferSignature
andcreateOffer
with signature - Deprecate
valuePerTenThousand
field in response oforderFees
query in favour ofvalue
andprecision
fields
Fixed
- Fix mutation
updateAccount
by only updating values present in the query - Disable
followCollection
andunfollowCollection
mutation when social plugin is disabled - Fix
collection.supply
by filtering out assets without owner
v1.0.0-beta.10
Published the 2023-01-10
Breaking Changes
- Un-exposes the
Asset.unlockableContent
field - Correctly type the inputs of type
URI
. They previously used the typeString
- Remove
standard
fromAsset
- Un-exposes the
Offer.signature
field but keep its filter. - Un-exposes queries
assetTrait
andassetTraits
Added
- Add mutation
createCollectionTransaction
to deploy new collection on blockchain - Add field
mintType
to collection - Add check of collection's
mintType
in mutationscreateAssetTransaction
,createLazyMintedAsset
andcreateLazyMintedAssetSignature
- Add field
updatedAt
to collection - Add mutation
updateCollection
- Add field
tags
toCollection
- Add mutations
createCurrencyApprovalTransaction
andcreateCollectionApprovalTransaction
- Add
createOfferFillTransaction
mutation - Add Collection Following feature
Changed
- Prevents the refresh asset function from syncing non-minted assets
- Applies consistent ERC1155 and ERC721 supply validation when creating lazy minted assets
Deprecated
- Deprecate
Asset.token
,Currency.approval
,ERC721.approval
andERC1155.approval
resolvers in favor ofcreateCurrencyApprovalTransaction
andcreateCollectionApprovalTransaction
mutations - Deprecate
offer.fill
resolver. UsecreateOfferFillTransaction
mutation instead
Removed
- Remove
ERC20
fromStandard