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