What's new in Media-iBox v7.1
MIB v7.1 is the successor of v7.0 and is built from the main branch.
Breaking points:
- Logs go to standard output only by default.
SerilogLogTypein MibClient2'sMibCoreConfignow defaults toSTDOUT; it wasALL, standard output plus a rolling file under the application folder (logs/MibLog_Serilog-*.log). This applies to every service built on MibClient2, not only the BFF, and no repository sets the key today, so after the upgrade no service writes that file any more. Installs that read the log files (VMs, IIS, Windows services) must setSerilogLogTypetoALL(standard output and file) orLOGFILES(file only):MIBCORECONFIG_DEFAULT_SERILOGLOGTYPE=ALL, orSerilogLogTypeinMibCoreConfig.mibconfig. A service whose configuration class extendsMibCoreConfigreads its own file first; for the BFF that isMIBCMSFRONTENDSERVERBASECONFIG_DEFAULT_SERILOGLOGTYPE. Container deployments whose collectors read standard output need no change (MEDIAIBOX-12382, MibClient2#396). FormComponentConfiguration.SectionBehaviorsis a dictionary, and rules on a grouped form's bare key take effect.SECTION_BEHAVIORScan now target one FORMGROUPING group (SECTION_BEHAVIORS[<order>]), so the property is aDictionary<string, string>, with the unkeyed value underCOMPONENT_DEFAULT; a client BFF that reads or sets it must change. A behavior rule that names a field of a grouped form by the form's bare key is now pointed at the group holding that field: such a rule matched nothing before and takes effect after the upgrade, so review theSECTION_BEHAVIORS,CUSTOM_BEHAVIORSandDISABLE_IF_FILLEDrows of grouped-form pages first (MEDIAIBOX-12386, MibServer3#2005).- The BFF connects to SQL Server without MARS (MultipleActiveResultSets), as mib-api does since
MEDIAIBOX-12382. Code that runs in the BFF process,
customizations included, fails with "There is already an open DataReader associated with this Connection" when it
runs a command on a connection that still has a reader open: a nested query while a reader is read, or commands from
parallel tasks on a
MibSqlthat holds a transaction (the transaction's connection serves every command of thatMibSqluntil it commits). Run such work on aMibSqlof its own, or turn MARS back on for a database alias withMIBDATABASECONFIG_<ALIAS>_ENABLEMARS=true(MEDIAIBOX-12388, MibServer3#2007). - The content criteria loader moved to
MediaiBox.ContentCriteria.Database. The engine packageMediaiBox.ContentCriteriano longer depends on MIB Core:ContentCriteriaLoaderand theMib*entities (MibContentSelection,MibContentCriteriaand the others) keep their namespace but now live inMediaiBox.ContentCriteria.Database. A project that uses them references that package; one that only needs the SQL text can useContentCriteriaQueryBuilderinstead. Deploy each service as a whole: copying only the new ContentCriteria DLLs into an older build fails with aTypeLoadException(MEDIAIBOX-12413, MibContentCriteria#72). - Coming from v6.0, the breaking points of v7.0 apply too.
Note
This page is filled in as the line evolves. Add every breaking change here as it lands, and the per-build detail to the changelog.