Skip to content

Commit

Permalink
PubNub SDK v5.0.2 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
client-engineering-bot committed May 26, 2021
1 parent 0b875e1 commit 857b2b0
Show file tree
Hide file tree
Showing 161 changed files with 227 additions and 207 deletions.
9 changes: 8 additions & 1 deletion .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
---
version: v5.0.1
version: v5.0.2
changelog:
-
changes:
-
text: "Go mod file fix."
type: bug
date: 2021-05-26
version: v5.0.2
-
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
go_import_path: github.com/pubnub/go/v5
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 @@
## [v5.0.2](https://github.com/pubnub/go/releases/tag/v5.0.2)
May-26-2021

#### Fixed
- Go mod file fix.

## [v5.0.1](https://github.com/pubnub/go/releases/tag/v5.0.1)
May-25-2021

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.0.1
5.0.2
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/utils"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/utils"
"github.com/pubnub/go/v5/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/utils"
"github.com/pubnub/go/v5/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/utils"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/utils"
"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/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"
pubnub "github.com/pubnub/go/v5"

"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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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

import pubnub "github.com/pubnub/go"
import (
"fmt"

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

func main() {
config := pubnub.NewConfig()
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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
import pubnub "github.com/pubnub/go/v5"

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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

import (
"fmt"
pubnub "github.com/pubnub/go"

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

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
pubnub "github.com/pubnub/go/v5"
)

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"
import pubnub "github.com/pubnub/go/v5"

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/pnerr"
"github.com/pubnub/go/utils"
"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/utils"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/v5/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/tests/helpers"
h "github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/utils"
"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/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/pnerr"
"github.com/pubnub/go/utils"
"github.com/pubnub/go/v5/pnerr"
"github.com/pubnub/go/v5/utils"

"net/http"
"net/url"
Expand Down
Loading

0 comments on commit 857b2b0

Please sign in to comment.