You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+67-8
Original file line number
Diff line number
Diff line change
@@ -1,151 +1,176 @@
1
1
# Changelog
2
+
2
3
All notable changes to this project will be documented in this file.
3
4
4
5
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
6
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
7
7
-
## [1.28.2] - 2020-02-28
8
+
## [1.28.1] - 2020-03-05
8
9
9
10
### Added
10
-
- More details for hook measurements.
11
-
- Added $main for dustpress/data/after_render filter.
12
-
13
-
## [1.28.1] - 2020-02-25
14
11
15
-
### Added
12
+
- More details for hook measurements.
13
+
- Added \$main for dustpress/data/after_render filter.
16
14
- Automatic performance measuring for hooks.
17
15
18
16
## [1.28.0] - 2020-02-20
19
17
20
18
### Added
19
+
21
20
- Automatic performance measuring.
22
21
23
22
## [1.27.1] - 2019-12-13
24
23
25
24
### Added
25
+
26
26
- Added network support for the image helper
27
27
28
28
## [1.27.0] - 2019-12-03
29
29
30
30
### Added
31
+
31
32
- A filter for image helper `$image_data`.
32
33
33
34
## [1.26.3] - 2019-12-03
34
35
35
36
### Fixed
37
+
36
38
- A bug in the menu helper that caused fatal errors when the menu did not exist.
37
39
38
40
## [1.26.2] - 2019-11-13
39
41
40
42
### Fixed
43
+
41
44
- Small fix to DustPHP for PHP 7.4 compatibility.
42
45
43
46
## [1.26.1] - 2019-11-13
44
47
45
48
### Fixed
49
+
46
50
- A bug that prevented DustPress Debugger for working properly with AJAX calls.
47
51
48
52
## [1.26.0] - 2019-11-11
49
53
50
54
### Added
55
+
51
56
- Debugging data from DustPress.js calls added to DustPress Debugger view as well.
52
57
53
58
### Changed
59
+
54
60
- Default name for the debugging data block to "Debug" instead of "Helper data".
55
61
56
62
## [1.25.4] - 2019-11-05
57
63
58
64
### Fixed
59
65
60
66
## [1.25.4] - 2019-11-5
67
+
61
68
- Fixed the ability to run multiple methods with a single DustPress.js AJAX requests.
62
69
63
70
## [1.25.3] - 2019-10-29
64
71
65
72
### Fixed
73
+
66
74
- A bug in the menu helper that caused fatal errors when the menu was empty.
67
75
68
76
## [1.25.2] - 2019-10-18
69
77
70
78
### Fixed
79
+
71
80
- The model's terminating (`$this->terminate();`) feature which was broken because of the forced 404 feature.
72
81
73
82
## [1.25.1] - 2019-10-01
74
83
75
84
### Added
85
+
76
86
- Added user email to the data for the partial in UserActivate model.
77
87
78
88
### Fixed
89
+
79
90
- Fixed the menu helper partial, which printed out an empty ul element when the requested menu doesn't exist.
80
91
81
92
## [1.25.0] - 2019-09-20
82
93
83
94
### Fixed
95
+
84
96
- Fixed a bug in the pagination helper first page handling.
85
97
- Fixed a bug in user-active.php caused by a change in WP core.
86
98
87
99
## [1.24.1] - 2019-08-20
88
100
89
101
### Fixed
102
+
90
103
- A bug where overridden methods in extended models would get run twice.
91
104
92
105
## [1.24.0] - 2019-08-14
93
106
94
107
### Changed
108
+
95
109
- Error handlers now send HTTP status code 500 in error situations.
96
110
97
111
## [1.23.2] - 2019-06-05
98
112
99
113
### Fixed
114
+
100
115
- A bug in how class names with multiple word spaces should be formed.
101
116
102
117
## [1.23.1] - 2019-06-04
103
118
104
119
### Fixed
120
+
105
121
- A bug in the AJAX single method running function.
106
122
107
123
## [1.23.0] - 2019-06-04
108
124
109
125
### Changed
126
+
110
127
- Optimized the loading of Dust partials so that the file matching is done only once per file.
111
128
112
129
## [1.22.3] - 2019-05-23
113
130
114
131
## Fixed
132
+
115
133
- Fixed the inaccurate matching for WordPress feed urls in the core autoloader checking.
116
134
117
135
## [1.22.2] - 2019-04-08
118
136
119
137
### Fixed
138
+
120
139
- Another minor bug regarding the custom route rendering type setting.
121
140
122
141
## [1.22.1] - 2019-04-02
123
142
124
143
### Fixed
144
+
125
145
- An error where not giving a rendering type for custom routes would cause a notice.
126
146
127
147
## [1.22.0] - 2019-03-29
128
148
129
149
### Added
150
+
130
151
- The ability to modify the output format of a custom route by giving it a third parameter to for example use custom routes as JSON endpoints.
131
152
132
153
### Fixed
133
-
- Fixed case in menu helper build_menu method when $item->classes is not an array (e.g. certain cases in Customizer).
154
+
155
+
- Fixed case in menu helper build_menu method when \$item->classes is not an array (e.g. certain cases in Customizer).
134
156
135
157
## [1.21.3] - 2019-03-04
136
158
137
159
### Fixed
160
+
138
161
- A minor bug caused by the last update.
139
162
140
163
## [1.21.2] - 2019-03-04
141
164
142
165
### Fixed
143
-
- Pagination helper fixed $page_count to return int not float. This caused failure on current page active state in some cases.
166
+
167
+
- Pagination helper fixed \$page_count to return int not float. This caused failure on current page active state in some cases.
144
168
- A bug with the menu helper and WordPress Customizer.
145
169
146
170
## [1.21.1] - 2019-02-26
147
171
148
172
### Fixed
173
+
149
174
- A bug that caused a notice when a template was rendered manually with empty data block.
150
175
151
176
## [1.21.0] - 2019-02-01
@@ -157,38 +182,45 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
157
182
## [1.20.0] - 2019-01-08
158
183
159
184
### Added
185
+
160
186
- A function `get_custom_route()` that returns matched custom route and the template it points to.
161
187
162
188
## [1.19.1] - 2019-01-07
163
189
164
190
### Changed
191
+
165
192
- Added a version check for the user activation feature because WordPress 5.0 breaks the backwards compatibility of the customization.
166
193
167
194
## [1.19.0] - 2018-12-19
168
195
169
196
### Changed
197
+
170
198
- Rendered HTML is not cached by default anymore as it may cause problems with object cache drop-ins.
171
199
- Only show image helper error messages if WP_DEBUG is set to true
172
200
173
201
## [1.18.0] - 2018-10-23
174
202
175
203
### Added
204
+
176
205
- Cache DustPHP template file paths during runtime to prevent multiple recursive directory searches for same template requests.
177
206
178
207
## [1.17.0] - 2018-10-19
179
208
180
209
### Fixed
210
+
181
211
- Make the menuhelper show the correct current item even on category or tag archives.
182
212
- Query::get_post() and Query::get_acf_post() methods to function properly without global post object existence.
183
213
184
214
## [1.16.8] - 2018-10-15
185
215
186
216
### Fixed
217
+
187
218
- A bug in the Query class that caused a notice in certain situations.
188
219
189
220
## [1.16.7] - 2018-10-10
190
221
191
222
### Added
223
+
192
224
- A filter to the output HTML of the Image helper.
193
225
194
226
## [1.16.6] - 2018-10-05
@@ -201,73 +233,87 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
201
233
## [1.16.5] - 2018-09-30
202
234
203
235
### Fixed
236
+
204
237
- A bug that broke some of the recursive functionality in the Query class.
205
238
206
239
## [1.16.4] - 2018-09-14
207
240
208
241
### Fixed
242
+
209
243
- A minor bug in the previous release.
210
244
211
245
## [1.16.3] - 2018-09-14
212
246
213
247
### Fixed
248
+
214
249
- A bug where `get_post()` and `get_acf_post()` would not work with proper IDs if used multiple times in a pageload.
215
250
216
251
## [1.16.2] - 2018-09-03
217
252
218
253
### Changed
254
+
219
255
- Fixed 'dustpress/router' filter for WordPress preview functionality.
220
256
- Removed unnecessary `$id` parameter from `get_post_meta()`.
221
257
- Changed functions `get_post()` and `get_acf_post()` to use global post if desired post id same as global post.
222
258
223
259
## [1.16.1] - 2018-06-20
224
260
225
261
### Added
262
+
226
263
- Added a parameter to enable last update's changes as otherwise they would break backwards-compability.
227
264
228
265
## [1.16.0] - 2018-06-14
229
266
230
267
### Added
268
+
231
269
- Some optimizations for DustPress ajax calls to make them faster and less error-prone.
232
270
233
271
## [1.15.3] - 2018-06-03
234
272
235
273
### Fixed
274
+
236
275
- Core files do not override theme files anymore.
237
276
238
277
## [1.15.2] - 2018-05-30
239
278
240
279
### Fixed
280
+
241
281
- A bug where core partials where unusable in some cases.
242
282
243
283
## [1.15.1] - 2018-05-25
244
284
245
285
### Fixed
286
+
246
287
- A bug which prevented partials in theme from overriding core partials.
247
288
248
289
## [1.15.0] - 2018-05-09
249
290
250
291
### Added
292
+
251
293
- A possibility to give Comparison helpers `type` parameter to use it with booleans as is the case with the original Dust.js.
252
294
253
295
## [1.14.1] - 2018-04-13
254
296
255
297
### Fixed
298
+
256
299
- A bug where PHP warnings would occur when trying to call custom AJAX route that does not exist. Enhanced error messages as well.
257
300
258
301
## [1.14.0] - 2018-03-21
259
302
260
303
### Changed
304
+
261
305
- Template file locations are now searched only once and stored in cache to improve performance.
262
306
263
307
## [1.13.1] - 2018-03-19
264
308
265
309
### Changed
310
+
266
311
- Moved add_rewrite_tag calls to init hook.
267
312
268
313
## [1.13.0] - 2018-03-15
269
314
270
315
### Added
316
+
271
317
- Ability to register custom routes.
272
318
- The Pagination helper now adds its data into the debugger.
273
319
@@ -278,62 +324,75 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
278
324
## [1.12.0] - 2018-01-29
279
325
280
326
### Added
327
+
281
328
- Menu location to the menu helper data.
282
329
- Filters for menu object and menu items by the menu location.
283
330
284
331
## [1.11.0] - 2018-01-26
285
332
286
333
### Added
334
+
287
335
- Documentation for Model class.
288
336
- A `set_args()` method for Model to make it possible to set arguments for an already instantiated model dynamically.
289
337
290
338
### Fixed
339
+
291
340
- A bug where renaming a model to a name it already had would throw an error.
292
341
- A bug where sending an array as a JSON POST payload to a DustPress site would cause an error.
293
342
294
343
## [1.10.0] - 2017-12-21
295
344
296
345
### Added
346
+
297
347
- By giving the AJAX request a `data` parameter, it now returns the resulting data with the rendered partial. DustPress.js 2.1.0 is required for the front-end side.
298
348
299
349
### Changed
350
+
300
351
- The `get_post` and `get_posts` methods in the `Query` class now get the key `image_id` containing the the featured image id if it is found.
301
352
302
353
## [1.9.0] - 2017-12-18
303
354
304
355
### Changed
356
+
305
357
- The `Pagination` helper allows changing the amount of pages displayed with the new `neighbours` parameter.
306
358
- Corrected documentation for `Query` classes recursive post querying functionality.
307
359
308
360
## [1.8.1] - 2017-11-20
309
361
310
362
### Changed
363
+
311
364
- Fixed a Notice from `is_cacheable_function` method when `$ttl` is not set in some model
312
365
313
366
## [1.8.0] - 2017-11-17
314
367
315
368
### Changed
369
+
316
370
- Changed the default functionality for the render cacheing to be true
317
371
318
372
## [1.7.1] - 2017-11-03
319
373
320
374
### Changed
375
+
321
376
- Fixed not properly recognizing tidy & render arguments on older DustPress.js calls
322
377
323
378
## [1.7.0] - 2017-11-03
324
379
325
380
### Added
381
+
326
382
- Model and partial containing the basic functionality of the default wp-activate.php file.
327
383
328
384
### Changed
385
+
329
386
- Modifiied core so that when wp-activate.php is loaded the execution is stopped and DustPress creates its own instance.
330
387
331
388
## [1.6.11] - 2017-10-30
332
389
333
390
### Changed
391
+
334
392
- Optimized file loading routines to reduce loading times
0 commit comments