Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: true
matrix:
ruby: [3.0.6, 3.1.4, 3.2.3]
ruby: [ 3.0.6, 3.1.4, 3.2.3 ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -67,11 +67,15 @@ jobs:
uses: ./.github/.release/actions/actions/mock-server
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup Ruby 3.0
- name: Setup Ruby 3.2.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3.2.2
bundler-cache: true
- name: Verify Ruby Version
run: ruby -v
- name: Check Ruby Version for Bundler
run: bundle exec ruby -v
- name: Run acceptance tests (optional)
run: bundle exec cucumber sdk-specifications/features/ -p mock -p run_beta -p report_beta -f pretty
continue-on-error: true
Expand All @@ -97,7 +101,7 @@ jobs:
uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
all-tests:
name: Tests
needs: [tests, acceptance-tests]
needs: [ tests, acceptance-tests ]
runs-on:
group: organization/Default
steps:
Expand Down
23 changes: 19 additions & 4 deletions .pubnub.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
---
version: "5.3.5"
version: "5.4.0"
changelog:
- date: 2025-01-07
version: v5.4.0
changes:
- type: feature
text: "Add batch history support."
- type: feature
text: "Add fetch messages with message reactions."
- type: feature
text: "Add fetch messages (batch history) endpoint support to fetch history for multiple channels."
- type: feature
text: "Add fetch messages with reactions support."
- type: feature
text: "Add `include_custom_message_type` support for fetch messages endpoint."
- type: feature
text: "Add `custom_message_type` support for `publish` / `signal` and `subscribe` endpoints."
- date: 2024-10-09
version: v5.3.5
changes:
Expand Down Expand Up @@ -581,7 +596,7 @@ sdks:
- x86-64
- distribution-type: package
distribution-repository: RubyGems
package-name: pubnub-5.3.5.gem
package-name: pubnub-5.4.0.gem
location: https://rubygems.org/gems/pubnub
requires:
- name: addressable
Expand Down Expand Up @@ -686,8 +701,8 @@ sdks:
- x86-64
- distribution-type: library
distribution-repository: GitHub release
package-name: pubnub-5.3.5.gem
location: https://github.com/pubnub/ruby/releases/download/v5.3.5/pubnub-5.3.5.gem
package-name: pubnub-5.4.0.gem
location: https://github.com/pubnub/ruby/releases/download/v5.4.0/pubnub-5.4.0.gem
requires:
- name: addressable
min-version: 2.0.0
Expand Down
181 changes: 96 additions & 85 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,88 +1,99 @@
## v5.3.5
October 09 2024

#### Modified
- Updated direct and transient dependency versions. Fixed the following issues reported by [@pboling](https://github.com/pboling): [#158](https://github.com/pubnub/ruby/issues/158).

## v5.3.4
April 29 2024

#### Fixed
- Fix issue because of which client didn't encode App Context get all event `filter` query value.

## v5.3.3
January 29 2024

#### Modified
- Bump required version to the minimum officially supported Ruby version.

## v5.3.2
November 23 2023

#### Modified
- Return source event data when a client configured with crypto is unable to decrypt it (can be not encrypted data or encrypted with different options).

## v5.3.1
November 03 2023

#### Modified
- Update license information.

## v5.3.0
October 16 2023

#### Added
- Add crypto module that allows to configure SDK to encrypt and decrypt messages.

#### Fixed
- Improved security of crypto implementation by adding enhanced AES-CBC cryptor.

## v5.2.2
March 14 2023

#### Fixed
- Fix issue which raised an exception when PubNub client has been configured with a secret key.

## v5.2.1
December 13 2022

#### Fixed
- Fix format which is used to return server data from `get_message_actions` method call.

## v5.2.0
December 12 2022

#### Added
- Add api which allow to work with message actions endpoints.

#### Modified
- Migrate test suite run from Travis to GitHub Actions.

## v5.1.2
November 23 2022

#### Fixed
- Fix issue because of which channel hasn't been encoded properly with endpoint call.

## v5.1.1
October 26 2022

#### Fixed
- Fix issue because of which `callback` and `http_sync` provided during client configuration not used when missing in method call.

## v5.1.0
July 26 2022

#### Added
- Add support for spaces and users permissions in grant_token.
- Add user_id and deprecate uuid when creating new pubnub instance.

## v5.0.0
January 13 2022

#### Modified
- BREAKING CHANGES: uuid is required parameter to create PubNub instance.

## v5.4.0
January 07 2025

#### Added
- Add batch history support.
- Add fetch messages with message reactions.
- Add fetch messages (batch history) endpoint support to fetch history for multiple channels.
- Add fetch messages with reactions support.
- Add `include_custom_message_type` support for fetch messages endpoint.
- Add `custom_message_type` support for `publish` / `signal` and `subscribe` endpoints.

## v5.3.5
October 09 2024

#### Modified
- Updated direct and transient dependency versions. Fixed the following issues reported by [@pboling](https://github.com/pboling): [#158](https://github.com/pubnub/ruby/issues/158).

## v5.3.4
April 29 2024

#### Fixed
- Fix issue because of which client didn't encode App Context get all event `filter` query value.

## v5.3.3
January 29 2024

#### Modified
- Bump required version to the minimum officially supported Ruby version.

## v5.3.2
November 23 2023

#### Modified
- Return source event data when a client configured with crypto is unable to decrypt it (can be not encrypted data or encrypted with different options).

## v5.3.1
November 03 2023

#### Modified
- Update license information.

## v5.3.0
October 16 2023

#### Added
- Add crypto module that allows to configure SDK to encrypt and decrypt messages.

#### Fixed
- Improved security of crypto implementation by adding enhanced AES-CBC cryptor.

## v5.2.2
March 14 2023

#### Fixed
- Fix issue which raised an exception when PubNub client has been configured with a secret key.

## v5.2.1
December 13 2022

#### Fixed
- Fix format which is used to return server data from `get_message_actions` method call.

## v5.2.0
December 12 2022

#### Added
- Add api which allow to work with message actions endpoints.

#### Modified
- Migrate test suite run from Travis to GitHub Actions.

## v5.1.2
November 23 2022

#### Fixed
- Fix issue because of which channel hasn't been encoded properly with endpoint call.

## v5.1.1
October 26 2022

#### Fixed
- Fix issue because of which `callback` and `http_sync` provided during client configuration not used when missing in method call.

## v5.1.0
July 26 2022

#### Added
- Add support for spaces and users permissions in grant_token.
- Add user_id and deprecate uuid when creating new pubnub instance.

## v5.0.0
January 13 2022

#### Modified
- BREAKING CHANGES: uuid is required parameter to create PubNub instance.

## v4.8.0
December 16 2021

Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ group :test do
gem 'rspec-retry'
gem 'rspec-expectations'
gem 'rubocop'
gem 'standard'
gem 'simplecov', '>= 0.21.2', require: false
gem 'vcr'
gem 'webmock'
Expand Down
19 changes: 18 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
pubnub (5.3.5)
pubnub (5.4.0)
addressable (>= 2.0.0)
concurrent-ruby (~> 1.3.4)
concurrent-ruby-edge (~> 0.7.1)
Expand Down Expand Up @@ -98,6 +98,7 @@ GEM
interception (0.5)
json (2.7.2)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
method_source (1.1.0)
mini_mime (1.1.5)
multi_test (1.1.0)
Expand Down Expand Up @@ -147,13 +148,28 @@ GEM
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-performance (1.23.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (1.13.0)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov_json_formatter (0.1.4)
standard (1.41.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.66.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.5)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.6.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.23.0)
sys-uname (1.3.0)
ffi (~> 1.1)
timers (4.3.5)
Expand Down Expand Up @@ -183,6 +199,7 @@ DEPENDENCIES
rspec-retry
rubocop
simplecov (>= 0.21.2)
standard
vcr
webmock

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.3.5
5.4.0
46 changes: 46 additions & 0 deletions fixtures/vcr_cassettes/examples/fetch_messages/001.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading