| 1 |
# Framework Changelog |
| 2 |
|
| 3 |
### 10.1.52 |
| 4 |
|
| 5 |
*Release date - 30 January 2024* |
| 6 |
|
| 7 |
##### CHANGE |
| 8 |
|
| 9 |
* The `JModuleHelper::getModule()` method is now able to extract the settings also from a Gutenberg block. |
| 10 |
|
| 11 |
--- |
| 12 |
|
| 13 |
### 10.1.51 |
| 14 |
|
| 15 |
*Release date - 23 January 2024* |
| 16 |
|
| 17 |
##### ADD |
| 18 |
|
| 19 |
* Implemented `JWidget::registerBlockType()` to convert a widget into a native Gutenberg block. |
| 20 |
* Implemented `JFormFieldGroupedlist` class. |
| 21 |
* Added support to `JDocument::attachToHeadCustomCallback` property to override the handler used to register the assets. |
| 22 |
* The system is now able to autoload the native form fields. |
| 23 |
|
| 24 |
##### CHANGE |
| 25 |
|
| 26 |
* The `JFormFieldMenuItem` form field now internally caches the shortcodes to prevent duplicate queries. |
| 27 |
* The `JModel::getInstance()` method is now able to resolve conflicts among different files that share the same name. |
| 28 |
|
| 29 |
--- |
| 30 |
|
| 31 |
### 10.1.50 |
| 32 |
|
| 33 |
*Release date - 21 December 2023* |
| 34 |
|
| 35 |
##### ADD |
| 36 |
|
| 37 |
* Implemented `JUri::setScheme()` method. |
| 38 |
|
| 39 |
--- |
| 40 |
|
| 41 |
### 10.1.49 |
| 42 |
|
| 43 |
*Release date - 3 November 2023* |
| 44 |
|
| 45 |
##### CHANGE |
| 46 |
|
| 47 |
* Improved the routing system to always remove the **lang** attribute from the query string. |
| 48 |
|
| 49 |
--- |
| 50 |
|
| 51 |
### 10.1.48 |
| 52 |
|
| 53 |
*Release date - 11 October 2023* |
| 54 |
|
| 55 |
##### ADD |
| 56 |
|
| 57 |
* Implemented `JToolbarHelper::link()` method. |
| 58 |
* Implemented `JPagination::getLimitBox()` method. |
| 59 |
* Implemented `JDocument::addHeadLink()` method. |
| 60 |
|
| 61 |
##### CHANGE |
| 62 |
|
| 63 |
* The `JPath::clean()` method now throws an `InvalidArgumentException` in case the provided path is invalid. |
| 64 |
* The `JHtmlBehavior::component()` method now excludes the colorpicker from being removed. |
| 65 |
* It is now possible to create overrides for WordPress-only views. |
| 66 |
|
| 67 |
##### BUG FIXES |
| 68 |
|
| 69 |
* The `JEditor::display()` method is now compatible with the interface used on Joomla (asset and author arguments). |
| 70 |
* The **CodeMirror** editor is now able to properly use the `javascript` syntax. |
| 71 |
|
| 72 |
--- |
| 73 |
|
| 74 |
### 10.1.47 |
| 75 |
|
| 76 |
*Release date - 4 September 2023* |
| 77 |
|
| 78 |
##### CHANGE |
| 79 |
|
| 80 |
* It is now possible to manipulate the `PHPMailer` properties through the setter magic method declared by `JMail`. |
| 81 |
|
| 82 |
--- |
| 83 |
|
| 84 |
### 10.1.46 |
| 85 |
|
| 86 |
*Release date - 26 July 2023* |
| 87 |
|
| 88 |
##### ADD |
| 89 |
|
| 90 |
* Added support for direct charge in payment framework. |
| 91 |
|
| 92 |
##### CHANGE |
| 93 |
|
| 94 |
* `JLanguage::attachHandler()` now accepts either file paths and `JLanguageHandler` instances. |
| 95 |
|
| 96 |
--- |
| 97 |
|
| 98 |
### 10.1.45 |
| 99 |
|
| 100 |
*Release date - 22 May 2023* |
| 101 |
|
| 102 |
##### BUG FIXES |
| 103 |
|
| 104 |
* Fixed notices and warnings with PHP 8.2. |
| 105 |
|
| 106 |
--- |
| 107 |
|
| 108 |
### 10.1.44 |
| 109 |
|
| 110 |
*Release date - 4 April 2023* |
| 111 |
|
| 112 |
##### CHANGE |
| 113 |
|
| 114 |
* The `JPagination` class constructor now accepts a prefix to differentiate different navigations within the same page. |
| 115 |
|
| 116 |
--- |
| 117 |
|
| 118 |
### 10.1.43 |
| 119 |
|
| 120 |
*Release date - 23 February 2023* |
| 121 |
|
| 122 |
##### CHANGE |
| 123 |
|
| 124 |
* The URL doesn't contain the locale key anymore in case the matching shortcode has been assigned to the same language. |
| 125 |
* The `JSessionHandler::isStarted()` method now checks whether the session status is currently active. |
| 126 |
|
| 127 |
--- |
| 128 |
|
| 129 |
### 10.1.42 |
| 130 |
|
| 131 |
*Release date - 30 January 2023* |
| 132 |
|
| 133 |
##### BUG FIXES |
| 134 |
|
| 135 |
* Fixed a few PHP warnings that could occur in PHP 8 or higher. |
| 136 |
|
| 137 |
--- |
| 138 |
|
| 139 |
### 10.1.41 |
| 140 |
|
| 141 |
*Release date - 15 November 2022* |
| 142 |
|
| 143 |
##### ADD |
| 144 |
|
| 145 |
* Implemented `JLoader::registerNamespace()` method to support PSR loading. |
| 146 |
* Introduced a new auto-loader to support namespaces. |
| 147 |
|
| 148 |
##### CHANGE |
| 149 |
|
| 150 |
* Moved framework auto-loader anonymous function into `JLoader::setup()` method. |
| 151 |
* Enhanced table fields caching system. |
| 152 |
|
| 153 |
##### BUG FIXES |
| 154 |
|
| 155 |
* `JController::display()` now configures the layout with the apposite setter instead of passing it to `JView::display()`. |
| 156 |
* Fixed an issue in `JView::loadTemplate()` that was not able to properly load a sub-template belonging to a specific file. |
| 157 |
|
| 158 |
--- |
| 159 |
|
| 160 |
### 10.1.40 |
| 161 |
|
| 162 |
*Release date - 11 July 2022* |
| 163 |
|
| 164 |
##### BUG FIXES |
| 165 |
|
| 166 |
* The application header functions now properly treat the HTTP status code. |
| 167 |
* The `JHtmlFormbehavior::chosen` method does not use select2 anymore. |
| 168 |
|
| 169 |
--- |
| 170 |
|
| 171 |
### 10.1.39 |
| 172 |
|
| 173 |
*Release date - 26 May 2022* |
| 174 |
|
| 175 |
##### ADD |
| 176 |
|
| 177 |
* Implemented `JApplication::setClient()` method. |
| 178 |
* Implemented `JUser::getAuthorisedViewLevels()` method. |
| 179 |
* Introduced HTTP lookback detection to auto-terminate the PHP session. |
| 180 |
|
| 181 |
--- |
| 182 |
|
| 183 |
### 10.1.38 |
| 184 |
|
| 185 |
*Release date - 24 February 2022* |
| 186 |
|
| 187 |
##### CHANGE |
| 188 |
|
| 189 |
* The **lang** attribute is always removed from the query string while routing a link. |
| 190 |
* It is now possible to specify the dependencies while registering a new style/script. |
| 191 |
|
| 192 |
##### BUG FIXES |
| 193 |
|
| 194 |
* Fixed comparison issue between the user locale and the language assigned to a shortcode. |
| 195 |
* Removed string filter from `JUri::current()`, since WP might sanitize encoded characters. |
| 196 |
* Fixed errors while editing existing widgets in WordPress 5.9 or higher. |
| 197 |
|
| 198 |
--- |
| 199 |
|
| 200 |
### 10.1.37 |
| 201 |
|
| 202 |
*Release date - 10 December 2021* |
| 203 |
|
| 204 |
##### ADD |
| 205 |
|
| 206 |
* Implemented `JDatabase::getPrefix()` method. |
| 207 |
* Implemented `JDatabase::loadRow()` method. |
| 208 |
* Implemented `JDatabase::getTableList()` method. |
| 209 |
* Implemented `JDatabase::getTableCreate()` method. |
| 210 |
|
| 211 |
##### CHANGE |
| 212 |
|
| 213 |
* Calling an undefined method of `JDatabase` now throws an exception. |
| 214 |
* Editor improvements. |
| 215 |
|
| 216 |
--- |
| 217 |
|
| 218 |
### 10.1.36 |
| 219 |
|
| 220 |
*Release date - 08 November 2021* |
| 221 |
|
| 222 |
##### ADD |
| 223 |
|
| 224 |
* Added support for `getSelection` and `replaceSelection` callbacks to TinyMCE editor. |
| 225 |
* Added support for `getSelection` and `replaceSelection` callbacks to CodeMirror editor. |
| 226 |
* Added support for `getSelection` and `replaceSelection` callbacks to None editor. |
| 227 |
* Implemented `JFormFieldList::getOptions()` method for a better inheritance. |
| 228 |
* Implemented `JToolbar::removeButton()` method to detach any registered button at runtime. |
| 229 |
|
| 230 |
##### CHANGE |
| 231 |
|
| 232 |
* Changed the arguments received by the constructor of `JController`. |
| 233 |
* The toolbar buttons now include the selected type within the `class` attribute. |
| 234 |
|
| 235 |
--- |
| 236 |
|
| 237 |
### 10.1.35 |
| 238 |
|
| 239 |
*Release date - 19 October 2021* |
| 240 |
|
| 241 |
##### ADD |
| 242 |
|
| 243 |
* Implemented `JTable::load()` method. |
| 244 |
* Implemented `JTable::getKeyName()` method. |
| 245 |
* Implemented `JModel::addTablePath()` method. |
| 246 |
* Implemented `JModel::getTable()` method. |
| 247 |
* Implemented `JModel::getName()` method. |
| 248 |
* Implemented `JDate::toISO8601()` method. |
| 249 |
* Implemented `JUri::setHost()` method. |
| 250 |
* Implemented `JRegistry::toArray()` method. |
| 251 |
* The `JRegistry` class now implements the `ArrayAccess` interface. |
| 252 |
* Implemented `JUser::getTimezone()` method. |
| 253 |
* Implemented an autoloader to include resources at runtime. |
| 254 |
* Added support for "log_path" and "tmp_path" settings in `JConfig`. |
| 255 |
|
| 256 |
##### CHANGE |
| 257 |
|
| 258 |
* Improved the MVC pattern for a better reusability. |
| 259 |
* The `JText::plural()` method now uses a plural definition only if exists. |
| 260 |
* The `JEditor::display()` and `JEditor::render()` methods now accept an additional argument with custom parameters. |
| 261 |
* The "None" editor now supports "readonly" and "disabled" parameters. |
| 262 |
* The "CodeMirror" editor now supports "readonly" and "syntax" parameters. |
| 263 |
* The `JHtml::calendar()` method now adjusts the times to the local offset when a `JDate` instance is given as value. |
| 264 |
* The `JHtml::date()` method now auto-translates the supplied format in case it is equals to an existing key. |
| 265 |
* The `JRegistry` class declaration has been moved into a separate file from `JObject`. |
| 266 |
* Re-added support for scripts on WP 5.8 widgets block editor. |
| 267 |
* Forces a string cast into `JDatabase::quote()`, because `esc_sql()` was not able to escape objects with `__toString()` magic method. |
| 268 |
* Displayed backtrace when the controller catches an exception (only with WP_DEBUG on). |
| 269 |
* `JPaymentDispatcher::getSupportedDrivers()` now returns a list of names in place of full paths. |
| 270 |
* Removed `JModel::getTableName()` method. |
| 271 |
* Removed `JModel::getPrimaryKey()` method. |
| 272 |
|
| 273 |
##### BUG FIXES |
| 274 |
|
| 275 |
* Fixed return value of `JLanguage::hasKey()` method. |
| 276 |
* The methods of `JFile` and `JFolder` now properly clean the paths. |
| 277 |
|
| 278 |
--- |
| 279 |
|
| 280 |
### 10.1.34 |
| 281 |
|
| 282 |
*Release date - 21 July 2021* |
| 283 |
|
| 284 |
##### BUG FIXES |
| 285 |
|
| 286 |
* Fixed an issue that was displaying an empty menu item select under the widgets management. |
| 287 |
|
| 288 |
--- |
| 289 |
|
| 290 |
### 10.1.33 |
| 291 |
|
| 292 |
*Release date - 11 June 2021* |
| 293 |
|
| 294 |
##### ADD |
| 295 |
|
| 296 |
* Added list limit fallback when used in the front-end. |
| 297 |
* Implemented methods for headers handling. |
| 298 |
* Implemented `JSession::getFormTokenAction()` method. |
| 299 |
* Implemented `JComponentHelper::filterText()` method. |
| 300 |
|
| 301 |
##### CHANGE |
| 302 |
|
| 303 |
* The methods used to escape string attributes now use the built-in esc_attr() WP function. |
| 304 |
* `JInputFilter` is now able to sanitize the strings by stripping the unsafe HTML tag/attributes. |
| 305 |
* Refactored CSRF-proof token handling methods. |
| 306 |
* Removed `JSession::getToken()` method. |
| 307 |
* `Joomla` JS object is now initialized within the system.js file. |
| 308 |
|
| 309 |
##### BUG FIXES |
| 310 |
|
| 311 |
* Fixed application client detection on WP multi-site instances. |
| 312 |
* Fixed session fatal error raised by `JHtmlForm::token()`. |
| 313 |
* Fixed escaping issue in `JDocument::setMetaData()`. |
| 314 |
* Fixed translation issues that could occur with Polylang. |
| 315 |
|
| 316 |
--- |
| 317 |
|
| 318 |
### 10.1.32 |
| 319 |
|
| 320 |
*Release date - 27 January 2021* |
| 321 |
|
| 322 |
##### ADD |
| 323 |
|
| 324 |
* Added support for payment refunds. |
| 325 |
* Added support for `introtext` and `fulltext` on `JTableContent`. |
| 326 |
|
| 327 |
##### CHANGE |
| 328 |
|
| 329 |
* Implemented direct hooks within `JPayment` class. |
| 330 |
* Hooks triggered with the event dispatcher are now refactored for WP standards. |
| 331 |
* Added fallback to default.php layout in case the selected override of a widget doesn't exist anymore. |
| 332 |
|
| 333 |
--- |
| 334 |
|
| 335 |
### 10.1.31 |
| 336 |
|
| 337 |
*Release date - 02 December 2020* |
| 338 |
|
| 339 |
##### ADD |
| 340 |
|
| 341 |
* Implemented `JForm::getFormControl()` and `JForm::setFormControl()` methods. |
| 342 |
* Implemented `JFormField::setForm()` method. |
| 343 |
* Implemented `JFormField::getName()` and `JFormField::getId()` methods. |
| 344 |
* The `before_display` hook now passes the instance of the view (by reference). |
| 345 |
* The `after_display` hook now passes the instance of the view as argument. |
| 346 |
* Implemented `JApplication::setClient()` method. |
| 347 |
* Load jQuery setting is no more visible on widgets configuration. |
| 348 |
* Added support for RSS framework. |
| 349 |
* Added support for dashboard widgets management. |
| 350 |
|
| 351 |
##### CHANGE |
| 352 |
|
| 353 |
* It is now possible to use control groups to wrap the form inputs. |
| 354 |
* The system is now able to use the user locale. |
| 355 |
|
| 356 |
##### FIX |
| 357 |
|
| 358 |
* HTTP requests now properly take the specified timeout. |
| 359 |
* Form fields are now able to use the given client while rendering the layout. |
| 360 |
* Added support for multi-site networks. |
| 361 |
* Fixed issue with `JHtml::loadFile()`, which might not load the correct path in case of conflicts. |
| 362 |
|
| 363 |
--- |
| 364 |
|
| 365 |
### 10.1.30 |
| 366 |
|
| 367 |
*Release date - 03 November 2020* |
| 368 |
|
| 369 |
##### ADD |
| 370 |
|
| 371 |
* Implemented `JPayment::getOrder()` and `JPayment::getParams()` methods. |
| 372 |
* Implemented `JController` redirect methods. |
| 373 |
* Implemented `JController::registerTask()` method. |
| 374 |
* Implemented `JTable` management methods. |
| 375 |
* `JTable` now extends `JObject` to support the errors management. |
| 376 |
* Implemented `JDatabaseQuery::selectRowNumber()` method. |
| 377 |
* Created `JHtmlContentLanguage` class. |
| 378 |
* Implemented `JeventDispatcher::register()` method. |
| 379 |
* Added `isset` magic method to `JUser` class. |
| 380 |
* Implemented SMS framework. |
| 381 |
* Created `JHelperUsergroups` class. |
| 382 |
* Implemented `JModuleHelper::getModule()` method. |
| 383 |
* Added support for `$module` object while displaying a widget. |
| 384 |
* Implemented `VikRequest::setCookie()` method. |
| 385 |
|
| 386 |
##### CHANGE |
| 387 |
|
| 388 |
* `JHtmlFormbehavior::chosen` do not use anymore select2 for dropdowns rendering. |
| 389 |
* `JConfig` is now able to recover the list_limit also in case of AJAX requests. |
| 390 |
* `JInputCookie::set()` now supports an array of options. |
| 391 |
* `JDate` doesn't force the timezone anymore. [REVERTED] |
| 392 |
|
| 393 |
##### FIX |
| 394 |
|
| 395 |
* `JHtml::script()` is now able to load different scripts with the same base name. |
| 396 |
* `JHtml::stylesheet()` is now able to load different files with the same base name. |
| 397 |
* Fixed wrong class on `JHtml::date()`. |
| 398 |
* Fixed ID notation for toolbar buttons. |
| 399 |
* Fixed `JHtmlFormBehavior::choosen()` script declaration in case of select with no options. |
| 400 |
* `JHtmlBootstrap::tooltip()` now appends by default the tooltip at the end of the body. |
| 401 |
* `JDate` now uses the correct localized names of months. |
| 402 |
* The input now contains a clean task without the controller after the execution. |
| 403 |
* Fixed JS plugins usage after saving a widget. |
| 404 |
|
| 405 |
--- |
| 406 |
|
| 407 |
### 10.1.29 |
| 408 |
|
| 409 |
*Release date - 15 September 2020* |
| 410 |
|
| 411 |
##### ADD |
| 412 |
|
| 413 |
* Implemented further request methods on `JHttp` class. |
| 414 |
* Implemented `JHtml::addIncludePath()` method. |
| 415 |
* Added support for `JEvent` abstract class. |
| 416 |
* `JEventDispatcher::attach()` method is now able to register the methods of a class as hooks. |
| 417 |
|
| 418 |
##### FIX |
| 419 |
|
| 420 |
* Form fieldsets do not report the title in case it shouldn't be displayed. |
| 421 |
* Fixed missing default value when rendering a form. |
| 422 |
* The system now automatically generates an ID in case `JFormField` doesn't specify it. |
| 423 |
* Added support for text domains that might include hyphens. |
| 424 |
* Fixed headers when sending an HTTP request through `JHttp`. |
| 425 |
* Scripts declarations are now properly loaded on AJAX requests. |
| 426 |
* Fixed URL encoding while creating the query string. |
| 427 |
|
| 428 |
--- |
| 429 |
|
| 430 |
### 10.1.28 |
| 431 |
|
| 432 |
*Release date - 14 May 2020* |
| 433 |
|
| 434 |
##### ADD |
| 435 |
|
| 436 |
* Implemented `JDate::monthToString()` method. |
| 437 |
* Implemented `JLanguage::getFirstDay()` method. |
| 438 |
* Implemented `JLanguage::isRtl()` method. |
| 439 |
* Added support for `vik_widget_before_dispatch_site` action. |
| 440 |
* Added support for `vik_widget_after_dispatch_site` action. |
| 441 |
* Added support for `vik_plugin_load_language` filter. |
| 442 |
|
| 443 |
##### FIX |
| 444 |
|
| 445 |
* TinyMCE editor is now able to set/get contents even if not active. |
| 446 |
* Popovers always use "body" as container. |
| 447 |
* Widgets overrides are now supported also for **Windows** platforms. |
| 448 |
* `JDate::format()` is now able to translate days and months. |
| 449 |
|
| 450 |
--- |
| 451 |
|
| 452 |
### 10.1.27 |
| 453 |
|
| 454 |
*Release date - 20 November 2019* |
| 455 |
|
| 456 |
##### ADD |
| 457 |
|
| 458 |
* Implemented `JForm::bind()` method. |
| 459 |
* Added support for options and attributes in `JHtml::stylesheet()`. |
| 460 |
|
| 461 |
##### FIX |
| 462 |
|
| 463 |
* `JRoute` now supports also query string parameters of type `array`. |
| 464 |
* Fixed an issue that prevented to display HTML tags within popovers. |
| 465 |
* View overrides are now supported also for **Windows** platforms. |
| 466 |
* `JObject::get()`Â now returns the default value also for NULL properties. |
| 467 |
* `JInputFilter::clean()` now properly unslashes escaped values from arrays. |
| 468 |
|
| 469 |
--- |
| 470 |
|
| 471 |
### 10.1.26 |
| 472 |
|
| 473 |
*Release date - 25 October 2019* |
| 474 |
|
| 475 |
##### CHANGE |
| 476 |
|
| 477 |
* `JVersion::getShortVersion()` now tries to extract a short version from any nightlies |
| 478 |
* Added support for **joomla.version** classmap within `jimport` |
| 479 |
|
| 480 |
--- |
| 481 |
|
| 482 |
### 10.1.25 |
| 483 |
|
| 484 |
*Release date - 19 September 2019* |
| 485 |
|
| 486 |
##### ADD |
| 487 |
|
| 488 |
* Added support for `vik_before_include_script` filter |
| 489 |
* Added support for `vik_before_include_style` filter |
| 490 |
|
| 491 |
--- |
| 492 |
|
| 493 |
### 10.1.24 |
| 494 |
|
| 495 |
*Release date - 11 July 2019* |
| 496 |
|
| 497 |
##### ADD |
| 498 |
|
| 499 |
* Implemented `JInput::delete()` method |
| 500 |
* Added support for `allowUserRegistration` users setting |
| 501 |
* Created `JModelLegacy` alias |
| 502 |
* Implemented `JModel::addIncludePath()` method to search models on several directories |
| 503 |
* Added support for native `UsersModelRegistration` class/model |
| 504 |
* Added support for `groups` property in `JUser` class |
| 505 |
|
| 506 |
##### CHANGE |
| 507 |
|
| 508 |
* Changed the overrides path for the layout files of the plugins |
| 509 |
* `JLanguage` is now able to auto-detect the standard languages folder |
| 510 |
* All the superglobals are now passed by reference while instantiating `JInput` |
| 511 |
|
| 512 |
--- |
| 513 |
|
| 514 |
### 10.1.23 |
| 515 |
|
| 516 |
*Release date - 21 June 2019* |
| 517 |
|
| 518 |
##### ADD |
| 519 |
|
| 520 |
* Created `JFilterInput` alias |
| 521 |
* Added support for internal list limit (screen options) |
| 522 |
* Created `JHttp` class and response adapter |
| 523 |
* Implemented `JFile::exists()` method |
| 524 |
|
| 525 |
##### FIX |
| 526 |
|
| 527 |
* Fixed `JDatabaseQuery::clear()` method, which was emptying all in case of unsupported statements |
| 528 |
* Fixed `JDocument::setTitle()` method to use the correct WP hook |
| 529 |
* Fixed `JEventDispatcher` class to support return values and referenced arguments (apply_filters_ref_array) |
| 530 |
|
| 531 |
--- |
| 532 |
|
| 533 |
### 10.1.22 |
| 534 |
|
| 535 |
*Release date - 10 June 2019* |
| 536 |
|
| 537 |
##### ADD |
| 538 |
|
| 539 |
* Added support for jQuery in `<head>` every time a widget is instantiated |
| 540 |
|
| 541 |
##### CHANGE |
| 542 |
|
| 543 |
* `JHtmlBehavior::component()` now excludes styles and links from being removed |
| 544 |
|
| 545 |
##### FIX |
| 546 |
|
| 547 |
* Fixed the way the scripts are loaded after adding a new widget |
| 548 |
* `JHtml::calendar()` is now able to fetch timestamps with `string` type |
| 549 |
|
| 550 |
--- |
| 551 |
|
| 552 |
### 10.1.21 |
| 553 |
|
| 554 |
*Release date - 07 June 2019* |
| 555 |
|
| 556 |
##### ADD |
| 557 |
|
| 558 |
* Added support for `vik_date_default_timezone` filter |
| 559 |
* `JController` displays a minified error in case of AJAX requests (exceptions component handling) |
| 560 |
* `JSession::start()` adds a filter to close the session every time wp_remote_post() is called (Site Health issue) |
| 561 |
* Added support for **spacer** form field |
| 562 |
|
| 563 |
##### CHANGE |
| 564 |
|
| 565 |
* `JPagination` is now able to use a default layout in case it was not forced |
| 566 |
* `JHtml::script()` now supports jQuery UI Slider addon |
| 567 |
* Menu Item field now recovers the shortcode prefix from `modowner` property |
| 568 |
* Widget language handlers can be placed also within "languages" folder |
| 569 |
* Widgets now support module class suffix parameter |
| 570 |
* Widgets now support a default **title** field |
| 571 |
* Widgets now support Joomla JS instance |
| 572 |
* Widgets now strip HTML tags from the description |
| 573 |
* The `JWidget::useScript()` method now loads select2 JS plugin |
| 574 |
|
| 575 |
##### FIX |
| 576 |
|
| 577 |
* Fixed **languages** configuration settings, which were returning an empty string for default locale |
| 578 |
|
| 579 |
--- |
| 580 |
|
| 581 |
### 10.1.20 |
| 582 |
|
| 583 |
*Release date - 29 May 2019* |
| 584 |
|
| 585 |
##### ADD |
| 586 |
|
| 587 |
* Added `JCryptCipherCrypto` and `JCryptKey` classes |
| 588 |
* Added some `JDocument` methods to access HTML properties (dir, charset and lang) |
| 589 |
* Implemented `JView::escape()` method |
| 590 |
* Editors now support a custom id |
| 591 |
|
| 592 |
##### CHANGE |
| 593 |
|
| 594 |
* Completed `JPathwaySite` implementation |
| 595 |
* Changed control "id" attribute into "idfield" (@see `JForm`) |
| 596 |
* `JHtml::script()` is now able to include tooltip add-on |
| 597 |
|
| 598 |
##### FIX |
| 599 |
|
| 600 |
* Fixed usage of layouts, which are now compatible with widgets |
| 601 |
* Fixed `JForm` to start supporting custom options |
| 602 |
|
| 603 |
--- |
| 604 |
|
| 605 |
### 10.1.19 |
| 606 |
|
| 607 |
*Release date - 27 May 2019* |
| 608 |
|
| 609 |
##### ADD |
| 610 |
|
| 611 |
* Added `JHtmlDate` helper class for relative dates |
| 612 |
* Implemented `JDate::__toString()` magic method |
| 613 |
* Implemented `JText::plural()` method for string pluralizations |
| 614 |
* Added support for behavior.modal helper |
| 615 |
* Bootstrap modals can be closed using ESC button (only if specified) |
| 616 |
* Implemented `JMenu` class and its child for site client |
| 617 |
* Implemented `JApplication::getMenu()` method |
| 618 |
* `JView` now owns the document property |
| 619 |
* Added `JTable` class and default children classes |
| 620 |
* Implemented `JDatabase::getTableColumns()` method |
| 621 |
* Added `JPathway` class and its child for site client |
| 622 |
* Implemented `JApplication::getPathway()` method |
| 623 |
* Added `JRouter` class and some native classes |
| 624 |
* Implemented `JApplication::getRouter()` method |
| 625 |
|
| 626 |
##### CHANGE |
| 627 |
|
| 628 |
* `JHtml::script()` now includes dialog add-on when jQuery UI is called |
| 629 |
|
| 630 |
##### FIX |
| 631 |
|
| 632 |
* Fixed the way `JHtml::script()` generates ID, if not provided |
| 633 |
* Fixed `JRoute` to start supporting external routers |
| 634 |
* Fixed `JHtmlBehavior::component()` method to exclude `script` tags |
| 635 |
|
| 636 |
--- |
| 637 |
|
| 638 |
### 10.1.18 |
| 639 |
|
| 640 |
*Release date - 23 May 2019* |
| 641 |
|
| 642 |
##### ADD |
| 643 |
|
| 644 |
* Implemented `JFormFieldMedia` |
| 645 |
* Added `JRegistry` proxy |
| 646 |
* Added `JPath::find()` method |
| 647 |
|
| 648 |
##### CHANGE |
| 649 |
|
| 650 |
* Changed usage of layouts |
| 651 |
|
| 652 |
##### FIX |
| 653 |
|
| 654 |
* Fixed default style generated by `JHtmlBehavior::renderModal()` |
| 655 |
* Fixed `JView` to consider custom layouts properly |
| 656 |
|
| 657 |
--- |
| 658 |
|
| 659 |
### 10.1.17 |
| 660 |
|
| 661 |
*Release date - 21 May 2019* |
| 662 |
|
| 663 |
##### ADD |
| 664 |
|
| 665 |
* Implemented `JHtmlNumber` class |
| 666 |
* Added `JLayoutFile::escape()` method |
| 667 |
* System editors are now accessible via javascript |
| 668 |
|
| 669 |
##### CHANGE |
| 670 |
|
| 671 |
* `JHtml::script()` now supports options and attributes |
| 672 |
* `JDocument::addScriptDeclaration()` doesn't check anymore if the script has been already used |
| 673 |
|
| 674 |
##### FIX |
| 675 |
|
| 676 |
* Fixed `JHtml::script()` dependencies detection |
| 677 |
* Fixed TinyMCE bug while accessing it via AJAX more than once |
| 678 |
|
| 679 |
--- |
| 680 |
|
| 681 |
### 10.1.16 |
| 682 |
|
| 683 |
*Release date - 16 May 2019* |
| 684 |
|
| 685 |
##### ADD |
| 686 |
|
| 687 |
* Implemented `JVersion` class |
| 688 |
* Implemented `JHtmlFormbehavior` class |
| 689 |
* Implemented `JHtmlSelect` class |
| 690 |
* Implemented `JHtmlBootstrap` class |
| 691 |
* Implemented `JHtmlUser` class |
| 692 |
* Implemented `JHtmlAccess` class |
| 693 |
* Implemented `ArrayHelper` class |
| 694 |
* Added `JComponentHelper::getComponent()` method |
| 695 |
* Added `JDate::dayToString()` method |
| 696 |
* Added support for 2 new events |
| 697 |
* `JDatabase` now converts `#__users` columns to WordPress standards |
| 698 |
|
| 699 |
##### FIX |
| 700 |
|
| 701 |
* Fixed `JAccess::checkGroup()` method that didn't adjust caps in case of no asset key |
| 702 |
* Fixed `JHtml::calendar()` method to start supporting timestamp and `JDate` arguments |
| 703 |
* Fixed `JForm::load()` method to support [addincludepath] attributes based on Joomla paths |
| 704 |
* Fixed `JMail::addRecipient()` notice |
| 705 |
* Fixed usage of `JInputFiles` and `VikRequest` classes |
| 706 |
|
| 707 |
--- |
| 708 |
|
| 709 |
### 10.1.15 |
| 710 |
|
| 711 |
*Release date - 07 May 2019* |
| 712 |
|
| 713 |
##### ADD |
| 714 |
|
| 715 |
* Added `JApplication::getUserState()` method |
| 716 |
* Added `JApplication::setUserState()` method |
| 717 |
* Added `JView::getName()` method |
| 718 |
|
| 719 |
##### FIX |
| 720 |
|
| 721 |
* Fixed how `JDatabase` handles the query limits |
| 722 |
|
| 723 |
--- |
| 724 |
|
| 725 |
### 10.1.14 |
| 726 |
|
| 727 |
*Release date - 30 April 2019* |
| 728 |
|
| 729 |
* Added support for javascript `JText` class |
| 730 |
|
| 731 |
--- |
| 732 |
|
| 733 |
### 10.1.13 |
| 734 |
|
| 735 |
*Release date - 18 April 2019* |
| 736 |
|
| 737 |
* Added filters to show/hide/suppress database errors |
| 738 |
|
| 739 |
--- |
| 740 |
|
| 741 |
### 10.1.12 |
| 742 |
|
| 743 |
*Release date - 08 March 2019* |
| 744 |
|
| 745 |
* Fixed `JText::sprintf()` that was always considering strings for JS purposes |
| 746 |
|
| 747 |
--- |
| 748 |
|
| 749 |
### 10.1.11 |
| 750 |
|
| 751 |
*Release date - 19 February 2019* |
| 752 |
|
| 753 |
* Added support for `JEventDispatcher` class |
| 754 |
|
| 755 |
--- |
| 756 |
|
| 757 |
### 10.1.10 |
| 758 |
|
| 759 |
*Release date - 14 February 2019* |
| 760 |
|
| 761 |
* Fixed `JFactory::getMailer()` method |
| 762 |
|
| 763 |
--- |
| 764 |
|
| 765 |
### 10.1.9 |
| 766 |
|
| 767 |
*Release date - 31 January 2019* |
| 768 |
|
| 769 |
* Implemented language form field |
| 770 |
|
| 771 |
--- |
| 772 |
|
| 773 |
### 10.1.8 |
| 774 |
|
| 775 |
*Release date - 28 January 2019* |
| 776 |
|
| 777 |
##### ADD |
| 778 |
|
| 779 |
* Added support for empty Itemid |
| 780 |
|
| 781 |
##### FIX |
| 782 |
|
| 783 |
* Fixed router in case of no shortcodes found |
| 784 |
|
| 785 |
--- |
| 786 |
|
| 787 |
### 10.1.7 |
| 788 |
|
| 789 |
*Release date - 14 January 2019* |
| 790 |
|
| 791 |
* Added getters to `JUri` class |
| 792 |
|
| 793 |
--- |
| 794 |
|
| 795 |
### 10.1.6 |
| 796 |
|
| 797 |
*Release date - 29 November 2018* |
| 798 |
|
| 799 |
##### ADD |
| 800 |
|
| 801 |
* Added `JMail::useSmtp()` method |
| 802 |
* Added setter magic method in `JMail` class |
| 803 |
|
| 804 |
--- |
| 805 |
|
| 806 |
### 10.1.5 |
| 807 |
|
| 808 |
*Release date - 21 November 2018* |
| 809 |
|
| 810 |
##### ADD |
| 811 |
|
| 812 |
* Added `JApplication::logout()` method |
| 813 |
* Added `JDatabase::getNullDate()` method |
| 814 |
|
| 815 |
--- |
| 816 |
|
| 817 |
### 10.1.4 |
| 818 |
|
| 819 |
*Release date - 09 November 2018* |
| 820 |
|
| 821 |
##### ADD |
| 822 |
|
| 823 |
* Created `JConfig` class, used to wrap the system configuration. |
| 824 |
* Implemented `JFactory::getConfig()` method to return a `JConfig` object. |
| 825 |
* Added support for sitename setting. |
| 826 |
|
| 827 |
--- |
| 828 |
|
| 829 |
### 10.1.3 |
| 830 |
|
| 831 |
*Release date - 03 October 2018* |
| 832 |
|
| 833 |
##### ADD |
| 834 |
|
| 835 |
* Implemented `JDate::getDefaultTimezone()` method to keep and get the framework's current timezone. |
| 836 |
|
| 837 |
--- |
| 838 |
|
| 839 |
### 10.1.2 |
| 840 |
|
| 841 |
*Release date - 15 May 2018* |
| 842 |
|
| 843 |
##### ADD |
| 844 |
|
| 845 |
* Implemented `JView::_getTemplateBasePath()` method to allow the customers |
| 846 |
to create their own view overrides to avoid let them being replaced |
| 847 |
by the Wordpress updates. |
| 848 |
The overrides must be built as `[WP_UPLOAD_DIR]/[PLUGIN_NAME]/[admin|site]/[VIEW_NAME]/[LAYOUT_FILE].php` |
| 849 |
|
| 850 |
##### CHANGE |
| 851 |
|
| 852 |
* Changed `JFormFieldModuleLayout::getInput()` method to scan also the overrides directory. |
| 853 |
In this way, the users can select a specific override as layout of the widget. |
| 854 |
The overrides must be built as `[WP_UPLOAD_DIR]/[PLUGIN_NAME]/modules/[MODULE_NAME]/[LAYOUT_FILE].php`. |
| 855 |
|
| 856 |
--- |
| 857 |
|
| 858 |
### 10.1.1 |
| 859 |
|
| 860 |
*Release date - 04 May 2018* |
| 861 |
|
| 862 |
##### ADD |
| 863 |
|
| 864 |
* The method `JPayment::isCaller()` has been |
| 865 |
implemented to make sure the caller is the same. |
| 866 |
* Added a new filter to change the database prefix before it is used. |
| 867 |
|
| 868 |
##### CHANGE |
| 869 |
|
| 870 |
* `do_action()` functions that required multiple arguments |
| 871 |
have been replaced with `do_action_ref_array()`. |
| 872 |
|
| 873 |
##### FIX |
| 874 |
|
| 875 |
* Fixed `JUser::authorise()` method to extend the validation of the capabilities. |
| 876 |
|
| 877 |
--- |
| 878 |
|
| 879 |
### 10.1.0 |
| 880 |
|
| 881 |
*Release date - 27 April 2018* |
| 882 |
|
| 883 |
##### ADD |
| 884 |
|
| 885 |
* Extendable payment gateways framework. |
| 886 |
* A lot of hooks can be used to extend/enhance the payments. |
| 887 |
|
| 888 |
--- |
| 889 |
|
| 890 |
### 10.0.1 |
| 891 |
|
| 892 |
*Release date - 20 April 2018* |
| 893 |
|
| 894 |
##### CHANGE |
| 895 |
|
| 896 |
* It is no more needed to load the language file (.mo) of the widget |
| 897 |
as all the translations are contained within the main language file. |
| 898 |
|
| 899 |
--- |
| 900 |
|
| 901 |
### 10.0.0 |
| 902 |
|
| 903 |
*Release date - 08 April 2018* |
| 904 |
|
| 905 |
* Initial framework release |
| 906 |
|