Skip to content

chore(deps): bump kaminari from 1.2.2 to 1.3.0 - #115

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/kaminari-1.3.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/kaminari-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026

Copy link
Copy Markdown
Contributor

Bumps kaminari from 1.2.2 to 1.3.0.

Release notes

Sourced from kaminari's releases.

v1.3.0

1.3.0

Security Fixes:

  • page ignores a Hash or an Array page number (e.g. ?page[]=1) instead of raising #1087 [@​xiaohui-zhangxh]
  • page_entries_info escapes the entry_name, which could contain user input, while keeping an html_safe entry_name as is: d599c37

Incompatible Changes:

  • Dropped Ruby 2.0 support: 2f1f84b
  • The default English page_entries_info message now separates the range with an en dash (e.g. "1–25") instead of  -  #1105 [@​jdufresne]
  • page_entries_info displays "No entries found" on out of range pages, instead of an inverted range like "Displaying users 81–80 of 50 in total": b712562

Enhancements:

  • Rails 7.1, 7.2, 8.0, and 8.1 support
  • Ruby 3.1, 3.2, 3.3, 3.4, and 4.0 support
  • Added paginated? to models, relations, and paginatable arrays #1118 [@​jarenas9539]
  • Added the data: option to paginate for the links' data attributes #1095 [@​theforestvn88]
  • Registered Kaminari's deprecator to Rails.application.deprecators #1103 [@​etiennebarrie]
  • require 'kaminari' also loads Kaminari::VERSION #1079 [@​d-otis]
  • The views generator warns when it falls back to erb for an unsupported template engine: 4c2991e
  • Improved performance of total_count for grouped relations by counting the groups in the database with a subquery #1157 (based on #1022 and #1023 [@​bendilley])
  • Improved performance of total_count by removing irrelevant eager_load and preload that ran unwanted joins in the count query #1043 [@​Viktor-Ivliev]
  • Improved performance of paginate by calling url_for only a few times per paginator: 7b5f079
  • Improved performance of paginate by looking up each partial template only once per paginator: c5cc1a1
  • Improved performance of paginate by reducing object allocations: 1cc6f98, ff07a28, b951069, 2e80453, 794724e, and 7f08863
  • Improved performance of page and per on Active Record by copying the Relation only once: 0cb494d, c35e5a1, and ae23bc6
  • Improved performance of page_entries_info #1109 [@​jdufresne]

Bug Fixes:

  • Fixed ActionController::UrlGenerationError on Rails 8+ when the request params include route options such as subdomain or host #1147 [@​hpanwar09]
  • Fixed view helpers called with keyword arguments inside the paginator templates on Ruby 3 #1114 [@​diasjorge]
  • Fixed an error with a Symbol param_name other than :page #1121 [@​magnum]
  • Fixed NameError when including Kaminari::Helpers::UrlHelper outside of the views #1100 [@​hikonori07]
  • Fixed page_entries_info for a paginated empty array with total_count #1088 [@​monfresh]
  • Fixed total_count on the last page of a loaded Relation with padding: c7a46f1
  • Fixed ZeroDivisionError from per after per(0) #1138 [@​dpep]
  • Fixed per and max_paginates_per dropping the padding: c149803
  • Fixed per, max_paginates_per, and padding changing the receiver's values instead of the returned scope's: a9cbb2c
  • Fixed max_paginates_per returning no records after an ignored per value such as per('abc'): 0f2816a
  • Fixed per treating a value like "abc\n10" as per(0) instead of ignoring it: 8298351
  • Fixed Kaminari::ZeroPerPageOperation from total_count on a loaded per(0) Relation #1155 [@​andreyruby]
  • Fixed total_count returning 0 with max_pages after per(0): 06e90d9
  • Fixed TypeError from total_count after unscope(:limit): 4fd263b
  • Fixed the Haml and Slim paginators rendering the next and last links on out of range pages, as the erb paginator doesn't: a44950d
  • Fixed the views generator generating nothing for an unsupported template engine, such as one set via config.generators.template_engine #1108 [@​Xavier-IV]
  • Fixed the views generator crashing on network errors other than SocketError: 6d91911
Changelog

Sourced from kaminari's changelog.

1.3.0

Security Fixes:

  • page ignores a Hash or an Array page number (e.g. ?page[]=1) instead of raising #1087 [@​xiaohui-zhangxh]
  • page_entries_info escapes the entry_name, which could contain user input, while keeping an html_safe entry_name as is: d599c37

Incompatible Changes:

  • Dropped Ruby 2.0 support: 2f1f84b
  • The default English page_entries_info message now separates the range with an en dash (e.g. "1–25") instead of  -  #1105 [@​jdufresne]
  • page_entries_info displays "No entries found" on out of range pages, instead of an inverted range like "Displaying users 81–80 of 50 in total": b712562

Enhancements:

  • Rails 7.1, 7.2, 8.0, and 8.1 support
  • Ruby 3.1, 3.2, 3.3, 3.4, and 4.0 support
  • Added paginated? to models, relations, and paginatable arrays #1118 [@​jarenas9539]
  • Added the data: option to paginate for the links' data attributes #1095 [@​theforestvn88]
  • Registered Kaminari's deprecator to Rails.application.deprecators #1103 [@​etiennebarrie]
  • require 'kaminari' also loads Kaminari::VERSION #1079 [@​d-otis]
  • The views generator warns when it falls back to erb for an unsupported template engine: 4c2991e
  • Improved performance of total_count for grouped relations by counting the groups in the database with a subquery #1157 (based on #1022 and #1023 [@​bendilley])
  • Improved performance of total_count by removing irrelevant eager_load and preload that ran unwanted joins in the count query #1043 [@​Viktor-Ivliev]
  • Improved performance of paginate by calling url_for only a few times per paginator: 7b5f079
  • Improved performance of paginate by looking up each partial template only once per paginator: c5cc1a1
  • Improved performance of paginate by reducing object allocations: 1cc6f98, ff07a28, b951069, 2e80453, 794724e, and 7f08863
  • Improved performance of page and per on Active Record by copying the Relation only once: 0cb494d, c35e5a1, and ae23bc6
  • Improved performance of page_entries_info #1109 [@​jdufresne]

Bug Fixes:

  • Fixed ActionController::UrlGenerationError on Rails 8+ when the request params include route options such as subdomain or host #1147 [@​hpanwar09]
  • Fixed view helpers called with keyword arguments inside the paginator templates on Ruby 3 #1114 [@​diasjorge]
  • Fixed an error with a Symbol param_name other than :page #1121 [@​magnum]
  • Fixed NameError when including Kaminari::Helpers::UrlHelper outside of the views #1100 [@​hikonori07]
  • Fixed page_entries_info for a paginated empty array with total_count #1088 [@​monfresh]
  • Fixed total_count on the last page of a loaded Relation with padding: c7a46f1
  • Fixed ZeroDivisionError from per after per(0) #1138 [@​dpep]
  • Fixed per and max_paginates_per dropping the padding: c149803
  • Fixed per, max_paginates_per, and padding changing the receiver's values instead of the returned scope's: a9cbb2c
  • Fixed max_paginates_per returning no records after an ignored per value such as per('abc'): 0f2816a
  • Fixed per treating a value like "abc\n10" as per(0) instead of ignoring it: 8298351
  • Fixed Kaminari::ZeroPerPageOperation from total_count on a loaded per(0) Relation #1155 [@​andreyruby]
  • Fixed total_count returning 0 with max_pages after per(0): 06e90d9
  • Fixed TypeError from total_count after unscope(:limit): 4fd263b
  • Fixed the Haml and Slim paginators rendering the next and last links on out of range pages, as the erb paginator doesn't: a44950d
  • Fixed the views generator generating nothing for an unsupported template engine, such as one set via config.generators.template_engine #1108 [@​Xavier-IV]
  • Fixed the views generator crashing on network errors other than SocketError: 6d91911
Commits
  • d957f0c Version 1.3.0
  • b0794cd Version 1.3.0
  • c5cc1a1 Look up each partial template only once in a paginator
  • ae23bc6 Copy the Relation only once in per
  • c35e5a1 Copy the Relation only once in Model.page
  • 7b5f079 Generate the page URLs in a paginator with url_for only a few times
  • 0cb494d Extend paginated relations with a named module rather than a block
  • 8298351 Check that the per value starts with a digit at the beginning of the string
  • 4fd263b Don't raise in total_count after unscoping limit
  • 6d91911 Handle more network errors in the views generator
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [kaminari](https://github.com/kaminari/kaminari) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/kaminari/kaminari/releases)
- [Changelog](https://github.com/kaminari/kaminari/blob/master/CHANGELOG.md)
- [Commits](kaminari/kaminari@v1.2.2...v1.3.0)

---
updated-dependencies:
- dependency-name: kaminari
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Oct 25, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #119.

@dependabot dependabot Bot closed this Nov 1, 2026
@dependabot
dependabot Bot deleted the dependabot/bundler/kaminari-1.3.0 branch November 1, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants