Releases: Mistralys/application-framework
Releases · Mistralys/application-framework
Client-side logging improvements
Included in this release:
- JS: Fixed a data key mismatch in the AJAX error logger for the source page URL.
- JS: Moved the code to handle JS error logging to a dedicated class.
- JS: Improved the logging of JS errors to include the application log (#15).
- JS: Exceptions now include a stack trace.
- JS: The full clientside log is now available for JS errors, including a stack trace.
- Testing: Added a screen in the test application to test the client-side error logging.
- Core: Added utility class
AppDevelAdminURLs
for Devel admin URLs. - Media: Added
getImageFormat()
to images. - Media: Added
supportsThumbnails()
to images. - Media: Thumbnails will no longer be generated for animated GIF images.
- Dependencies: AppUtils updated to get access to ImageHelper enhancements for image formats.
- Dependencies: Updated AppUtils to v3.1.0.
Sections and context buttons
Included in this release:
- UI: Fixed context button size in subsections.
- UI: Added
makeContentIndented()
in sections. - UI: Added size related methods (e.g.
isSmall()
) to buttons. - App Interface: Added/improved some section examples.
Query summary
Included in this release:
- DBHelper: Added the query summary via the request param
query_summary
as a developer.
Query tracking improvements
Included in this release:
- DBHelper:
getQueries()
now returns an array ofTrackedQuery
objects. - DBHelper: The results of
getAll()
are now cached to avoid duplicate queries. - Countries: Now preferring the ISO to identify the invariant country instead of the ID.
- Countries: Fixed
getSupportedISOs()
not correctly handling the invariant country. - DBHelper: Added the primary name parameter to the collection's
setIDTable()
method.
Filter Criteria fix
Included in this release:
- FilterCriteria: Fixed double-encoded query placeholders.
- FilterCriteria: Added some basic tests.
Class loading, AJAX and more (SQL, Breaking-L)
Included in this release:
- Deployments: Added a callback to write the localization files to disk.
- Deployments: Added logging in the deployment process for debugging.
- Revisionables: Improved the record destruction message to use
getIdentification()
. - Database: Temporarily removed the index on the
known_users::email
column (see #61). - AppFactory: Added
findClassesInFolder()
. - AppFactory: Added the static
ClassCacheHandler
to handle dynamic class caching. - AJAX: Added
getMethodName()
to all AJAX methods. - AJAX: Using the AppFactory to load method classes.
- AJAX: Method class names now support namespaces and can be freely named.
- AJAX: Added some tests against the application's own AJAX methods.
- AJAX: Now correctly sending the
returnFormat
flag from clientside. - AJAX: Now correctly recognizing the expected return format.
- UI: Added the jQuery extension
$(*).onClassChange()
to observe element class changes. - UI: Fixed badge dropdown caret position.
- UI: Dropdowns: Added the AJAX loading feature for asynchronous menu loading.
- UI: Dropdowns: Added
renderMenuItems()
to the menu class. - UI: Body padding now dynamically adjusted after the main navigation.
- RequestLog: Now sorting log entries from most recent to oldest.
- Icons: Added the
cache
icon. - CacheControl: Added the
CacheManager
class to handle cache locations. - CacheControl: Added a dedicated screen in the Developer area.
- DataGrids: Removed padding of checkbox labels in cells.
- Admin: Added a base class for the "Devel > Application configuration" screen.
- TestApp: Added the "Application sets" screen.
- TestApp: Added the "Application configuration" screen.
- Quickstart: Added news entries and media files to the quickstart.
- Quickstart: Added
registerNews()
andregisterMedia()
in the user's recent items base class. - Quickstart: Fixed loading entries in all requests (#74).
- Notepad: Fixed broken layout when adding new notes (#57).
- DeploymentRegistry: Added a task to clear the class cache.
- DeploymentRegistry: Improved task loading, converted to a collection.
- DeploymentRegistry: Added some tests.
- Dependencies: Updated docs to v1.0.1.
Upgrade guide
See the upgrade guide for details.
Upgraded Localization library
Included in this release:
- Countries: Updated return types to avoid using deprecated AppLocalization types.
- Dependencies: Updated AppLocalization to v1.5.0.
AppSets fix
Included in this release:
- AppSets: Fixed not properly recognizing areas, now using the Driver's
areaExists()
.
AJAX exception fix
Included in this release:
- AJAX: Fixed a type issue in the AJAX error logger.
Record Setting Properties
Included in this release:
- Record Settings: Added possibility to set runtime properties on record settings.