Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Releases: enjin/enjin-cpp-sdk

1.0.0.2002 (beta)

11 Apr 23:22
6671723
Compare
Choose a tag to compare
1.0.0.2002 (beta) Pre-release
Pre-release
  • Added GetAssetsFromProjects to IProjectSchema.
  • Added GetBalancesFromProjects to ISharedSchema.

1.0.0.2001 (beta)

02 Jan 21:30
69483ac
Compare
Choose a tag to compare
1.0.0.2001 (beta) Pre-release
Pre-release

Added

  • Added UpdateName request to IProjectSchema.

Fixed

  • Fixed GraphQL template argument type for BridgeClaimAsset.

1.0.0.2000 (beta)

18 Jul 20:43
e32098b
Compare
Choose a tag to compare
1.0.0.2000 (beta) Pre-release
Pre-release

Added

  • Added JsonValue class.
  • Added JsonUtils utility class.
  • Added EnumUtils utility class.
  • Added to_json() member-function to ISerializable.
  • Added reauthentication features to ProjectClient.
  • Added close() and is_closed() member-functions to ClientMiddleware.

Changed

  • Enums and constant expressions now use pascal case instead of upper-snake-case for their naming convention.
  • Renamed DEL value in HttpMethod to Delete.
  • Renamed ERR value in LogLevel to Error.
  • Renamed AssetSort to AssetSortInput.
  • Renamed Melt to MeltInput.
  • Renamed PaginationOptions to PaginationInput.
  • Renamed Request to Transaction.
  • Renamed RequestState to TransactionState.
  • Renamed RequestType to TransactionType.
  • Renamed Trade to TradeInput.
  • Renamed TransactionSort to TransactionSortInput.
  • Renamed Transfers to TransferInput.
  • Renamed GetRequest to GetTransaction.
  • Renamed GetRequests to GetTransactions.
  • Renamed ProjectTransactionRequestArguments to TransactionRequestArguments.
  • Renamed TrustedPlatformMiddleware to ClientMiddleware.
  • 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
    to JsonValue.
  • Changed the type of value contained within the optional for TransactionEvent::get_inputs() from a vector of strings
    to a vector of type JsonValue.
  • Changed the type of value contained within the optional for TransactionEvent::get_non_indexedinputs() from a vector
    of strings to a vector of type JsonValue.
  • Changed the type of value contained within the optional for TransactionEvent::get_indexed_inputs() from a vector of
    strings to a vector of type JsonValue.
  • Changed the type of value contained within the optional for TransactionLog::get_data() from a vector of strings to a
    vector of type JsonValue.
  • Changed the type of value contained within the optional for TransactionLog::get_topics() from a vector of strings to
    a vector of type JsonValue.
  • Changed methods to use pass-by-value instead of pass-by-reference where appropriate.
  • Moved functionality of TrustedPlatformHandler over to ClientMiddleware.
  • Copy and move constructors for PlayerClient, ProjectClient, and PusherEventService 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 for GetPlayer, GetPlayers, GetWallet,
    and GetWallets requests.

1.0.0.1006 (alpha)

05 Jul 09:54
f85bef6
Compare
Choose a tag to compare
1.0.0.1006 (alpha) Pre-release
Pre-release

Added

  • Added GOERLI to EnjinHosts.hpp.

Removed

  • Removed KOVAN from EnjinHosts.hpp.

1.0.0.1005 (alpha)

23 May 12:33
2779d41
Compare
Choose a tag to compare
1.0.0.1005 (alpha) Pre-release
Pre-release

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 to TransactionFragmentArguments.
  • Added set_wallet_balance_filter, set_with_wallet_balances, and set_with_wallet_transaction member-functions
    to WalletFragmentArguments.
  • Added getters for balances and transactions to Wallet model.

Changed

  • Refactored Balance, Player, Request, and Wallet models to use pimpl idiom.
  • Changed name of member-function set_asset_id_format in TransactionFragmentArguments
    to set_transaction_asset_id_format.
  • WalletFragmentArguments now implements BalanceFragmentArguments and TransactionFragmentArguments.

Fixed

  • Fixed issue with argument interfaces not serializing data from parent argument interfaces.
  • Fixed missing equality operator in ProjectTransactionRequestArguments.

1.0.0.1004 (alpha)

25 Apr 10:11
6a847ec
Compare
Choose a tag to compare
1.0.0.1004 (alpha) Pre-release
Pre-release

Changed

  • Removed set_project_uuid and set_project_uuid_in member-functions from BalanceFilter.

1.0.0.1003 (alpha)

11 Apr 12:06
79312d9
Compare
Choose a tag to compare
1.0.0.1003 (alpha) Pre-release
Pre-release

Changed

  • GetWallets query in project schema no longer implements PaginationArguments.

Fixed

  • Fixed typo for result in GetWallets.gql template file for project schema.

1.0.0.1002 (alpha)

01 Mar 23:54
Compare
Choose a tag to compare
1.0.0.1002 (alpha) Pre-release
Pre-release

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)

10 Nov 22:22
Compare
Choose a tag to compare
1.0.0.1001 (alpha) Pre-release
Pre-release

Added

  • Added Enjin Bridge mutations for project and player schemas.
  • Added get_asset member-function to Request.
  • Added set_asset_id_format method to TransactionFragmentArguments.

Changed

  • The asset for transactions is now included in returned Request models when using set_with_asset_data() in requests which inherit TransactionFragmentArguments.

1.0.0.1000 (alpha)

27 Sep 20:54
e6d3d9e
Compare
Choose a tag to compare
1.0.0.1000 (alpha) Pre-release
Pre-release

Implementation of Player and Project Schemas

This alpha release introduces support for the new V2 Platform Schemas (Player and Project).