Changelog History
Page 9
-
v3.1.0 Changes
May 08, 2019Commits
- ๐จ 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
- ๐จ 1732dee: refactoring of marker and hidden links in *_js helpers:
-
v3.0.0 Changes
April 28, 2019๐ฅ Breaking Changes
๐จ Refactoring of i18n
- โก๏ธ 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.
๐ Renamed nav helper methods and files
๐ฑ The javascript-powered helpers (
pagy*_responsive_nav
,pagy*_compact_nav
anditems_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.Bootstrap Extra
v2.0+ v3.0+ pagy_bootstrap_responsive_nav
:breakpoints
pagy_bootstrap_nav_js
:steps
pagy_bootstrap_compact_nav
pagy_bootstrap_combo_nav_js
Bulma Extra
v2.0+ v3.0+ pagy_bulma_responsive_nav
:breakpoints
pagy_bulma_nav_js
:steps
pagy_bulma_compact_nav
pagy_bulma_combo_nav_js
Foundation Extra
v2.0+ v3.0+ pagy_foundation_responsive_nav
:breakpoints
pagy_foundation_nav_js
:steps
pagy_foundation_compact_nav
pagy_foundation_combo_nav_js
Materialize Extra
v2.0+ v3.0+ pagy_materialize_responsive_nav
:breakpoints
pagy_materialize_nav_js
:steps
pagy_materialize_compact_nav
pagy_materialize_combo_nav_js
Plain > Navs Extra
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"
Semantic Extra
v2.0+ v3.0+ pagy_semantic_responsive_nav
:breakpoints
pagy_semantic_nav_js
:steps
pagy_semantic_compact_nav
pagy_semantic_combo_nav_js
๐ Renamed Pagy::VARS
Pagy::Vars[:breakpoints]
has been renamed asPagy::VARS[:steps]
๐ Renamed items_selector
items_selector
has been renamed asitems_selector_js
. It is also possible to use thei18n_key
variable to customize the item name.๐ Renamed classes and params in helpers
๐ Notice: You can skip the following sections if you did not override any nav helper.
CSS nav classes
The
nav
CSS classes follow the same renaming rules of the helper methods:v2.0+ v3.0+ ๐ฑ pagy-bootstrap-responsive-nav
pagy-bootstrap-compact-nav
pagy-bootstrap-combo-nav-js
๐ฑ pagy-bulma-responsive-nav
pagy-bulma-compact-nav
pagy-bulma-combo-nav-js
๐ฑ pagy-foundation-responsive-nav
pagy-foundation-compact-nav
pagy-foundation-combo-nav-js
๐ฑ pagy-materialize-responsive-nav
pagy-materialize-compact-nav
pagy-materialize-combo-nav-js
๐ฑ pagy-plain-responsive-nav
pagy-plain-compact-nav
pagy-combo-nav-js
๐ฑ pagy-semantic-responsive-nav
pagy-semantic-compact-nav
pagy-semantic-combo-nav-js
CSS JSON tag classes
Renamed first param passed to the
pagy_json_tag
:v2.0+ v3.0+ ๐ฑ :responsive
:compact
:combo_nav
:items
:items_selector
Javascript funcions
v2.0+ v3.0+ ๐ฑ Pagy.responsive
Pagy.compact
Pagy.combo_nav
Pagy.items
Pagy.items_selector
โฌ๏ธ Dropped marginal methods
Dropped
pagy_serialized
,pagy_apply_init_tag
andPagyInit
javascript namespace. They were too basic to be useful as support for javascript powered custom component.Commits
- ๐ 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.
- โก๏ธ The
-
v2.1.5
March 29, 2019