Skip to content

Commit d167843

Browse files
authored
Merge pull request #540 from zendesk/bump-v3.0.0.rc1
Bump v3.0.0.rc1 - Default to CBP
2 parents 677fdd5 + d033bd6 commit d167843

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,20 @@
22

33
## Unreleased
44

5-
- _Unofficial_ support for [httpx](https://rubygems.org/gems/httpx)
5+
## v3.0.0.rc1
6+
7+
In this version, We are bringing Cursor Based Pagination (CBP) support to all supported endpoints. This is in line with the [limits announcement](https://support.zendesk.com/hc/en-us/articles/5591904358938-New-limits-for-offset-based-pagination) made by Zendesk to promote system reliability and also CBP usage.
8+
9+
- `Collection#all` uses CBP by default instead of Offset Based Pagination (OBP). If an endpoint doesn't support CBP, then a new OBP request will be triggered automatically with the same parameters. This is managed by the library internally
10+
- `Collection#next and #prev` using CBP by default
11+
- The pagination behaviour of search and export endpoint have not changed
12+
- We are adding support for [httpx](https://rubygems.org/gems/httpx). We will be monitoring the issues and feedback to determine if we continue the support and make it into a stable release
13+
14+
**Notes:**
15+
16+
- OBP support will be further limited in the Zendesk APIs and will be deprecated soon. We are working to ensure all Zendesk APIs support CBP and transition for the customers is smooth
17+
- The order of the returned results is different in CBP from OBP at times depending on the endpoint behaviour and support for ordering. Please note that any ordering was never hard-coded or built-in so it is not guaranteed. We recommend that you pick the relevant sort/order needed for your workflows and pass them explicitly when making the API call via the library
18+
- This is a Beta-release and we seek your feedback, experiences. Please open an issue or create a PR to help us work with you
619

720
## v2.0.1
821

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,10 @@ bundle exec rubocop # Runs the lint (use `--fix` for autocorrect)
431431

432432
## Releasing a new gem version
433433

434+
1. From updated master: `git checkout -b bump-vX.X.X`, according to [SemVer](https://semver.org)
434435
1. Ensure the CHANGELOG is correct and updated, this is your last opportunity
435-
2. Execute `bundle exec bump patch --tag`, or minor or major according to [SemVer](https://semver.org), this bumps the version in your local machine in the latest commit
436-
3. Push to GitHub `git push && git push origin vX.X.X`
436+
2. Execute `bundle exec bump patch --tag`, or minor or major, this bumps the version in your local machine in the latest commit
437+
3. Push to GitHub `git pull && git push origin vX.X.X`
437438
4. Raise a PR and get it approved and merged
438439
5. Post a message in Slack `#rest-api`, so advocacy are aware that we are going to release a new gem, just in case any customer complains about something related to the gem
439440
6. After 2 hours from the above message, you can [approve the release of the gem](https://github.com/zendesk/zendesk_api_client_rb/deployments/activity_log?environment=rubygems-publish)

lib/zendesk_api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module ZendeskAPI
2-
VERSION = "2.0.1"
2+
VERSION = "3.0.0.rc1"
33
end

0 commit comments

Comments
 (0)