Changelog-Designer
Release Notes
MDRIVEN: CHANGELOG - DESIGNER
All the latest MDriven Fixes and Updates
ChangeLog - MDriven Designer
October 2024
- Revision 16064 (Modified on 2024-10-11): Path.DirectorySeparatorChar was missed at some places - breaking linux
- Revision 16043 (Modified on 2024-10-09): Updating Microsoft.Data.SqlClient from version="5.1.4" to version="5.2.2"
- Revision 16041 (Modified on 2024-10-09):
- Revision 16034 (Modified on 2024-10-08): Updates to about boxes to fix for GAC issues
- Revision 16028 (Modified on 2024-10-07): New strategy to fix the VS GAC Need LocalizableCategory and LocalizableDescription crashed new VS - fixed GAccing on post build removed for all but interfaces and handles
- Revision 16024 (Modified on 2024-10-06):
- Revision 16018 (Modified on 2024-10-05):
- Revision 16017 (Modified on 2024-10-05):
- Revision 16016 (Modified on 2024-10-05):
- Revision 16015 (Modified on 2024-10-05): Old Winform ContextMenu rewritten to newer ContextMenuStrip to even out differences for .net6 XAML namespaces - attempts to even out differences stemming from different named assemblies NOTFRAMEWORK conditional define to signal that this is Not MDrivenDesigner/VS2022Extension that runs Framework ModlrTree search rewritten to even out differences with .net6 that does not have asyncdelegates
- Revision 16011 (Modified on 2024-10-04): ..
- Revision 16009 (Modified on 2024-10-04): ...
- Revision 16006 (Modified on 2024-10-04): ...
- Revision 16004 (Modified on 2024-10-04): MDriven 72 - switch to netstandard: https://wiki.mdriven.net/index.php?title=MDriven_72 , work in progress
- Revision 16003 (Modified on 2024-10-04): Issue in WPF leftside actions that could get into never-ending slow but unblocking enable loop due to too wide subscription - was repeatable by using temp list creating ocl operators in enable expressions like ->exists, ->size etc. Fixed by precision subscription per action
- Revision 16002 (Modified on 2024-10-04): New turnkey setting https://wiki.mdriven.net/Documentation:TurnkeySettings AttackBreakThreshold
- Revision 16001 (Modified on 2024-10-03): MDriven VSIX Moving towards .net8
- Revision 16000 (Modified on 2024-10-03): MDriven VSIX Moving towards .net8
September 2024
- Revision 15969 (Modified on 2024-09-25): The FrameworkAction-option BackwardsNav has been added. In MVC, AngularJS and Blazor it nows asks the browser to go back in history 1 step. The primary use-case for this was the ability to put a "Resume" button on the Timedout page,
- Revision 15957 (Modified on 2024-09-20): Moving the WebView2 temp files dir to SpecialFolder.CommonDocuments in hope to avoid issues when running like 2 users Adding extra style keepopen to the new saveandkeepopen save button (GlobalReadOnlyModeUseSaveAndLock setting)
- Revision 15948 (Modified on 2024-09-17): Issue in WPF could give "Specified index is out of range or child at index is null. Do not call this method if VisualChildrenCount returns zero, indicating that the Visual has no children." Fixed
- Revision 15928 (Modified on 2024-09-10): Action dialog now has a button to edit TaggedValues per action
- Revision 15900 (Modified on 2024-09-02): New StylesInModel animation options animateVisible and animateInVisible Now support taggedvalue BLAZOR=true on viewmodel to display view with blazor
August 2024
- Revision 15891 (Modified on 2024-08-28): Checksum change - when we read model from code we did not account for constructors, since they were not included in the introspection call - this would give a constant diff between code with model introduced constructors and the model read from ModelLayer. The 2 are now synced to ignore constructors for checksum.
- Revision 15881 (Modified on 2024-08-23): fix
- Revision 15877 (Modified on 2024-08-22): WPF issue that showed as some DataGrids did not show more than 2 rows - scrolling in a visible area much smaller that the grid itself. This is connected somehow to RowVirtualization - and was fixed by stting the internal ScrollViewer to CanContentScroll=false , its all a mystery...
- Revision 15872 (Modified on 2024-08-20): Codegen could freeze - added extra await Dispatcher.Yield(); seems to have helped
- Revision 15852 (Modified on 2024-08-14): Blazor fixes
- Revision 15850 (Modified on 2024-08-13): In the ActionEditor when you can choose a ViewModel to open we have now added a New-button that will create and open a new viewmodel for you to define
- Revision 15830 (Modified on 2024-08-10): CodeGen change: new pass to discover missing model methods that has been removed manually (by some mistake) from code file
July 2024
- Revision 15806 (Modified on 2024-07-31): Blazor work in progress - Errors and helper text
- Revision 15803 (Modified on 2024-07-30): Fixes to ViewModelColumn edit when its a InplacePopup - could not select or move it - fixed
- Revision 15794 (Modified on 2024-07-30): Nuget consolidation and updates: Microsoft.IdentityModel.JsonWebTokens 6.17->8.0.1 Microsoft.IdentityModel.Logging" 6.17 8.0.1 Microsoft.IdentityModel.Tokens 7.0.2 -> 8.0.1 System.Diagnostics.DiagnosticSource 7.0 -> 8.0 System.IdentityModel.Tokens.Jwt 6.17 -> 8.0.1 System.Text.Encodings.Web 7 -> 8 System.Text.Json 7.0.3 -> 8.0.4 System.Threading.Channels 7->8 Microsoft.IdentityModel.Abstractions 7.0.2 -> 8.0.1
June 2024
- Revision 15736 (Modified on 2024-06-30): The question regarding "Model has changes - codegen?" was not updated to look at the new checksum strategy and thus gave message at wrong time - fixed
- Revision 15726 (Modified on 2024-06-14): Issue with the oclEditor Rescue functions that offer to add a missing var/attribute - got confused too easy - fixed
- Revision 15720 (Modified on 2024-06-13): Fixed issue with lagging Enable/Visible for WPF due to late action enable eval triggers some derived that effects early action enable : fixed
- Revision 15714 (Modified on 2024-06-13): null check
- Revision 15709 (Modified on 2024-06-11): SysDocBatch pattern updated for WPF and wecpof
- Revision 15706 (Modified on 2024-06-09): To hard optimizied when checking ActionsThatShowsThis viewmodel - we also need to the root expression due to viewmodel may change root type or root requirement Renaming the expression Score to Cost to better reflect measure
- Revision 15702 (Modified on 2024-06-04): DuckType errorcheck did not check Association classes correctly - fixed
- Revision 15701 (Modified on 2024-06-04): DuckType column name checking did not produce error when pointing out derived targets that cannot be assigned - fixed
- Revision 15699 (Modified on 2024-06-04): selfVM.Download - removing the FileType param Extending SysDocBatch pattern with method OnSysDocBatchViewClose
May 2024
- Revision 15693 (Modified on 2024-05-31): Wecpof implements the OnInitiateUserDownloadOfData - to support the SysDocBatch pattern
- Revision 15685 (Modified on 2024-05-27): Easy access to GetDecodedAccessAndRefreshTokenOnClient for GraphAPISupport
- Revision 15675 (Modified on 2024-05-20): "Text" was missing from the default types on new models
- Revision 15672 (Modified on 2024-05-19): Score calculation now separates between PSExpression and ocl expressions
- Revision 15669 (Modified on 2024-05-17): Improved score calculation for Expressions and ViewModels
- Revision 15668 (Modified on 2024-05-17): ExpressionAnalyze now calculate a scire from MDrivenServer stats
- Revision 15667 (Modified on 2024-05-17): Now MDrivenServer stats per class and per associationEnd is shown in OCLEditor tree when listing classes and associationends AnalyzeExoression Show cost for all included expressions
- Revision 15660 (Modified on 2024-05-16): Better subscription on DirtyList for Save button update in WPF Null ref exception when focusing combobox and it assuming a ContextMenu existing (WPF)
- Revision 15659 (Modified on 2024-05-16): x
- Revision 15653 (Modified on 2024-05-14): Issue with thumbnail viewmodel when only showing tree fixed
- Revision 15652 (Modified on 2024-05-13): ViewModels and Diagrams thumbnails were before rendered as VisualBrushes - this costs both time and memory. To help with large models we now save png files in sub dir _CachedImages (no need to checkin), these are then used as ImageBrushes to show thumbnails in diagrams and overview Location of models / _CachedImages
- Revision 15647 (Modified on 2024-05-09): When a ViewModel is mounted in other viewModels it cannot use self in ReadOnly and Visible expression since the risk is that top level self will differ between mounter and mounted - we now detect this error
- Revision 15645 (Modified on 2024-05-09): Find in model did not look in PlacingContainer Visible and Style expressions - fixed
- Revision 15644 (Modified on 2024-05-09): Major bad change introduced 17 april when handling mounted viewmodels fixed Null check in Wecpof
- Revision 15643 (Modified on 2024-05-08): Action windows tabs - Close only this , and Re-sort, plus update header on show
- Revision 15642 (Modified on 2024-05-08): Action windows consolidated as tabs in one window
- Revision 15622 (Modified on 2024-05-02): Action opt out has been clarified in UI - and opt-out button is removed from viewmodelactions since it does not make sense there
April 2024
- Revision 15620 (Modified on 2024-04-30): Issue with comparison between numbers and string , this is generally allowed in sql and so it was allowed in OCL-PS, and so we made it allowed in OCL - but it turned out that it was not accepted for > and < in runtime -> Fixed We now remove context menu on Comboboxes in WPF in order to stay consistent with Turnkey - a function that was not maintained and not used CrossRef has ref to self for admin reasons - this is now removed from UsedBy menu to avoid confusion If a DisplayLoop issue occurs - stemming from OCL issue - we now show the Ocl/OclSymbolImplementations.cs
- Revision 15619 (Modified on 2024-04-29): Major change to how variables and validations are edited in the ViewModelEditor - moved into tree to give better access and overview
- Revision 15617 (Modified on 2024-04-29): AutoDiagram filter update
- Revision 15616 (Modified on 2024-04-28): Changes to ErrorDetection to reduce the number of items checked
- Revision 15615 (Modified on 2024-04-27): EditEnumerations control updated to WPF and few design updates
- Revision 15610 (Modified on 2024-04-25): Fixed a couple of spelling and text misses.
- Revision 15604 (Modified on 2024-04-24): Issues with PC move up down with buttons - work in progress
- Revision 15603 (Modified on 2024-04-24): ViewModelTree - Control+up/down moves columns - even multiselected
- Revision 15602 (Modified on 2024-04-24): In the ViewModelEditor as it grows Nesting lines are hard to follow - now a button will appear if the endpoint is out of screen - and the button will scroll you to the nesting - or back
- Revision 15601 (Modified on 2024-04-24): null checks
- Revision 15600 (Modified on 2024-04-23): SortOrder in combos for crosslinks
- Revision 15599 (Modified on 2024-04-23): The CrossRefLinks in the AutoClass-Diagram was in a long list increasingly hard to read on growing models -> redesign to comboboxes
- Revision 15597 (Modified on 2024-04-23): ViewModelEditor combo did not correctly adjust its name when switching to No-Category. Fixed.
- Revision 15595 (Modified on 2024-04-22):
- Revision 15594 (Modified on 2024-04-22): AutoDiagram Filter associations changed to Filter members, now filters all things on screen. AutoDiagram rendering had performance issues due to drawing during measuring - changed for the better
- Revision 15579 (Modified on 2024-04-18): Nullchecks
- Revision 15574 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
- Revision 15573 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
- Revision 15572 (Modified on 2024-04-17): Changes to reduce time on of second and following error checks in modlr (track locally changed things, what they will effect, and only re-check effected ones)
- Revision 15569 (Modified on 2024-04-16): DeadLock in Designer when errorcheck tried to look up ViewModelNames for Class.ViewModels variables
- Revision 15565 (Modified on 2024-04-11): Problem with hardcoded backslash for unix - Path.DirectorySeparatorChar
- Revision 15564 (Modified on 2024-04-11): WPF issue of dragging from debugger to app had stopped working. Turned out to be a Yearlong issue that I now cleaned up by removing unnecessary parameters
- Revision 15562 (Modified on 2024-04-10): ChecksumAttribute attribute added to eco.Interfaces - this is to speed up Codegen with checksum written to code checks Better CodeGenGoverningInfo that now can find codegen diffs regardless if you or someone else forgot to codgen
- Revision 15547 (Modified on 2024-04-04): The CloudForm "Changes" button has been improved. It starts with a quick Checksum check, then an optional view of the checksum diff, and thirdly the optional view of what changes that will be performed on DB
March 2024
- Revision 15525 (Modified on 2024-03-27): ReadOnlyMode advanced: when an action that brings up a modal in itself does not change persistent data it would be enabled during ReadOnlyMode - but if the ExpressionAfterModelOK will change persistent data one could argue that the bringing-up of the modal is in vain - since the user will not be able to say ok. ReadOnlyMode now tries to deduce if ExpressionAfterModelOK effects persistent data and if so the bringing up action will also be disabled during readonlymode
- Revision 15521 (Modified on 2024-03-26): Debugger seekers used sqllike instead of sqllikecaseinsensitive - fixed
- Revision 15516 (Modified on 2024-03-25): Error on periodic - avoid if connected to abstractaction that DOES have enable expr
- Revision 15515 (Modified on 2024-03-25): Null checks
- Revision 15512 (Modified on 2024-03-23): Improved message for new warning about periodic actions.
- Revision 15510 (Modified on 2024-03-22): Added Pair to the description so that it's less prone to misunderstanding
- Revision 15509 (Modified on 2024-03-22): Problem with locked files after unzipping. Added exception handing to dispose zip files.
- Revision 15502 (Modified on 2024-03-21): Better marking of PeriodicAction - also warning if PeriodicAction is left with blank Enable expression as this is considered an error
- Revision 15501 (Modified on 2024-03-21): The ViewModelEditor now clearly shows any tagged values that are set on ViewModel,Nesting,ViewModelColumn or PLacingContainer - double-click leads to TaggedValue-editor Whenever you use a periodicAction we report an error if you have left the Enable expression empty
- Revision 15500 (Modified on 2024-03-21): Important Placingcontainer min-height/min-width change: ViewModelColumn column Span and Row span now is shown even when column is in Placingcontainer If the PC Min-size is NOT set we will use the corresponding column/row-span * viewmodel.ColumWidth/RowHeight and use this as the min-size in the direction (width when PC is row, height when PC is column) Reasons: #1 column span did have effect in Turnkey already (grids max height was controlled by this), #2 span > 1 on textfields also turned textfields into multiline - it was hard to control this AFTER you turned the View to PC #3 The min-size is very pixel focused and using the column/row-span * viewmodel.ColumWidth/RowHeight will quantify the used min-size values in a better way Remaining issues: In WPF even textfields, combos, datepickers etc adhere to min-size, but in web the min-size is controlling the controls outer div - but css does not resize the native control the way one would expect
- Revision 15485 (Modified on 2024-03-08): Better focusing of correct thing when clicking error in Model-errors, specially when you have conversion errors that makes further eval impossible
- Revision 15484 (Modified on 2024-03-08): Slow destruction of modlr tree , improved I think
- Revision 15483 (Modified on 2024-03-08): recent changes to EnsureCurrentDomain_AssemblyResolve broke CodeGen - fixed
- Revision 15481 (Modified on 2024-03-08): HideOnDisable introduced on AbstractAction - this will be set automatically on trigger actions when added from statediagram - but is now also available on all actions When abstract action has error and shows in ViewModel error list - it now opens action editor when double clicked When error check has an error on a State it now opens the correct state diagram on click
- Revision 15480 (Modified on 2024-03-08): Added the WPFViewModelExternalControls to Gaffr
- Revision 15477 (Modified on 2024-03-07): Added loading of dependant assemblies from ModelCodeAssemblies
- Revision 15471 (Modified on 2024-03-05): Model upload rewritten to become async to avoid UI lock for large models