Skip to content

Commit

Permalink
Version 5.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Feb 3, 2022
1 parent 17a52d7 commit 049d0bc
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GEM=pagy
VERSION=5.9.3
VERSION=5.10.0
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ Still supported in version `5.x` but not supported from `6.0` on:

<hr>

## Version 5.10.0

- Adjusted Psych::VERSION condition to avoid deprecations
- Improvement of search extras: (closes #367) (closes #369)
- Added DEFAULT[:*_search] variables used to call the original :search method
- Deprecated and renamed DEFAULT[:*_search_method] to DEFAULT[:*_pagy_search]
- Updated config, docs and CHANGELOG deprecations
- Fix for wrong calculation of :page in Pagy.new_from_meilisearch (closes #368)
- Faster assignment of javascript path
- Simplified webpack config, added rollup config and normalized doc
- Better javascript doc (closes #365)
- Added specific webpack javascript configuration info; a few minor doc adjustments
- Added specific webpack javascript configuration info
- Update javascript.md (#362)

## Version 5.9.3

- Fix for too generalized html_escape in pagy_url_for. (closes #363)
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you want to just play with Pagy before using it in your own app, you have 2 a
- If you use Bundler, add the gem in the Gemfile, optionally avoiding the next major version with breaking changes (see [RubyGem Specifiers](http://guides.rubygems.org/patterns/#pessimistic-version-constraint)):

```ruby
gem 'pagy', '~> 5.9' # omit patch digit
gem 'pagy', '~> 5.10' # omit patch digit
```

- If you don't use Bundler, install and require the Pagy gem:
Expand Down
2 changes: 1 addition & 1 deletion lib/config/pagy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Pagy initializer file (5.9.3)
# Pagy initializer file (5.10.0)
# Customize only what you really need and notice that the core Pagy works also without any of the following lines.
# Should you just cherry pick part of this file, please maintain the require-order of the extras

Expand Down
4 changes: 2 additions & 2 deletions lib/javascripts/pagy-dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/javascripts/pagy-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Pagy = (() => {
const trim = (link, param) => link.replace(new RegExp(`(\\?|&amp;)${param}=1\\b(?!&amp;)|\\b${param}=1&amp;`), "");
// Public interface
return {
version: "5.9.3",
version: "5.10.0",
// Scan for elements with a "data-pagy" attribute and call their init functions with the decoded args
init(arg) {
const target = arg instanceof Element ? arg : document;
Expand Down
2 changes: 1 addition & 1 deletion lib/javascripts/pagy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Core class
class Pagy
VERSION = '5.9.3'
VERSION = '5.10.0'

# Root pathname to get the path of Pagy files like templates or dictionaries
def self.root
Expand Down
2 changes: 1 addition & 1 deletion src/pagy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const Pagy = (() => {

// Public interface
return {
version: "5.9.3",
version: "5.10.0",

// Scan for elements with a "data-pagy" attribute and call their init functions with the decoded args
init(arg?:Element|never) {
Expand Down

0 comments on commit 049d0bc

Please sign in to comment.