Skip to content

Commit 82aedff

Browse files
authored
Merge pull request #183 from b-open-io/revert-v2-to-v1
feat: release v1.2.0 instead of v2.0.1
2 parents 0f6097b + 325c5a5 commit 82aedff

File tree

274 files changed

+692
-693
lines changed

Some content is hidden

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

274 files changed

+692
-693
lines changed

CHANGELOG.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ All notable changes to this project will be documented in this file. The format
44

55
## Table of Contents
66

7-
- [2.0.1 - 2025-06-10](#201---2025-06-10)
8-
- [2.0.0 - 2025-06-08](#200---2025-06-08)
7+
- [1.2.0 - 2025-06-10](#120---2025-06-10)
98
- [1.1.27 - 2025-05-15](#1127---2025-05-15)
109
- [1.1.26 - 2025-05-14](#1126---2025-05-14)
1110
- [1.1.25 - 2025-05-09](#1125---2025-05-09)
@@ -36,17 +35,17 @@ All notable changes to this project will be documented in this file. The format
3635
- [1.1.0 - 2024-08-19](#110---2024-08-19)
3736
- [1.0.0 - 2024-06-06](#100---2024-06-06)
3837

39-
## [2.0.1] - 2025-06-10
40-
41-
### Fixed
42-
- Go module v2 path compliance - added required `/v2` suffix to module path
43-
- Updated all import paths to use `github.com/bsv-blockchain/go-sdk/v2/`
44-
- Updated dependencies and CI/CD tools
45-
46-
## [2.0.0] - 2025-06-08
38+
## [1.2.0] - 2025-06-10
4739

4840
This is a major release introducing comprehensive new modules for authentication, key-value storage, overlay services, registry management, decentralized storage, and advanced wallet functionality. This release represents a significant architectural evolution of the SDK, aligning with the TypeScript SDK's capabilities.
4941

42+
### Updated
43+
- golang.org/x/crypto from v0.29.0 to v0.31.0 (security fixes)
44+
- golang.org/x/sync from v0.9.0 to v0.10.0
45+
- golangci-lint from v2.1.1 to v2.1.6
46+
- GitHub Actions: golangci-lint-action from v6 to v8
47+
- GitHub Actions: sonarcloud-github-action to sonarqube-scan-action v5.0.0
48+
5049
### Added
5150

5251
#### Auth Module (`auth/`)

auth/certificates/certificate.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import (
99
"context"
1010
"errors"
1111
"fmt"
12-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
13-
"github.com/bsv-blockchain/go-sdk/v2/transaction"
14-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
15-
"github.com/bsv-blockchain/go-sdk/v2/wallet/serializer"
12+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
13+
"github.com/bsv-blockchain/go-sdk/transaction"
14+
"github.com/bsv-blockchain/go-sdk/wallet"
15+
"github.com/bsv-blockchain/go-sdk/wallet/serializer"
1616
)
1717

1818
var (

auth/certificates/certificate_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"encoding/base64"
55
"testing"
66

7-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
8-
"github.com/bsv-blockchain/go-sdk/v2/transaction"
9-
tu "github.com/bsv-blockchain/go-sdk/v2/util/test_util"
10-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
7+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
8+
"github.com/bsv-blockchain/go-sdk/transaction"
9+
tu "github.com/bsv-blockchain/go-sdk/util/test_util"
10+
"github.com/bsv-blockchain/go-sdk/wallet"
1111
"github.com/stretchr/testify/assert"
1212
"github.com/stretchr/testify/require"
1313
)

auth/certificates/completed_proto.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"errors"
66

7-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
8-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
7+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
8+
"github.com/bsv-blockchain/go-sdk/wallet"
99
)
1010

1111
// CompletedProtoWallet embeds the ProtoWallet and implements wallet.Interface

auth/certificates/master.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"errors"
88
"fmt"
99

10-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
11-
"github.com/bsv-blockchain/go-sdk/v2/transaction"
12-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
10+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
11+
"github.com/bsv-blockchain/go-sdk/transaction"
12+
"github.com/bsv-blockchain/go-sdk/wallet"
1313
)
1414

1515
var (

auth/certificates/master_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/bsv-blockchain/go-sdk/v2/auth/certificates"
14-
"github.com/bsv-blockchain/go-sdk/v2/auth/utils"
15-
"github.com/bsv-blockchain/go-sdk/v2/chainhash"
16-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
17-
"github.com/bsv-blockchain/go-sdk/v2/transaction"
18-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
13+
"github.com/bsv-blockchain/go-sdk/auth/certificates"
14+
"github.com/bsv-blockchain/go-sdk/auth/utils"
15+
"github.com/bsv-blockchain/go-sdk/chainhash"
16+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
17+
"github.com/bsv-blockchain/go-sdk/transaction"
18+
"github.com/bsv-blockchain/go-sdk/wallet"
1919
)
2020

2121
func TestMasterCertificate(t *testing.T) {

auth/certificates/verifiable.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"errors"
77
"fmt"
88

9-
primitives "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
10-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
9+
primitives "github.com/bsv-blockchain/go-sdk/primitives/ec"
10+
"github.com/bsv-blockchain/go-sdk/wallet"
1111
)
1212

1313

auth/certificates/verifiable_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/bsv-blockchain/go-sdk/v2/chainhash"
10-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
11-
"github.com/bsv-blockchain/go-sdk/v2/transaction"
12-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
9+
"github.com/bsv-blockchain/go-sdk/chainhash"
10+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
11+
"github.com/bsv-blockchain/go-sdk/transaction"
12+
"github.com/bsv-blockchain/go-sdk/wallet"
1313
"github.com/stretchr/testify/require"
1414
)
1515

auth/clients/authhttp/authhttp.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ import (
1818
"strings"
1919
"time"
2020

21-
"github.com/bsv-blockchain/go-sdk/v2/auth"
22-
"github.com/bsv-blockchain/go-sdk/v2/auth/certificates"
23-
"github.com/bsv-blockchain/go-sdk/v2/auth/transports"
24-
"github.com/bsv-blockchain/go-sdk/v2/auth/utils"
25-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
26-
"github.com/bsv-blockchain/go-sdk/v2/util"
27-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
21+
"github.com/bsv-blockchain/go-sdk/auth"
22+
"github.com/bsv-blockchain/go-sdk/auth/certificates"
23+
"github.com/bsv-blockchain/go-sdk/auth/transports"
24+
"github.com/bsv-blockchain/go-sdk/auth/utils"
25+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
26+
"github.com/bsv-blockchain/go-sdk/util"
27+
"github.com/bsv-blockchain/go-sdk/wallet"
2828
)
2929

3030
const (

auth/clients/authhttp/authhttp_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/bsv-blockchain/go-sdk/v2/auth"
8-
"github.com/bsv-blockchain/go-sdk/v2/auth/certificates"
9-
"github.com/bsv-blockchain/go-sdk/v2/auth/utils"
10-
ec "github.com/bsv-blockchain/go-sdk/v2/primitives/ec"
11-
"github.com/bsv-blockchain/go-sdk/v2/wallet"
7+
"github.com/bsv-blockchain/go-sdk/auth"
8+
"github.com/bsv-blockchain/go-sdk/auth/certificates"
9+
"github.com/bsv-blockchain/go-sdk/auth/utils"
10+
ec "github.com/bsv-blockchain/go-sdk/primitives/ec"
11+
"github.com/bsv-blockchain/go-sdk/wallet"
1212
"github.com/stretchr/testify/require"
1313
)
1414

0 commit comments

Comments
 (0)