MDriven v7.0.x - January 2026

Released: Feb 4, 2026

MDriven v7.0.x - January 2026 中的更新

特性

  • Designer
    • Editor & UI Enhancements:
      • Optimized Variable Window: The "Choose Type" combobox in the Variable window has returned, but with a performance twist: it now appears after the first character is typed. This prevents the sluggishness previously experienced when opening the window while still offering full searchability.
      • Access Group Clarity: The Access Group window now provides a clearer visualization of the default access group, making it easier to manage permissions at a glance.
    • Visual Studio 2026 & .NET 8 Migration:
      • Official VS 2026 Support: Introduced support for Visual Studio 2026. As part of this transition, core assemblies including MDriven.Wecpof.core and WPFViewModelExternalControls.core have been upgraded from .NET 6 to .NET 8-windows.
    • Build Automation & Persistence:
      • Robust Build Automation: The Build Automation engine now runs MSBuild out-of-process. This change avoids assembly load dependency conflicts and allows for much cleaner logging, including the explicit VSIX version in the logs.
      • Data Precision (Decimal to String): Updated XML persistence for Datablocks to use the G29 format when transforming Decimals to strings, ensuring maximum precision during round-trips.
      • Nullable Type Parsing: Improved the logic for converting strings back to values for nullable types. The system now verifies nullability first before parsing the base type, preventing "String to Value" errors.
  • Framework
    • Core Infrastructure & .NET 8 Migration:
      • Desktop Core Upgrades: Following the Designer’s lead, MDriven.WinForms.core and MDriven.WPF.core have been upgraded from .NET 6 to .NET 8-windows, ensuring full compatibility with the latest development stacks.
      • VS 2026 & CodeGen Stability: Hardened the CodeGen logic for Visual Studio 2026 to ensure user-implementation stubs use explicit void instead of System.Void.
      • Improved Error Diagnostics: Added innerexception details to Eco.ExternalLateBound errors, making it significantly easier to debug issues when external assemblies fail to load or execute.
    • REST & JSON Enhancements:
      • New OCL Operator JsonGetCollection: Building on the popular JsonGetProp, this new operator allows you to pull JSON arrays directly into a string collection for easier processing within OCL.
      • Flexible REST Timeouts: Introduced a new, more robust way to set call timeouts on REST requests while still effectively caching the HttpClient. This prevents long-running external calls from hanging your application.
      • Schema Validation: XmlValidateWithSchemas now provides much clearer error messages if a required schema cannot be downloaded or accessed.
    • MDrivenServer & Robustness:
      • Data Precision: Finalized the move to G29 format for Decimal-to-XML persistence and refined the parsing logic for nullable types to prevent data transformation errors.
    • Graph API & External Data:
      • Enhanced File Metadata: Graph API support has been extended. The LookUpFromDriveIdAndIdAndVersion method now extracts additional metadata, including the quickXorHash and the fileSize (as a long), for better file integrity tracking and management.
  • Turnkey
    • Authentication & Security:
      • Access Token Debugging: The error messages returned from RefreshAccessToken have been clarified. This provides developers with more actionable information when an OAuth or OpenID session fails to renew, simplifying the troubleshooting of expired credentials or configuration mismatches.
  • Server
    • Robustness & Startup Reliability:
      • Enhanced XML Schema Feedback: The server now provides better error messaging for XmlValidateWithSchemas when a schema cannot be downloaded, allowing for faster troubleshooting of external validation dependencies.
    • Clean Architecture:
      • Sorting Logic: Minor updates to sort order logic for internal server lists to ensure consistent data presentation.

修补程序

  • Designer
    • Editor & UI Enhancements:
      • State Machine OCL Fix: Fixed a critical bug where accessing the OCL Editor from Entry and Exit actions within state machine sub-regions would cause the Designer to crash.
    • Visual Studio 2026 & .NET 8 Migration:
      • Smart CodeGen Fixes: Resolved an issue specific to VS 2026 where user-implementation stubs for methods with no return value were incorrectly generated as System.Void. The generator now explicitly uses void to ensure clean, compilable code.
      • Streamlined VSIX: Removed legacy project dependencies (VS2012.csproj) from the server to eliminate key conflicts, ensuring the Model Editor remains optimized specifically for the VSIX environment.
  • Framework
    • MDrivenServer & Robustness:
      • Startup Synchronization: Resolved a race condition where Turnkey could throw an "Access to SQLPMapper before init" error. The system now intelligently waits up to 60 seconds for initialization to complete, making Turnkey much more resilient during server restarts.
      • Automated Deployment: The MDrivenServer info endpoint now returns any required Two-Factor codes needed for automated CI/CD processes.
  • Turnkey
    • UI & Navigation:
      • Angular Redirect Handling: Fixed an issue in the Turnkey Angular client where 404 RedirectViews were not being treated correctly. This ensures that users are properly routed to the intended fallback page rather than encountering broken navigation when a resource is missing.
  • Server
    • Robustness & Startup Reliability:
      • Initialization Buffer: Resolved a common race condition where Turnkey would fail if it tried to access the database before the server was fully initialized ("Access to GetConfiguredSQLPMapper"). MDrivenServer now waits up to 60 seconds for initialization to complete before returning an error, making the system much more resilient during automated restarts.
    • CI/CD & Automation:
      • Two-Factor Automation: The server info endpoint now returns the required Two-Factor codes to facilitate scripted and automated CI/CD deployments. This allows for a fully automated pipeline without compromising the security model.
    • Clean Architecture:
      • Legacy Dependency Removal: Removed the legacy Eco.Modlr.ModelEditor.VS2012.csproj from the server. This eliminates potential key conflicts and ensures the Model Editor remains a clean, VSIX-focused component, while still allowing for the future extraction of documentation caching features.