Changelog-Server


Release Notes
MDRIVEN: CHANGELOG - SERVER
All the latest MDriven Fixes and Updates
ChangeLog - MDriven Server

December 2024

  • Revision 16255 (Modified on 2024-12-21): Build system now inject correct BuildTime and you can access the via Eco.Interfaces.VersionInfo.ThisVersionDateTime
  • Revision 16210 (Modified on 2024-12-05): Enum problem issues in blazor Styles for datatable improved

November 2024

  • Revision 16165 (Modified on 2024-11-20): ...
  • Revision 16164 (Modified on 2024-11-20): Setting mdrivenserver(non core) publish in Debug after issues
  • Revision 16163 (Modified on 2024-11-19): Several issues discovered with non-core TK and MDR regarding signalr - stuff that we already knew but had forgotten about : SignalR for ASP.NET is NOT compatible with SignalR for ASP.NET.Core - this takes us on a long journey that results in us not being able to use mdriven.net.http.netstandard in non core builds but instead mdriven.net.http , this is a bummer for many reasons and probably something that will make us deprecate the None core builds soon
  • Revision 16162 (Modified on 2024-11-19): MDrivenServer non core nuget updates: Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.0" targetFramework="net472" Microsoft.Extensions.Logging.Abstractions" version="8.0.0" targetFramework="net472" System.Diagnostics.DiagnosticSource" version="8.0.0" targetFramework="net472" System.IO.Pipelines" version="5.0.2" targetFramework="net472"
  • Revision 16161 (Modified on 2024-11-19): Fixes to MDrivenServer (non core)
  • Revision 16153 (Modified on 2024-11-14): ...

October 2024

  • Revision 16100 (Modified on 2024-10-23): MDrivenServerSynk - changed to "order by VersionId" instead of "order by id" -> hits better index and much less load
  • Revision 16099 (Modified on 2024-10-23): ...
  • Revision 16098 (Modified on 2024-10-23): ...
  • Revision 16097 (Modified on 2024-10-23): Issues with MDrivenServer history slave choking its master - work in progress
  • Revision 16096 (Modified on 2024-10-23): ...
  • Revision 16095 (Modified on 2024-10-23): Issues with MDrivenServer history slave choking its master - work in progress
  • Revision 16093 (Modified on 2024-10-22): MDrivenServer now has a TwoFactorCodeCheck for Upload model that can be turned on - this is to better protect production databases from mistakes... MDrivenDesigner has a new box to give the 2 factor code for the server. Designer has dropped the Upload ServerSide-jobs since this is automatic from months back...
  • Revision 16090 (Modified on 2024-10-22): MDrivenServer - Slave, if there errors during fetch of Blocks from master (could be timeout) we should hold of and focus on merging blocks we have instead of directly asking the master again - because master gets choked
  • Revision 16064 (Modified on 2024-10-11): Path.DirectorySeparatorChar was missed at some places - breaking linux
  • Revision 16054 (Modified on 2024-10-10): Adding explicit support to netstandard2.0;net48;net6.0 from interfaces, Handles and Linqextender
  • Revision 16047 (Modified on 2024-10-09): Updating MDrivenServer and TurnkeyServer to match nugets of underlying projects
  • Revision 16037 (Modified on 2024-10-08): Issues fixed in MDrivenServer - The fix for NestingLevel of grids in grids had broken MVC rendering used by MDrivenServer - Fixed Usage of System.Data.SqlClient has somehow creeped back into MDrivenServer when we ofcourse know that we now use Microsoft.Data.SqlClient, having both available as nugets is insane because the SqlParameter is not SqlParamater half of the times... Fixed Turnkey/StartupViewTemplate.htm has been extended in javascript to not kill reference urls on deeplink nav towards sleeping TK
  • Revision 16007 (Modified on 2024-10-04): MDriven 72 - switch to netstandard: https://wiki.mdriven.net/index.php?title=MDriven_72 , changes applied to MDrivenServer and Turnkey

September 2024

  • Revision 15961 (Modified on 2024-09-21): Improved handling on .net core server behind a proxy by processing HTTP headers and avoiding private addresses

July 2024

  • Revision 15795 (Modified on 2024-07-30): Microsoft.Owin 4.2.1 -> 4.2.2 package ref was not updated everywhere
  • 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 15722 (Modified on 2024-06-13): Null check
  • Revision 15695 (Modified on 2024-06-03): Pulling apart IExternalLateBind implementation of Turnkey to better support pattern based methods from MDrivenServer

May 2024

  • Revision 15691 (Modified on 2024-05-31): Extra clear check for the case of NULL in AdminORMapping
  • Revision 15661 (Modified on 2024-05-16): New Function in MDrivenServer/Admin/ColumnFieldConsistncyCheck that loop through and compare db-type with model type - this is good to catch any unhandled "will not evolve" warnings DatabaseSnapshot was not working in MDrivenServerCore - Fixed issue
  • Revision 15655 (Modified on 2024-05-14): Improved self-repairing on startup with problems in admin-database. Detects XML-errors and suggests fix and auto-fixes missing table in database preventing evolve.

April 2024

  • Revision 15568 (Modified on 2024-04-13): Updated logging helpers that wait for log files to appear
  • Revision 15557 (Modified on 2024-04-10): MDrivenServer nows auto applies SSJobs on Evolve - this makes it possible for us to deprecate the "Update Server side jobs button"

February 2024

  • Revision 15458 (Modified on 2024-02-29): Issue with actions in TK - they showed in too many places due to model shrink destroyed the OnlyUseIn-link.
  • Revision 15431 (Modified on 2024-02-18):
  • Revision 15430 (Modified on 2024-02-18): Several weaknesses when reverse deriving and working with MDrivenServer - that we did not log mapping issues correctly. Fixed/Improved. Several issues with MVC UI and handling of composite keys fixed Improved information from WepAPI PersistenceMapper failed calls in .netcore
  • Revision 15427 (Modified on 2024-02-16): AccessGroups did not init fast enough on wpf
  • Revision 15411 (Modified on 2024-02-13): A new EnsureAdminTables function added - that helps with reversing
  • Revision 15397 (Modified on 2024-02-09):

January 2024

  • Revision 15377 (Modified on 2024-01-30): MDrivenServer .- changed to Show update in header A lot of changes to facilitate async codegen - but still not all there New Menu: Expressions that will show score from MDrivenServer imported stats
  • Revision 15374 (Modified on 2024-01-29):
  • Revision 15373 (Modified on 2024-01-29):
  • Revision 15372 (Modified on 2024-01-29): Shorter menu
  • Revision 15371 (Modified on 2024-01-29): Better datetime based version (build date) on MDrivenServerLogRollingERRORS.txt Clear menu placed Restart time of MDrivenServerLogRollingERRORS.txt TraceListner logging added to MDrivenServer AppDomain.CurrentDomain.UnhandledException implemented in MDrivenServer in hope to catch odd errors
  • Revision 15369 (Modified on 2024-01-28): Added setting CodeDressAssemblies as a way to restrict what assemblies are loaded for CodeDress
  • Revision 15338 (Modified on 2024-01-14): Added settings to TurnkeySettings file: <RemoveTurnkeyAppAfterMinutes>10</RemoveTurnkeyAppAfterMinutes> // this is how long a Turnkey session can be gone from net before being target for close down (user will loose unsaved changes) <NumberOfTurnkeyEcoSpacesToKeepWhenFree>10</NumberOfTurnkeyEcoSpacesToKeepWhenFree> // this controls how many EcoSpaces we prepare in advance to use, and how many we keep when they are not needed (controls memory and load speed)
  • Revision 15335 (Modified on 2024-01-14): Cleaning of Unused EcoSpaces when they are more than private static int _theCountOfFreeEcoSpacesToSave = 10;
  • Revision 15326 (Modified on 2024-01-12): Mounted viewmodels should completely influence the Viewmodel MetaChecksum - this is important since mounted viewmodels are often used in cachemodules
  • Revision 15323 (Modified on 2024-01-11): IField.AsInt64 added to IDatabase MDrivenCacheInval changed keys from int to int64 on MDrivenCache_RecentlyUpdated,MDrivenCache_RecentlyUpdatedWorkPart,MDrivenCache_ManifestRow On existing installations: This requires manual drop and recreate of identity fields as described in comment for 2024 here: https://wiki.mdriven.net/Documentation:CacheInvalidation

December 2023

  • Revision 15282 (Modified on 2023-12-19): MDrStats had the wrong value for Max/Avg on Multilinks Nullchecks Catching exception in OnColumnUIApplyStyle for WPF due to logged issue Changed to AllClassesView to visualize expression cost
  • Revision 15237 (Modified on 2023-12-07): Microsoft.Extensions.Logging.Abstractions 7->8 Microsoft.Extensions.Options 7->8 Microsoft.Extensions.Primitives 7->8 Microsoft.Extensions.DependencyInjection.Abstractions 7->8 Microsoft.Bcl.AsyncInterfaces 7->8 Clean old logging Microsoft.AspNet.Mvc 7->8 System.Diagnostics.DiagnosticSource 7->8 Microsoft.AspNet.WebPages.WebData 7->8 Microsoft.AspNetCore.SignalR.Client.Core 7->8 Missed check in of WPF InplacePopup Removing parallell ErrorAndCrossRef due to clashes for actions that are not fully understood
  • Revision 15225 (Modified on 2023-12-02):
  • Revision 15215 (Modified on 2023-12-01): Servers that now save a model for Softviews saved async and this was not good due to reentrancy - changed

November 2023

  • Revision 15207 (Modified on 2023-11-26):
  • Revision 15202 (Modified on 2023-11-26): Updates
  • Revision 15199 (Modified on 2023-11-24): Removing timeskew - not good
  • Revision 15198 (Modified on 2023-11-24): SSJobParallellismNormal SSJobParallellismAsyncTickets Tuning of parallellism of Serverside jobs of MDrivenServer
  • Revision 15185 (Modified on 2023-11-21): x
  • Revision 15183 (Modified on 2023-11-21): Follow the view in core
  • Revision 15181 (Modified on 2023-11-21): Adding export of Stats from MDrivenServer
  • Revision 15180 (Modified on 2023-11-21): Added possibility ton inject start params via App_Data/CommandLineOverride.xml for core servers (see wiki https://wiki.mdriven.net/index.php/Injecting_the_Core_server_command_line_parameters_via_file)
  • Revision 15164 (Modified on 2023-11-14): SS-jobs now write log and time in WorkView the contents of the Ticket and not only the ticket
  • Revision 15161 (Modified on 2023-11-13): Softview as explained here https://wiki.mdriven.net/index.php/Softview
  • Revision 15124 (Modified on 2023-11-02): CodeDress for Core : in .net6 it was not enough to just load sattelite assemblies - it still asked for them again once needed Lock issue for CheckForNeedToSignalWeGotNews handled

October 2023

  • Revision 15099 (Modified on 2023-10-23): Issues with xml files in .net6 fixed
  • Revision 15064 (Modified on 2023-10-07): MDrivenServer change: // I NO LONGER THINK WE SHOULD RECREATE ON PMP ERRORS // PMP ERRORS ARE COMMON IN DEV DUE TO LESS ACCESS // RECREATE IS BAD IN DEV SINCE IT BLINKS LIVE_EDIT , hk 2023-10 // needToRecreate = true; GraphAPI RefreshToken in Framework
  • Revision 15045 (Modified on 2023-10-01):
  • Revision 15039 (Modified on 2023-10-01): PostgreSQL added to MDrivenServer PostgreSQL added as PersistenceMapper
  • Revision 15038 (Modified on 2023-10-01): PostgreSQL added to MDrivenServer PostgreSQL added as PersistenceMapper

September 2023

  • Revision 15032 (Modified on 2023-09-30): Consolidated packages TK,MDR,Framework
  • Revision 15030 (Modified on 2023-09-30): New scripts that I forgot to add
  • Revision 15029 (Modified on 2023-09-30): Improved logging in TK and MDS Logging without HTML, HTML-coding is now done when viewing Using external component to give better call stacks
  • Revision 15010 (Modified on 2023-09-25): Nuget updates: old 2.2.3 to <package id="Microsoft.AspNet.Identity.Core" version="2.2.4" targetFramework="net472" /> <package id="Microsoft.AspNet.Identity.Owin" version="2.2.4" targetFramework="net472" /> old 7.0.5 to <package id="Microsoft.AspNetCore.Connections.Abstractions" version="7.0.11" targetFramework="net472" /> <package id="Microsoft.AspNetCore.SignalR.Common" version="7.0.11" targetFramework="net472" /> <package id="Microsoft.AspNetCore.SignalR.Protocols.Json" version="7.0.11" targetFramework="net472" /> old 7.0.5 to <package id="Microsoft.Extensions.Features" version="7.0.11" targetFramework="net472" /> old 7.0.0 to <package id="Microsoft.Extensions.Logging.Abstractions" version="7.0.1" targetFramework="net472" /> old 4.2.1 to <package id="Microsoft.Owin" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Host.SystemWeb" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.Cookies" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.Facebook" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.Google" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.MicrosoftAccount" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.OAuth" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.OpenIdConnect" version="4.2.2" targetFramework="net472" /> <package id="Microsoft.Owin.Security.Twitter" version="4.2.2" targetFramework="net472" /> old to 7.0.2 <package id="System.Text.Json" version="7.0.3" targetFramework="net472" /> 6.0 <package id="System.Threading.Channels" version="7.0.0" targetFramework="net472" /> Driver was AzureAD OpenIdConnect if (email == null) email = info.Principal.FindFirstValue("preferred_username"); // Azure
  • Revision 15004 (Modified on 2023-09-21): Fixed spelling error
  • Revision 14999 (Modified on 2023-09-14): Changes to CacheInval to avoid to include touched members in manifest to reduce risk of recursion
  • Revision 14998 (Modified on 2023-09-14): CodeDress issue for LeanLoad fixed
  • Revision 14997 (Modified on 2023-09-14): Undoing bad check-in: Fix for missing AssetsTK path when using slim model in Turnkey
  • Revision 14996 (Modified on 2023-09-14): Fix for missing AssetsTK path when using slim model in Turnkey
  • Revision 14988 (Modified on 2023-09-05): MDrivenServer now warns in OCLPs if a ServerSideViewModel is CacheInval SignalR does not complain for lost net
  • Revision 14987 (Modified on 2023-09-04):
  • Revision 14986 (Modified on 2023-09-04): MDrivenServer and MDrivenTurnkey now saves a slimmed version of the model to App_Data in a file named ModlrLeanLoadModel.modlr and the checksum for the same in ModlrLeanLoadChecksum.xml If no hit on checksum we do as before - but also create the lean files. On next cold start the lean files will be picked up and skip AssetsTK mirroring and loading - this fill decrease memory footprint and increase load speed.

August 2023

  • Revision 14926 (Modified on 2023-08-08): Issue in MDrivenServer slave sync - if GetMasterCommitBlocks fails the local merge would be skipped - leading to slave falling further behind - now local merge is done even if the master has problems

June 2023

  • Revision 14855 (Modified on 2023-06-12): Scroll only grid
  • Revision 14846 (Modified on 2023-06-07): AutoForm with PlacingContainer - so we should not have a min-width

May 2023

  • Revision 14755 (Modified on 2023-05-09): Update to jquery 3.6.4 (from 3.6.3 on tk, and from 1.x on mdrserver) Update Azure.core for consistency

April 2023

  • Revision 14690 (Modified on 2023-04-13): System.Text.Json 7.0.2
  • Revision 14655 (Modified on 2023-04-03): Adding mysql to core

March 2023

  • Revision 14631 (Modified on 2023-03-19): Updates to MDrivenServer "Changes" function - now reports different checksum CodeGen on ModelrLayer, Added Savebar option to ViewModel Updates to Signalr packages due to runtime issue in debugger
  • Revision 14600 (Modified on 2023-03-08): AccountOverride stuff

February 2023

  • Revision 14577 (Modified on 2023-02-22): Nugets and app.config Adding special PMapper mode for OceanMgr
  • Revision 14564 (Modified on 2023-02-15): RecyclableMemoryStream latest version
  • Revision 14562 (Modified on 2023-02-15): Nuget refresh and consolidation
  • Revision 14560 (Modified on 2023-02-15): Nuget refresh and consolidation in order to find signalr issue in live edit debug tab
  • Revision 14545 (Modified on 2023-02-03):
  • Revision 14541 (Modified on 2023-02-02): MDrivenServer now has a new admin api: SubmitNewModelOnlyCheck - this will return the expected actions on SubmitNewModel

December 2022

  • Revision 14477 (Modified on 2022-12-20): Making use of OnFileBasedCacheDetectedInvalidAndReRead to reload when xmlfile-data is discovered changed by other

November 2022

  • Revision 14432 (Modified on 2022-11-24): LookUpStatValuesForMember showed inversed for many to many links - fixed
  • Revision 14430 (Modified on 2022-11-24): Bug in CacheInval - removing modules for deleted objects was slow due to not keeping deletedobjects in fetched list
  • Revision 14427 (Modified on 2022-11-22): Stats from MDrivenDesigner
  • Revision 14425 (Modified on 2022-11-22): Updates to StatsView due to c#5 and not c#6 in razor
  • Revision 14423 (Modified on 2022-11-22): Stats function in MDrivenServer extended to handle any member

October 2022

  • Revision 14405 (Modified on 2022-10-28): Auto fix Missing ORMapping by having a file App_Data/MissingOrMapping.xml