Skip to content

Commit

Permalink
Merge branch 'rc-v1.6.0' into fetch-deposit-address-list-with-network
Browse files Browse the repository at this point in the history
  • Loading branch information
alplabin authored May 30, 2024
2 parents 79899f5 + b4c50aa commit accf4ec
Show file tree
Hide file tree
Showing 164 changed files with 4,896 additions and 2,670 deletions.
6 changes: 3 additions & 3 deletions .phan/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
* after this file is read.
*/
return [
// Supported values: `'5.6'`, `'7.0'`, `'7.1'`, `'7.2'`, `'7.3'`,
// `'7.4'`, `'8.0'`, `'8.1'`, `null`.
// Supported values: `'5.6'`, `'7.0'`, `'7.1'`, `'7.2'`, `'7.3'`, `'7.4'`,
// `'8.0'`, `'8.1'`, `'8.2'`, `'8.3'`, `null`.
// If this is set to `null`,
// then Phan assumes the PHP version which is closest to the minor version
// of the php executable used to execute Phan.
//
// Note that the **only** effect of choosing `'5.6'` is to infer
// that functions removed in php 7.0 exist.
// (See `backward_compatibility_checks` for additional options)
'target_php_version' => '7.4',
'target_php_version' => '8.2',

// A list of directories that should be parsed for class and
// method information. After excluding the directories
Expand Down
131 changes: 128 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,133 @@
# CHANGELOG

## 1.6.0 - 2024-05-30
### Added
- Convert
- `GET /sapi/v1/convert/exchangeInfo`
- `GET /sapi/v1/convert/assetInfo`
- `POST /sapi/v1/convert/getQuote`
- `POST /sapi/v1/convert/acceptQuote`
- `GET /sapi/v1/convert/orderStatus`
- `POST /sapi/v1/convert/limit/placeOrder`
- `POST /sapi/v1/convert/limit/cancelOrder`
- `GET /sapi/v1/convert/limit/queryOpenOrders`

- CryptoLoans
- `POST /sapi/v1/loan/borrow`
- `GET /sapi/v1/loan/borrow/history`
- `GET /sapi/v1/loan/ongoing/orders`
- `POST /sapi/v1/loan/repay`
- `GET /sapi/v1/loan/repay/history`
- `POST /sapi/v1/loan/adjust/ltv`
- `GET /sapi/v1/loan/ltv/adjustment/history`
- `GET /sapi/v1/loan/loanable/data`
- `GET /sapi/v1/loan/collateral/data`
- `GET /sapi/v1/loan/repay/collateral/rate`
- `POST /sapi/v1/loan/customize/margin_call`

- DualInvestment
- `GET /sapi/v1/dci/product/list`
- `POST /sapi/v1/dci/product/subscribe`
- `GET /sapi/v1/dci/product/positions`
- `GET /sapi/v1/dci/product/accounts`
- `POST /sapi/v1/dci/product/auto_compound/edit-status`

- GiftCard
- `POST /sapi/v1/giftcard/buyCode`
- `GET /sapi/v1/giftcard/buyCode/token-limit`

- Margin
- `POST /sapi/v1/margin/borrow-repay`
- `GET /sapi/v1/margin/borrow-repay`
- `GET /sapi/v1/margin/crossMarginCollateralRatio`
- `GET /sapi/v1/margin/exchange-small-liability`
- `POST /sapi/v1/margin/exchange-small-liability`
- `GET /sapi/v1/margin/exchange-small-liability-history`
- `GET /sapi/v1/margin/next-hourly-interest-rate`
- `GET /sapi/v1/margin/capital-flow`
- `GET /sapi/v1/margin/delist-schedule`
- `GET /sapi/v1/margin/available-inventory`
- `POST /sapi/v1/margin/manual-liquidation`
- `GET /sapi/v1/margin/leverageBracket`

- Market
- `GET /api/v3/uiKlines`
- `GET /api/v3/ticker/tradingDay`

- PortfolioMargin
- `GET /sapi/v1/portfolio/interest-history`
- `GET /sapi/v1/portfolio/asset-index-price`
- `POST /sapi/v1/portfolio/auto-collection`
- `POST /sapi/v1/portfolio/asset-collection`
- `POST /sapi/v1/portfolio/bnb-transfer`
- `POST /sapi/v1/portfolio/repay-futures-switch`
- `GET /sapi/v1/portfolio/repay-futures-switch`
- `POST /sapi/v1/portfolio/repay-futures-negative-balance`
- `GET /sapi/v1/portfolio/margin-asset-leverage`

- Trade
- `GET /api/v3/myPreventedMatches`
- `GET /api/v3/myAllocations`
- `GET /api/v3/account/commission`
- `POST /api/v3/sor/order`
- `POST /api/v3/sor/order/test`

- Wallet
- `GET /sapi/v1/capital/contract/convertible-coins`
- `POST /sapi/v1/capital/contract/convertible-coins`
- `POST /sapi/v1/capital/deposit/credit-apply`
- `GET /sapi/v1/capital/deposit/address/list`
- `GET /sapi/v1/asset/wallet/balance`
- `GET /sapi/v1/asset/custody/transfer-history`
- `GET /sapi/v1/spot/delist-schedule`
- `GET /sapi/v1/capital/withdraw/address/list`

### Updated
- Upgrade dependencies
- Update PHP version to 8.2

### Removed
- Bswap
- `GET /sapi/v1/bswap/pools`
- `GET /sapi/v1/bswap/liquidity`
- `POST /sapi/v1/bswap/liquidityAdd`
- `POST /sapi/v1/bswap/liquidityRemove`
- `GET /sapi/v1/bswap/liquidityOps`
- `GET /sapi/v1/bswap/quote`
- `POST /sapi/v1/bswap/swap`
- `GET /sapi/v1/bswap/swap`
- `GET /sapi/v1/bswap/poolConfigure`
- `GET /sapi/v1/bswap/addLiquidityPreview`
- `GET /sapi/v1/bswap/removeLiquidityPreview`
- `GET /sapi/v1/bswap/unclaimedRewards`
- `POST /sapi/v1/bswap/claimRewards`
- `GET /sapi/v1/bswap/claimedHistory`

- Margin
- `GET /sapi/v1/margin/isolated/pair`
- `POST /sapi/v1/margin/isolated/transfer`
- `GET /sapi/v1/margin/isolated/transfer`
- `GET /sapi/v1/margin/asset`
- `POST /sapi/v1/margin/loan`
- `GET /sapi/v1/margin/dribblet`
- `GET /sapi/v1/margin/loan`
- `GET /sapi/v1/margin/pair`
- `POST /sapi/v1/margin/repay`
- `GET /sapi/v1/margin/repay`
- `POST /sapi/v1/margin/transfer`

- Staking
- `GET /sapi/v1/staking/productList`
- `POST /sapi/v1/staking/purchase`
- `POST /sapi/v1/staking/redeem`
- `GET /sapi/v1/staking/position`
- `GET /sapi/v1/staking/stakingRecord`
- `POST /sapi/v1/staking/setAutoStaking`
- `GET /sapi/v1/staking/personalLeftQuota`

## 1.5.0 - 2023-07-03

### Update
### Updated
- Update `guzzlehttp/guzzle` to latest version
- Drop support of PHP 7.* or 8.0

Expand All @@ -27,7 +152,7 @@
- New endpoint `POST /sapi/v3/asset/getUserAsset`
- New endpoint `GET /sapi/v1/margin/dribblet`

### Update
### Updated

- Updated endpoint `GET /sapi/v1/convert/tradeFlow` weight

Expand All @@ -40,7 +165,7 @@
- New websocket stream `<symbol>@ticker_<window_size>`
- New websocket stream `!ticker_<window-size>@arr`

### Update
### Updated

- Pump `guzzlehttp/guzzle` to latest version
- Apply lint fix
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": ">=7.4.0",
"php": ">=8.1.0",
"psr/log": "^1|^2|^3",
"guzzlehttp/guzzle": "^7.7",
"ratchet/pawl": "^0.4"
Expand All @@ -21,7 +21,7 @@
"phpunit/phpunit": "^9.5",
"2pd/guzzle-http-mock": "^4.0",
"friendsofphp/php-cs-fixer": "^3.0",
"phan/phan": "5.x"
"phan/phan": "^5.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit accf4ec

Please sign in to comment.