jekyll_picture_tag 1.10.1 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.envrc +2 -0
- data/.github/workflows/code-checks.yml +43 -0
- data/.gitignore +3 -0
- data/.rubocop.yml +30 -0
- data/.ruby-version +1 -1
- data/docs/.envrc +2 -0
- data/docs/Gemfile +4 -2
- data/docs/Gemfile.lock +14 -12
- data/docs/_config.yml +6 -10
- data/docs/devs/contributing/code.md +46 -0
- data/docs/devs/contributing/docs.md +31 -0
- data/docs/devs/contributing/index.md +15 -0
- data/docs/devs/contributing/setup.md +33 -0
- data/docs/devs/contributing/testing.md +34 -0
- data/docs/devs/index.md +7 -0
- data/docs/{releases.md → devs/releases.md} +44 -15
- data/docs/index.md +42 -26
- data/docs/users/configuration/directories.md +34 -0
- data/docs/users/configuration/disable.md +24 -0
- data/docs/users/configuration/fast_build.md +28 -0
- data/docs/users/configuration/ignore_missing.md +23 -0
- data/docs/users/configuration/index.md +29 -0
- data/docs/users/configuration/kramdown_fix.md +20 -0
- data/docs/users/configuration/suppress_warnings.md +16 -0
- data/docs/users/configuration/urls.md +69 -0
- data/docs/users/index.md +7 -0
- data/docs/users/installation.md +52 -0
- data/docs/users/liquid_tag/argument_reference/alternate_images.md +18 -0
- data/docs/users/liquid_tag/argument_reference/attributes.md +42 -0
- data/docs/users/liquid_tag/argument_reference/base_image.md +12 -0
- data/docs/users/liquid_tag/argument_reference/crop.md +48 -0
- data/docs/users/liquid_tag/argument_reference/link.md +16 -0
- data/docs/users/liquid_tag/argument_reference/preset.md +17 -0
- data/docs/users/liquid_tag/argument_reference/readme.md +9 -0
- data/docs/users/liquid_tag/examples.md +93 -0
- data/docs/users/liquid_tag/index.md +31 -0
- data/docs/users/notes/git_lfs.md +7 -0
- data/docs/users/notes/github_pages.md +5 -0
- data/docs/users/notes/html_attributes.md +5 -0
- data/docs/users/notes/index.md +6 -0
- data/docs/users/notes/input_checking.md +6 -0
- data/docs/users/notes/kramdown_bug.md +41 -0
- data/docs/users/notes/managing_images.md +21 -0
- data/docs/{migration.md → users/notes/migration.md} +0 -0
- data/docs/users/presets/cropping.md +61 -0
- data/docs/users/presets/default.md +24 -0
- data/docs/users/presets/examples.md +79 -0
- data/docs/users/presets/fallback_image.md +28 -0
- data/docs/users/presets/html_attributes.md +26 -0
- data/docs/users/presets/image_formats.md +21 -0
- data/docs/users/presets/image_quality.md +105 -0
- data/docs/users/presets/index.md +101 -0
- data/docs/users/presets/link_source.md +16 -0
- data/docs/users/presets/markup_formats/fragments.md +48 -0
- data/docs/users/presets/markup_formats/javascript_friendly.md +57 -0
- data/docs/users/presets/markup_formats/readme.md +43 -0
- data/docs/users/presets/markup_formats/standard_html.md +25 -0
- data/docs/users/presets/media_queries.md +36 -0
- data/docs/users/presets/nomarkdown_override.md +17 -0
- data/docs/users/presets/pixel_ratio_srcsets.md +32 -0
- data/docs/users/presets/quality_width_graph.png +0 -0
- data/docs/users/presets/strip_metadata.md +13 -0
- data/docs/users/presets/width_height_attributes.md +34 -0
- data/docs/users/presets/width_srcsets.md +85 -0
- data/install_imagemagick.sh +23 -0
- data/jekyll_picture_tag.gemspec +10 -6
- data/lib/jekyll_picture_tag.rb +5 -5
- data/lib/jekyll_picture_tag/cache.rb +3 -0
- data/lib/jekyll_picture_tag/cache/base.rb +61 -0
- data/lib/jekyll_picture_tag/cache/generated.rb +20 -0
- data/lib/jekyll_picture_tag/cache/source.rb +19 -0
- data/lib/jekyll_picture_tag/defaults/global.yml +2 -0
- data/lib/jekyll_picture_tag/defaults/presets.yml +2 -0
- data/lib/jekyll_picture_tag/images.rb +3 -0
- data/lib/jekyll_picture_tag/images/generated_image.rb +130 -0
- data/lib/jekyll_picture_tag/{img_uri.rb → images/img_uri.rb} +4 -1
- data/lib/jekyll_picture_tag/images/source_image.rb +103 -0
- data/lib/jekyll_picture_tag/instructions/arg_splitter.rb +3 -2
- data/lib/jekyll_picture_tag/instructions/preset.rb +24 -4
- data/lib/jekyll_picture_tag/instructions/set.rb +5 -1
- data/lib/jekyll_picture_tag/output_formats/basic.rb +16 -14
- data/lib/jekyll_picture_tag/output_formats/img.rb +11 -0
- data/lib/jekyll_picture_tag/output_formats/picture.rb +22 -0
- data/lib/jekyll_picture_tag/router.rb +3 -2
- data/lib/jekyll_picture_tag/srcsets/basic.rb +10 -1
- data/lib/jekyll_picture_tag/utils.rb +14 -0
- data/lib/jekyll_picture_tag/version.rb +1 -1
- data/readme.md +13 -10
- metadata +139 -46
- data/.travis.yml +0 -8
- data/docs/_layouts/directory.html +0 -32
- data/docs/assets/style.css +0 -31
- data/docs/contributing.md +0 -109
- data/docs/example_presets.md +0 -116
- data/docs/global_configuration.md +0 -173
- data/docs/installation.md +0 -45
- data/docs/notes.md +0 -91
- data/docs/output.md +0 -63
- data/docs/presets.md +0 -361
- data/docs/usage.md +0 -143
- data/lib/jekyll_picture_tag/generated_image.rb +0 -161
- data/lib/jekyll_picture_tag/source_image.rb +0 -87
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33725ceaf2682e1c8396ecf949d606efa6f4e3dcc7097802bdc9524ef492cff2
|
4
|
+
data.tar.gz: 837d3c4e04e0b859953024e99aff1a685c7cd4a85fe36b012a1ef5f025e11257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2de1f6a51c96750a389c8f5885dcfa80e5cb5cd9a50570e8e9a4e81ad2a987766165499bc6825eec5f10c9817994e230c5289ae6a570dedd8b5e874ee9f91595
|
7
|
+
data.tar.gz: 17cc0a355f08dc1bb6418148264feeb47010faf29ad3597f789443c504d8574fa069a77e83c3968569f3b5ab7217905bc4bf19322f6f5c25acde3f549db76a81
|
data/.envrc
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
name: 'Tests & Formatting'
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
schedule:
|
9
|
+
# Run weekly; github deletes caches that haven't been used in a week.
|
10
|
+
- cron: '0 0 * * 0'
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
checks:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
env:
|
16
|
+
imagemagick_version: 7.0.10-46
|
17
|
+
|
18
|
+
steps:
|
19
|
+
|
20
|
+
- name: Install system dependencies
|
21
|
+
run: sudo apt install build-essential libxml2-dev libjpeg-dev libwebp-dev libpng-dev libopenjp2-7-dev
|
22
|
+
|
23
|
+
- name: Checkout repo
|
24
|
+
uses: actions/checkout@v2
|
25
|
+
|
26
|
+
- uses: actions/cache@v2
|
27
|
+
with:
|
28
|
+
path: imagemagick
|
29
|
+
key: imagick1-${{ env.imagemagick_version }}
|
30
|
+
|
31
|
+
- name: Install imagemagick
|
32
|
+
run: bash install_imagemagick.sh
|
33
|
+
|
34
|
+
# Version taken from .ruby-version file.
|
35
|
+
# Also runs bundle install.
|
36
|
+
- name: Install Ruby
|
37
|
+
uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
bundler-cache: true
|
40
|
+
|
41
|
+
- run: bundle exec rake test
|
42
|
+
|
43
|
+
- run: bundle exec rubocop
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,2 +1,32 @@
|
|
1
|
+
# Exclude unimportant files
|
2
|
+
require:
|
3
|
+
- rubocop-minitest
|
4
|
+
- rubocop-rake
|
5
|
+
|
6
|
+
AllCops:
|
7
|
+
NewCops: enable
|
8
|
+
Include:
|
9
|
+
- 'lib/**/*.rb'
|
10
|
+
- 'test/**/*.rb'
|
11
|
+
- 'Gemfile'
|
12
|
+
- 'Rakefile'
|
13
|
+
- '*.gemspec'
|
14
|
+
|
15
|
+
Exclude:
|
16
|
+
- '**/.bundle/*'
|
17
|
+
- '**/.git/*'
|
18
|
+
- '**/.github/*'
|
19
|
+
- '**/bin/**/*'
|
20
|
+
- '**/coverage/**/*'
|
21
|
+
- '**/docs/**/*'
|
22
|
+
- '**/imagemagick/*'
|
23
|
+
- '**/pkg/**/*'
|
24
|
+
- '**/vendor/**/*'
|
25
|
+
|
26
|
+
|
27
|
+
# Disabled Cops
|
1
28
|
Style/FrozenStringLiteralComment:
|
2
29
|
Enabled: false
|
30
|
+
|
31
|
+
Style/StringConcatenation:
|
32
|
+
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.5.
|
1
|
+
2.5.8
|
data/docs/.envrc
ADDED
data/docs/Gemfile
CHANGED
data/docs/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (6.0.3)
|
4
|
+
activesupport (6.0.3.2)
|
5
5
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
6
6
|
i18n (>= 0.7, < 2)
|
7
7
|
minitest (~> 5.1)
|
@@ -28,12 +28,12 @@ GEM
|
|
28
28
|
execjs (2.7.0)
|
29
29
|
faraday (1.0.1)
|
30
30
|
multipart-post (>= 1.2, < 3)
|
31
|
-
ffi (1.
|
31
|
+
ffi (1.13.1)
|
32
32
|
forwardable-extended (2.6.0)
|
33
33
|
gemoji (3.0.1)
|
34
|
-
github-pages (
|
34
|
+
github-pages (206)
|
35
35
|
github-pages-health-check (= 1.16.1)
|
36
|
-
jekyll (= 3.8.
|
36
|
+
jekyll (= 3.8.7)
|
37
37
|
jekyll-avatar (= 0.7.0)
|
38
38
|
jekyll-coffeescript (= 1.1.1)
|
39
39
|
jekyll-commonmark-ghpages (= 0.1.6)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
mercenary (~> 0.3)
|
73
73
|
minima (= 2.5.1)
|
74
74
|
nokogiri (>= 1.10.4, < 2.0)
|
75
|
-
rouge (= 3.
|
75
|
+
rouge (= 3.19.0)
|
76
76
|
terminal-table (~> 1.4)
|
77
77
|
github-pages-health-check (1.16.1)
|
78
78
|
addressable (~> 2.3)
|
@@ -80,13 +80,13 @@ GEM
|
|
80
80
|
octokit (~> 4.0)
|
81
81
|
public_suffix (~> 3.0)
|
82
82
|
typhoeus (~> 1.3)
|
83
|
-
html-pipeline (2.
|
83
|
+
html-pipeline (2.13.0)
|
84
84
|
activesupport (>= 2)
|
85
85
|
nokogiri (>= 1.4)
|
86
86
|
http_parser.rb (0.6.0)
|
87
87
|
i18n (0.9.5)
|
88
88
|
concurrent-ruby (~> 1.0)
|
89
|
-
jekyll (3.8.
|
89
|
+
jekyll (3.8.7)
|
90
90
|
addressable (~> 2.4)
|
91
91
|
colorator (~> 1.0)
|
92
92
|
em-websocket (~> 0.5)
|
@@ -136,6 +136,8 @@ GEM
|
|
136
136
|
addressable (~> 2.0)
|
137
137
|
jekyll (>= 3.5, < 5.0)
|
138
138
|
rubyzip (>= 1.3.0)
|
139
|
+
jekyll-rtd-theme (0.1.6)
|
140
|
+
github-pages (~> 206)
|
139
141
|
jekyll-sass-converter (1.5.2)
|
140
142
|
sass (~> 3.4)
|
141
143
|
jekyll-seo-tag (2.6.1)
|
@@ -202,9 +204,9 @@ GEM
|
|
202
204
|
jekyll (>= 3.5, < 5.0)
|
203
205
|
jekyll-feed (~> 0.9)
|
204
206
|
jekyll-seo-tag (~> 2.1)
|
205
|
-
minitest (5.14.
|
207
|
+
minitest (5.14.1)
|
206
208
|
multipart-post (2.1.1)
|
207
|
-
nokogiri (1.10.
|
209
|
+
nokogiri (1.10.10)
|
208
210
|
mini_portile2 (~> 2.4.0)
|
209
211
|
octokit (4.18.0)
|
210
212
|
faraday (>= 0.9)
|
@@ -215,7 +217,7 @@ GEM
|
|
215
217
|
rb-fsevent (0.10.4)
|
216
218
|
rb-inotify (0.10.1)
|
217
219
|
ffi (~> 1.0)
|
218
|
-
rouge (3.
|
220
|
+
rouge (3.19.0)
|
219
221
|
ruby-enum (0.8.0)
|
220
222
|
i18n
|
221
223
|
rubyzip (2.3.0)
|
@@ -236,14 +238,14 @@ GEM
|
|
236
238
|
tzinfo (1.2.7)
|
237
239
|
thread_safe (~> 0.1)
|
238
240
|
unicode-display_width (1.7.0)
|
239
|
-
zeitwerk (2.
|
241
|
+
zeitwerk (2.4.0)
|
240
242
|
|
241
243
|
PLATFORMS
|
242
244
|
ruby
|
243
245
|
|
244
246
|
DEPENDENCIES
|
245
247
|
github-pages
|
246
|
-
jekyll-theme
|
248
|
+
jekyll-rtd-theme
|
247
249
|
|
248
250
|
BUNDLED WITH
|
249
251
|
2.1.4
|
data/docs/_config.yml
CHANGED
@@ -1,13 +1,9 @@
|
|
1
|
-
|
1
|
+
remote_theme: rundocs/jekyll-rtd-theme
|
2
|
+
|
2
3
|
title: Jekyll Picture Tag
|
4
|
+
description: Images for Jekyll, done correctly.
|
5
|
+
lang: en-US
|
3
6
|
|
4
|
-
url: ''
|
5
7
|
baseurl: '/jekyll_picture_tag'
|
6
|
-
|
7
|
-
|
8
|
-
-
|
9
|
-
scope:
|
10
|
-
path: ''
|
11
|
-
values:
|
12
|
-
layout: directory
|
13
|
-
|
8
|
+
readme_index:
|
9
|
+
with_frontmatter: true
|
@@ -0,0 +1,46 @@
|
|
1
|
+
---
|
2
|
+
sort: 4
|
3
|
+
---
|
4
|
+
|
5
|
+
# Code
|
6
|
+
|
7
|
+
## Guidelines
|
8
|
+
|
9
|
+
* Generally, go for straightforward and readable rather than terse and clever. I'm not actually a
|
10
|
+
very good programmer; I need simple code that's easy to understand.
|
11
|
+
|
12
|
+
* Refactoring is welcome, especially in the name of the previous point.
|
13
|
+
|
14
|
+
* I'm very reluctant to introduce breaking changes to configuration settings. This rule isn't
|
15
|
+
absolute, but I'm not going to do it without a good reason.
|
16
|
+
|
17
|
+
* Don't disable cops without strong justification.
|
18
|
+
|
19
|
+
* I generally try to write tests before writing code, especially when fixing bugs. This
|
20
|
+
gives us some confidence that what we think we're testing and what we're actually testing aren't
|
21
|
+
too different.
|
22
|
+
|
23
|
+
## Hard rules
|
24
|
+
|
25
|
+
These aren't the rules for submitting a pull request, these are the rules for merging into master.
|
26
|
+
I'm thrilled to receive any help at all, and I'm more than happy to help with meeting these
|
27
|
+
criteria:
|
28
|
+
|
29
|
+
* Liquid tag syntax can only be extended; no breaking changes. I'm not willing to force
|
30
|
+
users to dig through their entire site and change every picture tag in order to update to the
|
31
|
+
latest version.
|
32
|
+
|
33
|
+
* Maintain "no configuration required" - a new user must be able to add JPT to their gemfile, bundle
|
34
|
+
install, and start writing picture tags in their site without touching a yml file.
|
35
|
+
|
36
|
+
* 100% test coverage (Meaning that when running the unit and integration tests together, every line
|
37
|
+
of code in the `lib` folder must run at least once.)
|
38
|
+
|
39
|
+
* No failing tests
|
40
|
+
|
41
|
+
* No rubocop warnings
|
42
|
+
|
43
|
+
## Thanks!
|
44
|
+
|
45
|
+
As I said, don't let any of the rules & guidelines scare you away. They're the rules for merging
|
46
|
+
into master, not submitting a pull request. I'm thrilled to receive any help at all.
|
@@ -0,0 +1,31 @@
|
|
1
|
+
---
|
2
|
+
sort: 2
|
3
|
+
---
|
4
|
+
|
5
|
+
# Docs
|
6
|
+
|
7
|
+
The docs are a mini-project in the docs folder. They don't have a dedicated git repository, but they
|
8
|
+
do have their own Gemfile. They run on Github Pages, which is based on Jekyll.
|
9
|
+
|
10
|
+
The format is simple; markdown files with a few lines of metadata at the top, organized into
|
11
|
+
subdirectories. We're using the [jekyll-rtd-theme](https://jekyll-rtd-theme.rundocs.io/).
|
12
|
+
|
13
|
+
You can preview as you edit; first the setup:
|
14
|
+
|
15
|
+
``` sh
|
16
|
+
$ git clone git@github.com:rbuchberger/jekyll_picture_tag.git # if you haven't already
|
17
|
+
$ cd jekyll_picture_tag/docs
|
18
|
+
$ direnv allow # (optional)
|
19
|
+
$ bundle install --binstubs # --binstubs is optional.
|
20
|
+
```
|
21
|
+
|
22
|
+
If you use direnv or add `docs/bin` to your `PATH` another way, the `--binstubs` flag allows you to
|
23
|
+
skip `bundle exec`.
|
24
|
+
|
25
|
+
To preview:
|
26
|
+
|
27
|
+
``` sh
|
28
|
+
$ jekyll serve --livereload # (prefix with `bundle exec` if necessary)
|
29
|
+
```
|
30
|
+
|
31
|
+
* In a web browser, navigate to `localhost:4000/jekyll_picture_tag/`
|
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
# Contributing
|
4
|
+
|
5
|
+
Bug reports, feature requests, and feedback are very welcome, either through
|
6
|
+
github issues or via email: robert@buchberger.cc
|
7
|
+
|
8
|
+
Pull requests are encouraged! I'm happy to answer questions and provide
|
9
|
+
assistance along the way. Don't let any of the recommendations/requests in this
|
10
|
+
guide stop you from submitting one.
|
11
|
+
|
12
|
+
I think one of the biggest opportunities for improvement in this plugin is its
|
13
|
+
documentation. I'd really love help here, and all you need to know is markdown.
|
14
|
+
|
15
|
+
{% include list.liquid %}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
sort: 1
|
3
|
+
---
|
4
|
+
|
5
|
+
## Setup
|
6
|
+
|
7
|
+
I use [asdf](https://github.com/asdf-vm/asdf) and [direnv](https://direnv.net/) (via
|
8
|
+
[asdf-direnv](https://github.com/asdf-community/asdf-direnv)). They add convenience, but they aren't
|
9
|
+
required by any means.
|
10
|
+
|
11
|
+
### With asdf & direnv:
|
12
|
+
|
13
|
+
```sh
|
14
|
+
$ git clone git@github.com:rbuchberger/jekyll_picture_tag.git
|
15
|
+
$ cd jekyll_picture_tag
|
16
|
+
$ direnv allow
|
17
|
+
$ asdf install
|
18
|
+
$ bundle install --binstubs
|
19
|
+
```
|
20
|
+
|
21
|
+
### Without asdf & direnv
|
22
|
+
|
23
|
+
```sh
|
24
|
+
$ git clone git@github.com:rbuchberger/jekyll_picture_tag.git
|
25
|
+
$ cd jekyll_picture_tag
|
26
|
+
# Install the correct version of ruby, with the bundler gem.
|
27
|
+
$ bundle install
|
28
|
+
```
|
29
|
+
|
30
|
+
* The currently targeted ruby version can be found in the `.ruby-version` file in the project root;
|
31
|
+
ensure your version manager of choice knows about it.
|
32
|
+
* If you add the project's `bin/` folder to your path, and run `bundle install --binstubs`, you won't
|
33
|
+
have to use `bundle exec` for `rake` commands and such.
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
sort: 3
|
3
|
+
---
|
4
|
+
|
5
|
+
# Tests
|
6
|
+
|
7
|
+
The primary way to run these checks is `rake`:
|
8
|
+
|
9
|
+
| rake command | function |
|
10
|
+
|-----------------------------|---------------------------------|
|
11
|
+
| `rake unit` | Unit tests only |
|
12
|
+
| `rake integration` | Integration tests only |
|
13
|
+
| `rake test` | Both unit and integration tests |
|
14
|
+
| `rake rubocop` | Check code formatting |
|
15
|
+
| `rake rubocop:auto_correct` | Fix rubocop issues, if possible |
|
16
|
+
| `rake` | Run all checks |
|
17
|
+
|
18
|
+
* Ignore the mini_magick `method redefined` warnings (unless you know how to fix them?)
|
19
|
+
* Depending on your environment, you may need to prefix all rake commands with `bundle exec`
|
20
|
+
* Simplecov is set up -- you'll get a measurement of coverage in the test output and a nice report
|
21
|
+
in the `coverage` directory.
|
22
|
+
* The tests use the `/tmp/` directory directly, which I'm pretty sure means it won't work on
|
23
|
+
Windows. This is fixable, so if that gets in your way just ask.
|
24
|
+
|
25
|
+
### Docker
|
26
|
+
|
27
|
+
The tests use some features of ImageMagick 7 which are not supported by version 6. If it's
|
28
|
+
inconvenient to install version 7, the following commands will build and run the tests in a docker
|
29
|
+
container:
|
30
|
+
|
31
|
+
```bash
|
32
|
+
$ docker build . -t jpt
|
33
|
+
$ docker run -t jpt
|
34
|
+
```
|
data/docs/devs/index.md
ADDED
@@ -1,7 +1,32 @@
|
|
1
1
|
---
|
2
2
|
---
|
3
3
|
# Release History
|
4
|
-
|
4
|
+
* 1.14.0 January 10, 2021
|
5
|
+
* Gracefully handle empty tag arguments.
|
6
|
+
* Re-add metadata stripping. I removed it inadvertently when refactoring; now
|
7
|
+
there's a test and a setting to turn it off.
|
8
|
+
* Respect Jekyll's `--disable-disk-cache` argument.
|
9
|
+
* Add baseurl configuration, allowing increased plugin support (such as I18n via `jekyll-multiple-languages-plugin`)
|
10
|
+
* Tooling & test suite maintenance and improvements.
|
11
|
+
* 1.13.0 November 23, 2020
|
12
|
+
* Add image quality interpolation; allows for variable image quality based on image size.
|
13
|
+
* Bugfix: Perform format, resize, and quality changes simultaneously rather than individually.
|
14
|
+
* Allows for actual lossless webp: simply set quality to 100.
|
15
|
+
* Improves fresh (no cached images) build times by ~15%
|
16
|
+
* Fix problems with poor image quality.
|
17
|
+
* 1.12.0 July 30, 2020
|
18
|
+
* Documentation overhaul. Now with 87% less scrolling!
|
19
|
+
* Rename `markup_presets` and `media_presets` to `presets` and
|
20
|
+
`media_queries`. The old names were bad and caused confusion. The old names
|
21
|
+
will continue to work until the next major version is released.
|
22
|
+
* 1.11.0 July 27, 2020
|
23
|
+
* **Width and height attribute support!** Begone, page reflow.
|
24
|
+
* Cache image information between builds
|
25
|
+
* Change image naming format. This update will trigger all images to be
|
26
|
+
regenerated, so you may want to delete your generated images folder
|
27
|
+
beforehand.
|
28
|
+
* 1.10.2 July 6, 2020
|
29
|
+
* Bugfix for fallback image files not actually getting generated
|
5
30
|
* 1.10.1 July 2, 2020
|
6
31
|
* Bugfix for erroneously regenerated images
|
7
32
|
* 1.10.0 May 11, 2020
|
@@ -11,41 +36,44 @@
|
|
11
36
|
* 1.9.0 Feb 2, 2020
|
12
37
|
* Add `fast_build` global setting
|
13
38
|
* Add `disabled` global setting
|
14
|
-
* Reduce unnecessary disk IO; sites with many source images should see build
|
15
|
-
|
16
|
-
* Add support for empty attributes; specifically so best-practice for
|
17
|
-
is possible.
|
39
|
+
* Reduce unnecessary disk IO; sites with many source images should see build
|
40
|
+
times improve when no new images need to be generated.
|
41
|
+
* Add support for empty attributes; specifically so best-practice for
|
42
|
+
decorative images (`alt=""`) is possible.
|
18
43
|
* 1.8.0 Nov 25, 2019
|
19
44
|
* Add `data_sizes` setting for the `data_` family of output formats.
|
20
45
|
* 1.7.1 Nov 14, 2019
|
21
46
|
* Fix some HTML attribute related bugs
|
22
47
|
* Add a few items to the FAQ
|
23
48
|
* 1.7.0 Aug 12, 2019
|
24
|
-
* Add support for setting generated image quality, either generally or
|
25
|
-
formats.
|
49
|
+
* Add support for setting generated image quality, either generally or
|
50
|
+
specific to given formats.
|
26
51
|
* Add support for spaces and other url-encoded characters in filenames
|
27
|
-
* Documentation restructure - Moved it out of the wiki, into the `docs`
|
52
|
+
* Documentation restructure - Moved it out of the wiki, into the `docs`
|
53
|
+
folder.
|
28
54
|
* Bugfix: Fallback image width will now be checked against source image width.
|
29
55
|
* Bugfix: Minor fix to nomarkdown wrapper output
|
30
|
-
* link_source will now target the base source image, rather than finding the
|
56
|
+
* link_source will now target the base source image, rather than finding the
|
57
|
+
biggest one.
|
31
58
|
* Remove fastimage dependency, add addressable dependency.
|
32
|
-
* Moderately significant refactoring and code cleanup
|
59
|
+
* Moderately significant refactoring and code cleanup
|
33
60
|
* Decent set of tests added
|
34
61
|
* 1.6.0 Jul 2, 2019:
|
35
62
|
* Missing Preset warning respects `data_dir` setting
|
36
63
|
* Add `continue_on_missing` option
|
37
|
-
* 1.5.0 Jun 26, 2019:
|
64
|
+
* 1.5.0 Jun 26, 2019:
|
38
65
|
* better `{::nomarkdown}` necessity detection
|
39
66
|
* allow user to override `{::nomarkdown}` autodetection
|
40
67
|
* 1.4.0 Jun 26, 2019:
|
41
|
-
* Rename gem from `jekyll-picture-tag` to `jekyll_picture_tag`, allowing us to
|
68
|
+
* Rename gem from `jekyll-picture-tag` to `jekyll_picture_tag`, allowing us to
|
69
|
+
use rubygems again.
|
42
70
|
* Add new output format: `naked_srcset`.
|
43
71
|
* 1.3.1 Jun 21, 2019: Bugfix
|
44
72
|
* 1.3.0 Jun 7, 2019:
|
45
73
|
* Initial compatibility with Jekyll 4.0
|
46
74
|
* bugfixes
|
47
|
-
* change to generated image naming-- The first build after this update will be
|
48
|
-
might want to clear out your generated images.
|
75
|
+
* change to generated image naming-- The first build after this update will be
|
76
|
+
longer, and you might want to clear out your generated images.
|
49
77
|
* 1.2.0 Feb 9, 2019:
|
50
78
|
* Add nomarkdown fix
|
51
79
|
* noscript option
|
@@ -56,7 +84,8 @@
|
|
56
84
|
* auto-orient images before stripping metadata
|
57
85
|
* 1.0.2 Jan 18, 2019: Fix ruby version specification
|
58
86
|
* 1.0.1 Jan 13, 2019: Added ruby version checking
|
59
|
-
* **1.0.0** Nov 27, 2018: Rewrite from the ground up. See the
|
87
|
+
* **1.0.0** Nov 27, 2018: Rewrite from the ground up. See the
|
88
|
+
* [migration guide]({{ site.baseurl }}/users/notes/migration).
|
60
89
|
* 0.2.2 Aug 2, 2013: Bugfixes
|
61
90
|
* 0.2.1 Jul 17, 2013: Refactor again, add Liquid parsing.
|
62
91
|
* 0.2.0 Jul 14, 2013: Rewrite code base, bring in line with Jekyll Image Tag.
|