MDriven v7.0.x - May 2024
Released: Jun 14, 2024
Atualizações na v7.0.x - May 2024
Recursos
- Designer
- Improved Data Download Support: Implemented the OnInitiateUserDownloadOfData function to better support the SysDocBatch pattern, allowing for more efficient data downloads.
- Easier Access to Authentication Tokens: Developers can now easily access GetDecodedAccessAndRefreshTokenOnClient for Graph API support, simplifying authentication workflows.
- Enhanced Expression Handling:
- The score calculation for expressions now differentiates between PSExpression and OCL expressions, providing more accurate results.
- Improved the overall score calculation for Expressions and ViewModels.
- The ExpressionAnalyze function now calculates a score based on MDrivenServer statistics, offering better insights into expression performance.
- The OCL editor tree now displays MDrivenServer statistics per class and associationEnd, along with the cost of all included expressions when analyzing expressions.
- Thumbnail Performance Optimization: ViewModels and Diagrams thumbnails are now rendered using PNG files stored in a dedicated cache directory (_CachedImages). This approach improves performance and memory usage, especially for large models.
- Model Editing Enhancements:
- Implemented error detection for ReadOnly and Visible expressions used within mounted ViewModels. This prevents potential issues arising from differences in the top-level self context.
- The "Find in model" functionality now includes PlacingContainer Visible and Style expressions in its search.
- Action Window Improvements:
- Action windows have been consolidated into a single window with tab functionality, allowing users to easily switch between different actions.
- Action windows now include "Close only this" and "Re-sort" tabs for better organization.
- The header of the action window is now updated upon opening.
- Action Opt-Out Clarification: The user interface for action opt-out has been improved for better clarity. The opt-out button has been removed from view model actions as it is no longer applicable.
- Turnkey
- Enhanced SysDocBatch Support:
- Clarification on the purpose of the SysDocBatch pattern for managing downloads and prints in batch.
- Emphasis on the new selfVM operators:
- SysDocBatchEnsured(ViewModelReferenceType vmref): Ensures a ViewModelReference is downloaded as part of a batch.
- SysDocBatchZip(ViewModelReferenceType vmref): Zips a ViewModelReference for download as part of a batch.
- Other Improvements:
- Graph API User and Group Support: SysGraphAPI has been extended to include functionality for users and groups.
- Toolbar Enhancements:
- Improved toolbar styling.
- Advanced Table Height: Removed the previously introduced height calculation for advanced tables, allowing them to follow placing container rules or row-span min-height rules.
- Framework
- SysDocBatch Support: Introduced a new pattern (SysDocBatch) for managing downloads and prints in batch. This feature includes new selfVM operators:
- SysDocBatchEnsured(ViewModelReferenceType vmref): Ensures a ViewModelReference is downloaded as part of a batch.
- SysDocBatchZip(ViewModelReferenceType vmref): Zips a ViewModelReference for download as part of a batch.
- Improved Data Download: Implemented the OnInitiateUserDownloadOfData function to support the SysDocBatch pattern, enabling more efficient data downloads.
- Graph API Authentication Support: Provided easier access to GetDecodedAccessAndRefreshTokenOnClient for GraphAPISupport, simplifying authentication workflows for developers.
- Enhanced Expression Handling:
- The ColumnFieldConsistencyCheck function now compares database and model field types to identify potential inconsistencies.
- OCL editor tree now displays MDrivenServer statistics per class and associationEnd, along with expression costs.
- WPF Improvements:
- DataGrid Performance Optimization: Enabled Row+ColumnVirtualization for WPF DataGrids to enhance performance, especially for grids with many columns.
- DirtyList Subscription: Improved the subscription on DirtyList to ensure the Save button updates correctly.
- Server
- Enhanced Database Schema Validation:
- Introduced a new function in MDrivenServer/Admin/ColumnFieldConsistencyCheck. This function analyzes and compares database field types with their corresponding model types. This helps identify potential inconsistencies that could lead to "will not evolve" warnings.
- Improved null handling in AdminORMapping to provide a clearer check for null values.
- Admin Database Self-Repair: The self-repair functionality on startup has been improved to better handle issues within the admin database. It can now:
- Detect XML errors within the admin database and suggest potential fixes.
- Automatically fix missing tables in the database, preventing errors during the database evolution process.
Correções
- Designer
- WPF:
- The subscription on DirtyList has been enhanced to ensure the Save button updates correctly in WPF applications.
- A null reference exception related to focusing a combobox and context menus has been fixed.
- Additional Bug Fixes:
- Resolved various other bugs and implemented minor improvements throughout the application.
- Turnkey
- Other:
- Resolved potential deadlock issue: Addressed a potential deadlock scenario related to pruning the _ServerToClientQueue.
- Toolbar:
- Fixed a toolbar issue where only the first ActionGroup was displayed. Now the toolbar shows all action groups, including always-show actions.
- Other:
- Fixed a JavaScript error caused by a missing null check.
- Addressed various toolbar-related issues to improve user experience.
- Resolved a bug with the advancedTable.directive that caused table height changes when adding rows.
- Framework
- WPF:
- Null Reference Fix: Resolved a null reference exception related to focusing a combobox and context menus.
- AngularJS Editing:
- AngularJS edit controls: String formatting for databinding is now handled differently to avoid breaking the databind while preserving number formatting.
- Other:
- Resolved various bugs related to SoapCalls, including encoding headers and decompression.
- Fixed issues with combobox selection, CSSGrid rendering, and error messages.
- Addressed database snapshot functionality in MDrivenServerCore.
- Improved handling of mounted ViewModels and expressions.
- Numerous other bug fixes and improvements throughout the application.
- Server
- Database Snapshot Fix:
- Resolved an issue that prevented DatabaseSnapshot functionality from working correctly in MDrivenServerCore.