Table of Contents

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. SerilogLogType in MibClient2's MibCoreConfig now defaults to STDOUT; it was ALL, 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 set SerilogLogType to ALL (standard output and file) or LOGFILES (file only): MIBCORECONFIG_DEFAULT_SERILOGLOGTYPE=ALL, or SerilogLogType in MibCoreConfig.mibconfig. A service whose configuration class extends MibCoreConfig reads its own file first; for the BFF that is MIBCMSFRONTENDSERVERBASECONFIG_DEFAULT_SERILOGLOGTYPE. Container deployments whose collectors read standard output need no change (MEDIAIBOX-12382, MibClient2#396).
  • FormComponentConfiguration.SectionBehaviors is a dictionary, and rules on a grouped form's bare key take effect. SECTION_BEHAVIORS can now target one FORMGROUPING group (SECTION_BEHAVIORS[<order>]), so the property is a Dictionary<string, string>, with the unkeyed value under COMPONENT_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 the SECTION_BEHAVIORS, CUSTOM_BEHAVIORS and DISABLE_IF_FILLED rows 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 MibSql that holds a transaction (the transaction's connection serves every command of that MibSql until it commits). Run such work on a MibSql of its own, or turn MARS back on for a database alias with MIBDATABASECONFIG_<ALIAS>_ENABLEMARS=true (MEDIAIBOX-12388, MibServer3#2007).
  • The content criteria loader moved to MediaiBox.ContentCriteria.Database. The engine package MediaiBox.ContentCriteria no longer depends on MIB Core: ContentCriteriaLoader and the Mib* entities (MibContentSelection, MibContentCriteria and the others) keep their namespace but now live in MediaiBox.ContentCriteria.Database. A project that uses them references that package; one that only needs the SQL text can use ContentCriteriaQueryBuilder instead. Deploy each service as a whole: copying only the new ContentCriteria DLLs into an older build fails with a TypeLoadException (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.