Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename next to nextPageToken to keep it uniform with grpc #951

Closed
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ and what APIs have changed, if applicable.

## [Unreleased]

## [29.48.4] - 2023-12-06
- Rename next to nextPageToken in standardized models for cursor based pagination

## [29.48.3] - 2023-11-28
- Add standardized models for cursor based pagination

Expand Down Expand Up @@ -5572,7 +5575,8 @@ patch operations can re-use these classes for generating patch messages.

## [0.14.1]

[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.48.3...master
[Unreleased]: https://github.com/linkedin/rest.li/compare/v29.48.4...master
[29.48.4]: https://github.com/linkedin/rest.li/compare/v29.48.3...v29.48.4
[29.48.3]: https://github.com/linkedin/rest.li/compare/v29.48.2...v29.48.3
[29.48.2]: https://github.com/linkedin/rest.li/compare/v29.48.1...v29.48.2
[29.48.1]: https://github.com/linkedin/rest.li/compare/v29.48.0...v29.48.1
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=29.48.3
version=29.48.4
group=com.linkedin.pegasus
org.gradle.configureondemand=true
org.gradle.parallel=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ record CursorPagination {
* Pagination cursor that points to the end of the current page and can be used to fetch the next page.
* Not populated if the current page is the last page.
*/
next: optional string
nextPageToken: optional string
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"namespace" : "com.linkedin.restli.common",
"doc" : "Metadata for cursor based pagination with collections.",
"fields" : [ {
"name" : "next",
"name" : "nextPageToken",
"type" : "string",
"doc" : "Pagination cursor that points to the end of the current page and can be used to fetch the next page.\nNot populated if the current page is the last page.",
"optional" : true
Expand Down