- a2b915e: reorganization of Javascript documentation
- fead55c: Remove duplicated pagination class for Bootstrap (#212)
- fix for numeric headers in the headers extra
- 6a93b97: headers must be strings (closes #211)
- fix for arel count
- updated French and Spanish translations
- added Italian translation
- interenal renaming
Pagy::Frontend::MARK
>Pagy::PAGE_PLACEHOLDER
- 434912b: updated rubyzip gem
- b627e55: add italian translation (#202)
- 3341dcc: created ITEMS_PLACEHOLDER constant
- 7775155: replaced Pagy::Frontend::MARK with Pagy::PAGE_PLACEHOLDER (MARK is still defined for backward compatibility)
- 439676e: Fixed previous translation for Spanish (#199)
- ee1b1f0: Update fr.yml (#195)
- 8b6f81f: added pagy-cursor link in README
- c290dca: update incorrect tutorial link (#198)
- 77c045d: add: tutorial link in ReadMe - complex search forms (#194)
- 846eece: fix in README.md
- 224748a: fix for resurrected-by-mistake line in README
- added arel extra
- updated Gemfile for development environment
- docs fixes and improvements
- af0f189: updated minitest and minitest-reporter gems and removed deprecation
- 6a62de5: updated Gemfile
- 4856782: Arel Extra (#189)
- 2a2d9b0: Revert "Added digital-climate-strike banner"This reverts commit 07f7d9256ef9b1cef1c1eaf6da56ebb03daa19d5.
- b5c2809: docs fixes
- f8e4f42: replaced markdown file link for documentation link in extras
- 6a5c271: updated github-pages gem
- 60d243c: small doc improvement [ci skip]
- 2feb451: docs changes
- 07f7d92: Added digital-climate-strike banner
- 281da85: update grammar (#187)
- 739f032: Update how-to: Correct to require header for API (#188)
- added support for elasticsearch 7
- ca736cc: Adding elasticsearch7 support (#185) Fixes #184
- 13b7314: correct typos in docs and initialiser (#186) [ci skip]
- 9734ed6: Docs style changes [ci skip]
- fb8bcf4: doc fix for missing :partial key in rendering example (closes #180)
- 7160a18: Minor docs changes [ci skip]
- Added Korean locale
- Added Catalan locale
- Added metadata extra
- Docs fixes and improvements
- 2813973: Docs:
- added detailed Quick Start steps (closes #176, closes #177)
- added specific sections for API clients and javascript frameworks
- 43349a8: added metadata extra
- 261e6e6: Add Catalan localization (#178)
- 30ed505: temporarily removed jruby 1.7 and 9.0 rvm from travis - waiting travis to fix their rvms or suggest some work around see issue
- 2863c55: added minitest-reporters gem
- 0b42e5c: Add translation ko.yml for korean (#172)
- da3fc37: minor doc fixes [ci skip]
- Improvements for searchkick extra
- Added javascript Pagy.version
- 0ac5c27: refactoring of pagy_search and its usage in order to allow optional term argument for searchkick (#169)
- 389755b: small docs editing [ci skip]
- Added UIkit nav, nav_js and combo_js helpers and templates.
- 1eb25ec: Implement UIkit pagination (#164)
- Fix for #163
- Javascript improvements
- aff8cbb: better handling of resize listeners; added render funcition to the pagy element
- c699fe5: fix for javascript/turbolink nav.render firing when element not found (#163)
Namespacing of all exceptions, still backward compatible with legacy rescues
- 530cb24: all the exceptions are namespaced and can return more information for easier rescue of special cases
- Added Bulgarian locale
- 2c56428: added pluralization comment to bg.yml dictionary
- 7111cec: Bulgarian language yml file. (#162)
- a46f6b5: improved suggestion for headers usage
- b403a35: improved trim regex: simpler, safer and more tested
- bd3be09: normalized aliasing with alias_method
- 3c60d9b: minor doc fixes
- 9aa1bea: fix for missing "partial" in examples for template usage (#160)
- 405b4d2: reorganization and renaming of test helpers
- 459edaa: improved notes about preventing crawlers to follow look-alike links
- 01c73d3: added search box to docs
- 2341a83: docs fixes and additions
- 96ad00f: extended trim extra support to all the *_js helpers:
- refactored trim extra
- simplified MARK strings
- use of RegExp patterns in pagy.js
- added and improved tests
- 1732dee: refactoring of marker and hidden links in *_js helpers:
- MARKER renamed to MARK is simpler, static and hardcoded in pagy.js as well
- removed hidden links to bogus urls that were triggering crawlers to follow (#158)
- pagy_items_selector now works also with trim and in combination with other *nav_js helpers
- updated tests
- aa140e1: doc improvement
- d0e4ba6: a few fixes and doc improvements
- c1ddbd9: Fix typo in docs example (#156)
- e0b2a2b: removed duplication in LEGACY_CHANGELOG
- ecb6822: fix typo in README
- The
zh-cn
andzh-hk
were named incorrectly. They have been properly renamed aszh-CN
andzh-HK
. If you used them, you should update thePagy::I18n.load
statement. - Removed the plural keys inconsistent with the locale: now the dictionary files are 100% compatible with the I18n gem. If you use custom dictionaries, you should update their entries.
- The
:item_path
variable has been renamed as:i18n_key
: you should search and replace it.
The javascript-powered helpers (pagy*_responsive_nav
, pagy*_compact_nav
and items_selector
) have been renamed in order to be simpler and more descriptive of their arguments, features and requirements. They have been improved internally, but you need only to search and replace because their usage has not been changed.
v2.0+ | v3.0+ |
---|---|
pagy_bootstrap_responsive_nav :breakpoints |
pagy_bootstrap_nav_js :steps |
pagy_bootstrap_compact_nav |
pagy_bootstrap_combo_nav_js |
v2.0+ | v3.0+ |
---|---|
pagy_bulma_responsive_nav :breakpoints |
pagy_bulma_nav_js :steps |
pagy_bulma_compact_nav |
pagy_bulma_combo_nav_js |
v2.0+ | v3.0+ |
---|---|
pagy_foundation_responsive_nav :breakpoints |
pagy_foundation_nav_js :steps |
pagy_foundation_compact_nav |
pagy_foundation_combo_nav_js |
v2.0+ | v3.0+ |
---|---|
pagy_materialize_responsive_nav :breakpoints |
pagy_materialize_nav_js :steps |
pagy_materialize_compact_nav |
pagy_materialize_combo_nav_js |
v2.0+ | v3.0+ |
---|---|
pagy_plain_nav (pagy_nav alias) |
- removed - |
pagy_plain_responsive_nav :breakpoints |
pagy_nav_js :steps |
pagy_plain_compact_nav |
pagy_combo_nav_js |
require "pagy/extras/plain" |
require "pagy/extras/navs" |
v2.0+ | v3.0+ |
---|---|
pagy_semantic_responsive_nav :breakpoints |
pagy_semantic_nav_js :steps |
pagy_semantic_compact_nav |
pagy_semantic_combo_nav_js |
Pagy::Vars[:breakpoints]
has been renamed as Pagy::VARS[:steps]
items_selector
has been renamed as items_selector_js
. It is also possible to use the i18n_key
variable to customize the item name.
Notice: You can skip the following sections if you did not override any nav helper.
The nav
CSS classes follow the same renaming rules of the helper methods:
v2.0+ | v3.0+ |
---|---|
pagy-bootstrap-responsive-nav |
pagy-bootstrap-nav-js |
pagy-bootstrap-compact-nav |
pagy-bootstrap-combo-nav-js |
pagy-bulma-responsive-nav |
pagy-bulma-nav-js |
pagy-bulma-compact-nav |
pagy-bulma-combo-nav-js |
pagy-foundation-responsive-nav |
pagy-foundation-nav-js |
pagy-foundation-compact-nav |
pagy-foundation-combo-nav-js |
pagy-materialize-responsive-nav |
pagy-materialize-nav-js |
pagy-materialize-compact-nav |
pagy-materialize-combo-nav-js |
pagy-plain-responsive-nav |
pagy-nav-js |
pagy-plain-compact-nav |
pagy-combo-nav-js |
pagy-semantic-responsive-nav |
pagy-semantic-nav-js |
pagy-semantic-compact-nav |
pagy-semantic-combo-nav-js |
Renamed first param passed to the pagy_json_tag
:
v2.0+ | v3.0+ |
---|---|
:responsive |
:nav |
:compact |
:combo_nav |
:items |
:items_selector |
v2.0+ | v3.0+ |
---|---|
Pagy.responsive |
Pagy.nav |
Pagy.compact |
Pagy.combo_nav |
Pagy.items |
Pagy.items_selector |
Dropped pagy_serialized
, pagy_apply_init_tag
and PagyInit
javascript namespace. They were too basic to be useful as support for javascript powered custom component.
- df3ebf2: updated performance assets for v3
- 260e7d4: refactoring of i18n:
- I18n gem compliant (removed plural keys inconsistent with the locale)
- added tests for all the pluralization procs
- simplified and normalized Pagy dictionary file
- renamed :items_Path to :colletion_key
- added :collection_key lookup for the items_selector_js helper
- 8ebb1ab: refactoring of test coverage:
- replaced SingleCov with SimpleCov for CodeCov integration
- simplified Travis setup
- separate controls of RuboCop, SimpleCov, Oj and CodeCov with dedicated ENV variables
- completed coverage at 100%
- ae3e4bc: removed overridden method and undefined instance variable warnings
- aa1aad9: renamed multi_series > sequels and relative js arguments and variables; renamed :sizes > :steps; updated nav test cases
- 901f779: compact > combo and other changes
- f7425a5: renamed assets according to helper names; reordered and improved nav docs
- ad100eb: renamed plain extra to navs; removed the "plain_" qualifier for the helpers
- 54f4a7e: updated docs and comments
- 25470dd: renamed items_selector > items_selector_js
- d4be9dd: replaced responsive with nav_js; reordered methods and test normalization
- ec7d754: removed warning for locales zh-cn and zh-hk, and properly renamed as zh-CN and zh-HK
- 2548557: simplified support extra (dropped pagy_serialized and pagy_apply_init_tag)
- f82b2e7: fix typo
- 704a4df: add french translation (#154)
- 2f67dfa: UPDATE pagy locales id (#151)
- 15732da: fix for broken migration link (#150)
For older versions, check the LEGACY CHANGELOG.