Recent Releases of https://github.com/mislav/will_paginate
https://github.com/mislav/will_paginate - will_paginate 4.0.1
What's Changed
- Ruby 3.4 compatibility: fix running with
RUBYOPT="--enable-frozen-string-literal"by @jdelStrother in https://github.com/mislav/will_paginate/pull/651 - CI: test with Ruby 3.3, Rails 7.1 by @mislav in https://github.com/mislav/will_paginate/pull/659
- CI: Update GitHub Actions using dependabot by @olleolleolle in https://github.com/mislav/will_paginate/pull/653
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/mislav/will_paginate/pull/654
- README.md: Avoid hashrockets for args by @olleolleolle in https://github.com/mislav/will_paginate/pull/650
- bootstrap: update for docker compose by @mislav in https://github.com/mislav/will_paginate/pull/660
New Contributors
- @olleolleolle made their first contribution in https://github.com/mislav/will_paginate/pull/653
- @dependabot made their first contribution in https://github.com/mislav/will_paginate/pull/654
- @jdelStrother made their first contribution in https://github.com/mislav/will_paginate/pull/651
Full Changelog: https://github.com/mislav/will_paginate/compare/v4.0.0...v4.0.1
- Ruby
Published by mislav over 1 year ago
https://github.com/mislav/will_paginate - will_paginate 4.0.0
This release adds only minor new features, but bumps the major version number because some old functionality has been removed due to other frameworks not being maintained anymore. Namely, DataMapper and Merb integrations have been dropped since both projects haven't been maintained in a long while and it's been hard maintaining a test suite for them.
What's New
- Preserve query parameters in pagination links rendered from POST request by @mislav in https://github.com/mislav/will_paginate/pull/648
- Add
aria-labelfor previous and next page links by @hammad-Ikhlaq-7vals in https://github.com/mislav/will_paginate/pull/645- Learn how to translate these new accessible labels in non-English applications
- Remove
aria-disabledattribute from<span>element by @mislav in https://github.com/mislav/will_paginate/pull/634 - Remove DataMapper integration by @orien in https://github.com/mislav/will_paginate/pull/641
- Remove Merb support by @mislav in https://github.com/mislav/will_paginate/pull/642
What's Changed
- Rails 7 compat in tests by @mislav in https://github.com/mislav/will_paginate/pull/629
- Test against Rails 7 by @mislav in https://github.com/mislav/will_paginate/pull/633
- Bump RSpec from 2.99.0 to 3.12.0 by @orien in https://github.com/mislav/will_paginate/pull/640
- Remove unneeded files from the gem package by @orien in https://github.com/mislav/will_paginate/pull/643
- Fix CI by @mislav in https://github.com/mislav/will_paginate/pull/647
New Contributors
- @hammad-Ikhlaq-7vals made their first contribution in https://github.com/mislav/will_paginate/pull/645
Full Changelog: https://github.com/mislav/will_paginate/compare/v3.3.1...v4.0.0
- Ruby
Published by mislav almost 3 years ago
https://github.com/mislav/will_paginate - will_paginate 3.3.1
- Accessibility fix: add the
aria-disabledattribute to the pagination element marked with CSS classname "disabled".
- Ruby
Published by mislav over 4 years ago
https://github.com/mislav/will_paginate - will_paginate 3.3.0
-
ActiveRecord: Avoid a count query in
empty?#593 -
Support MS SQL Server #540
-
Avoid Ruby 2.7 warnings about keyword arguments #609
-
Breaking: drop Ruby 1.9 compatibility
- Ruby
Published by mislav about 6 years ago
https://github.com/mislav/will_paginate - will_paginate 3.2.1
- Ensure PageNumber is serialized as JSON number
- Ruby
Published by mislav over 6 years ago
https://github.com/mislav/will_paginate - will_paginate 3.2.0
-
Performance: avoid extending Numeric with PageNumber logic
BREAKING:
Integer === page_numberis no longer true. -
Make pagination markup more accessible:
- container div now has
role="navigation"; - container div now has
aria-label="Pagination", translatable viawill_paginate.container_aria_labeli18n key; - individual page links now have
aria-label="Page {N}", translatable viawill_paginate.page_aria_labeli18n key; - current page now has
aria-current="page".
- container div now has
-
Add support for
will_paginateview helpers in Hanami View -
Add
total_entriessupport for Mongoid -
Rails: avoid circular require warning
-
Rails: fix serving HTTP 404s for WillPaginate::InvalidPage exceptions
- Ruby
Published by mislav over 6 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.8
- Avoid warnings on Ruby 2.7
- Ruby
Published by mislav over 6 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.7
- Rails 5.2.2.1 & 6.0.0 compatibility
- Ruby
Published by mislav almost 7 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.6
Reference Integer instead of Fixnum to avoid Ruby 2.4 deprecation warning.
- Ruby
Published by mislav over 8 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.12
- No longer generates
<a rel="start">for first page link since "start" is an invalid rel value
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.5
- Avoid Rails 5 deprecation warning about
original_exception - No longer generates
<a rel="start">for first page link since "start" is an invalid rel value
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 2.3.17
- Avoid unintentional SQL queries being triggered by defining
respond_to_missing?alongsidemethod_missing?
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.10
- Fix locale load path so that application can override will_paginate's built-in translations.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.3
- Rails 5 compatibility for inheriting query params in pagination links
- Fix locale load path so that application can override will_paginate's built-in translations.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.9
Further fix security vulnerability when generating pagination URLs in Rails.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.2
Further fix security vulnerability when generating pagination URLs in Rails.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.1
Fixed security vulnerability when generating pagination URLs in Rails.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.8
Fixed security vulnerability when generating pagination URLs in Rails.
- Ruby
Published by mislav over 9 years ago
https://github.com/mislav/will_paginate - will_paginate 3.1.0
-
Rails 5.0 support
-
Drop support for old Active Record finder params to
paginate():# now unsupported: User.paginate(:page => 1, :order => 'created_at DESC', :conditions => ...) # convert to Arel syntax instead: User.order('created_at DESC').where(...).paginate(:page => 1) # or, even better: User.order('created_at DESC').where(...).page(1) -
Add support for pagination with Mongoid
will_paginate is compatible with:
- Ruby 1.8.7, 1.9.3, 2.0, 2.1, 2.2, 2.3
- Rails 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0
- Active Record, DataMapper, Sequel, Mongoid
- Database adapters: mysql, mysql2, postgres, sqlite3
- Ruby
Published by mislav about 10 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.7
- Fix
countmethod to work withselectstatement.
- Ruby
Published by mislav about 10 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.6
- Rails 4.1 compatibility
- Accept arguments for Relation#count
- Ruby
Published by mislav about 10 years ago
https://github.com/mislav/will_paginate - will_paginate 3.0.5: bugfix & security release
- fix CVE-2013-6459: XSS in generated pagination links
- always call
html_safeif available on will_paginate result - exclude
reorderfor count queries
- Ruby
Published by mislav over 12 years ago