Skip to content

Commit

Permalink
[Release] 1.0.0-beta.2 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanz0rz authored Oct 24, 2024
1 parent e3ad3a7 commit ab94614
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file.

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.

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

## [v1.0.0-beta.1] - 2024-8-22
[v1.0.0-beta.1 releas page](https://github.com/1inch/1inch-sdk-go/releases/tag/v1.0.0-beta.1)
[v1.0.0-beta.1 release page](https://github.com/1inch/1inch-sdk-go/releases/tag/v1.0.0-beta.1)

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

Expand Down
2 changes: 1 addition & 1 deletion internal/http-executor/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (c *Client) prepareRequest(ctx context.Context, method string, fullURL *url
return nil, err
}

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

0 comments on commit ab94614

Please sign in to comment.