Skip to content

Commit d400ee2

Browse files
authored
Merge pull request #23 from binance/rc-1.6.0
Release v1.6.0
2 parents 2fc3647 + 5fbc535 commit d400ee2

93 files changed

Lines changed: 266 additions & 2661 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Changelog
22

3+
## 1.6.0 - 2024-10-02
4+
5+
### Changed
6+
- Updated endpoint `/sapi/v1/sub-account/subAccountApi/ipRestriction` to `/sapi/v2/sub-account/subAccountApi/ipRestriction`
7+
- Update dependencies
8+
9+
### Removed
10+
- Deprecated margin endpoints:
11+
- `POST /sapi/v1/margin/transfer`
12+
- `POST /sapi/v1/margin/isolated/transfer`
13+
- `POST /sapi/v1/margin/loan`
14+
- `POST /sapi/v1/margin/repay`
15+
- `GET /sapi/v1/margin/isolated/transfer`
16+
- `GET /sapi/v1/margin/asset`
17+
- `GET /sapi/v1/margin/pair`
18+
- `GET /sapi/v1/margin/isolated/pair`
19+
- `GET /sapi/v1/margin/loan`
20+
- `GET /sapi/v1/margin/repay`
21+
- `GET /sapi/v1/margin/dribblet`
22+
- `GET /sapi/v1/margin/dust`
23+
- `POST /sapi/v1/margin/dust`
24+
25+
- Deprecated SubAccount endpoint: `POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList`
26+
27+
- Deprecated Futures endpoints:
28+
- `GET /sapi/v1/futures/loan/interestHistory`
29+
- `GET /sapi/v1/futures/loan/collateralRepayResult`
30+
- `POST /sapi/v1/futures/loan/collateralRepay`
31+
- `GET /sapi/v1/futures/loan/collateralRepay`
32+
- `GET /sapi/v1/futures/loan/collateralRepayLimit`
33+
- `GET /sapi/v1/futures/loan/liquidationHistory`
34+
- `GET /sapi/v1/futures/loan/adjustCollateral/history`
35+
- `POST /sapi/v2/futures/loan/adjustCollateral`
36+
- `GET /sapi/v2/futures/loan/calcMaxAdjustAmount`
37+
- `GET /sapi/v2/futures/loan/calcAdjustLevel`
38+
- `GET /sapi/v2/futures/loan/configs`
39+
- `GET /sapi/v2/futures/loan/wallet`
40+
- `GET /sapi/v1/futures/loan/repay/history`
41+
- `POST /sapi/v1/futures/loan/repay`
42+
- `GET /sapi/v1/futures/loan/borrow/history`
43+
- `POST /sapi/v1/futures/loan/borrow`
44+
- `GET /sapi/v1/futures/transfer`
45+
- `POST /sapi/v1/futures/transfer`
46+
47+
- BLVT endpoints:
48+
- `GET /sapi/v1/blvt/tokenInfo`
49+
- `POST /sapi/v1/blvt/subscribe`
50+
- `GET /sapi/v1/blvt/subscribe/record`
51+
- `POST /sapi/v1/blvt/redeem`
52+
- `GET /sapi/v1/blvt/redeem/record`
53+
- `GET /sapi/v1/blvt/userLimit`
54+
355
## 1.5.2 - 2024-07-23
456

557
### Changed

Gemfile.lock

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
binance-connector-ruby (1.5.2)
4+
binance-connector-ruby (1.6.0)
55
faraday (~> 1.8)
66
websocket-eventmachine-client (~> 1.3)
77

@@ -30,10 +30,10 @@ GEM
3030
rexml
3131
debug_inspector (1.2.0)
3232
diff-lcs (1.5.1)
33-
docile (1.4.0)
33+
docile (1.4.1)
3434
equalizer (0.0.11)
3535
eventmachine (1.2.7)
36-
faraday (1.10.3)
36+
faraday (1.10.4)
3737
faraday-em_http (~> 1.0)
3838
faraday-em_synchrony (~> 1.0)
3939
faraday-excon (~> 1.1)
@@ -51,13 +51,13 @@ GEM
5151
faraday-httpclient (1.0.1)
5252
faraday-multipart (1.0.4)
5353
multipart-post (~> 2)
54-
faraday-net_http (1.0.1)
54+
faraday-net_http (1.0.2)
5555
faraday-net_http_persistent (1.2.0)
5656
faraday-patron (1.0.0)
5757
faraday-rack (1.0.0)
5858
faraday-retry (1.0.3)
5959
gem-release (2.2.2)
60-
hashdiff (1.1.0)
60+
hashdiff (1.1.1)
6161
ice_nine (0.11.2)
6262
json (2.7.2)
6363
language_server-protocol (3.17.0.3)
@@ -71,30 +71,29 @@ GEM
7171
ice_nine (~> 0.11.1)
7272
procto (~> 0.0.2)
7373
multipart-post (2.4.1)
74-
parallel (1.25.1)
75-
parser (3.3.4.0)
74+
parallel (1.26.3)
75+
parser (3.3.5.0)
7676
ast (~> 2.4.1)
7777
racc
7878
proc_to_ast (0.2.0)
7979
parser
8080
rouge
8181
unparser
8282
procto (0.0.3)
83-
public_suffix (6.0.0)
84-
racc (1.8.0)
83+
public_suffix (6.0.1)
84+
racc (1.8.1)
8585
rainbow (3.1.1)
8686
rake (13.2.1)
8787
regexp_parser (2.9.2)
88-
rexml (3.3.2)
89-
strscan
90-
rouge (4.3.0)
88+
rexml (3.3.8)
89+
rouge (4.4.0)
9190
rspec (3.13.0)
9291
rspec-core (~> 3.13.0)
9392
rspec-expectations (~> 3.13.0)
9493
rspec-mocks (~> 3.13.0)
95-
rspec-core (3.13.0)
94+
rspec-core (3.13.1)
9695
rspec-support (~> 3.13.0)
97-
rspec-expectations (3.13.1)
96+
rspec-expectations (3.13.3)
9897
diff-lcs (>= 1.2.0, < 2.0)
9998
rspec-support (~> 3.13.0)
10099
rspec-mocks (3.13.1)
@@ -112,30 +111,28 @@ GEM
112111
binding_of_caller
113112
rspec-parameterized-core (< 2)
114113
rspec-support (3.13.1)
115-
rubocop (1.65.0)
114+
rubocop (1.66.1)
116115
json (~> 2.3)
117116
language_server-protocol (>= 3.17.0)
118117
parallel (~> 1.10)
119118
parser (>= 3.3.0.2)
120119
rainbow (>= 2.2.2, < 4.0)
121120
regexp_parser (>= 2.4, < 3.0)
122-
rexml (>= 3.2.5, < 4.0)
123-
rubocop-ast (>= 1.31.1, < 2.0)
121+
rubocop-ast (>= 1.32.2, < 2.0)
124122
ruby-progressbar (~> 1.7)
125123
unicode-display_width (>= 2.4.0, < 3.0)
126-
rubocop-ast (1.31.3)
124+
rubocop-ast (1.32.3)
127125
parser (>= 3.3.1.0)
128126
ruby-progressbar (1.13.0)
129127
ruby2_keywords (0.0.5)
130128
simplecov (0.22.0)
131129
docile (~> 1.1)
132130
simplecov-html (~> 0.11)
133131
simplecov_json_formatter (~> 0.1)
134-
simplecov-html (0.12.3)
132+
simplecov-html (0.13.1)
135133
simplecov_json_formatter (0.1.4)
136-
strscan (3.1.0)
137134
thread_safe (0.3.6)
138-
unicode-display_width (2.5.0)
135+
unicode-display_width (2.6.0)
139136
unparser (0.5.7)
140137
abstract_type (~> 0.0.7)
141138
adamantium (~> 0.2.0)
@@ -146,7 +143,7 @@ GEM
146143
mprelude (~> 0.1.0)
147144
parser (>= 3.0.0)
148145
procto (~> 0.0.2)
149-
webmock (3.23.1)
146+
webmock (3.24.0)
150147
addressable (>= 2.8.0)
151148
crack (>= 0.3.2)
152149
hashdiff (>= 0.4.0, < 2.0.0)
@@ -158,7 +155,7 @@ GEM
158155
websocket-eventmachine-client (1.3.0)
159156
websocket-eventmachine-base (~> 1.0)
160157
websocket-native (1.0.0)
161-
yard (0.9.36)
158+
yard (0.9.37)
162159

163160
PLATFORMS
164161
ruby

binance-connector-ruby.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
1515
spec.license = 'MIT'
1616

1717
spec.metadata['homepage_uri'] = spec.homepage
18-
spec.metadata['documentation_uri'] = 'https://binance-docs.github.io/apidocs/spot/en/'
18+
spec.metadata['documentation_uri'] = 'https://developers.binance.com/en'
1919
spec.metadata['source_code_uri'] = 'https://github.com/binance/binance-connector-ruby'
2020

2121
# Specify which files should be added to the gem when it is released.

examples/spot/blvt/get_redeem_record.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/blvt/get_subscribe_record.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/blvt/redeem.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/blvt/subscribe.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/blvt/token_info.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/blvt/user_limit.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

examples/spot/futures/adjust_cross_collateral.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)