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