2sxc 11.11.00
We did a lot of internal refactoring to align the Dependency Injection with latest best practices.
This will allow EAV/2sxc to run standalone or integrated in other platforms like Oqtane.
Highlights / Important
-
Entity (Item) History dialog is now part of the edit dialog #2257
-
DynamicEntity objects (like the
@Content) now haveGet("fieldName", ...)Get-function which can also get the value with another preferred language or without resolving the link #2275 #2276 -
WebApi Queries now work without module-context - just with App-context #2272
-
Enhancements to the code-editor, to edit shared Razor files #2124
-
WebP support in image resizer removed again, as it caused too much trouble. Since the integration wasn't official, nobody should be affected #2266
-
Code-cleanup: Raw docs and docs-generation project were moved completely to the 2sxc-docs repo #2255
Minor / Bugs
- It seems that DNN does some funny stuff related to detecting the current language, which fails in WebAPI scenarios. Because of this we changed a lot of how that works. #2262
Cross-Platform Topics
- WebAPI calls always expected a TabID header to detect the page, now we enhanced it to also support PageId instead, to better align with other systems #2254
- Razor files and WebApi Controllers now have a property CmsContext which provides platform-neutral info about site, page, module etc. #2263
- The new CmsContext also provides language and culture information #2273
- To allow 2sxc/eav to run standalone, we refactored a lot of internal context information #2268 #2267
- Created various core service objects like
ISiteorIUserwhich don't do anything, but make it easier to run 2sxc standalone #2258 - JavaScript: ensure $2sxc can be created without automatic context-detection from the DOM - for standalone use #2264
Refactor / Clean-up / Docs
- The internal context information used to be attached to a
IBlockobject, which caused trouble so we did a huge refactor to extract the context. This allowed us to clean up internal WebApi by a lot, for better re-use in standalone modes - Dropped old mechanics for registering DI container, now doing it when Routes get registered #2256
- Changed how values like
file:74are converted to links, to better use Dependency Injection - see IValueConverter - Document the IDataSourceConfiguration object