nanoc 4.11.12 → 4.11.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +788 -743
- data/bin/nanoc +1 -1
- data/lib/nanoc.rb +6 -29
- data/lib/nanoc/data_sources/filesystem.rb +9 -3
- data/lib/nanoc/data_sources/filesystem/tools.rb +4 -4
- data/lib/nanoc/extra.rb +2 -1
- data/lib/nanoc/extra/core_ext.rb +0 -1
- data/lib/nanoc/extra/srcset_parser.rb +79 -0
- data/lib/nanoc/filters/colorize_syntax/colorizers.rb +1 -1
- data/lib/nanoc/filters/erb.rb +1 -5
- data/lib/nanoc/filters/relativize_paths.rb +62 -10
- data/lib/nanoc/filters/sass/functions.rb +1 -1
- data/lib/nanoc/helpers/blogging.rb +8 -8
- data/lib/nanoc/helpers/capturing.rb +1 -1
- data/lib/nanoc/helpers/link_to.rb +1 -1
- data/lib/nanoc/helpers/rendering.rb +5 -4
- data/lib/nanoc/orig_cli.rb +15 -0
- data/lib/nanoc/{cli → orig_cli}/commands/show-rules.rb +3 -3
- data/lib/nanoc/rule_dsl.rb +1 -0
- data/lib/nanoc/rule_dsl/action_provider.rb +6 -6
- data/lib/nanoc/rule_dsl/action_recorder.rb +4 -4
- data/lib/nanoc/rule_dsl/compilation_rule_context.rb +1 -1
- data/lib/nanoc/rule_dsl/compiler_dsl.rb +2 -2
- data/lib/nanoc/rule_dsl/errors.rb +25 -0
- data/lib/nanoc/rule_dsl/rule_context.rb +6 -6
- data/lib/nanoc/rule_dsl/rules_loader.rb +1 -1
- data/lib/nanoc/version.rb +1 -1
- metadata +23 -158
- data/lib/nanoc/base.rb +0 -16
- data/lib/nanoc/base/changes_stream.rb +0 -53
- data/lib/nanoc/base/error.rb +0 -7
- data/lib/nanoc/base/errors.rb +0 -163
- data/lib/nanoc/base/feature.rb +0 -104
- data/lib/nanoc/base/repos.rb +0 -4
- data/lib/nanoc/base/repos/config_loader.rb +0 -95
- data/lib/nanoc/base/repos/site_loader.rb +0 -102
- data/lib/nanoc/base/services.rb +0 -23
- data/lib/nanoc/base/services/compiler.rb +0 -214
- data/lib/nanoc/base/services/compiler/phases.rb +0 -19
- data/lib/nanoc/base/services/compiler/phases/abstract.rb +0 -50
- data/lib/nanoc/base/services/compiler/phases/cache.rb +0 -45
- data/lib/nanoc/base/services/compiler/phases/mark_done.rb +0 -25
- data/lib/nanoc/base/services/compiler/phases/notify.rb +0 -21
- data/lib/nanoc/base/services/compiler/phases/recalculate.rb +0 -51
- data/lib/nanoc/base/services/compiler/phases/resume.rb +0 -54
- data/lib/nanoc/base/services/compiler/phases/write.rb +0 -86
- data/lib/nanoc/base/services/compiler/stages.rb +0 -23
- data/lib/nanoc/base/services/compiler/stages/build_reps.rb +0 -38
- data/lib/nanoc/base/services/compiler/stages/calculate_checksums.rb +0 -44
- data/lib/nanoc/base/services/compiler/stages/cleanup.rb +0 -45
- data/lib/nanoc/base/services/compiler/stages/compile_reps.rb +0 -98
- data/lib/nanoc/base/services/compiler/stages/determine_outdatedness.rb +0 -51
- data/lib/nanoc/base/services/compiler/stages/forget_outdated_dependencies.rb +0 -22
- data/lib/nanoc/base/services/compiler/stages/load_stores.rb +0 -37
- data/lib/nanoc/base/services/compiler/stages/postprocess.rb +0 -23
- data/lib/nanoc/base/services/compiler/stages/preprocess.rb +0 -34
- data/lib/nanoc/base/services/compiler/stages/prune.rb +0 -32
- data/lib/nanoc/base/services/compiler/stages/store_post_compilation_state.rb +0 -22
- data/lib/nanoc/base/services/compiler/stages/store_pre_compilation_state.rb +0 -34
- data/lib/nanoc/base/services/compiler_loader.rb +0 -48
- data/lib/nanoc/base/services/executor.rb +0 -134
- data/lib/nanoc/base/services/filter.rb +0 -267
- data/lib/nanoc/base/services/item_rep_builder.rb +0 -54
- data/lib/nanoc/base/services/item_rep_selector.rb +0 -69
- data/lib/nanoc/base/services/item_rep_writer.rb +0 -86
- data/lib/nanoc/base/services/outdatedness_checker.rb +0 -222
- data/lib/nanoc/base/services/outdatedness_rules.rb +0 -18
- data/lib/nanoc/base/services/outdatedness_rules/attributes_modified.rb +0 -41
- data/lib/nanoc/base/services/outdatedness_rules/code_snippets_modified.rb +0 -31
- data/lib/nanoc/base/services/outdatedness_rules/content_modified.rb +0 -21
- data/lib/nanoc/base/services/outdatedness_rules/item_collection_extended.rb +0 -20
- data/lib/nanoc/base/services/outdatedness_rules/layout_collection_extended.rb +0 -20
- data/lib/nanoc/base/services/outdatedness_rules/not_written.rb +0 -17
- data/lib/nanoc/base/services/outdatedness_rules/rules_modified.rb +0 -45
- data/lib/nanoc/base/services/outdatedness_rules/uses_always_outdated_filter.rb +0 -26
- data/lib/nanoc/base/services/pruner.rb +0 -123
- data/lib/nanoc/base/views.rb +0 -40
- data/lib/nanoc/base/views/basic_item_rep_collection_view.rb +0 -86
- data/lib/nanoc/base/views/basic_item_rep_view.rb +0 -81
- data/lib/nanoc/base/views/basic_item_view.rb +0 -52
- data/lib/nanoc/base/views/compilation_item_rep_collection_view.rb +0 -10
- data/lib/nanoc/base/views/compilation_item_rep_view.rb +0 -49
- data/lib/nanoc/base/views/compilation_item_view.rb +0 -45
- data/lib/nanoc/base/views/config_view.rb +0 -68
- data/lib/nanoc/base/views/identifiable_collection_view.rb +0 -109
- data/lib/nanoc/base/views/item_collection_with_reps_view.rb +0 -10
- data/lib/nanoc/base/views/item_collection_without_reps_view.rb +0 -10
- data/lib/nanoc/base/views/layout_collection_view.rb +0 -10
- data/lib/nanoc/base/views/layout_view.rb +0 -7
- data/lib/nanoc/base/views/mixins/document_view_mixin.rb +0 -88
- data/lib/nanoc/base/views/mixins/mutable_document_view_mixin.rb +0 -58
- data/lib/nanoc/base/views/mutable_config_view.rb +0 -14
- data/lib/nanoc/base/views/mutable_identifiable_collection_view.rb +0 -17
- data/lib/nanoc/base/views/mutable_item_collection_view.rb +0 -32
- data/lib/nanoc/base/views/mutable_item_view.rb +0 -7
- data/lib/nanoc/base/views/mutable_layout_collection_view.rb +0 -24
- data/lib/nanoc/base/views/mutable_layout_view.rb +0 -7
- data/lib/nanoc/base/views/post_compile_item_collection_view.rb +0 -10
- data/lib/nanoc/base/views/post_compile_item_rep_collection_view.rb +0 -10
- data/lib/nanoc/base/views/post_compile_item_rep_view.rb +0 -31
- data/lib/nanoc/base/views/post_compile_item_view.rb +0 -18
- data/lib/nanoc/base/views/view.rb +0 -41
- data/lib/nanoc/checking.rb +0 -14
- data/lib/nanoc/checking/check.rb +0 -93
- data/lib/nanoc/checking/checks.rb +0 -14
- data/lib/nanoc/checking/checks/css.rb +0 -16
- data/lib/nanoc/checking/checks/external_links.rb +0 -151
- data/lib/nanoc/checking/checks/html.rb +0 -16
- data/lib/nanoc/checking/checks/internal_links.rb +0 -95
- data/lib/nanoc/checking/checks/mixed_content.rb +0 -37
- data/lib/nanoc/checking/checks/stale.rb +0 -41
- data/lib/nanoc/checking/checks/w3c_validator.rb +0 -31
- data/lib/nanoc/checking/dsl.rb +0 -27
- data/lib/nanoc/checking/issue.rb +0 -16
- data/lib/nanoc/checking/loader.rb +0 -50
- data/lib/nanoc/checking/runner.rb +0 -136
- data/lib/nanoc/cli.rb +0 -241
- data/lib/nanoc/cli/ansi_string_colorizer.rb +0 -28
- data/lib/nanoc/cli/cleaning_stream.rb +0 -160
- data/lib/nanoc/cli/command_runner.rb +0 -72
- data/lib/nanoc/cli/commands/check.rb +0 -43
- data/lib/nanoc/cli/commands/compile.rb +0 -57
- data/lib/nanoc/cli/commands/compile_listeners/abstract.rb +0 -58
- data/lib/nanoc/cli/commands/compile_listeners/aggregate.rb +0 -50
- data/lib/nanoc/cli/commands/compile_listeners/debug_printer.rb +0 -100
- data/lib/nanoc/cli/commands/compile_listeners/diff_generator.rb +0 -101
- data/lib/nanoc/cli/commands/compile_listeners/file_action_printer.rb +0 -76
- data/lib/nanoc/cli/commands/compile_listeners/timing_recorder.rb +0 -170
- data/lib/nanoc/cli/commands/create-site.rb +0 -257
- data/lib/nanoc/cli/commands/deploy.rb +0 -126
- data/lib/nanoc/cli/commands/nanoc.rb +0 -42
- data/lib/nanoc/cli/commands/prune.rb +0 -49
- data/lib/nanoc/cli/commands/shell.rb +0 -57
- data/lib/nanoc/cli/commands/show-data.rb +0 -185
- data/lib/nanoc/cli/commands/show-plugins.rb +0 -89
- data/lib/nanoc/cli/commands/view.rb +0 -68
- data/lib/nanoc/cli/error_handler.rb +0 -365
- data/lib/nanoc/cli/logger.rb +0 -75
- data/lib/nanoc/cli/stack_trace_writer.rb +0 -50
- data/lib/nanoc/cli/stream_cleaners.rb +0 -10
- data/lib/nanoc/cli/stream_cleaners/abstract.rb +0 -21
- data/lib/nanoc/cli/stream_cleaners/ansi_colors.rb +0 -13
- data/lib/nanoc/cli/stream_cleaners/utf8.rb +0 -17
- data/lib/nanoc/cli/transform.rb +0 -16
- data/lib/nanoc/deploying.rb +0 -10
- data/lib/nanoc/deploying/deployer.rb +0 -45
- data/lib/nanoc/deploying/deployers.rb +0 -11
- data/lib/nanoc/deploying/deployers/fog.rb +0 -220
- data/lib/nanoc/deploying/deployers/git.rb +0 -112
- data/lib/nanoc/deploying/deployers/rsync.rb +0 -68
- data/lib/nanoc/extra/core_ext/pathname.rb +0 -27
- data/lib/nanoc/spec.rb +0 -240
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83cc8f18dfa86dba187261092cb83b9d16337d3e25605e468229464791146779
|
4
|
+
data.tar.gz: 71d3cb8cb498f6304634bf9a8380e35141610cc2f1861bd82fc0c54a2c865b8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a1f1a3e07b10d95285e8ea876ee2324c5b9a2526e23a8b280992e4cfc68ab7ab8aa290ec9191c9af73c83b7bee1f504afb3485592daff1497e9e998f6f595c
|
7
|
+
data.tar.gz: aff40a73bd1aaf85e99262d102279a9fd2d6f99835f8d1b7be92809d9355fdf849039acba1177d16033e6e2ba560de5ff57a76cafae170fd1eed963304de541c
|
data/NEWS.md
CHANGED
@@ -1,269 +1,314 @@
|
|
1
1
|
# Nanoc news
|
2
2
|
|
3
|
+
## 4.11.17 (2020-06-12)
|
4
|
+
|
5
|
+
Fixes:
|
6
|
+
|
7
|
+
- Fixed issue which could cause Nanoc to throw a timeout exception (#1503)
|
8
|
+
|
9
|
+
## 4.11.16 (2020-04-26)
|
10
|
+
|
11
|
+
Fixes:
|
12
|
+
|
13
|
+
- Fixed uninitialized constant/undefined method bug with guard-nanoc (#1494, #1495)
|
14
|
+
- Removed remaining more “Using the last argument …” warnings (#1498)
|
15
|
+
|
16
|
+
Enhancements:
|
17
|
+
|
18
|
+
- Ignore redirects to self (misued for cookies) (#1496) [Daniel Aleksandersen]
|
19
|
+
|
20
|
+
## 4.11.15 (2020-03-07)
|
21
|
+
|
22
|
+
Enhancements:
|
23
|
+
|
24
|
+
- Made `prune` print files to delete when using dry run (#1474, #1476)
|
25
|
+
- Made Nanoc emit a warning when the `contracts` library is loaded, as it can cause severe slowdowns (#1483, #1489)
|
26
|
+
- Made the default Rules handle `index.*` files (#1485, #1490)
|
27
|
+
|
28
|
+
Fixes:
|
29
|
+
|
30
|
+
- Fixed warnings on Ruby 2.7
|
31
|
+
- Made `@rep` (not just `@item_rep`) available in the Rendering helper (#1484, #1488)
|
32
|
+
- Made the `:relativize_paths` filter relativize the `value` attribute, not the `content` one, of the `param` HTML element (#1491)
|
33
|
+
- Made the `:relativize_paths` filter support relativizing paths in `srcset` attributes (#1475, #1492)
|
34
|
+
- Fixed an issue that could cause items to be marked as outdated when they shouldn’t be (#1471, #1493).
|
35
|
+
|
36
|
+
## 4.11.14 (2019-11-10)
|
37
|
+
|
38
|
+
Fixes:
|
39
|
+
|
40
|
+
- Fixed an issue where removing and re-adding an item would not cause dependent items to be recompiled (#1463, #1464)
|
41
|
+
|
42
|
+
## 4.11.13 (2019-11-02)
|
43
|
+
|
44
|
+
Fixes:
|
45
|
+
|
46
|
+
- Fixed an issue which could cause Nanoc to freeze when generating the output diff on Windows
|
47
|
+
|
3
48
|
## 4.11.12 (2019-09-21)
|
4
49
|
|
5
50
|
Fixes:
|
6
51
|
|
7
|
-
|
52
|
+
- Fixed an issue with the output diff, where some hunks would not appear (#1457)
|
8
53
|
|
9
54
|
## 4.11.11 (2019-09-07)
|
10
55
|
|
11
56
|
Fixes:
|
12
57
|
|
13
|
-
|
58
|
+
- Made output diff more reliable (#1455, #1456)
|
14
59
|
|
15
60
|
## 4.11.10 (2019-08-31)
|
16
61
|
|
17
62
|
Fixes:
|
18
63
|
|
19
|
-
|
64
|
+
- Fixed problem with sporadic `DDMetrics::Stopwatch::AlreadyRunningError` (#1445)
|
20
65
|
|
21
66
|
## 4.11.9 (2019-08-17)
|
22
67
|
|
23
68
|
Enhancements:
|
24
69
|
|
25
|
-
|
26
|
-
|
27
|
-
|
70
|
+
- Allowed specifying excluded files across all checks (#1438)
|
71
|
+
- Replace handlebars.rb with ruby-handlebars (#1443)
|
72
|
+
- Improved dependency tracking for Sass imports (#1451, #1452) [Romain Goyet]
|
28
73
|
|
29
74
|
## 4.11.8 (2019-08-08)
|
30
75
|
|
31
76
|
Fixes:
|
32
77
|
|
33
|
-
|
78
|
+
- Fixed issue with `#find_all` yielding incorrect objects, causing a crash when attempting to access attributes (#1446, #1447)
|
34
79
|
|
35
80
|
## 4.11.7 (2019-07-28)
|
36
81
|
|
37
82
|
Fixes:
|
38
83
|
|
39
|
-
|
84
|
+
- Fixed handling of protocol-relative URLs (#1444)
|
40
85
|
|
41
86
|
## 4.11.6 (2019-07-06)
|
42
87
|
|
43
88
|
Fixes:
|
44
89
|
|
45
|
-
|
46
|
-
|
90
|
+
- Fixed crash in the `show-data` command when printing layout outdatedness (#1432)
|
91
|
+
- Fixed crash in the `view` command when host/port is not specified
|
47
92
|
|
48
93
|
Enhancements:
|
49
94
|
|
50
|
-
|
51
|
-
|
52
|
-
|
95
|
+
- Added `#env_name` to `@config` (#1437)
|
96
|
+
- Made the `external_links` checker detect more kinds of broken links (#1422) [Daniel Aleksandersen]
|
97
|
+
- Made the `external_links` checker shuffle the list of links (#1429) [Daniel Aleksandersen]
|
53
98
|
|
54
99
|
## 4.11.5 (2019-04-30)
|
55
100
|
|
56
101
|
Fixes:
|
57
102
|
|
58
|
-
|
103
|
+
- Fixed an incompatibility introduced in Cri 2.15.4 (#1423, #1426)
|
59
104
|
|
60
105
|
## 4.11.4 (2019-04-28)
|
61
106
|
|
62
107
|
Fixes:
|
63
108
|
|
64
|
-
|
109
|
+
- Fixed an issue which could cause `#compiled_content` to sometimes return compiled content that erroneously includes the layout (#1412, #1421)
|
65
110
|
|
66
111
|
## 4.11.3 (2019-04-27)
|
67
112
|
|
68
113
|
Enhancements:
|
69
114
|
|
70
|
-
|
71
|
-
|
72
|
-
|
115
|
+
- Set a User-Agent for HTTP requests made by the `external_links` check (#1417) [Daniel Aleksandersen]
|
116
|
+
- Added `atom:link[type]` attributes (#1415) [Daniel Aleksandersen]
|
117
|
+
- Made the `external_links` check treat permanent redirects as errors (#1419) [Daniel Aleksandersen]
|
73
118
|
|
74
119
|
## 4.11.2 (2019-02-16)
|
75
120
|
|
76
121
|
Fixes:
|
77
122
|
|
78
|
-
|
123
|
+
- Fixed issue which prevented Sass (not SCSS) files from being imported (#1397, #1407) [Alexander Groß]
|
79
124
|
|
80
125
|
## 4.11.1 (2019-02-09)
|
81
126
|
|
82
127
|
Fixes:
|
83
128
|
|
84
|
-
|
129
|
+
- Fixed an issue which caused hardlinking to fail in certain situations (#1405, #1406)
|
85
130
|
|
86
131
|
## 4.11.0 (2018-12-01)
|
87
132
|
|
88
133
|
Features:
|
89
134
|
|
90
|
-
|
91
|
-
|
135
|
+
- Added support for generating inline source maps for Sass (#1376) [Gregory Pakosz]
|
136
|
+
- Added `:tiebreaker` option to the breadcrumbs helper, so that it can deal with ambiguity (#1368)
|
92
137
|
|
93
138
|
## 4.10.4 (2018-12-01)
|
94
139
|
|
95
140
|
Fixes:
|
96
141
|
|
97
|
-
|
142
|
+
- Fixed an error when importing a Sass/SCSS file outside of Nanoc’s content directory (#1378, #1379)
|
98
143
|
|
99
144
|
## 4.10.3 (2018-10-28)
|
100
145
|
|
101
146
|
Fixes:
|
102
147
|
|
103
|
-
|
148
|
+
- Fixed an issue which could cause `write nil` to still invoke the routing rule (#1374, #1375)
|
104
149
|
|
105
150
|
## 4.10.2 (2018-10-21)
|
106
151
|
|
107
152
|
Fixes:
|
108
153
|
|
109
|
-
|
154
|
+
- Fixed an issue where changing a layout rule’s parameters would not recompile items that use the layout for this layout rule (#1372, #1373)
|
110
155
|
|
111
156
|
## 4.10.1 (2018-10-16)
|
112
157
|
|
113
158
|
Fixes:
|
114
159
|
|
115
|
-
|
160
|
+
- Made Nanoc no longer crash when the Sass gem is not available (#1371)
|
116
161
|
|
117
162
|
## 4.10.0 (2018-10-14)
|
118
163
|
|
119
164
|
Features:
|
120
165
|
|
121
|
-
|
122
|
-
|
166
|
+
- Added source map support to the Sass filter (#1365) [Gregory Pakosz]
|
167
|
+
- Added a `nanoc()` Sass function (#1365) [Gregory Pakosz]
|
123
168
|
|
124
169
|
Fixes:
|
125
170
|
|
126
|
-
|
171
|
+
- Ensured breadcrumb trail always ends in item itself (#1367)
|
127
172
|
|
128
173
|
Enhancemens:
|
129
174
|
|
130
|
-
|
175
|
+
- Made Nanoc error when meta-file cannot be unambiguously associated (#1370)
|
131
176
|
|
132
177
|
## 4.9.9 (2018-10-06)
|
133
178
|
|
134
179
|
Fixes:
|
135
180
|
|
136
|
-
|
181
|
+
- Allowed `items_root` and `layouts_root` to be null
|
137
182
|
|
138
183
|
## 4.9.8 (2018-10-05)
|
139
184
|
|
140
185
|
Fixes:
|
141
186
|
|
142
|
-
|
187
|
+
- Fixed missing `configuration-schema.json` file
|
143
188
|
|
144
189
|
## 4.9.7 (2018-10-05)
|
145
190
|
|
146
191
|
Enhancements:
|
147
192
|
|
148
|
-
|
149
|
-
|
150
|
-
|
193
|
+
- Added `title_proc:` option to the blogging helper (#1362, #1363) [Thomas Hochstein]
|
194
|
+
- Dropped Ruby 2.3 support, as it is no longer maintained (#1361)
|
195
|
+
- Added static configuration file verification (#1360)
|
151
196
|
|
152
197
|
## 4.9.6 (2018-09-19)
|
153
198
|
|
154
199
|
Fixes:
|
155
200
|
|
156
|
-
|
201
|
+
- Fixed an issue which would cause the checksum of binary items created by the filesystem data source not to be updated when the content changes (#1358, #1359)
|
157
202
|
|
158
203
|
## 4.9.5 (2018-09-15)
|
159
204
|
|
160
205
|
Fixes:
|
161
206
|
|
162
|
-
|
207
|
+
- Fixed an issue which would cause Nanoc to trip up when the working directory changes during compilation (#1338, #1353, #1354, #1357)
|
163
208
|
|
164
209
|
## 4.9.4 (2018-08-19)
|
165
210
|
|
166
211
|
Fixes:
|
167
212
|
|
168
|
-
|
213
|
+
- Fixed an issue where compiled content of items generated in the preprocessor would not be available in the postprocessor (#1341, #1348)
|
169
214
|
|
170
215
|
## 4.9.3 (2018-06-09)
|
171
216
|
|
172
217
|
Enhancements:
|
173
218
|
|
174
|
-
|
219
|
+
- Added an `:exclude` option to `relativize_paths`, to exclude certain paths from being relativized (#1340)
|
175
220
|
|
176
221
|
## 4.9.2 (2018-03-30)
|
177
222
|
|
178
223
|
Fixes:
|
179
224
|
|
180
|
-
|
181
|
-
|
225
|
+
- Fixed bug which caused `output_dir` not to be ignored when checking for excludes in pruner (#1313, #1324)
|
226
|
+
- Fixed bug which caused `Filter#depend_on` not to create a proper dependency when the depended-on item has no representations (#1330)
|
182
227
|
|
183
228
|
Enhancements:
|
184
229
|
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
230
|
+
- Made Nanoc use hardlinks instead of copying files when possible (#1321) [Antonio Terceiro]
|
231
|
+
- Made Nanoc show an understandable error when a filter returns `nil` by accident (#1323, #1326)
|
232
|
+
- Made the checks also consider `.xhtml` and `.htm` files (#1328, #1329)
|
233
|
+
- Made Nanoc not report thread exceptions, which would freeze Ruby (#1332)
|
189
234
|
|
190
235
|
## 4.9.1 (2018-02-22)
|
191
236
|
|
192
237
|
Fixes:
|
193
238
|
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
239
|
+
- Fixed issue which could cause terminal output to be jumbled up (#1312, #1316)
|
240
|
+
- Made pruner ignore `output_dir` configuration attribute when checking for excludes (#1313, #1317)
|
241
|
+
- Fixed handling of interrupts (SIGINT) in the `shell` command (#1309, #1318)
|
242
|
+
- Added workaround for `relativize_paths` mangling `gcse:search` elements (#1319, #1320)
|
198
243
|
|
199
244
|
Enhancements:
|
200
245
|
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
246
|
+
- Allowed overriding `<id>` and `<link rel="alternate">` elements in Atom feed generator (#1301) [Ian Young]
|
247
|
+
- Made `sh` an alias for the `shell` command (#1308)
|
248
|
+
- Simplified the default configuration (#1311)
|
249
|
+
- Removed routing rules from newly-created sites (#1310)
|
205
250
|
|
206
251
|
## 4.9.0 (2018-01-31)
|
207
252
|
|
208
253
|
Features:
|
209
254
|
|
210
|
-
|
211
|
-
|
212
|
-
|
255
|
+
- Added `Identifier#match?` (#1305)
|
256
|
+
- Added `Nanoc::Check.define`
|
257
|
+
- Made Nanoc read checks configuration from `nanoc.yaml` (#1296)
|
213
258
|
|
214
259
|
Enhancements:
|
215
260
|
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
261
|
+
- Made Nanoc write out files asynchronously (#1288)
|
262
|
+
- Made the filesystem data source ignore an initial blank line after the frontmatter (#1292, #1293)
|
263
|
+
- Made the `check` command run deploy checks by default (#1304)
|
264
|
+
- Made Nanoc honor the `NO_COLOR` environment variable (#1306)
|
220
265
|
|
221
266
|
Bugs:
|
222
267
|
|
223
|
-
|
224
|
-
|
225
|
-
|
268
|
+
- Fixed a potential deadlock in the `external_links` check (#1294, #1295)
|
269
|
+
- Fixed the `external_links` check’s handling of redirects without a `Location` header (#1297, #1302)
|
270
|
+
- Fixed the `external_links` check’s handling of URLs with invalid components (#1303)
|
226
271
|
|
227
272
|
## 4.8.19 (2018-01-01)
|
228
273
|
|
229
274
|
Enhancements:
|
230
275
|
|
231
|
-
|
276
|
+
- Made `write nil` skip routing rule (#1286)
|
232
277
|
|
233
278
|
## 4.8.18 (2017-12-28)
|
234
279
|
|
235
280
|
Enhancements:
|
236
281
|
|
237
|
-
|
282
|
+
- Added `.tex` to the default list of text extensions (#1280) [Rien Maertens]
|
238
283
|
|
239
284
|
Fixes:
|
240
285
|
|
241
|
-
|
242
|
-
|
286
|
+
- Made `#breadcrumbs_trail` smarter about picking the right parent when there is ambiguity (#1278, #1279)
|
287
|
+
- Made `#find_all` be callable with block instead of an argument (like `Enumerable#find_all`) (#1284, #1285)
|
243
288
|
|
244
289
|
## 4.8.17 (2017-12-16)
|
245
290
|
|
246
291
|
Enhancements:
|
247
292
|
|
248
|
-
|
293
|
+
- Made `LoadError` be printed more nicely (#1273, #1274, #1275)
|
249
294
|
|
250
295
|
## 4.8.16 (2017-12-09)
|
251
296
|
|
252
297
|
Fixes:
|
253
298
|
|
254
|
-
|
299
|
+
- Made `adsf-live` not be required for `nanoc view`, unless running with `--live-reload`
|
255
300
|
|
256
301
|
## 4.8.15 (2017-12-02)
|
257
302
|
|
258
303
|
Fixes:
|
259
304
|
|
260
|
-
|
261
|
-
|
262
|
-
|
305
|
+
- Made `nanoc` show item being compiled in crash logs of all errors, not just errors inheriting from `StandardError` (#1258)
|
306
|
+
- Made Erubi stack traces include the filename of the item or layout that is being compiled (#1255, #1259)
|
307
|
+
- Prevented `view --live-reload` from crashing when the output directory does not exist (#1254, #1261)
|
263
308
|
|
264
309
|
Enhancements:
|
265
310
|
|
266
|
-
|
311
|
+
- Made pruner not remove the output directory if it’s empty (#1260)
|
267
312
|
|
268
313
|
## 4.8.14 (2017-11-27)
|
269
314
|
|
@@ -273,152 +318,152 @@ Same as 4.8.13, but published with the proper release date.
|
|
273
318
|
|
274
319
|
Enhancements:
|
275
320
|
|
276
|
-
|
321
|
+
- Added `-L`/`--live-reload` option to `nanoc view` (#1251)
|
277
322
|
|
278
323
|
## 4.8.12 (2017-11-16)
|
279
324
|
|
280
325
|
Fixes:
|
281
326
|
|
282
|
-
|
327
|
+
- Fixed issue where changing `:output_dir` during preprocessing would prevent Nanoc from performing incremental compilation (#1248, #1249)
|
283
328
|
|
284
329
|
Enhancements:
|
285
330
|
|
286
|
-
|
331
|
+
- Allowed creation of pattern from symbols, not just strings (#1247) [Gregory Pakosz]
|
287
332
|
|
288
333
|
## 4.8.11 (2017-10-28)
|
289
334
|
|
290
335
|
Enhancements:
|
291
336
|
|
292
|
-
|
293
|
-
|
337
|
+
- Added `:save_with` parameter to `relativize_paths` filter (#1237) [Gregory Pakosz]
|
338
|
+
- Made error messages more compact and easier to read
|
294
339
|
|
295
340
|
## 4.8.10 (2017-10-08)
|
296
341
|
|
297
342
|
Fixes:
|
298
343
|
|
299
|
-
|
300
|
-
|
344
|
+
- Fixed handling of four dashes for separating metadata (#1222, #1223)
|
345
|
+
- Made `#raw_path` unavailable in rules context (#1231)
|
301
346
|
|
302
347
|
## 4.8.9 (2017-09-22)
|
303
348
|
|
304
349
|
Fixes:
|
305
350
|
|
306
|
-
|
351
|
+
- Fixed “uninitialized constant DisabledContracts::Args” error
|
307
352
|
|
308
353
|
## 4.8.8 (2017-09-22)
|
309
354
|
|
310
355
|
Enhancements:
|
311
356
|
|
312
|
-
|
357
|
+
- Added `#dig` to configuration (#1221) [Gregory Pakosz]
|
313
358
|
|
314
359
|
## 4.8.7 (2017-09-18)
|
315
360
|
|
316
361
|
Fixes:
|
317
362
|
|
318
|
-
|
363
|
+
- Fixed “uninitialized constant CGI” issue (#1218)
|
319
364
|
|
320
365
|
## 4.8.6 (2017-09-17)
|
321
366
|
|
322
367
|
Fixes:
|
323
368
|
|
324
|
-
|
369
|
+
- Fixed issue which would cause items not to be considered as outdated when their content and/or attributes are changed in the preprocessor (#1216, #1217)
|
325
370
|
|
326
371
|
## 4.8.5 (2017-09-07)
|
327
372
|
|
328
373
|
Enhancements:
|
329
374
|
|
330
|
-
|
331
|
-
|
375
|
+
- Made `nanoc check` accept hyphenated check names (e.g. `internal-links`, in addition to `internal_links`).
|
376
|
+
- `compile --verbose` now prints “cached” rather than “identical” when cached compiled content is used. (#1214)
|
332
377
|
|
333
378
|
## 4.8.4 (2017-09-03)
|
334
379
|
|
335
380
|
Fixes:
|
336
381
|
|
337
|
-
|
382
|
+
- Fixed issue which caused the CLI to load the site at the wrong moment (#1211, #1212, #1213)
|
338
383
|
|
339
384
|
## 4.8.3 (2017-08-30)
|
340
385
|
|
341
386
|
Fixes:
|
342
387
|
|
343
|
-
|
344
|
-
|
388
|
+
- Disallowed full identifiers from ending with a slash (#1206)
|
389
|
+
- Made `nanoc view` listen on 127.0.0.1, not 0.0.0.0, by default (#1205)
|
345
390
|
|
346
391
|
Enhancements:
|
347
392
|
|
348
|
-
|
349
|
-
|
393
|
+
- Made `nanoc view` print site URL (#1204)
|
394
|
+
- Made `nanoc` search for parent directory containing Nanoc site (#1210)
|
350
395
|
|
351
396
|
## 4.8.2 (2017-08-19)
|
352
397
|
|
353
398
|
Fixes:
|
354
399
|
|
355
|
-
|
400
|
+
- Fixed compatibility issue with guard-nanoc
|
356
401
|
|
357
402
|
## 4.8.1 (2017-08-06)
|
358
403
|
|
359
404
|
Enhancements:
|
360
405
|
|
361
|
-
|
406
|
+
- Various speed improvements
|
362
407
|
|
363
408
|
## 4.8 (2017-07-17)
|
364
409
|
|
365
410
|
Features:
|
366
411
|
|
367
|
-
|
412
|
+
- Added `asciidoctor` filter (#1199)
|
368
413
|
|
369
414
|
## 4.7.14 (2017-07-16)
|
370
415
|
|
371
416
|
Enhancements:
|
372
417
|
|
373
|
-
|
418
|
+
- Various speed improvements (#1195, #1198)
|
374
419
|
|
375
420
|
## 4.7.13 (2017-07-02)
|
376
421
|
|
377
422
|
Enhancements:
|
378
423
|
|
379
|
-
|
424
|
+
- Made adding an item or a layout only recompile items that likely depend on it (#1191, #1193)
|
380
425
|
|
381
426
|
## 4.7.12 (2017-06-23)
|
382
427
|
|
383
428
|
Fixes:
|
384
429
|
|
385
|
-
|
430
|
+
- Fixed an issue in which the fog deployer could run out of open file descriptors (#1189)
|
386
431
|
|
387
432
|
Enhancements:
|
388
433
|
|
389
|
-
|
434
|
+
- Made changes to `@config` only cause outdatedness of items that depend on `@config` (#1188)
|
390
435
|
|
391
436
|
## 4.7.11 (2017-06-17)
|
392
437
|
|
393
438
|
Fixes:
|
394
439
|
|
395
|
-
|
396
|
-
|
440
|
+
- Made the `external_links` check always use GET, not HEAD (#1178, #1179)
|
441
|
+
- Fixed an issue where changing identifiers during preprocessing could cause a crash (#1184, #1185)
|
397
442
|
|
398
443
|
Enhancements:
|
399
444
|
|
400
|
-
|
445
|
+
- Added `--preprocess` to `shell` command, to load preprocessed site data (#1180)
|
401
446
|
|
402
447
|
## 4.7.10 (2017-05-14)
|
403
448
|
|
404
449
|
Fixes:
|
405
450
|
|
406
|
-
|
451
|
+
- Fixed behavior of `parent_config_file` so that it merges, rather than overwrites (#1176) [Gregory Pakosz]
|
407
452
|
|
408
453
|
Enhancements:
|
409
454
|
|
410
|
-
|
411
|
-
|
455
|
+
- Made `slim` filter show the filename in error messages (#1175) [Alexander Groß]
|
456
|
+
- Added `#use_helper` as an alternative to `#include` for enabling helpers (#1170)
|
412
457
|
|
413
458
|
## 4.7.9 (2017-05-01)
|
414
459
|
|
415
460
|
Fixes:
|
416
461
|
|
417
|
-
|
462
|
+
- Fixed character set handling of code snippets (#1171, #1174)
|
418
463
|
|
419
464
|
Enhancements:
|
420
465
|
|
421
|
-
|
466
|
+
- Added `xml:base` support (#1172, #1173) [Chris Burkhardt]
|
422
467
|
|
423
468
|
This release drops support for Ruby 2.2, as it is no longer maintained.
|
424
469
|
|
@@ -426,298 +471,298 @@ This release drops support for Ruby 2.2, as it is no longer maintained.
|
|
426
471
|
|
427
472
|
Fixes:
|
428
473
|
|
429
|
-
|
430
|
-
|
431
|
-
|
474
|
+
- Fixed a crash when printing dependency cycle error messages (#1164, #1166)
|
475
|
+
- Fixed incorrect ordering in dependency cycle error messages (#1167, #1168)
|
476
|
+
- Fixed a crash when attempting to print malformed UTF-8 strings (#1163, #1165)
|
432
477
|
|
433
478
|
Enhancements:
|
434
479
|
|
435
|
-
|
480
|
+
- Added various speed improvements (#1158, #1159, #1160)
|
436
481
|
|
437
482
|
## 4.7.7 (2017-04-16)
|
438
483
|
|
439
484
|
Enhancements:
|
440
485
|
|
441
|
-
|
442
|
-
|
486
|
+
- Added `--diff` option to `compile` command as a one-time alternative to `enable_output_diff` (#1155)
|
487
|
+
- Sped up incremental compilation (#1156, #1157)
|
443
488
|
|
444
489
|
## 4.7.6 (2017-04-15)
|
445
490
|
|
446
491
|
Enhancements:
|
447
492
|
|
448
|
-
|
493
|
+
- Added support for `:html5` in `relativize_paths` and `colorize_syntax` filters (#1153)
|
449
494
|
|
450
495
|
## 4.7.5 (2017-04-01)
|
451
496
|
|
452
497
|
Fixes:
|
453
498
|
|
454
|
-
|
499
|
+
- Made `--verbose` be recognised when calling `nanoc` without subcommand (#1145, #1146)
|
455
500
|
|
456
501
|
Enhancements:
|
457
502
|
|
458
|
-
|
459
|
-
|
503
|
+
- Made `show-data` print all outdatedness reasons, not just the first (#1142)
|
504
|
+
- Sped up `@items.find_all` (#1147)
|
460
505
|
|
461
506
|
## 4.7.4 (2017-03-29)
|
462
507
|
|
463
508
|
Enhancements:
|
464
509
|
|
465
|
-
|
466
|
-
|
510
|
+
- Made attribute dependencies cause outdatedness less often (#1136, #1137, #1138)
|
511
|
+
- Improved speed of Rules file handling (#1140)
|
467
512
|
|
468
513
|
## 4.7.3 (2017-03-26)
|
469
514
|
|
470
515
|
Fixes:
|
471
516
|
|
472
|
-
|
517
|
+
- Fixed an issue which could cause a missing file for a snapshot that is not `:last` not to be regenerated when compiling (#1134, #1135)
|
473
518
|
|
474
519
|
## 4.7.2 (2017-03-21)
|
475
520
|
|
476
521
|
Fixes:
|
477
522
|
|
478
|
-
|
523
|
+
- Fixed crash when calling `#raw_path` in the Checks file (#1130, #1131)
|
479
524
|
|
480
525
|
## 4.7.1 (2017-03-19)
|
481
526
|
|
482
527
|
Fixes:
|
483
528
|
|
484
|
-
|
529
|
+
- Fixed issue with `:xsl` filter not recompiling when it should (#924, #1127)
|
485
530
|
|
486
531
|
Enhancements:
|
487
532
|
|
488
|
-
|
489
|
-
|
533
|
+
- Made `compile --verbose` print percentiles rather than averages (#1122)
|
534
|
+
- Improved dependency cycle error messages (#1123)
|
490
535
|
|
491
536
|
## 4.7 (2017-03-15)
|
492
537
|
|
493
538
|
Features:
|
494
539
|
|
495
|
-
|
496
|
-
|
540
|
+
- Added `:erubi` filter (#1103) [Jan M. Faber]
|
541
|
+
- Added `write ext: 'something'` shortcut (#1079)
|
497
542
|
|
498
543
|
## 4.6.4 (2017-03-10)
|
499
544
|
|
500
545
|
Fixes:
|
501
546
|
|
502
|
-
|
547
|
+
- Fixed issue where `compile --verbose` would show misleading timing information (#1113)
|
503
548
|
|
504
549
|
## 4.6.3 (2017-03-05)
|
505
550
|
|
506
551
|
Fixes:
|
507
552
|
|
508
|
-
|
509
|
-
|
510
|
-
|
553
|
+
- Fixed `Errno::ENOENT` crash (#1094, #1109)
|
554
|
+
- Fixed undefined method `#reverse_each` crash (#1107, #1108)
|
555
|
+
- Fixed compilation speed issue introduced in 4.6.2 (#1106)
|
511
556
|
|
512
557
|
## 4.6.2 (2017-03-04)
|
513
558
|
|
514
559
|
Fixes:
|
515
560
|
|
516
|
-
|
517
|
-
|
561
|
+
- Fixed crash in `#binary?` (#1082, #1083, #1084)
|
562
|
+
- Fixed issue which would cause the file referenced by `#raw_path` not to exist (#1097, #1099)
|
518
563
|
|
519
564
|
Enhancements:
|
520
565
|
|
521
|
-
|
522
|
-
|
566
|
+
- Allowed calling `#write` multiple times in the same rule (#1037, #1085)
|
567
|
+
- Changed the `html` check to use validator.nu (#1104)
|
523
568
|
|
524
569
|
## 4.6.1 (2017-01-29)
|
525
570
|
|
526
571
|
Fixes:
|
527
572
|
|
528
|
-
|
573
|
+
- Fixed table formatting in `compile --verbose` (#1074) [Hugo Peixoto]
|
529
574
|
|
530
575
|
Enhancements:
|
531
576
|
|
532
|
-
|
577
|
+
- Reduced memory usage (#1075, #1076, #1077, #1078)
|
533
578
|
|
534
579
|
## 4.6 (2017-01-22)
|
535
580
|
|
536
581
|
Features:
|
537
582
|
|
538
|
-
|
539
|
-
|
540
|
-
|
583
|
+
- Made `#content_for` accept a string as well as a block, to allow setting captured content outside of ERB (#1066, #1073)
|
584
|
+
- Added `#raw_content=` to items and layouts during preprocessing (#1057)
|
585
|
+
- Added `#snapshot?` to item rep views (#1056)
|
541
586
|
|
542
587
|
Enhancements:
|
543
588
|
|
544
|
-
|
589
|
+
- Prevented useless recompilations when switching Nanoc environments (#1070, #1071)
|
545
590
|
|
546
591
|
## 4.5.4 (2017-01-16)
|
547
592
|
|
548
593
|
Fixes:
|
549
594
|
|
550
|
-
|
595
|
+
- Fixed issue with site not being recompiled fully when switching between environments (#1067, #1069)
|
551
596
|
|
552
597
|
## 4.5.3 (2017-01-15)
|
553
598
|
|
554
599
|
Fixes:
|
555
600
|
|
556
|
-
|
557
|
-
|
601
|
+
- Fixed “Fixnum is deprecated” message (#1061, #1062)
|
602
|
+
- Fixed `:pre` snapshot not being created for items that are not laid out (#1064, #1065)
|
558
603
|
|
559
604
|
## 4.5.2 (2017-01-11)
|
560
605
|
|
561
606
|
Fixes:
|
562
607
|
|
563
|
-
|
564
|
-
|
565
|
-
|
608
|
+
- Fixed handling of periods in full identifiers (#1022, #1059)
|
609
|
+
- Fixed “cannot layout binary items” error message (#1058)
|
610
|
+
- Fixed escaping of URLs in sitemaps (#1052, #1054)
|
566
611
|
|
567
612
|
## 4.5.1 (2017-01-09)
|
568
613
|
|
569
614
|
Fixes:
|
570
615
|
|
571
|
-
|
616
|
+
- Fixed crash when Nokogiri is not installed (#1053)
|
572
617
|
|
573
618
|
## 4.5 (2017-01-09)
|
574
619
|
|
575
620
|
Features:
|
576
621
|
|
577
|
-
|
622
|
+
- Added Git deployer (#997)
|
578
623
|
|
579
624
|
## 4.4.7 (2017-01-05)
|
580
625
|
|
581
626
|
Fixes:
|
582
627
|
|
583
|
-
|
584
|
-
|
628
|
+
- Fixed issue that caused an item not to be considered outdated when only the mtime has changed (#1046)
|
629
|
+
- Removed stray `require 'parallel'` which could break the `external_links` check (#1051) [Cédric Boutillier]
|
585
630
|
|
586
631
|
Enhancements:
|
587
632
|
|
588
|
-
|
633
|
+
- Made Nanoc not recompile compiled items after an exception occurs (#1044)
|
589
634
|
|
590
635
|
## 4.4.6 (2016-12-28)
|
591
636
|
|
592
637
|
Fixes:
|
593
638
|
|
594
|
-
|
639
|
+
- Fixed issue where `#compiled_content` would not return the correct content (#1040, #1041)
|
595
640
|
|
596
641
|
## 4.4.5 (2016-12-24)
|
597
642
|
|
598
643
|
Fixes:
|
599
644
|
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
645
|
+
- Prevented stale data from making it into the checksum store and thereby blowing up in memory (#1004, #1027)
|
646
|
+
- Fixed slow recompile after adding many items to a site (#1028)
|
647
|
+
- Fixed wrong capturing helper output when the output field separator (`$,`) is set
|
648
|
+
- Fixed issue that could cause items with multiple reps not to be recompiled when needed (#1031, #1032)
|
649
|
+
- Fixed error when fetching textual content of item whose `:last` snapshot is binary (#1035, #1036)
|
605
650
|
|
606
651
|
## 4.4.4 (2016-12-19)
|
607
652
|
|
608
653
|
Enhancements:
|
609
654
|
|
610
|
-
|
655
|
+
- Improved speed of incremental compilations (#1017, #1019, #1024)
|
611
656
|
|
612
657
|
## 4.4.3 (2016-12-17)
|
613
658
|
|
614
659
|
Fixes:
|
615
660
|
|
616
|
-
|
617
|
-
|
618
|
-
|
661
|
+
- Prevented stale data from making it into the compiled content cache and thereby blowing up in memory (#1004, #1013)
|
662
|
+
- Fixed “about” and “IRC channel” links in default site
|
663
|
+
- Fixed accuracy of `<updated>` in Atom feed (use most recent `updated_at` or `created_at`) (#1007, #1014)
|
619
664
|
|
620
665
|
Enhancements:
|
621
666
|
|
622
|
-
|
623
|
-
|
624
|
-
|
667
|
+
- Added support for non-legacy identifiers in `#breadcrumbs_trail` (#1010, #1011)
|
668
|
+
- Defined checksum for `Nanoc::Int::Context` to make outdatedness checker more precise (#1008, #1012)
|
669
|
+
- Made Nanoc raise an error when item reps are routed to a path that does not start with a slash (#1015, #1016)
|
625
670
|
|
626
671
|
## 4.4.2 (2016-11-27)
|
627
672
|
|
628
673
|
Fixes:
|
629
674
|
|
630
|
-
|
631
|
-
|
675
|
+
- Fixed “Maximum call stack size exceeded” issue in the `less` filter (#1001)
|
676
|
+
- Fixed issue that could cause the `less` filter to not generate all necessary dependencies (#1003)
|
632
677
|
|
633
678
|
Enhancements:
|
634
679
|
|
635
|
-
|
680
|
+
- Improved the way that the crash log displays the item rep that is being compiled (#1000)
|
636
681
|
|
637
682
|
## 4.4.1 (2016-11-21)
|
638
683
|
|
639
684
|
Fixes:
|
640
685
|
|
641
|
-
|
686
|
+
- Fixed an issue where the `xsl` filter would not generate a correct dependency on the layout (#996)
|
642
687
|
|
643
688
|
Enhancements:
|
644
689
|
|
645
|
-
|
690
|
+
- Made `view` command use index filenames specified in the `index_filenames` site configuration attribute (#998)
|
646
691
|
|
647
692
|
## 4.4 (2016-11-19)
|
648
693
|
|
649
694
|
Features:
|
650
695
|
|
651
|
-
|
696
|
+
- Added support for Nanoc environments (#859)
|
652
697
|
|
653
698
|
## 4.3.8 (2016-11-18)
|
654
699
|
|
655
700
|
Enhancements:
|
656
701
|
|
657
|
-
|
658
|
-
|
659
|
-
|
702
|
+
- Improved support for Rouge 1.x and 2.x (#880) [Rémi Barraquand]
|
703
|
+
- Added `#include` to the `nanoc shell` command (#973)
|
704
|
+
- Improved speed of full and incremental compilations (#977, #985)
|
660
705
|
|
661
706
|
Fixes:
|
662
707
|
|
663
|
-
|
664
|
-
|
665
|
-
|
708
|
+
- Made routing rules and `#write` calls accept an identifier, and not just a string (#976)
|
709
|
+
- Removed GC speed-up hacks, which became counterproductive in Ruby 2.2 (#975)
|
710
|
+
- Fixed issue which caused items to be always recompiled if `rep`/`item_rep` or `self` are used in those items’ rules (#982)
|
666
711
|
|
667
712
|
## 4.3.7 (2016-10-29)
|
668
713
|
|
669
714
|
Fixes:
|
670
715
|
|
671
|
-
|
716
|
+
- Fixed issue with `show-data` and `show-rules` commands not showing all data (#970) [Chris Chapman]
|
672
717
|
|
673
718
|
Enhancements:
|
674
719
|
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
720
|
+
- Improved speed of `compile` command (#968)
|
721
|
+
- Improved speed of `prune` command (#969)
|
722
|
+
- Made kramdown warnings include affected item rep (#967) [Gregory Pakosz]
|
723
|
+
- Made kramdown warnings configurable (#967) [Gregory Pakosz]
|
679
724
|
|
680
725
|
## 4.3.6 (2016-10-23)
|
681
726
|
|
682
727
|
Fixes:
|
683
728
|
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
729
|
+
- Made legacy patterns properly support full identifiers (#957)
|
730
|
+
- Fixed timezone issues in `#to_iso8601_date` (#961)
|
731
|
+
- Fixed error when accessing item (rep) paths in shell command (#963)
|
732
|
+
- Fixed issue that caused `#path` to be nil inside compilation rules (#964)
|
733
|
+
- Made `__FILE__` in Checks file be a absolute path (#966)
|
689
734
|
|
690
735
|
Enhancements:
|
691
736
|
|
692
|
-
|
737
|
+
- Made the command line write status information to stderr, not stdout (#958)
|
693
738
|
|
694
739
|
## 4.3.5 (2016-10-14)
|
695
740
|
|
696
741
|
Fixes:
|
697
742
|
|
698
|
-
|
743
|
+
- Handle `form/@action` in `relativize_paths` filter (#950) [Lorin Werthen]
|
699
744
|
|
700
745
|
Experimental features:
|
701
746
|
|
702
|
-
|
703
|
-
|
747
|
+
- `profiler`: adds `--profile` option to the `compile` command to profile compilation (#903)
|
748
|
+
- `environments`: adds support for Nanoc environments (#859)
|
704
749
|
|
705
750
|
## 4.3.4 (2016-10-02)
|
706
751
|
|
707
752
|
Fixes:
|
708
753
|
|
709
|
-
|
754
|
+
- Fixed compilation crash when output directory does not exist and auto-pruning is enabled (#948, #949)
|
710
755
|
|
711
756
|
## 4.3.3 (2016-09-26)
|
712
757
|
|
713
758
|
Fixes:
|
714
759
|
|
715
|
-
|
716
|
-
|
760
|
+
- Fixed issue causing `Bundler::GemfileNotFound` to be thrown (#936) [Lorin Werthen]
|
761
|
+
- Fixed issue when replacing a directory with a file or vice versa (#942, #946)
|
717
762
|
|
718
763
|
Enhancements:
|
719
764
|
|
720
|
-
|
765
|
+
- Modified the `compile` command to allow specifying the deploy target as argument (#945)
|
721
766
|
|
722
767
|
## 4.3.2 (2016-08-23)
|
723
768
|
|
@@ -727,67 +772,67 @@ Identical to 4.3.1, but with corrected release notes.
|
|
727
772
|
|
728
773
|
Fixes:
|
729
774
|
|
730
|
-
|
731
|
-
|
732
|
-
|
775
|
+
- Fixed “outdatedness of LayoutView” error (#927, #931)
|
776
|
+
- Fixed bug causing some checks not to appear in `nanoc check --list` (#928, #930)
|
777
|
+
- Fixed `@item`, … not being accessible in filters defined with `Nanoc::Filter.define` (#932, #934)
|
733
778
|
|
734
779
|
## 4.3 (2016-08-21)
|
735
780
|
|
736
781
|
Features:
|
737
782
|
|
738
|
-
|
739
|
-
|
783
|
+
- Added `Nanoc::Filter.define`, to easily define filters (#895)
|
784
|
+
- Made the `nanoc` Gemfile group be auto-required when Nanoc starts (#910) [whitequark]
|
740
785
|
|
741
786
|
## 4.2.4 (2016-07-24)
|
742
787
|
|
743
788
|
Fixes:
|
744
789
|
|
745
|
-
|
790
|
+
- Fixed `UnmetDependency` errors in postprocessor (#913, #917)
|
746
791
|
|
747
792
|
Enhancements:
|
748
793
|
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
794
|
+
- Sped up Nanoc by not releasing cache memory as quickly (#902)
|
795
|
+
- Let `internal_links` check also verify resource paths, such as scripts and images (#912) [Lorin Werthen]
|
796
|
+
- Improved error reporting for errors in the Rules file (#908, #914, #915, #916)
|
797
|
+
- Removed `win32console` support, as it’s deprecated and causing problems (#900, #918)
|
753
798
|
|
754
799
|
## 4.2.3 (2016-07-03)
|
755
800
|
|
756
801
|
Fixes:
|
757
802
|
|
758
|
-
|
803
|
+
- Fixed issue with `#inspect` raising a `WeakRef::RefError` (#877, #897)
|
759
804
|
|
760
805
|
Enhancements:
|
761
806
|
|
762
|
-
|
763
|
-
|
764
|
-
|
807
|
+
- Sped up compiler (#894)
|
808
|
+
- Improved `#inspect` output of some classes (#896)
|
809
|
+
- Deprecated `Item#modified` and replaced it with `Item#modified_reps` (#898)
|
765
810
|
|
766
811
|
## 4.2.2 (2016-07-02)
|
767
812
|
|
768
813
|
Fixes:
|
769
814
|
|
770
|
-
|
771
|
-
|
772
|
-
|
815
|
+
- Fixed confusing “invalid prefix” error message (#873, #879)
|
816
|
+
- Ensured filter arguments are frozen, to prevent outdatedness checker errors (#881, #886)
|
817
|
+
- Fixed issue with dependencies of items generated in the preprocessor not being tracked (#885, #891, #893)
|
773
818
|
|
774
819
|
Enhancements:
|
775
820
|
|
776
|
-
|
777
|
-
|
821
|
+
- Added specific handling for `Sass::Importers::Filesystem` in the checksummer, which should reduce unnecessary recompiles in sites using Compass (#866, #884)
|
822
|
+
- Improved speed of checksummer (#864, #887)
|
778
823
|
|
779
824
|
## 4.2.1 (2016-06-19)
|
780
825
|
|
781
826
|
Fixes:
|
782
827
|
|
783
|
-
|
784
|
-
|
828
|
+
- Fixed an occasional `WeakRef::RefError` (#863, #865)
|
829
|
+
- Fixed `show-data` command not running preprocessor (#867, #870)
|
785
830
|
|
786
831
|
## 4.2 (2016-06-04)
|
787
832
|
|
788
833
|
Enhancements:
|
789
834
|
|
790
|
-
|
835
|
+
- Dropped Ruby 2.1 support (#856)
|
791
836
|
|
792
837
|
This release also includes the changes from 4.2.0b1.
|
793
838
|
|
@@ -795,81 +840,81 @@ This release also includes the changes from 4.2.0b1.
|
|
795
840
|
|
796
841
|
Fixes:
|
797
842
|
|
798
|
-
|
799
|
-
|
843
|
+
- Strip index.html only if it is a full component (#850, #851)
|
844
|
+
- Force UTF-8 for item rep paths (#837, #852)
|
800
845
|
|
801
846
|
## 4.2.0b1 (2016-04-17)
|
802
847
|
|
803
848
|
Features:
|
804
849
|
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
850
|
+
- Allow creating items and layouts with a pre-calculated checksum (#793) [Ruben Verborgh]
|
851
|
+
- Allow lazy-loading item/layout content and attributes (#794) [Ruben Verborgh]
|
852
|
+
- Added `exclude_origins` configuration option to internal links checker (#847)
|
853
|
+
- Added `ChildParent` helper, providing `#children_of` and `#parent_of` (#849)
|
809
854
|
|
810
855
|
Enhancements:
|
811
856
|
|
812
|
-
|
813
|
-
|
857
|
+
- Made `#html_escape` raise an appropriate error when the given argument is not a String (#840) [Micha Rosenbaum]
|
858
|
+
- Improved memory usage of memoized values by using weak refs (#846)
|
814
859
|
|
815
860
|
## 4.1.5 (2016-03-24)
|
816
861
|
|
817
862
|
Fixes:
|
818
863
|
|
819
|
-
|
820
|
-
|
864
|
+
- Fixed crash in `show-data` command (#833, #835)
|
865
|
+
- Fixed preprocessor not being invoked before running checks (#841, #842)
|
821
866
|
|
822
867
|
## 4.1.4 (2016-02-13)
|
823
868
|
|
824
869
|
Fixes:
|
825
870
|
|
826
|
-
|
827
|
-
|
871
|
+
- Added missing `Configuration#key?` method (#815, #820)
|
872
|
+
- Made output diff use correct snapshot rather than `:last` (#813, #814)
|
828
873
|
|
829
874
|
Enhancements:
|
830
875
|
|
831
|
-
|
832
|
-
|
876
|
+
- Sped up item resolution in Sass filter (#821)
|
877
|
+
- Made `#link_to` more resilient to unsupported argument types (#816, #819)
|
833
878
|
|
834
879
|
## 4.1.3 (2016-01-30)
|
835
880
|
|
836
881
|
Fixes:
|
837
882
|
|
838
|
-
|
839
|
-
|
883
|
+
- Fixed crash in `check` command when the subject of an issue is nil (#804, #811)
|
884
|
+
- Made stale check not ignore non-final snapshot paths (#809, #810)
|
840
885
|
|
841
886
|
## 4.1.2 (2016-01-16)
|
842
887
|
|
843
888
|
Fixes:
|
844
889
|
|
845
|
-
|
846
|
-
|
890
|
+
- Made @-variables (e.g. `@items`) report their frozenness properly, so that optimisations based on frozenness work once again (#795, #797)
|
891
|
+
- Removed environment from `crash.log` to prevent leaking sensitive information (#798, #800)
|
847
892
|
|
848
893
|
Enhancements:
|
849
894
|
|
850
|
-
|
895
|
+
- Removed redundant checksum calculation (#789) [Ruben Verborgh]
|
851
896
|
|
852
897
|
## 4.1.1 (2015-12-30)
|
853
898
|
|
854
899
|
Fixes:
|
855
900
|
|
856
|
-
|
901
|
+
- Fixed preprocessor not being run before check/deploy/prune commands (#763, #784, #787, #788)
|
857
902
|
|
858
903
|
Enhancements:
|
859
904
|
|
860
|
-
|
905
|
+
- Made `#breadcrumbs_trail` explicitly fail when using full identifiers (#781, #783)
|
861
906
|
|
862
907
|
## 4.1 (2015-12-18)
|
863
908
|
|
864
909
|
Fixes:
|
865
910
|
|
866
|
-
|
867
|
-
|
868
|
-
|
911
|
+
- Fixed crash when attempting to `#puts` an object that’s not a string (#778)
|
912
|
+
- Made pruner not prune away files from routes defined for custom snapshots (#779)
|
913
|
+
- Wrapped `@layout` in a layout view (#773)
|
869
914
|
|
870
915
|
Enhancements:
|
871
916
|
|
872
|
-
|
917
|
+
- Added a base path to the Checks file, so that it supports `#require_relative` (#774)
|
873
918
|
|
874
919
|
This release also includes the changes from 4.1.0a1 to 4.1.0rc2.
|
875
920
|
|
@@ -877,77 +922,77 @@ This release also includes the changes from 4.1.0a1 to 4.1.0rc2.
|
|
877
922
|
|
878
923
|
Fixes:
|
879
924
|
|
880
|
-
|
925
|
+
- Fixed children of the root item not having a parent (#769, #770)
|
881
926
|
|
882
927
|
Enhancements:
|
883
928
|
|
884
|
-
|
929
|
+
- Made `#path`, `#compiled_content` and `#reps` unavailable during pre-processing, compilation and routing, because they do not make sense in these contexts (#571, #767, #768)
|
885
930
|
|
886
931
|
## 4.1.0rc1 (2015-12-12)
|
887
932
|
|
888
933
|
Fixes:
|
889
934
|
|
890
|
-
|
935
|
+
- Fixed `@item.compiled_content` in a layout raising an exception (#761, #766)
|
891
936
|
|
892
937
|
## 4.1.0b1 (2015-12-11)
|
893
938
|
|
894
939
|
Fixes:
|
895
940
|
|
896
|
-
|
941
|
+
- Fixed issue with `:pre` snapshot not being generated properly (#764)
|
897
942
|
|
898
943
|
Enhancements:
|
899
944
|
|
900
|
-
|
945
|
+
- Updated default site to use `#write` (#759)
|
901
946
|
|
902
947
|
## 4.1.0a1 (2015-12-05)
|
903
948
|
|
904
949
|
Features:
|
905
950
|
|
906
|
-
|
907
|
-
|
951
|
+
- Added `postprocess` block (#726) [Garen Torikian]
|
952
|
+
- Added `#write` compilation instruction and `path` option to `#snapshot` (#753)
|
908
953
|
|
909
954
|
Fixes:
|
910
955
|
|
911
|
-
|
912
|
-
|
956
|
+
- Fixed crash when printing non-string object (#712) [Garen Torikian]
|
957
|
+
- Removed English text from `#link_to` helper (#736) [Lucas Vuotto]
|
913
958
|
|
914
959
|
Enhancements:
|
915
960
|
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
961
|
+
- Allowed excluding URLs from external links check (#686) [Yannick Ihmels]
|
962
|
+
- Added `atom` to list of text extensions (#657) [Yannick Ihmels]
|
963
|
+
- Added `#each` to `Nanoc::ConfigView` (#705) [Garen Torikian]
|
964
|
+
- Made `#attribute_to_time` handle `DateTime` (#717) [Micha Rosenbaum]
|
965
|
+
- Added `Identifier#components` (#677)
|
966
|
+
- Added `:existing` option to `#content_for` (can be `:error`, `:overwrite` and `:append`) (#744)
|
922
967
|
|
923
968
|
## 4.0.2 (2015-11-30)
|
924
969
|
|
925
970
|
Fixes:
|
926
971
|
|
927
|
-
|
928
|
-
|
929
|
-
|
972
|
+
- Properly set required Ruby version to 2.1 in the gem specification (#747)
|
973
|
+
- Fixed issue with CLI commands not being loaded as UTF-8 (#742)
|
974
|
+
- Added missing `#identifier=` method to items and layouts during preprocessing (#750)
|
930
975
|
|
931
976
|
Enhancements:
|
932
977
|
|
933
|
-
|
978
|
+
- Let attempts to fetch an item rep by number, rather than symbol, fail with a meaningful error (#749)
|
934
979
|
|
935
980
|
## 4.0.1 (2015-11-28)
|
936
981
|
|
937
982
|
Fixes:
|
938
983
|
|
939
|
-
|
940
|
-
|
984
|
+
- Fixed params documentation for :rdiscount filter (#722)
|
985
|
+
- Fixed crash when comparing item rep views (#735, #738)
|
941
986
|
|
942
987
|
Enhancements:
|
943
988
|
|
944
|
-
|
989
|
+
- Lowered minimum required Ruby version from 2.2 to 2.1 (#732)
|
945
990
|
|
946
991
|
## 4.0 (2015-11-07)
|
947
992
|
|
948
993
|
Enhancements:
|
949
994
|
|
950
|
-
|
995
|
+
- `#parent` and `#children` now raise an exception when used on items with a non-legacy identifier (#710)
|
951
996
|
|
952
997
|
This release also includes the changes from 4.0.0a1 to 4.0.0rc3.
|
953
998
|
|
@@ -955,134 +1000,134 @@ This release also includes the changes from 4.0.0a1 to 4.0.0rc3.
|
|
955
1000
|
|
956
1001
|
Features:
|
957
1002
|
|
958
|
-
|
959
|
-
|
1003
|
+
- Added `Identifier#without_exts` and `Identifier#exts` (#644, #696) [Rémi Barraquand]
|
1004
|
+
- Added `DocumentView#attributes` (#699, #702)
|
960
1005
|
|
961
1006
|
Fixes:
|
962
1007
|
|
963
|
-
|
1008
|
+
- Fixed issue when comparing document views (#680, #693)
|
964
1009
|
|
965
1010
|
Enhancements:
|
966
1011
|
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
1012
|
+
- Made `#base_url` argument in `#tags_for` optional (#687) [Croath Liu]
|
1013
|
+
- Allowed `IdentifiableCollection#[]` to be passed an identifier (#681, #695)
|
1014
|
+
- Improved `Pattern.from` error message (#683, #692)
|
1015
|
+
- Let default site use a direct link to the stylesheet (#685, #701)
|
971
1016
|
|
972
1017
|
Changes:
|
973
1018
|
|
974
|
-
|
975
|
-
|
1019
|
+
- Removed `Identifier#with_ext` because its behavior was confusing (#697, #700)
|
1020
|
+
- Disallowed storing document (views) in attributes (#682, #694)
|
976
1021
|
|
977
1022
|
## 4.0.0rc2 (2015-07-11)
|
978
1023
|
|
979
1024
|
Fixes:
|
980
1025
|
|
981
|
-
|
982
|
-
|
1026
|
+
- Fixed broken `shell` command (#672) [Jim Mendenhall]
|
1027
|
+
- Fixed absolute path check on Windows (#656)
|
983
1028
|
|
984
1029
|
Enhancements:
|
985
1030
|
|
986
|
-
|
987
|
-
|
1031
|
+
- Made Nanoc error when multiple items have the same output path (#665, #669)
|
1032
|
+
- Improved error message for non-hash frontmatter (#670, #673)
|
988
1033
|
|
989
1034
|
Changes:
|
990
1035
|
|
991
|
-
|
1036
|
+
- nanoc is now called Nanoc
|
992
1037
|
|
993
1038
|
## 4.0.0rc1 (2015-06-21)
|
994
1039
|
|
995
1040
|
Fixes:
|
996
1041
|
|
997
|
-
|
998
|
-
|
1042
|
+
- Fixed double-wrapping of `@layout` in rendering helper (#631)
|
1043
|
+
- Fixed `show-rules` command (#633)
|
999
1044
|
|
1000
1045
|
## 4.0.0b4 (2015-06-10)
|
1001
1046
|
|
1002
1047
|
Fixes:
|
1003
1048
|
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1049
|
+
- Added missing `#ext` method to identifiers (#612)
|
1050
|
+
- Fixed issue where identifiers would have the wrong extension (#611)
|
1051
|
+
- Fixed rule context exposing entities rather than views (#614, #615)
|
1052
|
+
- Fixed `#key?` and `#fetch` not being available on layout views (#618)
|
1053
|
+
- Fixed `#update_attributes` not being available on mutable layout views (#619)
|
1009
1054
|
|
1010
1055
|
## 4.0.0b3 (2015-05-31)
|
1011
1056
|
|
1012
1057
|
Changes:
|
1013
1058
|
|
1014
|
-
|
1015
|
-
|
1059
|
+
- Removed `filesystem_verbose` data source (#599)
|
1060
|
+
- Set minimum required Ruby version to 2.2
|
1016
1061
|
|
1017
1062
|
Enhancements:
|
1018
1063
|
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1064
|
+
- Made `@config`, `@items` and `@layouts` available in checks (#598)
|
1065
|
+
- Made `filesystem` an alias for `filesystem_unified` (#599)
|
1066
|
+
- Made specific reps for an item accessible using `@item.reps[:name]` (#586, #607)
|
1067
|
+
- Removed `allow_periods_in_identifiers` documentation (#605)
|
1068
|
+
- Made fog deployer not upload files with identical ETags to AWS (#480, #536, #552) [Paul Boone]
|
1024
1069
|
|
1025
1070
|
Fixes:
|
1026
1071
|
|
1027
|
-
|
1028
|
-
|
1072
|
+
- Made `ItemView#parent` return nil if parent is nil (#600, #602)
|
1073
|
+
- Added missing `identifier_type` documentation (#604)
|
1029
1074
|
|
1030
1075
|
## 4.0.0b2 (2015-05-23)
|
1031
1076
|
|
1032
1077
|
Changes:
|
1033
1078
|
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1079
|
+
- Removed `ItemCollectionView#at` (#582)
|
1080
|
+
- Removed support for calling `ItemCollectionView#[]` with an integer (#582)
|
1081
|
+
- Renamed `identifier_style` to `identifier_type`, and made its values be `"full"` or `"legacy"` (#593)
|
1082
|
+
- Renamed `pattern_syntax` to `string_pattern_type`, and made its values be `"glob"` or `"legacy"` (#593)
|
1083
|
+
- Made `"full"` the default for `identifier_type` (#592, #594)
|
1084
|
+
- Made `"glob"` the default for `string_pattern_type` (#592)
|
1085
|
+
- Enabled auto-pruning by default for new sites (#590)
|
1041
1086
|
|
1042
1087
|
Enhancements:
|
1043
1088
|
|
1044
|
-
|
1045
|
-
|
1089
|
+
- Added `--force` to `create-site` command (#580) [David Alexander]
|
1090
|
+
- Made default Rules file more future-proof (#591)
|
1046
1091
|
|
1047
1092
|
Fixes:
|
1048
1093
|
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1094
|
+
- Fixed `LayoutCollectionView#[]` documentation (it mentioned items)
|
1095
|
+
- Fixed `ItemCollectionView#[]` returning an array when passed a regex
|
1096
|
+
- Fixed an issue with mutable collection views’ `#delete_if` not yielding mutable views
|
1097
|
+
- Fixed an issue with collection views’ `#find_all` returning entities instead of views
|
1053
1098
|
|
1054
1099
|
## 4.0.0b1 (2015-05-14)
|
1055
1100
|
|
1056
1101
|
Changes:
|
1057
1102
|
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1103
|
+
- Removed tasks
|
1104
|
+
- Removed several private methods in the view API
|
1105
|
+
- Removed default `base_url` in tagging helper
|
1061
1106
|
|
1062
1107
|
Enhancements:
|
1063
1108
|
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1109
|
+
- Removed unused options from CLI
|
1110
|
+
- Added `Nanoc::Identifier#without_ext`
|
1111
|
+
- Made `Nanoc::Identifier#=~` work with a glob
|
1112
|
+
- Added `Nanoc::LayoutCollectionView#[]`
|
1113
|
+
- Allowed creation of site in current directory (#549) [David Alexander]
|
1069
1114
|
|
1070
1115
|
Fixes:
|
1071
1116
|
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1117
|
+
- Fixed `#passthrough` for identifiers with extensions
|
1118
|
+
- Fixed rendering helper for identifiers with extensions
|
1119
|
+
- Fixed filtering helper
|
1075
1120
|
|
1076
1121
|
## 4.0.0a2 (2015-05-12)
|
1077
1122
|
|
1078
1123
|
Features:
|
1079
1124
|
|
1080
|
-
|
1081
|
-
|
1125
|
+
- Glob patterns (opt-in by setting `pattern_syntax` to `"glob"` in the site configuration)
|
1126
|
+
- Identifiers with extensions (opt-in by setting `identifier_style` to `"full"` in the data source configuration)
|
1082
1127
|
|
1083
1128
|
Enhancements:
|
1084
1129
|
|
1085
|
-
|
1130
|
+
- Added several convenience methods to view classes (#570, #572)
|
1086
1131
|
|
1087
1132
|
See the [nanoc 4 upgrade guide](https://nanoc.ws/doc/nanoc-4-upgrade-guide/) for details.
|
1088
1133
|
|
@@ -1096,96 +1141,96 @@ This release provides no new features, but streamlines the API and functionality
|
|
1096
1141
|
|
1097
1142
|
Features:
|
1098
1143
|
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1144
|
+
- Added `mixed_content` check (#542, #543) [Mike Pennisi]
|
1145
|
+
- Added `commands_dirs` configuration option for specifying directories to read commands from (#475) [Gregory Pakosz]
|
1146
|
+
- Added `:cdn_id` option to fog deployer for invalidating CDN objects (#451) [Vlatko Kosturjak]
|
1147
|
+
- Add access to regular expressions group matches in rules (#478) [Michal Papis]
|
1148
|
+
- Allow filtering the items array by regex (#458) [Mike Pennisi]
|
1104
1149
|
|
1105
1150
|
Enhancements:
|
1106
1151
|
|
1107
|
-
|
1108
|
-
|
1152
|
+
- Added `:preserve_order` option to preserve order in Atom feed (#533, #534)
|
1153
|
+
- Allowed accessing `:pre` snapshot from within item itself (#537, #538, #548)
|
1109
1154
|
|
1110
1155
|
Fixes:
|
1111
1156
|
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1157
|
+
- Allowed passing generic Pandoc options with :args (#526, #535)
|
1158
|
+
- Fix crash when compiling extensionless binary items (#524, #525)
|
1159
|
+
- Fix double snapshot creation error (#547)
|
1115
1160
|
|
1116
1161
|
## 3.7.5 (2015-01-12)
|
1117
1162
|
|
1118
1163
|
Enhancements:
|
1119
1164
|
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1165
|
+
- Allowed extra patterns to be specified in the data source configuration, so that dotfiles are no longer necessary ignored (e.g. `extra_files: ['.htaccess']`) (#492, #498) [Andy Drop, Michal Papis]
|
1166
|
+
- Removed Ruby 1.8.x support ([details](https://groups.google.com/forum/#!topic/nanoc/pSL1i15EFz8)) (#517)
|
1167
|
+
- Improved CSS and HTML error messages (#484, #504)
|
1168
|
+
- Let kramdown filter print warnings (#459, #519)
|
1124
1169
|
|
1125
1170
|
Fixes:
|
1126
1171
|
|
1127
|
-
|
1128
|
-
|
1172
|
+
- Fixed HTML class names for recent Rouge versions (#502)
|
1173
|
+
- Fixed crash when using items or layouts in attributes (#469, #518)
|
1129
1174
|
|
1130
1175
|
## 3.7.4 (2014-11-23)
|
1131
1176
|
|
1132
1177
|
Enhancements:
|
1133
1178
|
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1179
|
+
- Made `check` command fail when output directory is missing (#472) [Mike Pennisi]
|
1180
|
+
- Made external links check timeouts start small and grow (#483) [Michal Papis]
|
1181
|
+
- Made code and API adhere much more closely to the Ruby style guide (#476)
|
1137
1182
|
|
1138
1183
|
Fixes:
|
1139
1184
|
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1185
|
+
- Fixed potential “parent directory is world writable” error (#465, #474)
|
1186
|
+
- Fixed retrying requests in the external link checker (#483) [Michal Papis]
|
1187
|
+
- Fixed issue with data sources not being unloaded (#491) [Michal Papis]
|
1143
1188
|
|
1144
1189
|
## 3.7.3 (2014-08-31)
|
1145
1190
|
|
1146
1191
|
Fixes:
|
1147
1192
|
|
1148
|
-
|
1193
|
+
- Fixed issue which caused metadata sections not be recognised in files that use CRLF line endings (#470, #471) [Gregory Pakosz]
|
1149
1194
|
|
1150
1195
|
## 3.7.2 (2014-08-17)
|
1151
1196
|
|
1152
1197
|
Fixes:
|
1153
1198
|
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1199
|
+
- Fixed broken links to the now defunct RubyForge (#454, #467)
|
1200
|
+
- Fixed crash when Gemfile is missing but Bundler is installed (#464)
|
1201
|
+
- Made filesystem data source not strip any whitespace (#463) [Gregory Pakosz]
|
1157
1202
|
|
1158
1203
|
Enhancements:
|
1159
1204
|
|
1160
|
-
|
1161
|
-
|
1205
|
+
- Fixed issue which could cause items to be unnecessarily marked as outdated (#461) [Gregory Pakosz]
|
1206
|
+
- Prevented binary layouts from being generated (#468) [Gregory Pakosz]
|
1162
1207
|
|
1163
1208
|
## 3.7.1 (2014-06-16)
|
1164
1209
|
|
1165
1210
|
Fixes:
|
1166
1211
|
|
1167
|
-
|
1212
|
+
- Fixed bug which would cause nanoc to crash if no Gemfile is present (#447, #449)
|
1168
1213
|
|
1169
1214
|
## 3.7 (2014-06-08)
|
1170
1215
|
|
1171
1216
|
New features:
|
1172
1217
|
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1218
|
+
- Allowed excluding links from the internal links check (`@config[:checks][:internal_links][:exclude]`) (#242) [Remko Tronçon]
|
1219
|
+
- Added Rouge syntax coloring filter (#398) [Guilherme Garnier]
|
1220
|
+
- Backported `after_setup` from nanoc 4 to make it easier to create CLI plugins (#407) [Rémi Barraquand]
|
1221
|
+
- Make lib dirs configurable using `lib_dirs` config attribute (#424) [Gregory Pakosz]
|
1222
|
+
- Added support for setting parent config dir using `parent_config_file` config attribute (#419) [Gregory Pakosz]
|
1178
1223
|
|
1179
1224
|
Enhancements:
|
1180
1225
|
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1226
|
+
- Added `:with_toc` support to RedCarpet (#222, #232)
|
1227
|
+
- Added `slim` to the list of text extensions (#316)
|
1228
|
+
- Made `content/` and `layouts/` dirs configurable (#412) [Gregory Pakosz]
|
1229
|
+
- Allowed included rules files to have their own preprocess block (#420) [Gregory Pakosz]
|
1185
1230
|
|
1186
1231
|
Fixes:
|
1187
1232
|
|
1188
|
-
|
1233
|
+
- Fixed bug which caused temporary directories not to be removed (#440, #444)
|
1189
1234
|
|
1190
1235
|
## 3.6.11 (2014-05-09)
|
1191
1236
|
|
@@ -1197,606 +1242,606 @@ This release was previously known as 3.6.10.1, but was renamed due to incompatib
|
|
1197
1242
|
|
1198
1243
|
Fixes:
|
1199
1244
|
|
1200
|
-
|
1201
|
-
|
1245
|
+
- Fixed occasional "no such file" error on JRuby (#422)
|
1246
|
+
- Prevented multiple items and layouts from having the same identifier (#434, #435)
|
1202
1247
|
|
1203
1248
|
Enhancements:
|
1204
1249
|
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1250
|
+
- Set default encoding to UTF-8 (#428)
|
1251
|
+
- Improved checksummer to reduce number of unnecessary recompiles (#310, #431)
|
1252
|
+
- Disabled USR1 on JRuby in order to suppress warning (#425, #426)
|
1253
|
+
- Made pandoc filter argument passing more generic (#210, #433)
|
1209
1254
|
|
1210
1255
|
## 3.6.9 (2014-04-15)
|
1211
1256
|
|
1212
1257
|
Fixes:
|
1213
1258
|
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1259
|
+
- Fixed path to default stylesheet (#410, #411)
|
1260
|
+
- Improved reliability of piping from/to external processes in JRuby (#417)
|
1261
|
+
- Added workaround for “cannot modify” errors when using Nokogiri on JRuby (#416)
|
1262
|
+
- Made corrupted cached data auto-repair itself if possible (#409, #418)
|
1218
1263
|
|
1219
1264
|
## 3.6.8 (2014-03-22)
|
1220
1265
|
|
1221
1266
|
Fixes:
|
1222
1267
|
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1268
|
+
- Fixed issue with missing compilation durations (#374, #379)
|
1269
|
+
- Made XSL filter transform item rather than layout (#399, #401) [Simon South]
|
1270
|
+
- Made XSL filter honor omit-xml-declaration (#403, #404) [Simon South]
|
1271
|
+
- Removed "see full crash log" line from crash log (#397, #402)
|
1227
1272
|
|
1228
1273
|
Enhancements:
|
1229
1274
|
|
1230
|
-
|
1231
|
-
|
1275
|
+
- Added warning when multiple preprocessors are defined (#389)
|
1276
|
+
- Improve stylesheet handling in default site (#339, #395)
|
1232
1277
|
|
1233
1278
|
## 3.6.7 (2013-12-09)
|
1234
1279
|
|
1235
1280
|
Fixes:
|
1236
1281
|
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1282
|
+
- Made Handlebars filter usable outside layouts (#346, #348)
|
1283
|
+
- Fixed ANSI color support on Windows (#352, #356)
|
1284
|
+
- Made fog deployer handle prefixes properly (#351) [Oliver Byford]
|
1285
|
+
- Fixed crash in watcher (#358)
|
1286
|
+
- Fixed huge durations when showing skipped items after compilation (#360, #364)
|
1287
|
+
- Fixed output of `--verbose` compilation statistics (#359, #365)
|
1288
|
+
- Fixed issue with Sass files not recompiling (#350, #370)
|
1244
1289
|
|
1245
1290
|
Enhancements:
|
1246
1291
|
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1292
|
+
- Fixed Windows compatibility issues in test suite (#353) [Raphael von der Grün]
|
1293
|
+
- Hid deprecated `autocompile` and `watch` commands in help
|
1294
|
+
- Made CLI swallow broken pipe errors when piping to a process that terminates prematurely (#318, #369)
|
1250
1295
|
|
1251
1296
|
## 3.6.6 (2013-11-08)
|
1252
1297
|
|
1253
1298
|
Enhancements:
|
1254
1299
|
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1300
|
+
- Reduced number of dependencies generated by Sass filter (#306) [Gregory Pakosz]
|
1301
|
+
- Recognised lowercase `utf` in language value (e.g. `en_US.utf8`) as being UTF-8 (#335, #338)
|
1302
|
+
- Set [Thin](https://github.com/macournoyer/thin) as the default server for `nanoc view` (#342, #345)
|
1303
|
+
- Removed watcher section from the default configuration file (#343, #344)
|
1259
1304
|
|
1260
1305
|
Fixes:
|
1261
1306
|
|
1262
|
-
|
1307
|
+
- Prevented capturing helper from erroneously compiling items twice (#331, #337)
|
1263
1308
|
|
1264
1309
|
## 3.6.5 (2013-09-29)
|
1265
1310
|
|
1266
1311
|
Fixes:
|
1267
1312
|
|
1268
|
-
|
1269
|
-
|
1313
|
+
- Fixed bug which could cause incorrect dependencies to be generated in some cases (#329)
|
1314
|
+
- Fixed handling of index filenames when allowing periods in identifiers (#330)
|
1270
1315
|
|
1271
1316
|
## 3.6.4 (2013-05-29)
|
1272
1317
|
|
1273
1318
|
Enhancements:
|
1274
1319
|
|
1275
|
-
|
1320
|
+
- Deprecated `watch` and `autocompile` commands in favour of [`guard-nanoc`](https://github.com/guard/guard-nanoc)
|
1276
1321
|
|
1277
1322
|
Fixes:
|
1278
1323
|
|
1279
|
-
|
1280
|
-
|
1324
|
+
- Fixed bug which could cause the `tmp/` dir to blow up in size
|
1325
|
+
- Unescaped URLs when checking internal links
|
1281
1326
|
|
1282
1327
|
## 3.6.3 (2013-04-24)
|
1283
1328
|
|
1284
1329
|
Fixes:
|
1285
1330
|
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1331
|
+
- Added support for growlnotify on Windows (#253, #267)
|
1332
|
+
- Fixed bug which caused the external links checker to ignore the query string (#279, #297)
|
1333
|
+
- Removed weird treatment of `DOCTYPE`s in the `relativize_paths` filter (#296)
|
1334
|
+
- Fixed CodeRay syntax coloring on Ruby 2.0
|
1335
|
+
- Silenced "Could not find files for the given pattern(s)" message on Windows (#298)
|
1336
|
+
- Fixed issue which could cause `output.diff` not to be generated correctly (#255, #301)
|
1337
|
+
- Let filesystem and static data sources follow symlinks (#299, #302)
|
1338
|
+
- Added compatibility with Listen 1.0 (#309)
|
1339
|
+
- Let `#passthrough` in Rules work well with the static data source (#251) [Gregory Pakosz]
|
1340
|
+
- Made timing information be more accurate (#303)
|
1296
1341
|
|
1297
1342
|
## 3.6.2 (2013-03-23)
|
1298
1343
|
|
1299
1344
|
Fixes:
|
1300
1345
|
|
1301
|
-
|
1346
|
+
- Removed the list of available deployers from the `deploy` help text and moved
|
1302
1347
|
them into a new `--list-deployers` option [Damien Pollet]
|
1303
|
-
|
1348
|
+
- Fixed warning about `__send__` and `object_id` being redefined on Ruby
|
1304
1349
|
1.8.x [Justin Hileman]
|
1305
1350
|
|
1306
1351
|
Enhancements:
|
1307
1352
|
|
1308
|
-
|
1353
|
+
- Added possible alternative names for the `Checks` file for consistency with
|
1309
1354
|
the `Rules` file: `Checks.rb`, `checks`, `checks.rb` [Damien Pollet]
|
1310
|
-
|
1311
|
-
|
1355
|
+
- Made sure unchanged files never have their mtime updated [Justin Hileman]
|
1356
|
+
- Made link checker retry 405 Method Not Allowed results with GET instead of
|
1312
1357
|
HEAD [Daniel Hofstetter]
|
1313
1358
|
|
1314
1359
|
## 3.6.1 (2013-02-25)
|
1315
1360
|
|
1316
1361
|
Fixes:
|
1317
1362
|
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1363
|
+
- Fixed bug which could cause the Sass filter to raise a load error [Damien Pollet]
|
1364
|
+
- Fixed warnings about `__send__` and `object_id` being redefined [Justin Hileman]
|
1365
|
+
- Made `files_to_watch` contain `nanoc.yaml`, not `config.yaml` by default
|
1321
1366
|
|
1322
1367
|
## 3.6 (2013-02-24)
|
1323
1368
|
|
1324
1369
|
Features:
|
1325
1370
|
|
1326
|
-
|
1371
|
+
- Added `sync` command, allowing data sources to update local caches of
|
1327
1372
|
external data [Justin Hileman]
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1373
|
+
- Added `#ignore` compiler DSL method
|
1374
|
+
- Allowed accessing items by identifier using e.g. `@items['/about/']`
|
1375
|
+
- Added `shell` command
|
1331
1376
|
|
1332
1377
|
Enhancements:
|
1333
1378
|
|
1334
|
-
|
1379
|
+
- Renamed the nanoc configuration file from `config.yaml` to `nanoc.yaml`
|
1335
1380
|
|
1336
1381
|
Fixes:
|
1337
1382
|
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1383
|
+
- Updated references to old web site and old repository
|
1384
|
+
- Made `require` errors mention Bundler if appropriate
|
1385
|
+
- Fixed bug which caused pruner not to delete directories in some cases [Matthias Reitinger]
|
1386
|
+
- Made `check` command exit with the proper exit status
|
1387
|
+
- Added support for the `HTML_TOC` Redcarpet renderer
|
1388
|
+
- Made `stale` check honor files excluded by the pruner
|
1344
1389
|
|
1345
1390
|
## 3.5 (2013-01-27)
|
1346
1391
|
|
1347
1392
|
Major changes:
|
1348
1393
|
|
1349
|
-
|
1394
|
+
- Added checks
|
1350
1395
|
|
1351
1396
|
Minor changes:
|
1352
1397
|
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1398
|
+
- Added `#include_rules` for modularising Rules files [Justin Hileman]
|
1399
|
+
- Replaced FSSM with Listen [Takashi Uchibe]
|
1400
|
+
- Made USR1 print stack trace (not on Windows)
|
1401
|
+
- Added ability to configure autocompiler host/port in config.yaml [Stuart Montgomery]
|
1402
|
+
- Added static data source
|
1403
|
+
- Added `:rep_select` parameter to XML sitemap to allow filtering reps
|
1404
|
+
- Removed use of bright/bold colors for compatibility with Solarized
|
1360
1405
|
|
1361
1406
|
Exensions:
|
1362
1407
|
|
1363
|
-
|
1364
|
-
|
1408
|
+
- Added support for parameters in Less filter [Ruben Verborgh]
|
1409
|
+
- Added support for icon and logo in Atom feed [Ruben Verborgh]
|
1365
1410
|
|
1366
1411
|
Fixes:
|
1367
1412
|
|
1368
|
-
|
1413
|
+
- Made syntax colorizer only use the first non-empty line when extracting the
|
1369
1414
|
language comment
|
1370
|
-
|
1415
|
+
- Fixed XSL filter
|
1371
1416
|
|
1372
1417
|
## 3.4.3 (2012-12-09)
|
1373
1418
|
|
1374
1419
|
Improvements:
|
1375
1420
|
|
1376
|
-
|
1421
|
+
- Item reps are now accessible in a consistent way: in Rules and during
|
1377
1422
|
compilation, they can be accessed using both `@rep` and `@item_rep`
|
1378
1423
|
|
1379
1424
|
Fixes:
|
1380
1425
|
|
1381
|
-
|
1426
|
+
- Made cleaning streams (stdout/stderr as used by nanoc) compatible with
|
1382
1427
|
Ruby’s built-in Logger
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1428
|
+
- Made prune work when the output directory is a symlink
|
1429
|
+
- Made Handlebars filter compatible with the latest version
|
1430
|
+
- Made `show-data` command show more accurate dependencies [Stefan Bühler]
|
1431
|
+
- Restored compatibility with Sass 3.2.2
|
1387
1432
|
|
1388
1433
|
## 3.4.2 (2012-11-01)
|
1389
1434
|
|
1390
1435
|
Fixes:
|
1391
1436
|
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1437
|
+
- Made passthrough rules be inserted in the right place [Gregory Pakosz]
|
1438
|
+
- Fixed crashes in the progress indicator when compiling
|
1439
|
+
- Made auto-pruning honor excluded files [Grégory Karékinian]
|
1440
|
+
- Made lack of which/where not crash watch command
|
1396
1441
|
|
1397
1442
|
Improvements:
|
1398
1443
|
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1444
|
+
- Fixed constant reinitialization warnings [Damien Pollet]
|
1445
|
+
- Made UTF-8 not be decomposed when outputting to a file from a non-UTF-8 terminal
|
1446
|
+
- Made syntax colorizer wrap CodeRay output in required CodeRay divs
|
1447
|
+
- Made fog delete after upload, not before [Go Maeda]
|
1448
|
+
- Made requesting compiled content of binary item impossible
|
1404
1449
|
|
1405
1450
|
## 3.4.1 (2012-09-22)
|
1406
1451
|
|
1407
1452
|
Fixes:
|
1408
1453
|
|
1409
|
-
|
1410
|
-
|
1454
|
+
- Fixed auto-pruning
|
1455
|
+
- Made slim filter work with the capturing helper [Bil Bas]
|
1411
1456
|
|
1412
1457
|
Improvements:
|
1413
1458
|
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1459
|
+
- Made several speed improvements
|
1460
|
+
- Added prune configuration to config.yaml
|
1461
|
+
- Made nanoc check for presence of nanoc in Gemfile
|
1462
|
+
- Made compile command not show identicals (use `--verbose` if you want them)
|
1463
|
+
- Made `relativize_paths` filter recognise more paths to relativize [Arnau Siches]
|
1464
|
+
- Fixed #passthrough for items without extensions [Justin Hileman]
|
1465
|
+
- Added more IO/File proxy methods to cleaning streams
|
1421
1466
|
|
1422
1467
|
## 3.4 (2012-06-09)
|
1423
1468
|
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1469
|
+
- Improved error output and added crash log
|
1470
|
+
- Renamed `debug` and `info` commands to `show-data` and `show-plugins`, respectively
|
1471
|
+
- Added `show-rules` command (aka `explain`)
|
1427
1472
|
|
1428
1473
|
Extensions:
|
1429
1474
|
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1475
|
+
- Added `:yield` key for Mustache filter
|
1476
|
+
- Added Handebars filter
|
1477
|
+
- Added Pandoc filter
|
1478
|
+
- Made the deployer use the `default` target if no target is specified
|
1479
|
+
- Converted HTML/CSS/link validation tasks to commands
|
1480
|
+
- Made link validator follow relative redirects
|
1436
1481
|
|
1437
1482
|
## 3.3.7 (2012-05-28)
|
1438
1483
|
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1484
|
+
- Added filename to YAML parser errors
|
1485
|
+
- Fixed issue which caused extra dependencies to be generated
|
1486
|
+
- Made timing information take filtering helper into account
|
1442
1487
|
|
1443
1488
|
## 3.3.6 (2012-04-27)
|
1444
1489
|
|
1445
|
-
|
1490
|
+
- Fixed issue with relative_link_to stripping HTML boilerplate
|
1446
1491
|
|
1447
1492
|
## 3.3.5 (2012-04-23)
|
1448
1493
|
|
1449
|
-
|
1494
|
+
- Fixed issue with relative_link_to not working properly
|
1450
1495
|
|
1451
1496
|
## 3.3.4 (2012-04-23)
|
1452
1497
|
|
1453
|
-
|
1454
|
-
|
1498
|
+
- Fixed bug which caused the compilation stack to be empty
|
1499
|
+
- Restored Ruby 1.8 compatibility
|
1455
1500
|
|
1456
1501
|
## 3.3.3 (2012-04-11)
|
1457
1502
|
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1503
|
+
- Fixed directed graph implementation on Rubinius
|
1504
|
+
- Made capturing helper not remember content between runs
|
1505
|
+
- Fixed Date#freeze issue on Ruby 1.8.x
|
1506
|
+
- Made it possible to have any kind of object as parameters in the Rules file
|
1507
|
+
- Fixed bug which caused changed routes not to cause a recompile
|
1463
1508
|
|
1464
1509
|
## 3.3.2 (2012-03-16)
|
1465
1510
|
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1511
|
+
- Removed bin/nanoc3 (use nanoc3 gem if you want it)
|
1512
|
+
- Fixed wrong “no such snapshot” errors
|
1513
|
+
- Made deployer default to rsync for backwards compatibility
|
1514
|
+
- Fixed missing Nanoc::OrigCLI in deployment tasks
|
1515
|
+
- Fixed “unrecognised kind” deployer error
|
1471
1516
|
|
1472
1517
|
## 3.3.1 (2012-02-18)
|
1473
1518
|
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1519
|
+
- Fixed issue with long paths on Windows
|
1520
|
+
- Fixed a few deployer crashes
|
1521
|
+
- Added nanoc3.rb, nanoc3/tasks.rb, … for compatibility with older versions
|
1522
|
+
- Made nanoc setup Bundler at startup [John Nishinaga]
|
1478
1523
|
|
1479
1524
|
## 3.3 (2012-02-12)
|
1480
1525
|
|
1481
1526
|
Base:
|
1482
1527
|
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1528
|
+
- Dropped the “3” suffix on nanoc3/Nanoc3
|
1529
|
+
- Turned Rake tasks into proper nanoc commands
|
1530
|
+
- Improved dependency tracking
|
1531
|
+
- Added support for locals in filters and layouts
|
1487
1532
|
|
1488
1533
|
Extensions:
|
1489
1534
|
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1535
|
+
- Added support for deployment using Fog [Jack Chu]
|
1536
|
+
- Added CoffeeScript filter [Riley Goodside]
|
1537
|
+
- Added XSL filter [Arnau Siches]
|
1538
|
+
- Added YUICompress filter [Matt Keveney]
|
1539
|
+
- Added pygments.rb to supported syntax colorizers
|
1540
|
+
- Allowed syntax colorizer to colorize outside `pre` elements [Kevin Lynagh]
|
1541
|
+
- Added support for HTTPS link validation [Fabian Buch]
|
1542
|
+
- Added support for (automatically) pruning stray output files [Justin Hileman]
|
1543
|
+
- Added deploy command
|
1499
1544
|
|
1500
1545
|
## 3.2.4 (2012-01-09)
|
1501
1546
|
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1547
|
+
- Fixed bug which would cause some reps not to be compiled when invoking nanoc programmatically
|
1548
|
+
- Made data source configuration location a bit more obvious
|
1549
|
+
- Fixed watch command under Windows
|
1550
|
+
- Made filesystem data source ignore UTF-8 BOM
|
1551
|
+
- Improved compatibility of `colorize_syntax` filter with older libxml versions
|
1507
1552
|
|
1508
1553
|
## 3.2.3 (2011-10-31)
|
1509
1554
|
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1555
|
+
- Made syntax colorizer only strip trailing blank lines instead of all blanks
|
1556
|
+
- Improved Ruby 1.9.x compatibility
|
1557
|
+
- Made default rakefile require rubygems if necessary
|
1558
|
+
- Made filename/content argument of `Nanoc3::Item#initialize` mandatory
|
1514
1559
|
|
1515
1560
|
## 3.2.2 (2011-09-04)
|
1516
1561
|
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1562
|
+
- Fixed command usage printing
|
1563
|
+
- Made `relativize_paths` filter handle Windows network paths [Ruben Verborgh]
|
1564
|
+
- Made watcher use correct configuration
|
1565
|
+
- Allowed code blocks to start with a non-language shebang line
|
1521
1566
|
|
1522
1567
|
## 3.2.1 (2011-07-27)
|
1523
1568
|
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1569
|
+
- Made `@config` available in rules file
|
1570
|
+
- Fixed `#readpartial` issue on JRuby [Matt Keveney]
|
1571
|
+
- Fixed possible `@cache` name clash in memoization module
|
1572
|
+
- Fixed options with required arguments (such as `--port` and `--host`)
|
1573
|
+
- Fixed broken `#check_availability`
|
1574
|
+
- Fixed error handling in watch command
|
1530
1575
|
|
1531
1576
|
## 3.2 (2011-07-24)
|
1532
1577
|
|
1533
1578
|
Base:
|
1534
1579
|
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1580
|
+
- Sped up nanoc quite a bit
|
1581
|
+
- Added progress indicator for long-running filters
|
1582
|
+
- Made all source data, such as item attributes, frozen during compilation
|
1583
|
+
- Added --color option to force color on
|
1584
|
+
- Cleaned up internals, deprecating several parts and/or marking them as private in the progress
|
1585
|
+
- Allowed custom commands in commands/
|
1541
1586
|
|
1542
1587
|
Extensions:
|
1543
1588
|
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1589
|
+
- Added AsciiDoc filter
|
1590
|
+
- Added Redcarpet filter [Peter Aronoff]
|
1591
|
+
- Added Slim filter [Zaiste de Grengolada]
|
1592
|
+
- Added Typogruby filter
|
1593
|
+
- Added UglifyJS filter [Justin Hileman]
|
1594
|
+
- Added `:items` parameter for the XML site map [Justin Hileman]
|
1595
|
+
- Added support for params to ERB
|
1596
|
+
- Added `:default_colorizer` parameter to the `:colorize_syntax` filter
|
1597
|
+
- Allowed for passing arbitrary options to pygmentize [Matthias Vallentin]
|
1598
|
+
- Exposed RedCloth parameters in the filter [Vincent Driessen]
|
1554
1599
|
|
1555
1600
|
## 3.1.9 (2011-06-30)
|
1556
1601
|
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1602
|
+
- Really fixed dependency generation between Sass partials this time
|
1603
|
+
- Updated Less filter to 2.0
|
1604
|
+
- Made `colorize_syntax` filter throw an error if pygmentize is not available
|
1560
1605
|
|
1561
1606
|
## 3.1.8 (2011-06-25)
|
1562
1607
|
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1608
|
+
- Made link validator accept https: URLs
|
1609
|
+
- Fixed erroneous handling of layouts with names ending in index
|
1610
|
+
- Fixed dependency generation between Sass partials
|
1611
|
+
- Fixed errors related to thread requires
|
1612
|
+
- Fixed crash while handling load errors
|
1613
|
+
- Improved encoding handling while reading files
|
1569
1614
|
|
1570
1615
|
## 3.1.7 (2011-05-03)
|
1571
1616
|
|
1572
|
-
|
1617
|
+
- Restored compatibility with Sass 3.1
|
1573
1618
|
|
1574
1619
|
## 3.1.6 (2010-11-21)
|
1575
1620
|
|
1576
|
-
|
1621
|
+
- Fixed issues with incompatible encodings
|
1577
1622
|
|
1578
1623
|
## 3.1.5 (2010-08-24)
|
1579
1624
|
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1625
|
+
- Improved `#render` documentation
|
1626
|
+
- Improved metadata section check so that e.g. raw diffs are handled properly
|
1627
|
+
- Deprecated using `Nanoc3::Site#initialize` with a non-`"."` argument
|
1628
|
+
- Added Ruby engine to version string
|
1629
|
+
- Allowed the `created_at` and `updated_at` attributes used in the `Blogging` helper to be `Date` instances
|
1585
1630
|
|
1586
1631
|
## 3.1.4 (2010-07-25)
|
1587
1632
|
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1633
|
+
- Made INT and TERM signals always quit the CLI
|
1634
|
+
- Allowed relative imports in LESS
|
1635
|
+
- Made sure modification times are unchanged for identical recompiled items
|
1636
|
+
- Improved link validator error handling
|
1637
|
+
- Made pygmentize not output extra divs and pres
|
1638
|
+
- Allowed colorizers to be specified using symbols instead of strings
|
1639
|
+
- Added scss to the default list of text extensions
|
1595
1640
|
|
1596
1641
|
## 3.1.3 (2010-04-25)
|
1597
1642
|
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1643
|
+
- Removed annoying win32console warning [Eric Sunshine]
|
1644
|
+
- Removed color codes when not writing to a terminal, or when writing to Windows’ console when win32console is not installed [Eric Sunshine]
|
1645
|
+
- Added .xhtml and .xml to list of text extensions
|
1646
|
+
- Improved support for relative Sass @imports [Chris Eppstein]
|
1602
1647
|
|
1603
1648
|
## 3.1.2 (2010-04-07)
|
1604
1649
|
|
1605
|
-
|
1650
|
+
- Fixed bug which could cause incorrect output when compilation of an item is delayed due to an unmet dependency
|
1606
1651
|
|
1607
1652
|
## 3.1.1 (2010-04-05)
|
1608
1653
|
|
1609
|
-
|
1610
|
-
|
1654
|
+
- Sass `@import`s now work for files not managed by nanoc
|
1655
|
+
- Rake tasks now have their Unicode description decomposed if necessary
|
1611
1656
|
|
1612
1657
|
## 3.1 (2010-04-03)
|
1613
1658
|
|
1614
1659
|
New:
|
1615
1660
|
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1661
|
+
- An `Item#rep_named(name)` function for quickly getting a certain rep
|
1662
|
+
- An `Item#compiled_content` function for quickly getting compiled content
|
1663
|
+
- An `Item#path` function for quickly getting the path of an item rep
|
1664
|
+
- A new “+” wildcard in rule patterns that matches one or more characters
|
1665
|
+
- A `view` command that starts a web server in the output directory
|
1666
|
+
- A `debug` command that shows information about the items, reps and layouts
|
1667
|
+
- A `kramdown` filter ([kramdown site](https://kramdown.gettalong.org/))
|
1668
|
+
- A diff between the previously compiled content and the last compiled content is now written to `output.diff` if the `enable_output_diff` site configuration attribute is true
|
1669
|
+
- Assigns, such as `@items`, `@layouts`, `@item`, … are accessible without `@`
|
1670
|
+
- Support for binary items
|
1626
1671
|
|
1627
1672
|
Changed:
|
1628
1673
|
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1674
|
+
- New sites now come with a stylesheet item instead of a `style.css` file in the output directory
|
1675
|
+
- The `deploy:rsync` task now use sensible default options
|
1676
|
+
- The `deploy:rsync` task now accepts a config environment variable
|
1677
|
+
- The `deploy:rsync` task now uses a lowercase `dry_run` environment variable
|
1678
|
+
- The `maruku` filter now accepts parameters
|
1679
|
+
- The `rainpress` filter now accepts parameters
|
1680
|
+
- The `filesystem` data source is now known as `filesystem_verbose`
|
1681
|
+
- Meta files and content files are now optional
|
1682
|
+
- The `filesystem_compact` and `filesystem_combined` data sources have been merged into a new `filesystem_unified` data source
|
1683
|
+
- The metadata section in `filesystem_unified` is now optional [Chris Eppstein]
|
1684
|
+
- The `--server` autocompile option is now known as `--handler`
|
1685
|
+
- Assigns in filters are now available as instance variables and methods
|
1686
|
+
- The `#breadcrumbs_trail` function now allows missing parents
|
1687
|
+
- The `sass` filter now properly handles `@import` dependencies
|
1643
1688
|
|
1644
1689
|
Deprecated:
|
1645
1690
|
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1691
|
+
- `Nanoc3::FileProxy`; use one of the filename attributes instead
|
1692
|
+
- `ItemRep#content_at_snapshot`; use `#compiled_content` instead
|
1693
|
+
- The `last_fm`, `delicious` and `twitter` data sources; fetch online content into a cache by a rake task and load data from this cache instead
|
1649
1694
|
|
1650
1695
|
## 3.0.9 (2010-02-24)
|
1651
1696
|
|
1652
|
-
|
1697
|
+
- Fixed 1.8.x parsing bug due to lack of parens which could cause “undefined method `to_iso8601_time` for #<String:0x…>” errors
|
1653
1698
|
|
1654
1699
|
## 3.0.8 (2010-02-24)
|
1655
1700
|
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1701
|
+
- `#atom_tag_for` now works with `base_url`s that contain a path [Eric Sunshine]
|
1702
|
+
- Generated root URLs in `#atom_feed` now end with a slash [Eric Sunshine]
|
1703
|
+
- Autocompiler now recognises requests to index files
|
1704
|
+
- `Blogging` helper now allows `created_at` to be a Time instance
|
1660
1705
|
|
1661
1706
|
## 3.0.7 (2010-01-29)
|
1662
1707
|
|
1663
|
-
|
1708
|
+
- Fixed bug which could cause layout rules not be matched in order
|
1664
1709
|
|
1665
1710
|
## 3.0.6 (2010-01-17)
|
1666
1711
|
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1712
|
+
- Error checking in `filesystem_combined` has been improved [Brian Candler]
|
1713
|
+
- Generated HTML files now have a default encoding of UTF-8
|
1714
|
+
- Periods in identifiers for layouts now behave correctly
|
1715
|
+
- The `relativize_paths` filter now correctly handles “/” [Eric Sunshine]
|
1671
1716
|
|
1672
1717
|
## 3.0.5 (2010-01-12)
|
1673
1718
|
|
1674
|
-
|
1719
|
+
- Restored pre-3.0.3 behaviour of periods in identifiers. By default, a file can have multiple extensions (e.g. `content/foo.html.erb` will have the identifier `/foo/`), but if `allow_periods_in_identifiers` in the site configuration is true, a file can have only one extension (e.g. `content/blog/stuff.entry.html` will have the identifier `/blog/stuff.entry/`).
|
1675
1720
|
|
1676
1721
|
## 3.0.4 (2010-01-07)
|
1677
1722
|
|
1678
|
-
|
1723
|
+
- Fixed a bug which would cause the `filesystem_compact` data source to incorrectly determine the content filename, leading to weird “Expected 1 content file but found 3” errors [Eric Sunshine]
|
1679
1724
|
|
1680
1725
|
## 3.0.3 (2010-01-06)
|
1681
1726
|
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1727
|
+
- The `Blogging` helper now properly handles item reps without paths
|
1728
|
+
- The `relativize_paths` filter now only operates inside tags
|
1729
|
+
- The autocompiler now handles escaped paths
|
1730
|
+
- The `LinkTo` and `Tagging` helpers now output escaped HTML
|
1731
|
+
- Fixed `played_at` attribute assignment in the `LastFM` data source for tracks playing now, and added a `now_playing` attribute [Nicky Peeters]
|
1732
|
+
- The `filesystem_*` data sources can now handle dots in identifiers
|
1733
|
+
- Required enumerator to make sure `#enum_with_index` always works
|
1734
|
+
- `Array#stringify_keys` now properly recurses
|
1690
1735
|
|
1691
1736
|
## 3.0.2 (2009-11-07)
|
1692
1737
|
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1738
|
+
- Children-only identifier patterns no longer erroneously also match parent (e.g. `/foo/*/` no longer matches `/foo/`)
|
1739
|
+
- The `create_site` command no longer uses those ugly HTML entities
|
1740
|
+
- Install message now mentions the IRC channel
|
1696
1741
|
|
1697
1742
|
## 3.0.1 (2009-10-05)
|
1698
1743
|
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1744
|
+
- The proper exception is now raised when no matching compilation rules can be found
|
1745
|
+
- The autocompile command no longer has a duplicate `--port` option
|
1746
|
+
- The `#url_for` and `#feed_url` methods now check the presence of the `base_url` site configuration attribute
|
1747
|
+
- Several outdated URLs are now up-to-date
|
1748
|
+
- Error handling has been improved in general
|
1704
1749
|
|
1705
1750
|
## 3.0 (2009-08-14)
|
1706
1751
|
|
1707
1752
|
New:
|
1708
1753
|
|
1709
|
-
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1754
|
+
- Multiple data sources
|
1755
|
+
- Dependency tracking between items
|
1756
|
+
- Filters can now optionally take arguments
|
1757
|
+
- `#create_page` and `#create_layout` methods in data sources
|
1758
|
+
- A new way to specify compilation/routing rules using a Rules file
|
1759
|
+
- A `coderay` filter ([CodeRay site](http://coderay.rubychan.de/))
|
1760
|
+
- A `filesystem_compact` data source which uses less directories
|
1716
1761
|
|
1717
1762
|
Changed:
|
1718
1763
|
|
1719
|
-
|
1764
|
+
- Pages and textual assets are now known as “items”
|
1720
1765
|
|
1721
1766
|
Removed:
|
1722
1767
|
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1768
|
+
- Support for drafts
|
1769
|
+
- Support for binary assets
|
1770
|
+
- Support for templates
|
1771
|
+
- Everything that was deprecated in nanoc 2.x
|
1772
|
+
- `save_*`, `move_*` and `delete_*` methods in data sources
|
1773
|
+
- Processing instructions in metadata
|
1729
1774
|
|
1730
1775
|
## 2.2.2 (2009-05-18)
|
1731
1776
|
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1777
|
+
- Removed `relativize_paths` filter; use `relativize_paths_in_html` or `relativize_paths_in_css` instead
|
1778
|
+
- Fixed bug which could cause nanoc to eat massive amounts of memory when an exception occurs
|
1779
|
+
- Fixed bug which would cause nanoc to complain about the open file limit being reached when using a large amount of assets
|
1735
1780
|
|
1736
1781
|
## 2.2.1 (2009-04-08)
|
1737
1782
|
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1783
|
+
- Fixed bug which prevented `relative_path_to` from working
|
1784
|
+
- Split `relativize_paths` filter into two filter: `relativize_paths_in_html` and `relativize_paths_in_css`
|
1785
|
+
- Removed bundled mime-types library
|
1741
1786
|
|
1742
1787
|
## 2.2 (2009-04-06)
|
1743
1788
|
|
1744
1789
|
New:
|
1745
1790
|
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1791
|
+
- `--pages` and `--assets` compiler options
|
1792
|
+
- `--no-color` command-line option
|
1793
|
+
- `Filtering` helper
|
1794
|
+
- `#relative_path_to` function in `LinkTo` helper
|
1795
|
+
- `rainpress` filter ([Rainpress site](https://github.com/ddfreyne/rainpress))
|
1796
|
+
- `relativize_paths` filter
|
1797
|
+
- The current layout is now accessible through the `@layout` variable
|
1798
|
+
- Much more informative stack traces when something goes wrong
|
1754
1799
|
|
1755
1800
|
Changed:
|
1756
1801
|
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1802
|
+
- The command-line option parser is now a lot more reliable
|
1803
|
+
- `#atom_feed` now takes optional `:content_proc`, `:excerpt_proc` and `:articles` parameters
|
1804
|
+
- The compile command show non-written items (those with `skip_output: true`)
|
1805
|
+
- The compile command compiles everything by default
|
1806
|
+
- Added `--only-outdated` option to compile only outdated pages
|
1762
1807
|
|
1763
1808
|
Removed:
|
1764
1809
|
|
1765
|
-
|
1810
|
+
- deprecated extension-based code
|
1766
1811
|
|
1767
1812
|
## 2.1.6 (2009-02-28)
|
1768
1813
|
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1814
|
+
- The `filesystem_combined` data source now supports empty metadata sections
|
1815
|
+
- The `rdoc` filter now works for both RDoc 1.x and 2.x
|
1816
|
+
- The autocompiler now serves a 500 when an exception occurs outside compilation
|
1817
|
+
- The autocompiler no longer serves index files when the request path does not end with a slash
|
1818
|
+
- The autocompiler now always serves asset content correctly
|
1774
1819
|
|
1775
1820
|
## 2.1.5 (2009-02-01)
|
1776
1821
|
|
1777
|
-
|
1778
|
-
|
1822
|
+
- Added Ruby 1.9 compatibility
|
1823
|
+
- The `filesystem` and `filesystem_combined` data sources now preserve custom extensions
|
1779
1824
|
|
1780
1825
|
## 2.1.4 (2008-11-15)
|
1781
1826
|
|
1782
|
-
|
1827
|
+
- Fixed an issue where the autocompiler in Windows would serve broken assets
|
1783
1828
|
|
1784
1829
|
## 2.1.3 (2008-09-27)
|
1785
1830
|
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1831
|
+
- The `haml` and `sass` filters now correctly take their options from assets
|
1832
|
+
- The autocompiler now serves index files instead of 404s
|
1833
|
+
- Layouts named “index” are now handled correctly
|
1834
|
+
- The `filesystem_combined` data source now properly handles assets
|
1790
1835
|
|
1791
1836
|
## 2.1.2 (2008-09-08)
|
1792
1837
|
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1838
|
+
- The utocompiler now compiles assets as well
|
1839
|
+
- The `sass` filter now takes options (just like the `haml` filter)
|
1840
|
+
- Haml/Sass options are now taken from the page _rep_ instead of the page
|
1796
1841
|
|
1797
1842
|
## 2.1.1 (2008-08-18)
|
1798
1843
|
|
1799
|
-
|
1844
|
+
- Fixed issue which would cause files not to be required in the right order
|
1800
1845
|
|
1801
1846
|
## 2.1 (2008-08-17)
|
1802
1847
|
|
@@ -1806,141 +1851,141 @@ updated manual will be useful.
|
|
1806
1851
|
|
1807
1852
|
New:
|
1808
1853
|
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1854
|
+
- New `rdiscount` filter ([RDiscount site](https://github.com/davidfstr/rdiscount))
|
1855
|
+
- New `maruku` filter ([Maruku site](https://github.com/bhollis/maruku/))
|
1856
|
+
- New `erubis` filter ([Erubis site](http://www.kuwata-lab.com/erubis/))
|
1857
|
+
- A better command-line frontend
|
1858
|
+
- A new filesystem data source named `filesystem_combined`
|
1859
|
+
- Routers, which decide where compiled pages should be written to
|
1860
|
+
- Page/layout mtimes can now be retrieved through `page.mtime`/`layout.mtime`
|
1816
1861
|
|
1817
1862
|
Changed:
|
1818
1863
|
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1864
|
+
- Already compiled pages will no longer be re-compiled unless outdated
|
1865
|
+
- Layout processors and filters have been merged
|
1866
|
+
- Layouts no longer rely on file extensions to determine the layout processor
|
1867
|
+
- Greatly improved source code documentation
|
1868
|
+
- Greatly improved unit test suite
|
1824
1869
|
|
1825
1870
|
Removed:
|
1826
1871
|
|
1827
|
-
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1872
|
+
- Several filters have been removed and replaced by newer filters:
|
1873
|
+
- `eruby`: use `erb` or `erubis` instead
|
1874
|
+
- `markdown`: use `bluecloth`, `rdiscount` or `maruku` instead
|
1875
|
+
- `textile`: use `redcloth` instead
|
1831
1876
|
|
1832
1877
|
## 2.0.4 (2008-05-04)
|
1833
1878
|
|
1834
|
-
|
1835
|
-
|
1879
|
+
- Fixed `default.rb`’s `#html_escape`
|
1880
|
+
- Updated Haml filter and layout processor so that @page, @pages and @config are now available as instance variables instead of local variables
|
1836
1881
|
|
1837
1882
|
## 2.0.3 (2008-03-25)
|
1838
1883
|
|
1839
|
-
|
1840
|
-
|
1884
|
+
- The autocompiler now honors custom paths
|
1885
|
+
- The autocompiler now attempts to serve pages with the most appropriate MIME type, instead of always serving everything as `text/html`
|
1841
1886
|
|
1842
1887
|
## 2.0.2 (2008-01-26)
|
1843
1888
|
|
1844
|
-
|
1889
|
+
- nanoc now requires Ruby 1.8.5 instead of 1.8.6
|
1845
1890
|
|
1846
1891
|
## 2.0.1 (2008-01-21)
|
1847
1892
|
|
1848
|
-
|
1893
|
+
- Fixed a “too many open files” error that could appear during (auto)compiling
|
1849
1894
|
|
1850
1895
|
## 2.0 (2007-12-25)
|
1851
1896
|
|
1852
1897
|
New:
|
1853
1898
|
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1899
|
+
- Support for custom layout processors
|
1900
|
+
- Support for custom data sources
|
1901
|
+
- Database data source
|
1902
|
+
- An auto-compiler
|
1903
|
+
- Pages have `parent` and `children`
|
1859
1904
|
|
1860
1905
|
Changed:
|
1861
1906
|
|
1862
|
-
|
1863
|
-
|
1864
|
-
|
1907
|
+
- The source has been restructured and cleaned up a great deal
|
1908
|
+
- Filters are defined in a different way now
|
1909
|
+
- The `eruby` filter now uses ERB instead of Erubis
|
1865
1910
|
|
1866
1911
|
Removed:
|
1867
1912
|
|
1868
|
-
|
1869
|
-
|
1913
|
+
- The `filters` property; use `filters_pre` instead
|
1914
|
+
- Support for Liquid
|
1870
1915
|
|
1871
1916
|
## 1.6.2 (2007-10-23)
|
1872
1917
|
|
1873
|
-
|
1918
|
+
- Fixed an issue which prevented the content capturing plugin from working
|
1874
1919
|
|
1875
1920
|
## 1.6.1 (2007-10-14)
|
1876
1921
|
|
1877
|
-
|
1922
|
+
- Removed a stray debug message
|
1878
1923
|
|
1879
1924
|
## 1.6 (2007-10-13)
|
1880
1925
|
|
1881
|
-
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1926
|
+
- Added support for post-layout filters
|
1927
|
+
- Added support for getting a File object for the page, so you can now e.g. easily get the modification time for a given page (`@page.file.mtime`)
|
1928
|
+
- Cleaned up the source code a lot
|
1929
|
+
- Removed deprecated asset-copying functionality
|
1885
1930
|
|
1886
1931
|
## 1.5 (2007-09-10)
|
1887
1932
|
|
1888
|
-
|
1889
|
-
|
1890
|
-
|
1891
|
-
|
1933
|
+
- Added support for custom filters
|
1934
|
+
- Improved Liquid support -- Liquid is now a first-class nanoc citizen
|
1935
|
+
- Deprecated assets -- use something like rsync instead
|
1936
|
+
- Added `eruby_engine` option, which can be `erb` or `erubis`
|
1892
1937
|
|
1893
1938
|
## 1.4 (2007-07-06)
|
1894
1939
|
|
1895
|
-
|
1896
|
-
|
1897
|
-
|
1898
|
-
|
1940
|
+
- nanoc now supports ERB (as well as Erubis); Erubis no longer is a dependency
|
1941
|
+
- `meta.yaml` can now have `haml_options` property, which is passed to Haml
|
1942
|
+
- Pages can now have a `filename` property, which defaults to `index` [Dennis Sutch]
|
1943
|
+
- Pages now know in what order they should be compiled, eliminating the need for custom page ordering [Dennis Sutch]
|
1899
1944
|
|
1900
1945
|
## 1.3.1 (2007-06-30)
|
1901
1946
|
|
1902
|
-
|
1947
|
+
- The contents of the `assets` directory are now copied into the output directory specified in `config.yaml`
|
1903
1948
|
|
1904
1949
|
## 1.3 (2007-06-24)
|
1905
1950
|
|
1906
|
-
|
1907
|
-
|
1908
|
-
|
1909
|
-
|
1910
|
-
|
1911
|
-
|
1951
|
+
- The `@pages` array now also contains uncompiled pages
|
1952
|
+
- Pages with `skip_output` set to true will not be outputted
|
1953
|
+
- Added new filters
|
1954
|
+
- Textile/RedCloth
|
1955
|
+
- Sass
|
1956
|
+
- nanoc now warns before overwriting in `create_site`, `create_page` and `create_template` (but not in compile)
|
1912
1957
|
|
1913
1958
|
## 1.2 (2007-06-05)
|
1914
1959
|
|
1915
|
-
|
1916
|
-
|
1917
|
-
|
1918
|
-
|
1919
|
-
|
1920
|
-
|
1960
|
+
- Sites now have an `assets` directory, whose contents are copied to the `output` directory when compiling [Stanley Rost]
|
1961
|
+
- Added support for non-eRuby layouts (Markaby, Haml, Liquid, …)
|
1962
|
+
- Added more filters (Markaby, Haml, Liquid, RDoc [Dmitry Bilunov])
|
1963
|
+
- Improved error reporting
|
1964
|
+
- Accessing page attributes using instance variables, and not through `@page`, is no longer possible
|
1965
|
+
- Page attributes can now be accessed using dot notation, i.e. `@page.title` as well as `@page[:title]`
|
1921
1966
|
|
1922
1967
|
## 1.1.3 (2007-05-18)
|
1923
1968
|
|
1924
|
-
|
1969
|
+
- Fixed bug which would cause layoutless pages to be outputted incorrectly
|
1925
1970
|
|
1926
1971
|
## 1.1.2 (2007-05-17)
|
1927
1972
|
|
1928
|
-
|
1929
|
-
|
1973
|
+
- Backup files (files ending with a “~”) are now ignored
|
1974
|
+
- Fixed bug which would cause subpages not to be generated correctly
|
1930
1975
|
|
1931
1976
|
## 1.1 (2007-05-08)
|
1932
1977
|
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1978
|
+
- Added support for nested layouts
|
1979
|
+
- Added coloured logging
|
1980
|
+
- `@page` now hold the page that is currently being processed
|
1981
|
+
- Index files are now called “content” files and are now named after the directory they are in [Colin Barrett]
|
1982
|
+
- It is now possible to access `@page` in the page’s content file
|
1938
1983
|
|
1939
1984
|
## 1.0.1 (2007-05-05)
|
1940
1985
|
|
1941
|
-
|
1942
|
-
|
1986
|
+
- Fixed a bug which would cause a “no such template” error to be displayed when the template existed but compiling it would raise an exception
|
1987
|
+
- Fixed bug which would cause pages not to be sorted by order before compiling
|
1943
1988
|
|
1944
1989
|
## 1.0 (2007-05-03)
|
1945
1990
|
|
1946
|
-
|
1991
|
+
- Initial release
|