Skip to content

Commit

Permalink
PubNub SDK v6.0.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
client-engineering-bot committed Oct 13, 2021
1 parent 4a5ff09 commit e1ba68b
Show file tree
Hide file tree
Showing 167 changed files with 221 additions and 206 deletions.
9 changes: 8 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
---
version: v6.0.0
version: v6.0.1
changelog:
-
changes:
-
text: "Using correct major version number in imports."
type: bug
date: 2021-10-13
version: v6.0.1
-
changes:
-
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go_import_path: github.com/pubnub/go/v5
go_import_path: github.com/pubnub/go/v6
dist: xenial
language: go
os: linux
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [v6.0.1](https://github.com/pubnub/go/releases/tag/v6.0.1)
October-13-2021

#### Fixed
- Using correct major version number in imports.

## [v6.0.0](https://github.com/pubnub/go/releases/tag/v6.0.0)
October-12-2021

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.0
6.0.1
2 changes: 1 addition & 1 deletion add_channel_channel_group_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/url"
"strings"

"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/utils"
)

const addChannelToChannelGroupPath = "/v1/channel-registration/sub-key/%s/channel-group/%s"
Expand Down
2 changes: 1 addition & 1 deletion add_channel_channel_group_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion add_channels_to_push_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/url"
"strings"

"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/utils"
)

const addChannelsToPushPath = "/v1/push/sub-key/%s/devices/%s"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"sync"

"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/utils"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion delete_channel_group_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"net/url"

"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/utils"
)

const deleteChannelGroupPath = "/v1/channel-registration/sub-key/%s/channel-group/%s/remove"
Expand Down
2 changes: 1 addition & 1 deletion delete_channel_group_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
"strings"
"time"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/pnerr"
"github.com/pubnub/go/v6/utils"
)

type endpointOpts interface {
Expand Down
2 changes: 1 addition & 1 deletion examples/cli/cli_demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"strconv"
"strings"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"

"net/http"
_ "net/http/pprof"
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/channel_groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/here_now.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/pam.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/subscribe.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import pubnub "github.com/pubnub/go/v5"
import pubnub "github.com/pubnub/go/v6"

func main() {
config := pubnub.NewConfig()
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/subscribe_with_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/api/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"time"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

var pn *pubnub.PubNub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"time"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

type Lists struct {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/getting_started.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"sync"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

var pn *pubnub.PubNub
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/onboarding.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/access_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func operationLevel() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/presence.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func subscribe() {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/publish_subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

var pn *pubnub.PubNub
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/storage_and_playback.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strconv"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

func getAllMessages(startTT int64) {
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/stream_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

pubnub "github.com/pubnub/go/v5"
pubnub "github.com/pubnub/go/v6"
)

var pn *pubnub.PubNub
Expand Down
2 changes: 1 addition & 1 deletion examples/snippets/tutorials/stream_filter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import pubnub "github.com/pubnub/go/v5"
import pubnub "github.com/pubnub/go/v6"

func main() {
config := pubnub.NewConfig()
Expand Down
4 changes: 2 additions & 2 deletions fetch_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"reflect"
"strconv"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/pnerr"
"github.com/pubnub/go/v6/utils"

"net/http"
"net/url"
Expand Down
2 changes: 1 addition & 1 deletion fetch_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strconv"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion files_delete_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/http"
"net/url"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v6/pnerr"
)

var emptyDeleteFileResponse *PNDeleteFileResponse
Expand Down
2 changes: 1 addition & 1 deletion files_delete_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion files_download_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"net/url"
"strconv"

"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/utils"
)

var emptyDownloadFileResponse *PNDownloadFileResponse
Expand Down
2 changes: 1 addition & 1 deletion files_get_file_url_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion files_list_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"strconv"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v6/pnerr"
)

var emptyListFilesResponse *PNListFilesResponse
Expand Down
2 changes: 1 addition & 1 deletion files_list_files_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion files_send_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"net/url"
"os"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v6/pnerr"
)

var emptySendFileResponse *PNSendFileResponse
Expand Down
2 changes: 1 addition & 1 deletion files_send_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions files_send_file_to_s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"net/url"
"os"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/pnerr"
"github.com/pubnub/go/v6/utils"
)

var emptySendFileToS3Response *PNSendFileToS3Response
Expand Down
4 changes: 2 additions & 2 deletions fire_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"mime/multipart"
"strconv"

"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/utils"
"github.com/pubnub/go/v6/pnerr"
"github.com/pubnub/go/v6/utils"

"net/http"
"net/url"
Expand Down
2 changes: 1 addition & 1 deletion fire_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/url"
"testing"

h "github.com/pubnub/go/v5/tests/helpers"
h "github.com/pubnub/go/v6/tests/helpers"
"github.com/stretchr/testify/assert"
)

Expand Down
Loading

0 comments on commit e1ba68b

Please sign in to comment.