Skip to content

Commit ab94614

Browse files
authored
[Release] 1.0.0-beta.2 (#83)
1 parent e3ad3a7 commit ab94614

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) starting with the *v1.0.0-beta.1* release.
66

7+
## [v1.0.0-beta.2] - 2024-10-23
8+
[v1.0.0-beta.2 release page](https://github.com/1inch/1inch-sdk-go/releases/tag/v1.0.0-beta.2)
9+
### Changed
10+
- Classic Swap updated to use V6 API
11+
- Added examples for all Classic Swap endpoints
12+
- When using TransactionBuilder, if no `gas` value is specified in the transaction config, `eth_estimateGas` will be used by default
13+
714
## [v1.0.0-beta.1] - 2024-8-22
8-
[v1.0.0-beta.1 releas page](https://github.com/1inch/1inch-sdk-go/releases/tag/v1.0.0-beta.1)
15+
[v1.0.0-beta.1 release page](https://github.com/1inch/1inch-sdk-go/releases/tag/v1.0.0-beta.1)
916

1017
Note: This changelog summarizes all changes since the last *changelog* version of v0.0.3-developer-preview
1118

internal/http-executor/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (c *Client) prepareRequest(ctx context.Context, method string, fullURL *url
7272
return nil, err
7373
}
7474

75-
req.Header.Set("User-Agent", "1inch-dev-portal-client-go:0.0.3-developer-preview")
75+
req.Header.Set("User-Agent", "1inch-dev-portal-client-go:v1.0.0-beta.2")
7676
req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", c.apiKey))
7777
if len(body) > 0 {
7878
req.Header.Set("Content-Type", "application/json")

0 commit comments

Comments
 (0)