Skip to content

Commit dca1da5

Browse files
author
Miika Arponen
committed
Version 1.28.1
1 parent fb0eacb commit dca1da5

File tree

2 files changed

+1028
-997
lines changed

2 files changed

+1028
-997
lines changed

CHANGELOG.md

+67-8
Original file line numberDiff line numberDiff line change
@@ -1,151 +1,176 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
56
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
67

7-
## [1.28.2] - 2020-02-28
8+
## [1.28.1] - 2020-03-05
89

910
### Added
10-
- More details for hook measurements.
11-
- Added $main for dustpress/data/after_render filter.
12-
13-
## [1.28.1] - 2020-02-25
1411

15-
### Added
12+
- More details for hook measurements.
13+
- Added \$main for dustpress/data/after_render filter.
1614
- Automatic performance measuring for hooks.
1715

1816
## [1.28.0] - 2020-02-20
1917

2018
### Added
19+
2120
- Automatic performance measuring.
2221

2322
## [1.27.1] - 2019-12-13
2423

2524
### Added
25+
2626
- Added network support for the image helper
2727

2828
## [1.27.0] - 2019-12-03
2929

3030
### Added
31+
3132
- A filter for image helper `$image_data`.
3233

3334
## [1.26.3] - 2019-12-03
3435

3536
### Fixed
37+
3638
- A bug in the menu helper that caused fatal errors when the menu did not exist.
3739

3840
## [1.26.2] - 2019-11-13
3941

4042
### Fixed
43+
4144
- Small fix to DustPHP for PHP 7.4 compatibility.
4245

4346
## [1.26.1] - 2019-11-13
4447

4548
### Fixed
49+
4650
- A bug that prevented DustPress Debugger for working properly with AJAX calls.
4751

4852
## [1.26.0] - 2019-11-11
4953

5054
### Added
55+
5156
- Debugging data from DustPress.js calls added to DustPress Debugger view as well.
5257

5358
### Changed
59+
5460
- Default name for the debugging data block to "Debug" instead of "Helper data".
5561

5662
## [1.25.4] - 2019-11-05
5763

5864
### Fixed
5965

6066
## [1.25.4] - 2019-11-5
67+
6168
- Fixed the ability to run multiple methods with a single DustPress.js AJAX requests.
6269

6370
## [1.25.3] - 2019-10-29
6471

6572
### Fixed
73+
6674
- A bug in the menu helper that caused fatal errors when the menu was empty.
6775

6876
## [1.25.2] - 2019-10-18
6977

7078
### Fixed
79+
7180
- The model's terminating (`$this->terminate();`) feature which was broken because of the forced 404 feature.
7281

7382
## [1.25.1] - 2019-10-01
7483

7584
### Added
85+
7686
- Added user email to the data for the partial in UserActivate model.
7787

7888
### Fixed
89+
7990
- Fixed the menu helper partial, which printed out an empty ul element when the requested menu doesn't exist.
8091

8192
## [1.25.0] - 2019-09-20
8293

8394
### Fixed
95+
8496
- Fixed a bug in the pagination helper first page handling.
8597
- Fixed a bug in user-active.php caused by a change in WP core.
8698

8799
## [1.24.1] - 2019-08-20
88100

89101
### Fixed
102+
90103
- A bug where overridden methods in extended models would get run twice.
91104

92105
## [1.24.0] - 2019-08-14
93106

94107
### Changed
108+
95109
- Error handlers now send HTTP status code 500 in error situations.
96110

97111
## [1.23.2] - 2019-06-05
98112

99113
### Fixed
114+
100115
- A bug in how class names with multiple word spaces should be formed.
101116

102117
## [1.23.1] - 2019-06-04
103118

104119
### Fixed
120+
105121
- A bug in the AJAX single method running function.
106122

107123
## [1.23.0] - 2019-06-04
108124

109125
### Changed
126+
110127
- Optimized the loading of Dust partials so that the file matching is done only once per file.
111128

112129
## [1.22.3] - 2019-05-23
113130

114131
## Fixed
132+
115133
- Fixed the inaccurate matching for WordPress feed urls in the core autoloader checking.
116134

117135
## [1.22.2] - 2019-04-08
118136

119137
### Fixed
138+
120139
- Another minor bug regarding the custom route rendering type setting.
121140

122141
## [1.22.1] - 2019-04-02
123142

124143
### Fixed
144+
125145
- An error where not giving a rendering type for custom routes would cause a notice.
126146

127147
## [1.22.0] - 2019-03-29
128148

129149
### Added
150+
130151
- 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.
131152

132153
### 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).
134156

135157
## [1.21.3] - 2019-03-04
136158

137159
### Fixed
160+
138161
- A minor bug caused by the last update.
139162

140163
## [1.21.2] - 2019-03-04
141164

142165
### 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.
144168
- A bug with the menu helper and WordPress Customizer.
145169

146170
## [1.21.1] - 2019-02-26
147171

148172
### Fixed
173+
149174
- A bug that caused a notice when a template was rendered manually with empty data block.
150175

151176
## [1.21.0] - 2019-02-01
@@ -157,38 +182,45 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
157182
## [1.20.0] - 2019-01-08
158183

159184
### Added
185+
160186
- A function `get_custom_route()` that returns matched custom route and the template it points to.
161187

162188
## [1.19.1] - 2019-01-07
163189

164190
### Changed
191+
165192
- Added a version check for the user activation feature because WordPress 5.0 breaks the backwards compatibility of the customization.
166193

167194
## [1.19.0] - 2018-12-19
168195

169196
### Changed
197+
170198
- Rendered HTML is not cached by default anymore as it may cause problems with object cache drop-ins.
171199
- Only show image helper error messages if WP_DEBUG is set to true
172200

173201
## [1.18.0] - 2018-10-23
174202

175203
### Added
204+
176205
- Cache DustPHP template file paths during runtime to prevent multiple recursive directory searches for same template requests.
177206

178207
## [1.17.0] - 2018-10-19
179208

180209
### Fixed
210+
181211
- Make the menuhelper show the correct current item even on category or tag archives.
182212
- Query::get_post() and Query::get_acf_post() methods to function properly without global post object existence.
183213

184214
## [1.16.8] - 2018-10-15
185215

186216
### Fixed
217+
187218
- A bug in the Query class that caused a notice in certain situations.
188219

189220
## [1.16.7] - 2018-10-10
190221

191222
### Added
223+
192224
- A filter to the output HTML of the Image helper.
193225

194226
## [1.16.6] - 2018-10-05
@@ -201,73 +233,87 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
201233
## [1.16.5] - 2018-09-30
202234

203235
### Fixed
236+
204237
- A bug that broke some of the recursive functionality in the Query class.
205238

206239
## [1.16.4] - 2018-09-14
207240

208241
### Fixed
242+
209243
- A minor bug in the previous release.
210244

211245
## [1.16.3] - 2018-09-14
212246

213247
### Fixed
248+
214249
- A bug where `get_post()` and `get_acf_post()` would not work with proper IDs if used multiple times in a pageload.
215250

216251
## [1.16.2] - 2018-09-03
217252

218253
### Changed
254+
219255
- Fixed 'dustpress/router' filter for WordPress preview functionality.
220256
- Removed unnecessary `$id` parameter from `get_post_meta()`.
221257
- Changed functions `get_post()` and `get_acf_post()` to use global post if desired post id same as global post.
222258

223259
## [1.16.1] - 2018-06-20
224260

225261
### Added
262+
226263
- Added a parameter to enable last update's changes as otherwise they would break backwards-compability.
227264

228265
## [1.16.0] - 2018-06-14
229266

230267
### Added
268+
231269
- Some optimizations for DustPress ajax calls to make them faster and less error-prone.
232270

233271
## [1.15.3] - 2018-06-03
234272

235273
### Fixed
274+
236275
- Core files do not override theme files anymore.
237276

238277
## [1.15.2] - 2018-05-30
239278

240279
### Fixed
280+
241281
- A bug where core partials where unusable in some cases.
242282

243283
## [1.15.1] - 2018-05-25
244284

245285
### Fixed
286+
246287
- A bug which prevented partials in theme from overriding core partials.
247288

248289
## [1.15.0] - 2018-05-09
249290

250291
### Added
292+
251293
- A possibility to give Comparison helpers `type` parameter to use it with booleans as is the case with the original Dust.js.
252294

253295
## [1.14.1] - 2018-04-13
254296

255297
### Fixed
298+
256299
- A bug where PHP warnings would occur when trying to call custom AJAX route that does not exist. Enhanced error messages as well.
257300

258301
## [1.14.0] - 2018-03-21
259302

260303
### Changed
304+
261305
- Template file locations are now searched only once and stored in cache to improve performance.
262306

263307
## [1.13.1] - 2018-03-19
264308

265309
### Changed
310+
266311
- Moved add_rewrite_tag calls to init hook.
267312

268313
## [1.13.0] - 2018-03-15
269314

270315
### Added
316+
271317
- Ability to register custom routes.
272318
- The Pagination helper now adds its data into the debugger.
273319

@@ -278,62 +324,75 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
278324
## [1.12.0] - 2018-01-29
279325

280326
### Added
327+
281328
- Menu location to the menu helper data.
282329
- Filters for menu object and menu items by the menu location.
283330

284331
## [1.11.0] - 2018-01-26
285332

286333
### Added
334+
287335
- Documentation for Model class.
288336
- A `set_args()` method for Model to make it possible to set arguments for an already instantiated model dynamically.
289337

290338
### Fixed
339+
291340
- A bug where renaming a model to a name it already had would throw an error.
292341
- A bug where sending an array as a JSON POST payload to a DustPress site would cause an error.
293342

294343
## [1.10.0] - 2017-12-21
295344

296345
### Added
346+
297347
- 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.
298348

299349
### Changed
350+
300351
- 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.
301352

302353
## [1.9.0] - 2017-12-18
303354

304355
### Changed
356+
305357
- The `Pagination` helper allows changing the amount of pages displayed with the new `neighbours` parameter.
306358
- Corrected documentation for `Query` classes recursive post querying functionality.
307359

308360
## [1.8.1] - 2017-11-20
309361

310362
### Changed
363+
311364
- Fixed a Notice from `is_cacheable_function` method when `$ttl` is not set in some model
312365

313366
## [1.8.0] - 2017-11-17
314367

315368
### Changed
369+
316370
- Changed the default functionality for the render cacheing to be true
317371

318372
## [1.7.1] - 2017-11-03
319373

320374
### Changed
375+
321376
- Fixed not properly recognizing tidy & render arguments on older DustPress.js calls
322377

323378
## [1.7.0] - 2017-11-03
324379

325380
### Added
381+
326382
- Model and partial containing the basic functionality of the default wp-activate.php file.
327383

328384
### Changed
385+
329386
- Modifiied core so that when wp-activate.php is loaded the execution is stopped and DustPress creates its own instance.
330387

331388
## [1.6.11] - 2017-10-30
332389

333390
### Changed
391+
334392
- Optimized file loading routines to reduce loading times
335393

336394
## [1.6.10] - 2017-10-20
337395

338396
### Added
397+
339398
- Support for new DustPress.js version

0 commit comments

Comments
 (0)