This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
Releases: enjin/enjin-cpp-sdk
Releases · enjin/enjin-cpp-sdk
1.0.0.2002 (beta)
- Added
GetAssetsFromProjects
toIProjectSchema
. - Added
GetBalancesFromProjects
toISharedSchema
.
1.0.0.2001 (beta)
Added
- Added
UpdateName
request toIProjectSchema
.
Fixed
- Fixed GraphQL template argument type for
BridgeClaimAsset
.
1.0.0.2000 (beta)
Added
- Added
JsonValue
class. - Added
JsonUtils
utility class. - Added
EnumUtils
utility class. - Added
to_json()
member-function toISerializable
. - Added reauthentication features to
ProjectClient
. - Added
close()
andis_closed()
member-functions toClientMiddleware
.
Changed
- Enums and constant expressions now use pascal case instead of upper-snake-case for their naming convention.
- Renamed
DEL
value inHttpMethod
toDelete
. - Renamed
ERR
value inLogLevel
toError
. - Renamed
AssetSort
toAssetSortInput
. - Renamed
Melt
toMeltInput
. - Renamed
PaginationOptions
toPaginationInput
. - Renamed
Request
toTransaction
. - Renamed
RequestState
toTransactionState
. - Renamed
RequestType
toTransactionType
. - Renamed
Trade
toTradeInput
. - Renamed
TransactionSort
toTransactionSortInput
. - Renamed
Transfers
toTransferInput
. - Renamed
GetRequest
toGetTransaction
. - Renamed
GetRequests
toGetTransactions
. - Renamed
ProjectTransactionRequestArguments
toTransactionRequestArguments
. - Renamed
TrustedPlatformMiddleware
toClientMiddleware
. - Moved
AssetTransferFeeSettingsInput
to its own header file. - Moved
HttpMethod
to its own header file. - Moved
LogLevel
to its own header file. HttpRequest
now uses setter member-functions instead of a builder.- Getters in
HttpRequest
now return an optional. - Builders are now nested in the classes they are implemented for.
- Build function in builder for
PusherEventService
now returns a unique-pointer. - Moved Enjin host URI expressions in EnjinHosts.hpp into a utility class named
EnjinHosts
. - Changed the type of value contained within the optional for
AssetVariant::get_variant_metadata()
from a string
toJsonValue
. - Changed the type of value contained within the optional for
TransactionEvent::get_inputs()
from a vector of strings
to a vector of typeJsonValue
. - Changed the type of value contained within the optional for
TransactionEvent::get_non_indexedinputs()
from a vector
of strings to a vector of typeJsonValue
. - Changed the type of value contained within the optional for
TransactionEvent::get_indexed_inputs()
from a vector of
strings to a vector of typeJsonValue
. - Changed the type of value contained within the optional for
TransactionLog::get_data()
from a vector of strings to a
vector of typeJsonValue
. - Changed the type of value contained within the optional for
TransactionLog::get_topics()
from a vector of strings to
a vector of typeJsonValue
. - Changed methods to use pass-by-value instead of pass-by-reference where appropriate.
- Moved functionality of
TrustedPlatformHandler
over toClientMiddleware
. - Copy and move constructors for
PlayerClient
,ProjectClient
, andPusherEventService
are now explicitly deleted. - Constructors for schema classes now take a unique-pointer for an HTTP client instead of a middleware.
- The future returned by
PusherEventService::shutdown()
no longer completes exceptionally if the function is called
prior to starting the service. - The destructor for
PusherEventService
now attempts to shut down the service. - Argument interfaces for requests no longer override parent functions to access internal implementations.
- Argument interfaces for requests now use static-cast instead of dynamic-cast for their chaining functions.
- Content-Type header for
HttpRequest
is now stored in its headers set.
Removed
- Removed internal argument implementation classes.
- Removed class
LoggerImpl
from public space.
Fixed
ClientMiddleware
now checks if its HTTP client is null.- Added template specializations of
BalanceFragmentArguments
forGetPlayer
,GetPlayers
,GetWallet
,
andGetWallets
requests.
1.0.0.1006 (alpha)
Added
- Added
GOERLI
toEnjinHosts.hpp
.
Removed
- Removed
KOVAN
fromEnjinHosts.hpp
.
1.0.0.1005 (alpha)
Added
- Added arguments and fields to
Transaction.gql
template file for getting the wallet address. - Added arguments and fields to
Wallet.gql
template file for getting balances and transactions. - Added
set_with_transaction_wallet_address
member-function toTransactionFragmentArguments
. - Added
set_wallet_balance_filter
,set_with_wallet_balances
, andset_with_wallet_transaction
member-functions
toWalletFragmentArguments
. - Added getters for balances and transactions to
Wallet
model.
Changed
- Refactored
Balance
,Player
,Request
, andWallet
models to use pimpl idiom. - Changed name of member-function
set_asset_id_format
inTransactionFragmentArguments
toset_transaction_asset_id_format
. WalletFragmentArguments
now implementsBalanceFragmentArguments
andTransactionFragmentArguments
.
Fixed
- Fixed issue with argument interfaces not serializing data from parent argument interfaces.
- Fixed missing equality operator in
ProjectTransactionRequestArguments
.
1.0.0.1004 (alpha)
Changed
- Removed
set_project_uuid
andset_project_uuid_in
member-functions fromBalanceFilter
.
1.0.0.1003 (alpha)
Changed
GetWallets
query in project schema no longer implementsPaginationArguments
.
Fixed
- Fixed typo for
result
inGetWallets.gql
template file for project schema.
1.0.0.1002 (alpha)
Changed
- Updated path to template generation command in root CMakeLists file.
- Updated regular expression used by
TemplateLoader
to match a wider range of characters leading to the "schemas"
folder.
Fixed
- Fixed package installation procedure in root CMakeLists file.
1.0.0.1001 (alpha)
Added
- Added Enjin Bridge mutations for project and player schemas.
- Added
get_asset
member-function toRequest
. - Added
set_asset_id_format
method toTransactionFragmentArguments
.
Changed
- The asset for transactions is now included in returned
Request
models when usingset_with_asset_data()
in requests which inheritTransactionFragmentArguments
.
1.0.0.1000 (alpha)
Implementation of Player and Project Schemas
This alpha release introduces support for the new V2 Platform Schemas (Player and Project).