Changelog-Server

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

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
  • Revision 14404 (Modified on 2022-10-28):
  • Revision 14403 (Modified on 2022-10-28): Auto fix Missing ORMapping by having a file App_Data/MissingOrMapping.xml
  • Revision 14400 (Modified on 2022-10-26): Ensure VersioningTablesInDB available even if not ServerMode HistorySlave
  • Revision 14397 (Modified on 2022-10-25):
  • Revision 14396 (Modified on 2022-10-25): Support for Modlr FileUpload LoadBalancing changed to time base Better admin evolve direct on app start
  • Revision 14392 (Modified on 2022-10-17): UnSupervisedTryToRepair introduced on evolutor in order to better MDrivenServer admin evolve
  • Revision 14390 (Modified on 2022-10-17): EvolveAdmin if exception in sanitycheck
  • Revision 14382 (Modified on 2022-10-11): Fix
  • Revision 14381 (Modified on 2022-10-11): New schema for LoadBalance
  • Revision 14380 (Modified on 2022-10-11): Load balancing support in MDrivenServer (hot standby without running SS jobs)
  • Revision 14376 (Modified on 2022-10-05): Fix
  • Revision 14375 (Modified on 2022-10-05): Running SS manually on criterias did not merge in the ServerWide vars - making it easy to commit serious mistakes - fixed
  • Revision 14374 (Modified on 2022-10-05): Added stuff for finding deletes in syncblocks

September 2022

  • Revision 14335 (Modified on 2022-09-19): Performance improvements by * using pooled lists * disposing of short-lived Datablocks * using pooled datablocks for memorystreams

August 2022

  • Revision 14278 (Modified on 2022-08-18):

July 2022

  • Revision 14154 (Modified on 2022-07-12): Null check

May 2022

  • Revision 14039 (Modified on 2022-05-13): New Validations actions added to Amin view CommonSuperclass changed to abstract + childmapp after issues found in VistaDB consistency

April 2022

  • Revision 14007 (Modified on 2022-04-28): HardServerUrl info in log
  • Revision 13998 (Modified on 2022-04-24): Before DataInA0 etc gave errors when if vm was not initiated - now it initiates
  • Revision 13993 (Modified on 2022-04-21):
  • Revision 13991 (Modified on 2022-04-21): Lots of nuget updates SignalR 2.4.3
  • Revision 13985 (Modified on 2022-04-21): Cache of ModelLayerSpace - checked on App_A0_checksum - speeds up 2-n A0_ecospace gets of same version
  • Revision 13963 (Modified on 2022-04-13):
  • Revision 13941 (Modified on 2022-04-10): Razor loading in AssemblyResolve
  • Revision 13940 (Modified on 2022-04-09):
  • Revision 13938 (Modified on 2022-04-07): More consistent borrow of admindb will help availability of vistadb packdatabase
  • Revision 13932 (Modified on 2022-04-04): Experiment with pausing all SS work every 20Min AND pack VistaDB to see if it fixes cpu increase seen on Azure
  • Revision 13931 (Modified on 2022-04-04): Experiment with pausing all SS work every 15Min to see if it fixes cpu increase seen on Azure
  • Revision 13930 (Modified on 2022-04-03):